/ast/src/lib/libast/regex/ |
H A D | regexec.c | 44 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 D | regrexec.c | 32 * 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 D | regsubexec.c | 175 if (c = regnexec(p, s, e - s, nmatch, match, p->env->flags|(match->rm_so == match->rm_eo ? REG_ADVANCE : 0)))
|
H A D | regnexec.c | 1846 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 D | sed3.c | 76 if((code = regnexec(re, s, n, nmatch, match, flags)) && code != REG_NOMATCH)
|
H A D | grep.c | 391 if (!(result = regnexec(&x->re, s, len, state.posnum, state.pos, 0)))
|
H A D | testregex.c | 186 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 D | regex.h | 217 #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 D | nl.c | 186 outline = !regnexec((regex_t*)pp->section[sectnum], cp, n, (size_t)0, NULL, 0);
|
/ast/src/lib/libdss/ |
H A D | cxmap.c | 350 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 D | cxopen.c | 80 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 D | grep.c | 504 if ((result = regnexec(&state->re, s, len, state->posnum, state->pos, 0)) && result != REG_NOMATCH)
|
/ast/src/lib/libast/ |
H A D | Makefile | 143 regdecomp.c regerror.c regexec.c regfatal.c reginit.c regnexec.c \
|
/ast/src/cmd/ksh93/sh/ |
H A D | io.c | 991 if(regnexec(rp,sp,cp-sp, 0, (regmatch_t*)0, 0)==0)
|
/ast/src/cmd/dsslib/flat/ |
H A D | flat.c | 1136 if (s->re && (code = regnexec(s->re, t, sfvalue(file->io), 0, NiL, 0)))
|