Home
last modified time | relevance | path

Searched refs:REG_OK (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/head/
H A Dregex.h104 #define REG_OK 0 /* success (non-standard) */ macro
/titanic_41/usr/src/cmd/awk_xpg4/
H A Dawk1.c1067 if ((n = REGWCOMP(&np->n_regexp, s)) != REG_OK) { in renode()
1484 return (REG_OK); in int_regwcomp()
1494 if (ret != REG_OK) in int_regwcomp()
1592 if (i == REG_OK && nsub > 0 && mbsub) { in int_regwexec()
1663 while ((regerr = int_regwexec(rp, ip, NSUB, rm, flags)) == REG_OK) { in int_regwdosuba()
1713 if (regerr != REG_OK && regerr != REG_NOMATCH) in int_regwdosuba()
1732 return ((oglob == 0) ? REG_NOMATCH : REG_OK); in int_regwdosuba()
H A Dawk4.c240 case REG_OK: in dosub()
273 if (REGWEXEC(rp, text, 10, match, 0) == REG_OK) { in f_match()
H A Dawk3.c229 if ((n = REGWCOMP(&re, np->n_string)) != REG_OK) { in setrefield()
1205 if (regmatch(np->n_regexp, linebuf) == REG_OK) in exprreduce()
1211 if (regmatch(getregexp(np->n_right), cp) == REG_OK) in exprreduce()
1217 if (regmatch(getregexp(np->n_right), cp) != REG_OK) in exprreduce()
H A Dawk2.c373 case REG_OK: in refield()
/titanic_41/usr/src/cmd/expr/
H A Dcompile.c327 if ((rv = regexec(rep, str, SEPSIZE, prm, flags)) != REG_OK) {
/titanic_41/usr/src/cmd/grep_xpg4/
H A Dgrep.c1086 if (rv == REG_OK) { in grep()