/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/dist/ |
D | pcreposix.c | 323 regmatch_t pmatch[], int eflags) in regexec() argument 343 if (nosub || pmatch == NULL) nmatch = 0; in regexec() 367 so = pmatch[0].rm_so; in regexec() 368 eo = pmatch[0].rm_eo; in regexec() 390 pmatch[i].rm_so = ovector[i*2]; in regexec() 391 pmatch[i].rm_eo = ovector[i*2+1]; in regexec() 394 for (; i < nmatch; i++) pmatch[i].rm_so = pmatch[i].rm_eo = -1; in regexec()
|
D | pcretest.c | 5052 regmatch_t *pmatch = NULL; in main() local 5054 pmatch = (regmatch_t *)malloc(sizeof(regmatch_t) * use_size_offsets); in main() 5059 rc = regexec(&preg, (const char *)bptr, use_size_offsets, pmatch, eflags); in main() 5075 if (pmatch[i].rm_so >= 0) in main() 5078 PCHARSV(dbuffer, pmatch[i].rm_so, in main() 5079 pmatch[i].rm_eo - pmatch[i].rm_so, outfile); in main() 5084 PCHARSV(dbuffer, pmatch[i].rm_eo, len - pmatch[i].rm_eo, in main() 5091 free(pmatch); in main()
|
D | ChangeLog | 2344 value for nmatch with a NULL value for pmatch, the value of 3942 with this option is matched, the nmatch and pmatch options of regexec() are
|
/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/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/toybox/toys/posix/ |
D | sed.c | 216 regmatch_t pmatch[], int eflags) in ghostwheel() argument 230 rc = regexec(preg, s, nmatch, pmatch, eflags); in ghostwheel() 232 for (rc = 0; rc<nmatch && pmatch[rc].rm_so!=-1; rc++) { in ghostwheel() 233 pmatch[rc].rm_so += s-string; in ghostwheel() 234 pmatch[rc].rm_eo += s-string; in ghostwheel()
|
/external/pcre/dist/doc/ |
D | pcre.txt | 9524 size_t nmatch, regmatch_t pmatch[], int eflags); 9608 ing, the nmatch and pmatch arguments are ignored, and no captured 9710 The string is considered to start at string + pmatch[0].rm_so and to 9711 have a terminating NUL located at string + pmatch[0].rm_eo (there need 9720 matched strings is returned. The nmatch and pmatch arguments of 9723 If the value of nmatch is zero, or if the value pmatch is NULL, no data 9727 tured substrings, are returned via the pmatch argument, which points to
|