Home
last modified time | relevance | path

Searched refs:pmatch (Results 1 – 5 of 5) sorted by relevance

/tools/perf/arch/x86/util/
Dheader.c98 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/
Dbpf_jit_disasm.c180 regmatch_t pmatch[1]; in get_last_jit_image() local
193 memset(pmatch, 0, sizeof(pmatch)); in get_last_jit_image()
196 ret = regexec(&regex, 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/
Dpage_owner_sort.c234 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/
Dpmu.c920 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()
Dheader.c834 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()