Home
last modified time | relevance | path

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

/third_party/ulib/musl/third_party/tre/
A Dregexec.c577 pmatch = xmalloc(sizeof(*pmatch) * tnfa->num_submatches); in tre_tnfa_run_backtrack()
578 if (!pmatch) { in tre_tnfa_run_backtrack()
785 if (pmatch) in tre_tnfa_run_backtrack()
786 xfree(pmatch); in tre_tnfa_run_backtrack()
823 if (pmatch[i].rm_so == -1 || pmatch[i].rm_eo == -1) in tre_fill_pmatch()
824 pmatch[i].rm_so = pmatch[i].rm_eo = -1; in tre_fill_pmatch()
834 assert(pmatch[i].rm_so <= pmatch[i].rm_eo); in tre_fill_pmatch()
839 if (pmatch[i].rm_so < pmatch[parents[j]].rm_so || in tre_fill_pmatch()
840 pmatch[i].rm_eo > pmatch[parents[j]].rm_eo) in tre_fill_pmatch()
841 pmatch[i].rm_so = pmatch[i].rm_eo = -1; in tre_fill_pmatch()
[all …]
/third_party/uapp/dash/src/
A Dexpand.c132 STATIC int pmatch(const char *, const char *);
134 #define pmatch(a, b) !fnmatch((a), (b), 0) macro
593 match = pmatch(str, s); in scanleft()
623 match = pmatch(str, s); in scanright()
1392 if (pmatch(start, dp->d_name)) { in expmeta()
1497 return pmatch(preglob(pattern, 0), string); in patmatch()
1539 pmatch(const char *pattern, const char *string) in pmatch() function
1571 if (pmatch(p, q)) in pmatch()

Completed in 8 milliseconds