Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk1.c1062 if ((n = REGWCOMP(&np->n_regexp, s)) != REG_OK) { in renode()
1478 return (REG_OK); in int_regwcomp()
1488 if (ret != REG_OK) in int_regwcomp()
1586 if (i == REG_OK && nsub > 0 && mbsub) { in int_regwexec()
1657 while ((regerr = int_regwexec(rp, ip, NSUB, rm, flags)) == REG_OK) { in int_regwdosuba()
1707 if (regerr != REG_OK && regerr != REG_NOMATCH) in int_regwdosuba()
1726 return ((oglob == 0) ? REG_NOMATCH : REG_OK); in int_regwdosuba()
H A Dawk4.c238 case REG_OK: in dosub()
271 if (REGWEXEC(rp, text, 10, match, 0) == REG_OK) { in f_match()
H A Dawk3.c227 if ((n = REGWCOMP(&re, np->n_string)) != REG_OK) { in setrefield()
1204 if (regmatch(np->n_regexp, linebuf) == REG_OK) in exprreduce()
1210 if (regmatch(getregexp(np->n_right), cp) == REG_OK) in exprreduce()
1216 if (regmatch(getregexp(np->n_right), cp) != REG_OK) in exprreduce()
H A Dawk2.c371 case REG_OK: in refield()
/illumos-gate/usr/src/head/
H A Dregex.h104 #define REG_OK 0 /* success (non-standard) */ macro
/illumos-gate/usr/src/cmd/expr/
H A Dcompile.c322 if ((rv = regexec(rep, str, SEPSIZE, prm, flags)) != REG_OK) { in dhl_doit()
/illumos-gate/usr/src/cmd/grep/
H A Dgrep.c1194 if (rv == REG_OK) { in grep()