Searched refs:pmatch (Results 1 – 5 of 5) sorted by relevance
/tools/perf/arch/x86/util/ |
D | header.c | 98 regmatch_t pmatch[1]; in strcmp_cpuid_str() local 119 match = !regexec(&re, id, 1, pmatch, 0); in strcmp_cpuid_str() 122 size_t match_len = (pmatch[0].rm_eo - pmatch[0].rm_so); in strcmp_cpuid_str()
|
/tools/bpf/ |
D | bpf_jit_disasm.c | 180 regmatch_t pmatch[1]; in get_last_jit_image() local 193 memset(pmatch, 0, sizeof(pmatch)); in get_last_jit_image() 196 ret = regexec(®ex, ptr, 1, pmatch, 0); in get_last_jit_image() 198 ptr += pmatch[0].rm_eo; in get_last_jit_image() 199 off += pmatch[0].rm_eo; in get_last_jit_image() 205 ptr = haystack + off - (pmatch[0].rm_eo - pmatch[0].rm_so); in get_last_jit_image()
|
/tools/mm/ |
D | page_owner_sort.c | 234 regmatch_t pmatch[2]; in search_pattern() local 236 err = regexec(pattern, buf, 2, pmatch, REG_NOTBOL); in search_pattern() 237 if (err != 0 || pmatch[1].rm_so == -1) { in search_pattern() 242 val_len = pmatch[1].rm_eo - pmatch[1].rm_so; in search_pattern() 244 memcpy(pattern_str, buf + pmatch[1].rm_so, val_len); in search_pattern()
|
/tools/perf/util/ |
D | pmu.c | 920 regmatch_t pmatch[1]; in pmu_uncore_identifier_match() local 929 match = !regexec(&re, id, 1, pmatch, 0); in pmu_uncore_identifier_match() 932 match = pmatch[0].rm_so == 0 && (size_t)pmatch[0].rm_eo == strlen(id); in pmu_uncore_identifier_match()
|
D | header.c | 834 regmatch_t pmatch[1]; in strcmp_cpuid_str() local 843 match = !regexec(&re, cpuid, 1, pmatch, 0); in strcmp_cpuid_str() 846 size_t match_len = (pmatch[0].rm_eo - pmatch[0].rm_so); in strcmp_cpuid_str()
|