Lines Matching refs:strlen
51 if (!str || strlen(str) < 4) in extract_env()
54 if (!((strncmp(str, "${", 2) == 0) && (str[strlen(str) - 1] == '}'))) in extract_env()
61 memset(s + strlen(s) - 1, '\0', 1); in extract_env()
62 memmove(s, s + 2, strlen(s) - 1); in extract_env()
167 int partlistlen = UUID_STR_LEN + 1 + strlen("uuid_disk="); in calc_parts_list_len()
172 partlistlen += numparts * (strlen("name=,") + PART_NAME_LEN + 1); in calc_parts_list_len()
174 partlistlen += numparts * (strlen("start=MiB,") + sizeof(lbaint_t) + 1); in calc_parts_list_len()
175 partlistlen += numparts * (strlen("size=MiB,") + sizeof(lbaint_t) + 1); in calc_parts_list_len()
176 partlistlen += numparts * (strlen("uuid=;") + UUID_STR_LEN + 1); in calc_parts_list_len()
664 tmp_len = strlen((const char *)pinfo.name); in gpt_enumerate()
678 part_list[strlen(part_list) - 1] = 0; in gpt_enumerate()
833 (unsigned)strlen(partitions_list)); in do_rename_gpt_parts()
842 if ((strlen(name1) > PART_NAME_LEN) || (strlen(name2) > PART_NAME_LEN)) { in do_rename_gpt_parts()
863 if (strlen(name2) > PART_NAME_LEN) { in do_rename_gpt_parts()
893 (unsigned)strlen(partitions_list)); in do_rename_gpt_parts()