Lines Matching refs:strlen
814 struct script_spec *s = malloc(sizeof(*s) + strlen(spec) + 1); in script_spec__new()
985 if (strlen(str) == 0) { in parse_output_fields()
1149 size_t suffix_len = strlen(suffix); in ends_with()
1152 if (strlen(str) > suffix_len) { in ends_with()
1153 p = str + strlen(str) - suffix_len; in ends_with()
1172 if (strlen(p) == 0) in read_script_info()
1177 if (strlen(p) && *p == '!') in read_script_info()
1181 if (strlen(p) && p[strlen(p) - 1] == '\n') in read_script_info()
1182 p[strlen(p) - 1] = '\0'; in read_script_info()
1184 if (!strncmp(p, "description:", strlen("description:"))) { in read_script_info()
1185 p += strlen("description:"); in read_script_info()
1190 if (!strncmp(p, "args:", strlen("args:"))) { in read_script_info()
1191 p += strlen("args:"); in read_script_info()
1298 while (strlen(p)) { in check_ev_match()
1592 if (argc > 1 && !strncmp(argv[0], "rec", strlen("rec"))) { in cmd_script()
1598 if (argc > 1 && !strncmp(argv[0], "rep", strlen("rep"))) { in cmd_script()