Searched refs:eret (Results 1 - 3 of 3) sorted by relevance

/ast/src/cmd/re/
H A Dtestmatch.c612 int eret; local
1022 eret = state.ret;
1029 eret = (rmatch = strgrpmatch(s, re, match, nmatch / 2, eflags)) == 0;
1036 eret = (rmatch = strmatch(s, re)) == 0;
1044 eret = (rmatch = strgrpmatch(s, re, match, nmatch / 2, eflags)) == 0;
1051 eret = (rmatch = strmatch(s, re)) == 0;
1054 if (eret && streq(s, re))
1063 if (eret)
1071 if (eret == 1)
1074 printf("OK expected, error %d returned", eret);
[all...]
H A Dtestregex.c1142 int eret; local
1147 eret = 0;
1149 else if (!(eret = setjmp(state.gotcha)))
1160 error(preg, eret);
1162 return eret;
1228 int eret; local
2129 eret = regnexec(&preg, s, nexec, nmatch, match, eflags);
2136 eret = regexec(&preg, s, nmatch, match, eflags);
2137 else if (!(eret = setjmp(state.gotcha)))
2140 eret
[all...]
H A Dtestfnmatch.c481 int eret; local
881 eret = state.ret;
885 eret = fnmatch(re, s, eflags);
890 eret = fnmatch(re, s, eflags);
891 if (eret)
898 if (eret == FNM_NOMATCH)
901 printf("OK expected, error %d returned", eret);

Completed in 52 milliseconds