Home
last modified time | relevance | path

Searched refs:regexec (Results 1 – 25 of 75) sorted by relevance

123

/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-query.c165 if (regexec(&job_re, line, (size_t)5, matches, 0) == REG_NOMATCH) { in parse_lpd_job()
166 if (regexec(&wjob_re, line, (size_t)10, matches, 0) in parse_lpd_job()
230 (regexec(&job_re, line, (size_t)0, NULL, 0) == REG_NOMATCH) && in parse_lpd_job()
231 (regexec(&wjob_re, line, (size_t)0, NULL, 0) == REG_NOMATCH)) { in parse_lpd_job()
236 if ((regexec(&doc1_re, line, (size_t)4, matches, 0) != 0) && in parse_lpd_job()
237 (regexec(&doc2_re, line, (size_t)4, matches, 0) != 0)) in parse_lpd_job()
314 (regexec(&job_re, line, (size_t)0, NULL, 0) == REG_NOMATCH) && in parse_lpd_query()
315 (regexec(&wjob_re, line, (size_t)0, NULL, 0) == REG_NOMATCH)) { in parse_lpd_query()
322 if ((regexec(&whjob_re, line, (size_t)0, NULL, 0) in parse_lpd_query()
324 (regexec(&wline_re, line, (size_t)0, NULL, 0) in parse_lpd_query()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/
H A Dregexec.c36 regexec(const regex_t* p, const char* s, size_t nmatch, regmatch_t* match, regflags_t flags) in regexec() function
64 #undef regexec
66 #define regexec _ast_regexec macro
70 regexec(const regex_t* p, const char* s, size_t nmatch, oldregmatch_t* oldmatch, regflags_t flags) in regexec() function
H A Dregsub.c264 …} while ((m > 0 || (flags & REG_SUB_ALL)) && !(r = regexec(p, op, nmatch, match, p->env->flags|(ma… in regsub()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dfnmatch.c67 reflags = regexec(&re, subject, 1, &match, 0); in fnmatch()
75 reflags = regexec(&re, subject, 0, NiL, 0); in fnmatch()
H A Dre_comp.c73 switch (regexec(&state.re, subject, 0, NiL, 0)) in re_exec()
H A Dregexp.c100 if (regexec(&env->re, subject, elementsof(match), match, 0) || anchor && match[0].rm_so) in _re_exec()
H A Dregcmp.c212 if (regexec(&re->re, subject, SUB + 1, match, 0)) in regex()
/illumos-gate/usr/src/common/util/
H A Dgetresponse.c156 if (regexec(reg1, ans, 0, NULL, 0) == 0) { in yes_no_check()
157 if (regexec(reg2, ans, 0, NULL, 0) == 0) { in yes_no_check()
/illumos-gate/usr/src/cmd/ast/libast/amd64/FEATURE/
H A Dapi58 #undef regexec
59 #define regexec regexec_20120528
/illumos-gate/usr/src/cmd/ast/libast/i386/FEATURE/
H A Dapi58 #undef regexec
59 #define regexec regexec_20120528
/illumos-gate/usr/src/cmd/ast/libast/sparc/FEATURE/
H A Dapi58 #undef regexec
59 #define regexec regexec_20120528
/illumos-gate/usr/src/cmd/ast/libast/sparcv9/FEATURE/
H A Dapi58 #undef regexec
59 #define regexec regexec_20120528
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_help.c222 if (regexec(&f->reg, name, 1, &pmatch, 0) == 0 || in print_wdesc()
224 regexec(&f->reg, iwp->iwlk_descr, 1, &pmatch, 0) == 0)) in print_wdesc()
311 if (regexec(&f->reg, name, 1, &pmatch, 0) == 0 || in print_ddesc()
313 regexec(&f->reg, idcp->idc_descr, 1, &pmatch, 0) == 0)) in print_ddesc()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dapi5 api ast 20120528 regexec regnexec regrexec regsubexec strgrpmatch
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Drestrict-array.c30 extern int regexec (const regex_t *__restrict __preg,
/illumos-gate/usr/src/head/
H A Dregex.h161 extern int regexec(const regex_t *_RESTRICT_KYWD, const char *_RESTRICT_KYWD,
/illumos-gate/usr/src/cmd/basename/
H A Dbasename.c148 r = regexec(&reg, string, 2, pmatch, 0); in main()
/illumos-gate/usr/src/cmd/mandoc/
H A Ddbm_map.c190 return regexec(match->re, str, 0, NULL, 0) == 0; in dbm_match()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dstrmatch.c143 …if (regexec(re, b, n, matchstate.match, reflags & ~(REG_MINIMAL|REG_SHELL_GROUP|REG_LEFT|REG_RIGHT… in strgrpmatch()
/illumos-gate/usr/src/cmd/pgrep/
H A Dpsexp.c143 if (regexec(&psexp->ps_reg, s, 1, &pmatch, 0) != 0) in psexp_match()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/
H A Dastconf.c1629 if (regexec(&re, prefix[look.conf->call + CONF_call].name, 0, NiL, 0)) in astconflist()
1634 if (regexec(&re, look.conf->name, 0, NiL, 0)) in astconflist()
1639 if (regexec(&re, prefix[look.conf->standard].name, 0, NiL, 0)) in astconflist()
1686 if (regexec(&re, call, 0, NiL, 0)) in astconflist()
1691 if (regexec(&re, fp->name, 0, NiL, 0)) in astconflist()
1696 if (regexec(&re, prefix[fp->standard].name, 0, NiL, 0)) in astconflist()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dregex.h204 extern int regexec(const regex_t*, const char*, size_t, regmatch_t*, regflags_t);
/illumos-gate/usr/src/cmd/expr/
H A Dcompile.c322 if ((rv = regexec(rep, str, SEPSIZE, prm, flags)) != REG_OK) { in dhl_doit()
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_iters.c157 match = (regexec(&data->preg, name, 0, NULL, 0) == 0); in get_either_iter()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dan_to_ln.c239 !regexec(&match_exp, string, 1, &match_match, 0)) { in aname_do_match()
300 if (!regexec(&match_exp, cp, 1, &match_match, 0)) { in do_replacement()

123