/external/regex-re2/re2/ |
set.cc | 51 int nsub = re->nsub(); local 52 re2::Regexp** sub = new re2::Regexp*[nsub + 1]; 53 for (int i = 0; i < nsub; i++) 55 sub[nsub] = m; 57 re = re2::Regexp::Concat(sub, nsub + 1, pf);
|
regexp.cc | 198 Regexp* Regexp::ConcatOrAlternate(RegexpOp op, Regexp** sub, int nsub, 200 if (nsub == 1) 206 subcopy = new Regexp*[nsub]; 207 memmove(subcopy, sub, nsub * sizeof sub[0]); 209 nsub = FactorAlternation(sub, nsub, flags); 210 if (nsub == 1) { 217 if (nsub > kMaxNsub) { 220 int nbigsub = (nsub+kMaxNsub-1)/kMaxNsub; 227 nsub - (nbigsub-1)*kMaxNsub, flags [all...] |
compile.cc | 870 if (re->nsub() > 0) { 873 Regexp** subcopy = new Regexp*[re->nsub()]; 875 for (int i = 1; i < re->nsub(); i++) 877 *pre = Regexp::Concat(subcopy, re->nsub(), re->parse_flags()); 918 if (re->nsub() > 0) { 919 sub = re->sub()[re->nsub() - 1]->Incref(); 921 Regexp** subcopy = new Regexp*[re->nsub()]; 922 subcopy[re->nsub() - 1] = sub; // already have reference 923 for (int i = 0; i < re->nsub() - 1; i++) 925 *pre = Regexp::Concat(subcopy, re->nsub(), re->parse_flags()) [all...] |
regexp.h | 108 // Matches concatenation of sub_[0..nsub-1]. 110 // Matches union of sub_[0..nsub-1]. 313 int nsub() { return nsub_; } function in class:re2::Regexp 479 static int FactorAlternation(Regexp** sub, int nsub, ParseFlags flags); 480 static int FactorAlternationRecursive(Regexp** sub, int nsub,
|
parse.cc | 646 if (re->op() == kRegexpConcat && re->nsub() >= 2) { 662 if (re->op() == kRegexpConcat && re->nsub() >= 2) { 668 if (re->nsub() == 2) { 690 while (re->op() == kRegexpConcat && re->nsub() > 0) 756 switch (re->nsub()) { 760 LOG(DFATAL) << "Concat of " << re->nsub(); [all...] |
/bionic/libc/regex/ |
regex2.h | 148 size_t nsub; /* copy of re_nsub */ member in struct:re_guts
|
engine.c | 74 regmatch_t *pmatch; /* [nsub+1] (0 element unused) */ 206 m->pmatch = (regmatch_t *)malloc((m->g->nsub + 1) * 212 for (i = 1; i <= (int)m->g->nsub; i++) 244 for (i = 1; i <= m->g->nsub; i++) { 271 if (i <= (int)m->g->nsub) 450 assert(0 < i && i <= m->g->nsub); 455 assert(0 < i && i <= m->g->nsub); 574 assert(0 < i && i <= m->g->nsub); 637 assert(0 < i && i <= m->g->nsub); 648 assert(0 < i && i <= m->g->nsub); [all...] |
regcomp.c | 206 g->nsub = 0; 230 preg->re_nsub = g->nsub; 308 p->g->nsub++; 309 subno = p->g->nsub; 521 p->g->nsub++; 522 subno = p->g->nsub; 552 assert(i <= p->g->nsub); [all...] |
/external/llvm/lib/Support/ |
regex2.h | 148 size_t nsub; /* copy of re_nsub */ member in struct:re_guts
|
regengine.inc | 74 llvm_regmatch_t *pmatch; /* [nsub+1] (0 element unused) */ 210 m->pmatch = (llvm_regmatch_t *)malloc((m->g->nsub + 1) * 216 for (i = 1; i <= m->g->nsub; i++) 248 for (i = 1; i <= m->g->nsub; i++) { 275 if (i <= m->g->nsub) 461 assert(0 < i && i <= m->g->nsub); 466 assert(0 < i && i <= m->g->nsub); 585 assert(0 < i && i <= m->g->nsub); 648 assert(0 < i && i <= m->g->nsub); 659 assert(0 < i && i <= m->g->nsub); [all...] |
regcomp.c | 214 g->nsub = 0; 238 preg->re_nsub = g->nsub; 316 p->g->nsub++; 317 subno = p->g->nsub; 529 p->g->nsub++; 530 subno = p->g->nsub; 560 assert(i <= p->g->nsub); [all...] |
/ndk/sources/host-tools/ndk-stack/regex/ |
regex2.h | 148 size_t nsub; /* copy of re_nsub */ member in struct:re_guts
|
engine.c | 74 regmatch_t *pmatch; /* [nsub+1] (0 element unused) */ 206 m->pmatch = (regmatch_t *)malloc((m->g->nsub + 1) * 212 for (i = 1; i <= (int)m->g->nsub; i++) 244 for (i = 1; i <= m->g->nsub; i++) { 271 if (i <= (int)m->g->nsub) 450 assert(0 < i && i <= m->g->nsub); 455 assert(0 < i && i <= m->g->nsub); 574 assert(0 < i && i <= m->g->nsub); 637 assert(0 < i && i <= m->g->nsub); 648 assert(0 < i && i <= m->g->nsub); [all...] |
regcomp.c | 206 g->nsub = 0; 230 preg->re_nsub = g->nsub; 308 p->g->nsub++; 309 subno = p->g->nsub; 521 p->g->nsub++; 522 subno = p->g->nsub; 552 assert(i <= p->g->nsub); [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
HTMLEntities.properties | 249 nsub=8836
|
/ndk/sources/host-tools/nawk-20071023/ |
run.c | 458 int nsub = strlen(*SUBSEP); local 468 if (!adjbuf(&buf, &bufsz, strlen(buf)+strlen(s)+nsub+1, recsize, 0, "array")) 496 int nsub = strlen(*SUBSEP); local 515 if (!adjbuf(&buf, &bufsz, strlen(buf)+strlen(s)+nsub+1, recsize, 0, "awkdelete")) 536 int nsub = strlen(*SUBSEP); local 554 if (!adjbuf(&buf, &bufsz, strlen(buf)+strlen(s)+nsub+1, recsize, 0, "intest")) [all...] |