Searched refs:REG_NOSUB (Results 1 - 14 of 14) sorted by relevance

/ast/src/lib/libast/comp/
H A Dre_comp.c59 if (!(r = regcomp(&state.re, pattern, REG_LENIENT|REG_NOSUB|REG_NULL)))
/ast/src/lib/libast/string/
H A Dstrmatch.c134 reflags |= REG_NOSUB;
/ast/src/lib/libast/include/
H A Dregex.h50 #define REG_NOSUB 0x00000010 /* don't report subexp matches */ macro
/ast/src/lib/libast/regex/
H A Dregsub.c248 if ((p->env->flags & REG_NOSUB) || !nmatch)
H A Dregsubexec.c155 if (!p->env->sub || (p->env->flags & REG_NOSUB) || !nmatch)
H A Dregsubcomp.c127 if (p->env->flags & REG_NOSUB)
H A Dregnexec.c1875 if (env->stack = env->hard || !(env->flags & REG_NOSUB) && nmatch)
1991 if (!(env->flags & REG_NOSUB))
/ast/src/cmd/kshlib/cmdtst/
H A Dgrep.c134 * run regexec with REG_NOSUB off and nmatch=1 and check
702 state.options = REG_FIRST|REG_NOSUB|REG_NULL|REG_DISCIPLINE|REG_MULTIPLE|options;
794 state.options &= ~(REG_FIRST|REG_NOSUB);
882 if (!(state.options & (REG_FIRST|REG_NOSUB)))
885 state.options |= REG_FIRST|REG_NOSUB;
/ast/src/cmd/re/
H A Dgrep.c124 * run regexec with REG_NOSUB off and nmatch=1 and check
631 state.options = REG_FIRST|REG_NOSUB|REG_NULL;
743 state.options &= ~(REG_FIRST|REG_NOSUB);
820 if (!(state.options & (REG_FIRST|REG_NOSUB)))
823 state.options |= REG_FIRST|REG_NOSUB;
H A Dtestregex.c178 T(" test is run again with REG_NOSUB. Unsupported features are noted\n");
190 T(" -x do not repeat successful tests with REG_NOSUB\n");
239 T(" w REG_NOSUB no subexpression match array\n");
275 T(" field 3 string, or NULL if REG_NOSUB is in effect and success\n");
408 #if REG_NOSUB & REG_TEST_DEFAULT
678 if (flags & REG_NOSUB)
1262 int nonosub = REG_NOSUB == 0;
1668 cflags |= REG_NOSUB;
2012 if (!(flags & REG_NOSUB) && nsub < 0 && *ans == '(')
2158 if (flags & REG_NOSUB)
[all...]
/ast/src/cmd/builtin/
H A Dnl.c254 if(regcomp(&re[m], opt_info.arg+1, REG_NOSUB))
/ast/src/cmd/std/
H A Dsplit.c208 if (n = regcomp(op->re, cp, REG_DELIMITED|REG_NOSUB))
/ast/src/lib/libast/misc/
H A Dglob.c610 gp->re_flags = REG_SHELL|REG_NOSUB|REG_LEFT|REG_RIGHT|((flags&GLOB_AUGMENTED)?REG_AUGMENTED:0);
/ast/src/cmd/ksh93/sh/
H A Dio.c1454 if(!(rp = regcache(fname, REG_SHELL|REG_NOSUB|REG_NEWLINE|REG_AUGMENTED|REG_FIRST|REG_LEFT|REG_RIGHT, &r)))

Completed in 54 milliseconds