/external/libmicrohttpd/src/examples/ |
D | mhd2spdy_structures.c | 77 regmatch_t pmatch[10]; in parse_uri() local 79 if (0 != (ret = regexec(preg, full_uri, nmatch, pmatch, 0))) in parse_uri() 88 asprintf(&((*uri)->scheme), "%.*s",pmatch[2].rm_eo - pmatch[2].rm_so, &full_uri[pmatch[2].rm_so]); in parse_uri() 89 …asprintf(&((*uri)->host_and_port), "%.*s",pmatch[4].rm_eo - pmatch[4].rm_so, &full_uri[pmatch[4].r… in parse_uri() 90 asprintf(&((*uri)->path), "%.*s",pmatch[5].rm_eo - pmatch[5].rm_so, &full_uri[pmatch[5].rm_so]); in parse_uri() 91 …asprintf(&((*uri)->path_and_more), "%.*s",pmatch[9].rm_eo - pmatch[5].rm_so, &full_uri[pmatch[5].r… in parse_uri() 92 asprintf(&((*uri)->query), "%.*s",pmatch[7].rm_eo - pmatch[7].rm_so, &full_uri[pmatch[7].rm_so]); in parse_uri() 93 …asprintf(&((*uri)->fragment), "%.*s",pmatch[9].rm_eo - pmatch[9].rm_so, &full_uri[pmatch[9].rm_so]… in parse_uri()
|
/external/pcre/dist2/src/ |
D | pcre2posix.c | 295 regmatch_t pmatch[], int eflags) in regexec() argument 311 if ((preg->re_cflags & REG_NOSUB) != 0 || pmatch == NULL) nmatch = 0; in regexec() 320 if (pmatch == NULL) return REG_INVARG; in regexec() 321 so = pmatch[0].rm_so; in regexec() 322 eo = pmatch[0].rm_eo; in regexec() 342 pmatch[i].rm_so = ovector[i*2]; in regexec() 343 pmatch[i].rm_eo = ovector[i*2+1]; in regexec() 345 for (; i < nmatch; i++) pmatch[i].rm_so = pmatch[i].rm_eo = -1; in regexec()
|
D | pcre2test.c | 5936 regmatch_t *pmatch = NULL; in process_data() local 5964 pmatch = (regmatch_t *)malloc(sizeof(regmatch_t) * dat_datctl.oveccount); in process_data() 5970 dat_datctl.oveccount, pmatch, eflags); in process_data() 5985 if (pmatch[i].rm_so >= 0) in process_data() 5988 PCHARSV(pp, pmatch[i].rm_so, in process_data() 5989 pmatch[i].rm_eo - pmatch[i].rm_so, utf, outfile); in process_data() 5995 PCHARSV(pp, pmatch[i].rm_eo, len - pmatch[i].rm_eo, in process_data() 6002 free(pmatch); in process_data()
|
/external/libmicrohttpd/src/spdy2http/ |
D | proxy.c | 240 regmatch_t pmatch[10]; in parse_uri() local 242 if (0 != (ret = regexec(preg, full_uri, nmatch, pmatch, 0))) in parse_uri() 253 (int) (pmatch[2].rm_eo - pmatch[2].rm_so), in parse_uri() 254 &full_uri[pmatch[2].rm_so]); in parse_uri() 256 (int) (pmatch[4].rm_eo - pmatch[4].rm_so), in parse_uri() 257 &full_uri[pmatch[4].rm_so]); in parse_uri() 260 (int) (pmatch[5].rm_eo - pmatch[5].rm_so), in parse_uri() 261 &full_uri[pmatch[5].rm_so]); in parse_uri() 264 (int) (pmatch[9].rm_eo - pmatch[5].rm_so), in parse_uri() 265 &full_uri[pmatch[5].rm_so]); in parse_uri() [all …]
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | regengine.inc | 74 llvm_regmatch_t *pmatch; /* [nsub+1] (0 element unused) */ 132 llvm_regmatch_t pmatch[], 149 start = string + pmatch[0].rm_so; 150 stop = string + pmatch[0].rm_eo; 171 m->pmatch = NULL; 187 free(m->pmatch); 209 if (m->pmatch == NULL) 210 m->pmatch = (llvm_regmatch_t *)malloc((m->g->nsub + 1) * 212 if (m->pmatch == NULL) { 217 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1; [all …]
|
D | regexec.c | 142 llvm_regmatch_t pmatch[], int eflags) in llvm_regexec() argument 159 return(smatcher(g, string, nmatch, pmatch, eflags)); in llvm_regexec() 161 return(lmatcher(g, string, nmatch, pmatch, eflags)); in llvm_regexec()
|
/external/llvm/lib/Support/ |
D | regengine.inc | 74 llvm_regmatch_t *pmatch; /* [nsub+1] (0 element unused) */ 132 llvm_regmatch_t pmatch[], 149 start = string + pmatch[0].rm_so; 150 stop = string + pmatch[0].rm_eo; 171 m->pmatch = NULL; 187 free(m->pmatch); 209 if (m->pmatch == NULL) 210 m->pmatch = (llvm_regmatch_t *)malloc((m->g->nsub + 1) * 212 if (m->pmatch == NULL) { 217 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1; [all …]
|
D | regexec.c | 142 llvm_regmatch_t pmatch[], int eflags) in llvm_regexec() argument 159 return(smatcher(g, string, nmatch, pmatch, eflags)); in llvm_regexec() 161 return(lmatcher(g, string, nmatch, pmatch, eflags)); in llvm_regexec()
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | regengine.inc | 74 llvm_regmatch_t *pmatch; /* [nsub+1] (0 element unused) */ 132 llvm_regmatch_t pmatch[], 149 start = string + pmatch[0].rm_so; 150 stop = string + pmatch[0].rm_eo; 171 m->pmatch = NULL; 187 free(m->pmatch); 209 if (m->pmatch == NULL) 210 m->pmatch = (llvm_regmatch_t *)malloc((m->g->nsub + 1) * 212 if (m->pmatch == NULL) { 217 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1; [all …]
|
D | regexec.c | 142 llvm_regmatch_t pmatch[], int eflags) in llvm_regexec() argument 159 return(smatcher(g, string, nmatch, pmatch, eflags)); in llvm_regexec() 161 return(lmatcher(g, string, nmatch, pmatch, eflags)); in llvm_regexec()
|
/external/syslinux/gpxe/src/drivers/net/ |
D | natsemi.c | 254 u16 pmatch[3]; in natsemi_reset() local 278 pmatch[i] = inw(np->ioaddr + RxFilterData); in natsemi_reset() 313 outw (pmatch[i], np->ioaddr + RxFilterData); in natsemi_reset()
|
/external/toybox/lib/ |
D | lib.c | 1194 regmatch_t pmatch[], int eflags) in regexec0() argument 1208 rc = regexec(preg, s, nmatch, pmatch, eflags); in regexec0() 1210 for (rc = 0; rc<nmatch && pmatch[rc].rm_so!=-1; rc++) { in regexec0() 1211 pmatch[rc].rm_so += s-string; in regexec0() 1212 pmatch[rc].rm_eo += s-string; in regexec0()
|
D | lib.h | 238 regmatch_t pmatch[], int eflags);
|
/external/pcre/dist2/ |
D | ChangeLog | 30 and pmatch when regexec() is called. 524 was set when the pmatch argument was NULL. It now returns REG_INVARG.
|
/external/pcre/dist2/doc/ |
D | pcre2.txt | 8563 size_t nmatch, regmatch_t pmatch[], int eflags); 8647 for matching, the nmatch and pmatch arguments are ignored, and no cap- 8756 The string is considered to start at string + pmatch[0].rm_so and to 8757 have a terminating NUL located at string + pmatch[0].rm_eo (there need 8764 pmatch as NULL are mutually exclusive; the error REG_INVARG is 8768 matched strings is returned. The nmatch and pmatch arguments of 8771 The value of nmatch may be zero, and the value pmatch may be NULL 8776 captured substrings, are returned via the pmatch argument, which points
|