Searched refs:nsub (Results 1 – 11 of 11) 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 | 209 Regexp* Regexp::ConcatOrAlternate(RegexpOp op, Regexp** sub, int nsub, in ConcatOrAlternate() argument 211 if (nsub == 1) in ConcatOrAlternate() 217 subcopy = new Regexp*[nsub]; in ConcatOrAlternate() 218 memmove(subcopy, sub, nsub * sizeof sub[0]); in ConcatOrAlternate() 220 nsub = FactorAlternation(sub, nsub, flags); in ConcatOrAlternate() 221 if (nsub == 1) { in ConcatOrAlternate() 228 if (nsub > kMaxNsub) { in ConcatOrAlternate() 231 int nbigsub = (nsub+kMaxNsub-1)/kMaxNsub; in ConcatOrAlternate() 238 nsub - (nbigsub-1)*kMaxNsub, flags, in ConcatOrAlternate() 245 re->AllocSub(nsub); in ConcatOrAlternate() [all …]
|
D | compile.cc | 871 if (re->nsub() > 0) { in IsAnchorStart() 874 Regexp** subcopy = new Regexp*[re->nsub()]; in IsAnchorStart() 876 for (int i = 1; i < re->nsub(); i++) in IsAnchorStart() 878 *pre = Regexp::Concat(subcopy, re->nsub(), re->parse_flags()); in IsAnchorStart() 919 if (re->nsub() > 0) { in IsAnchorEnd() 920 sub = re->sub()[re->nsub() - 1]->Incref(); in IsAnchorEnd() 922 Regexp** subcopy = new Regexp*[re->nsub()]; in IsAnchorEnd() 923 subcopy[re->nsub() - 1] = sub; // already have reference in IsAnchorEnd() 924 for (int i = 0; i < re->nsub() - 1; i++) in IsAnchorEnd() 926 *pre = Regexp::Concat(subcopy, re->nsub(), re->parse_flags()); in IsAnchorEnd()
|
D | regexp.h | 314 int nsub() { return nsub_; } in nsub() function 480 static int FactorAlternation(Regexp** sub, int nsub, ParseFlags flags); 481 static int FactorAlternationRecursive(Regexp** sub, int nsub,
|
D | parse.cc | 645 if (re->op() == kRegexpConcat && re->nsub() >= 2) { in LeadingRegexp() 661 if (re->op() == kRegexpConcat && re->nsub() >= 2) { in RemoveLeadingRegexp() 667 if (re->nsub() == 2) { in RemoveLeadingRegexp() 689 while (re->op() == kRegexpConcat && re->nsub() > 0) in LeadingString() 755 switch (re->nsub()) { in RemoveLeadingString() 759 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() 317 p->g->nsub++; in p_ere_exp() 318 subno = p->g->nsub; in p_ere_exp() 389 assert(backrefnum <= p->g->nsub); in p_ere_exp() 557 p->g->nsub++; in p_simp_re() 558 subno = p->g->nsub; in p_simp_re() 588 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/regex-re2/re2/testing/ |
D | dump.cc | 114 for (int i = 0; i < re->nsub(); i++) in DumpRegexpAppending()
|
/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"
|