Searched refs:preg (Results 1 – 4 of 4) sorted by relevance
/ndk/sources/host-tools/ndk-stack/regex/ |
D | regfree.c | 51 regfree(regex_t *preg) in regfree() argument 55 if (preg->re_magic != MAGIC1) /* oops */ in regfree() 58 g = preg->re_g; in regfree() 61 preg->re_magic = 0; /* mark it invalid */ in regfree()
|
D | regerror.c | 79 regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size) in regerror() argument 88 s = regatoi(preg, convbuf, sizeof convbuf); in regerror() 118 regatoi(const regex_t *preg, char *localbuf, int localbufsize) in regatoi() argument 123 if (strcmp(r->name, preg->re_endp) == 0) in regatoi()
|
D | regexec.c | 139 regexec(const regex_t *preg, const char *string, size_t nmatch, in regexec() argument 142 struct re_guts *g = preg->re_g; in regexec() 149 if (preg->re_magic != MAGIC1 || g->magic != MAGIC2) in regexec()
|
D | regcomp.c | 149 regcomp(regex_t *preg, const char *pattern, int cflags) in regcomp() argument 167 if (preg->re_endp < pattern) in regcomp() 169 len = preg->re_endp - pattern; in regcomp() 230 preg->re_nsub = g->nsub; in regcomp() 231 preg->re_g = g; in regcomp() 232 preg->re_magic = MAGIC1; in regcomp() 241 regfree(preg); in regcomp()
|