Lines Matching defs:preg
136 recomp(re_cod *preg, const char *pattern, int flags)
143 preg->cod = NULL;
145 flags & RE_PEND ? preg->re_endp :
173 preg->cod = inf.cod;
175 preg->re_nsub = inf.ref;
183 redump(preg);
190 reexec(const re_cod *preg, const char *string,
197 if (preg == NULL || preg->cod == NULL || nmatch < 0 ||
210 nosub = preg->cod[0] & RE_NOSUB;
211 newline = preg->cod[0] & RE_NEWLINE;
212 eng.cod = preg->cod + 2;
214 if (!nosub && preg->cod[1] != 0xff) {
215 for (i = 0; i <= preg->cod[1]; i++) {
1629 if (preg->cod[1] != 0xff)
1630 eng.goff = preg->cod[1];
1666 reerror(int ecode, const re_cod *preg, char *ebuffer, int ebuffer_size)