Lines Matching refs:strlen
575 const int n = strlen(PERF_IP_FLAG_CHARS); in print_sample_flags()
1004 struct script_spec *s = malloc(sizeof(*s) + strlen(spec) + 1); in script_spec__new()
1175 if (strlen(str) == 0) { in parse_output_fields()
1340 size_t suffix_len = strlen(suffix); in ends_with()
1343 if (strlen(str) > suffix_len) { in ends_with()
1344 p = str + strlen(str) - suffix_len; in ends_with()
1363 if (strlen(p) == 0) in read_script_info()
1368 if (strlen(p) && *p == '!') in read_script_info()
1372 if (strlen(p) && p[strlen(p) - 1] == '\n') in read_script_info()
1373 p[strlen(p) - 1] = '\0'; in read_script_info()
1375 if (!strncmp(p, "description:", strlen("description:"))) { in read_script_info()
1376 p += strlen("description:"); in read_script_info()
1381 if (!strncmp(p, "args:", strlen("args:"))) { in read_script_info()
1382 p += strlen("args:"); in read_script_info()
1489 while (strlen(p)) { in check_ev_match()
1818 if (argc > 1 && !strncmp(argv[0], "rec", strlen("rec"))) { in cmd_script()
1824 if (argc > 1 && !strncmp(argv[0], "rep", strlen("rep"))) { in cmd_script()