Home
last modified time | relevance | path

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

/busybox-1.35.0/editors/
Dawk.c1946 static int regexec1_nonempty(const regex_t *preg, const char *s, regmatch_t pmatch[]) in regexec1_nonempty() argument
1948 int r = regexec(preg, s, 1, pmatch, 0); in regexec1_nonempty()
1949 if (r == 0 && pmatch[0].rm_eo == 0) { in regexec1_nonempty()
1961 regexec(preg, s + ofs, 1, pmatch, 0); in regexec1_nonempty()
1962 } while (pmatch[0].rm_eo == 0); in regexec1_nonempty()
1963 pmatch[0].rm_so += ofs; in regexec1_nonempty()
1964 pmatch[0].rm_eo += ofs; in regexec1_nonempty()
1991 regmatch_t pmatch[1]; in awk_split() local
1994 if (regexec1_nonempty(icase ? spl->r.ire : spl->l.re, s, pmatch) == 0 in awk_split()
1995 && pmatch[0].rm_so <= l in awk_split()
[all …]
/busybox-1.35.0/runit/
Dsvlogd.c299 static unsigned pmatch(const char *p, const char *s, unsigned len) in pmatch() function
1037 if (pmatch(s+1, lineptr, lineptr_len)) in logmatch()
1042 if (pmatch(s+1, lineptr, lineptr_len)) in logmatch()
/busybox-1.35.0/shell/
Dash.c6363 #define pmatch(a, b) !fnmatch((a), (b), 0) macro
6930 match = pmatch(pattern, s); in scanleft()
6973 match = pmatch(pattern, s); in scanright()
7930 if (pmatch(start, dp->d_name)) { in expmeta()
8137 int r = pmatch(p, string); in patmatch()