Searched refs:preg (Results 1 – 4 of 4) sorted by relevance
104 regex_t *preg) in __weak_alias()108 _DIAGASSERT(preg != NULL); in __weak_alias()110 _DIAGASSERT(preg->re_magic == MAGIC1); in __weak_alias()111 if (preg->re_magic != MAGIC1) /* oops */ in __weak_alias()114 g = preg->re_g; in __weak_alias()117 preg->re_magic = 0; /* mark it invalid */ in __weak_alias()
106 static const char *regatoi(const regex_t *preg, char *localbuf, size_t buflen); in __weak_alias()164 const regex_t *preg, in regerror() argument174 _DIAGASSERT(errcode != REG_ATOI || preg != NULL); in regerror()178 s = regatoi(preg, convbuf, sizeof convbuf); in regerror()209 const regex_t *preg, in regatoi() argument216 if (strcmp(r->name, preg->re_endp) == 0) in regatoi()
204 const regex_t *preg,210 struct re_guts *g = preg->re_g;218 _DIAGASSERT(preg != NULL);221 if (preg->re_magic != MAGIC1 || g->magic != MAGIC2)
235 regex_t *preg, in regcomp() argument250 _DIAGASSERT(preg != NULL); in regcomp()258 if (preg->re_endp < pattern) in regcomp()260 len = preg->re_endp - pattern; in regcomp()320 preg->re_nsub = g->nsub; in regcomp()321 preg->re_g = g; in regcomp()322 preg->re_magic = MAGIC1; in regcomp()331 regfree(preg); in regcomp()