Searched refs:regnexec (Results 1 - 15 of 15) sorted by relevance

/ast/src/lib/libast/regex/
H A Dregexec.c44 if (!(r = regnexec(p, s + m, match->rm_eo - m, nmatch, match, flags)) && m > 0)
53 return regnexec(p, s, s ? strlen(s) : 0, nmatch, match, flags);
H A Dregrexec.c32 * call regnexec() on records selected by Boyer-Moore
109 if (complete || (env->rex = ((r - l) > 128) ? e : e->next) && !(n = regnexec(p, (char*)l, r - l, nmatch, match, flags)))
H A Dregsubexec.c175 if (c = regnexec(p, s, e - s, nmatch, match, p->env->flags|(match->rm_so == match->rm_eo ? REG_ADVANCE : 0)))
H A Dregnexec.c1846 regnexec(const regex_t* p, const char* s, size_t len, size_t nmatch, regmatch_t* match, regflags_t flags) function
1858 DEBUG_TEST(0x0001,(sfprintf(sfstdout, "AHA#%04d 0x%04x regnexec %d 0x%08x `%-.*s'\n", __LINE__, debug_flag, nmatch, flags, len, s)),(0));
2056 #undef regnexec macro
2058 #define regnexec _ast_regnexec macro
2062 regnexec(const regex_t* p, const char* s, size_t len, size_t nmatch, oldregmatch_t* oldmatch, regflags_t flags) function
/ast/src/cmd/re/
H A Dsed3.c76 if((code = regnexec(re, s, n, nmatch, match, flags)) && code != REG_NOMATCH)
H A Dgrep.c391 if (!(result = regnexec(&x->re, s, len, state.posnum, state.pos, 0)))
H A Dtestregex.c186 T(" -n do not repeat successful tests with regnexec()\n");
412 "regnexec",
2118 fun = "regnexec";
2129 eret = regnexec(&preg, s, nexec, nmatch, match, eflags);
/ast/src/lib/libast/include/
H A Dregex.h217 #define _REG_nexec 1 /* have regnexec() */
229 extern int regnexec(const regex_t*, const char*, size_t, size_t, regmatch_t*, regflags_t);
/ast/src/cmd/builtin/
H A Dnl.c186 outline = !regnexec((regex_t*)pp->section[sectnum], cp, n, (size_t)0, NULL, 0);
/ast/src/lib/libdss/
H A Dcxmap.c350 if (!regnexec(&edit->re, r->value.string.data, r->value.string.size, elementsof(match), match, 0) && !regsubexec(&edit->re, r->value.string.data, elementsof(match), match))
H A Dcxopen.c80 if ((i = regnexec((regex_t*)data, sv->string.data, sv->string.size, 0, NiL, 0)) && i != REG_NOMATCH)
/ast/src/cmd/kshlib/cmdtst/
H A Dgrep.c504 if ((result = regnexec(&state->re, s, len, state->posnum, state->pos, 0)) && result != REG_NOMATCH)
/ast/src/lib/libast/
H A DMakefile143 regdecomp.c regerror.c regexec.c regfatal.c reginit.c regnexec.c \
/ast/src/cmd/ksh93/sh/
H A Dio.c991 if(regnexec(rp,sp,cp-sp, 0, (regmatch_t*)0, 0)==0)
/ast/src/cmd/dsslib/flat/
H A Dflat.c1136 if (s->re && (code = regnexec(s->re, t, sfvalue(file->io), 0, NiL, 0)))

Completed in 64 milliseconds