Searched refs:regexec (Results 1 - 25 of 68) 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) {
166 if (regexec(&wjob_re, line, (size_t)10, matches, 0)
230 (regexec(&job_re, line, (size_t)0, NULL, 0) == REG_NOMATCH) &&
231 (regexec(&wjob_re, line, (size_t)0, NULL, 0) == REG_NOMATCH)) {
236 if ((regexec(&doc1_re, line, (size_t)4, matches, 0) != 0) &&
237 (regexec(&doc2_re, line, (size_t)4, matches, 0) != 0))
314 (regexec(&job_re, line, (size_t)0, NULL, 0) == REG_NOMATCH) &&
315 (regexec(&wjob_re, line, (size_t)0, NULL, 0) == REG_NOMATCH)) {
322 if ((regexec(&whjob_re, line, (size_t)0, NULL, 0)
324 (regexec(
[all...]
/illumos-gate/usr/src/lib/libast/common/regex/
H A Dregexec.c36 regexec(const regex_t* p, const char* s, size_t nmatch, regmatch_t* match, regflags_t flags) function
H A Dregsub.c238 * ed(1) style substitute using matches from last regexec()
264 } while ((m > 0 || (flags & REG_SUB_ALL)) && !(r = regexec(p, op, nmatch, match, p->env->flags|(match->rm_so == match->rm_eo ? REG_ADVANCE : 0))));
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dfnmatch.c67 reflags = regexec(&re, subject, 1, &match, 0);
75 reflags = regexec(&re, subject, 0, NiL, 0);
H A Dre_comp.c73 switch (regexec(&state.re, subject, 0, NiL, 0))
H A Dregexp.c100 if (regexec(&env->re, subject, elementsof(match), match, 0) || anchor && match[0].rm_so)
H A Dregcmp.c199 if (regexec(&re->re, subject, SUB + 1, match, 0))
/illumos-gate/usr/src/common/util/
H A Dgetresponse.c62 /* for regcomp()/regexec() yesexpr and noexpr */
145 if (regexec(reg1, ans, 0, NULL, 0) == 0) {
146 if (regexec(reg2, ans, 0, NULL, 0) == 0) {
/illumos-gate/usr/src/head/
H A Dregex.h85 #define REG_DEBUG 0x20 /* Debug recomp and regexec */
98 /* regexec flags */
103 /* regcomp and regexec return codes */
105 #define REG_NOMATCH 1 /* regexec failed to match */
129 typedef struct { /* regcomp() data saved for regexec() */
159 extern int regexec(const regex_t *_RESTRICT_KYWD, const char *_RESTRICT_KYWD,
/illumos-gate/usr/src/cmd/basename/
H A Dbasename.c150 r = regexec(&reg, string, 2, pmatch, 0);
155 (void) fprintf(stderr, "Internal error: regexec did "
/illumos-gate/usr/src/lib/libast/common/string/
H A Dstrmatch.c132 if (regexec(re, b, n, matchstate.match, reflags & ~(REG_MINIMAL|REG_SHELL_GROUP|REG_LEFT|REG_RIGHT|REG_ICASE)))
/illumos-gate/usr/src/cmd/pgrep/
H A Dpsexp.c145 if (regexec(&psexp->ps_reg, s, 1, &pmatch, 0) != 0)
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_iters.c157 match = (regexec(&data->preg, name, 0, NULL, 0) == 0);
/illumos-gate/usr/src/lib/libast/common/include/
H A Dregex.h77 /* regexec flags */
82 /* nonstandard regexec flags */
108 #define REG_NOMATCH 1 /* regexec didn't match */
196 extern int regexec(const regex_t*, const char*, size_t, regmatch_t*, regflags_t);
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dast_map.h277 #undef regexec macro
278 #define regexec _ast_regexec macro
H A Dregex.h59 /* regexec flags */
64 /* nonstandard regexec flags */
90 #define REG_NOMATCH 1 /* regexec didn't match */
179 extern __MANGLE__ int regexec __PROTO__((const regex_t*, const char*, size_t, regmatch_t*, regflags_t));
/illumos-gate/usr/src/lib/libast/amd64/src/lib/libast/
H A Dast_map.h256 #undef regexec macro
257 #define regexec _ast_regexec macro
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dast_map.h277 #undef regexec macro
278 #define regexec _ast_regexec macro
/illumos-gate/usr/src/lib/libast/i386/src/lib/libast/
H A Dast_map.h256 #undef regexec macro
257 #define regexec _ast_regexec macro
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dast_map.h277 #undef regexec macro
278 #define regexec _ast_regexec macro
/illumos-gate/usr/src/lib/libast/sparc/src/lib/libast/
H A Dast_map.h256 #undef regexec macro
257 #define regexec _ast_regexec macro
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dast_map.h277 #undef regexec macro
278 #define regexec _ast_regexec macro
/illumos-gate/usr/src/lib/libast/sparcv9/src/lib/libast/
H A Dast_map.h256 #undef regexec macro
257 #define regexec _ast_regexec macro
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dregexec.c36 * the outer shell of regexec()
97 #define states1 states /* for later use in regexec() decision */
191 * regexec - interface for matching
198 regexec(const regex_t *_RESTRICT_KYWD preg, function
/illumos-gate/usr/src/cmd/expr/
H A Dcompile.c29 * using regcomp(3c), regexec(3c) interfaces. This is an XCU4
81 * regexec() has a slow initialization loop that goes around SEPSIZE times
126 * 2) the next part is a regex_t used by regexec()/regcomp() for step
127 * 3) the final part is a regex_t used by regexec()/regcomp() for advance
310 const int flags; /* flags to be passed to regexec directly */
327 if ((rv = regexec(rep, str, SEPSIZE, prm, flags)) != REG_OK) {
352 * Inverse logic, a zero from regexec - success, is a 1
369 * | regcomp/regexec | Compile/step/advance |

Completed in 120 milliseconds

123