Home
last modified time | relevance | path

Searched refs:nsub (Results 1 – 13 of 13) sorted by relevance

/external/regex-re2/re2/
Dset.cc51 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()
Dregexp.cc209 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 …]
Dcompile.cc871 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()
Dregexp.h314 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,
Dparse.cc645 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/
Dregcomp.c222 g->nsub = 0; in llvm_regcomp()
246 preg->re_nsub = g->nsub; in llvm_regcomp()
325 p->g->nsub++; in p_ere_exp()
326 subno = p->g->nsub; in p_ere_exp()
397 assert(backrefnum <= p->g->nsub); in p_ere_exp()
565 p->g->nsub++; in p_simp_re()
566 subno = p->g->nsub; in p_simp_re()
596 assert(i <= p->g->nsub); in p_simp_re()
Dregengine.inc74 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);
Dregex2.h151 size_t nsub; /* copy of re_nsub */ member
/external/jemalloc/src/
Dchunk.c59 size_t nsub = (size == 0) ? 1 : size / chunksize; in chunk_deregister() local
60 assert(atomic_read_z(&curchunks) >= nsub); in chunk_deregister()
61 atomic_sub_z(&curchunks, nsub); in chunk_deregister()
/external/regex-re2/re2/testing/
Ddump.cc114 for (int i = 0; i < re->nsub(); i++) in DumpRegexpAppending()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DHTMLEntities.properties249 nsub=8836 key
/external/valgrind/VEX/priv/
Dguest_arm64_toIR.c7728 IRTemp src, mask, maskn, nsub, qsub; in math_SQABS() local
7729 src = mask = maskn = nsub = qsub = IRTemp_INVALID; in math_SQABS()
7730 newTempsV128_7(&src, &mask, &maskn, &nsub, &qsub, nabs, qabs); in math_SQABS()
7734 assign(nsub, binop(mkVecSUB(size), mkV128(0x0000), mkexpr(src))); in math_SQABS()
7737 binop(Iop_AndV128, mkexpr(nsub), mkexpr(mask)), in math_SQABS()
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/test/data/tokenization/
DnamedEntities.test30982 "input": "&nsub",
30983 "description": "Bad named entity: nsub without a semi-colon",
30988 "&nsub"
30993 "input": "&nsub;",
30994 "description": "Named entity: nsub; with a semi-colon",