Searched refs:nsub (Results 1 – 10 of 10) sorted by relevance
/external/regex-re2/re2/ |
D | set.cc | 51 int nsub = re->nsub(); in Add() local 52 re2::Regexp** sub = new re2::Regexp*[nsub + 1]; in Add() 53 for (int i = 0; i < nsub; i++) in Add() 55 sub[nsub] = m; in Add() 57 re = re2::Regexp::Concat(sub, nsub + 1, pf); in Add()
|
D | regexp.cc | 198 Regexp* Regexp::ConcatOrAlternate(RegexpOp op, Regexp** sub, int nsub, in ConcatOrAlternate() argument 200 if (nsub == 1) in ConcatOrAlternate() 206 subcopy = new Regexp*[nsub]; in ConcatOrAlternate() 207 memmove(subcopy, sub, nsub * sizeof sub[0]); in ConcatOrAlternate() 209 nsub = FactorAlternation(sub, nsub, flags); in ConcatOrAlternate() 210 if (nsub == 1) { in ConcatOrAlternate() 217 if (nsub > kMaxNsub) { in ConcatOrAlternate() 220 int nbigsub = (nsub+kMaxNsub-1)/kMaxNsub; in ConcatOrAlternate() 227 nsub - (nbigsub-1)*kMaxNsub, flags, in ConcatOrAlternate() 234 re->AllocSub(nsub); in ConcatOrAlternate() [all …]
|
D | compile.cc | 870 if (re->nsub() > 0) { in IsAnchorStart() 873 Regexp** subcopy = new Regexp*[re->nsub()]; in IsAnchorStart() 875 for (int i = 1; i < re->nsub(); i++) in IsAnchorStart() 877 *pre = Regexp::Concat(subcopy, re->nsub(), re->parse_flags()); in IsAnchorStart() 918 if (re->nsub() > 0) { in IsAnchorEnd() 919 sub = re->sub()[re->nsub() - 1]->Incref(); in IsAnchorEnd() 921 Regexp** subcopy = new Regexp*[re->nsub()]; in IsAnchorEnd() 922 subcopy[re->nsub() - 1] = sub; // already have reference in IsAnchorEnd() 923 for (int i = 0; i < re->nsub() - 1; i++) in IsAnchorEnd() 925 *pre = Regexp::Concat(subcopy, re->nsub(), re->parse_flags()); in IsAnchorEnd()
|
D | regexp.h | 313 int nsub() { return nsub_; } in nsub() function 479 static int FactorAlternation(Regexp** sub, int nsub, ParseFlags flags); 480 static int FactorAlternationRecursive(Regexp** sub, int nsub,
|
D | parse.cc | 646 if (re->op() == kRegexpConcat && re->nsub() >= 2) { in LeadingRegexp() 662 if (re->op() == kRegexpConcat && re->nsub() >= 2) { in RemoveLeadingRegexp() 668 if (re->nsub() == 2) { in RemoveLeadingRegexp() 690 while (re->op() == kRegexpConcat && re->nsub() > 0) in LeadingString() 756 switch (re->nsub()) { in RemoveLeadingString() 760 LOG(DFATAL) << "Concat of " << re->nsub(); in RemoveLeadingString()
|
/external/llvm/lib/Support/ |
D | regcomp.c | 214 g->nsub = 0; in llvm_regcomp() 238 preg->re_nsub = g->nsub; in llvm_regcomp() 316 p->g->nsub++; in p_ere_exp() 317 subno = p->g->nsub; in p_ere_exp() 529 p->g->nsub++; in p_simp_re() 530 subno = p->g->nsub; in p_simp_re() 560 assert(i <= p->g->nsub); in p_simp_re()
|
D | 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);
|
D | regex2.h | 148 size_t nsub; /* copy of re_nsub */ member
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
D | HTMLEntities.properties | 249 nsub=8836 key
|
/external/webkit/Source/WebCore/html/parser/ |
D | HTMLEntityNames.in | 1506 "nsub;","U+02284"
|