Searched defs:nsub (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/third_party/re2/re2/
H A Dset.cc51 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);
H A Dregexp.cc209 Regexp* Regexp::ConcatOrAlternate(RegexpOp op, Regexp** sub, int nsub, argument
211 if (nsub == 1)
217 subcopy = new Regexp*[nsub];
218 memmove(subcopy, sub, nsub * sizeof sub[0]);
220 nsub = FactorAlternation(sub, nsub, flags);
221 if (nsub == 1) {
228 if (nsub > kMaxNsub) {
231 int nbigsub = (nsub+kMaxNsub-1)/kMaxNsub;
238 nsub
254 Concat(Regexp** sub, int nsub, ParseFlags flags) argument
258 Alternate(Regexp** sub, int nsub, ParseFlags flags) argument
262 AlternateNoFactor(Regexp** sub, int nsub, ParseFlags flags) argument
[all...]
H A Dregexp.h108 // Matches concatenation of sub_[0..nsub-1].
110 // Matches union of sub_[0..nsub-1].
314 int nsub() { return nsub_; } function in class:re2::Regexp
480 static int FactorAlternation(Regexp** sub, int nsub, ParseFlags flags);
481 static int FactorAlternationRecursive(Regexp** sub, int nsub,
/external/regex-re2/re2/
H A Dset.cc51 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);
H A Dregexp.cc209 Regexp* Regexp::ConcatOrAlternate(RegexpOp op, Regexp** sub, int nsub, argument
211 if (nsub == 1)
217 subcopy = new Regexp*[nsub];
218 memmove(subcopy, sub, nsub * sizeof sub[0]);
220 nsub = FactorAlternation(sub, nsub, flags);
221 if (nsub == 1) {
228 if (nsub > kMaxNsub) {
231 int nbigsub = (nsub+kMaxNsub-1)/kMaxNsub;
238 nsub
254 Concat(Regexp** sub, int nsub, ParseFlags flags) argument
258 Alternate(Regexp** sub, int nsub, ParseFlags flags) argument
262 AlternateNoFactor(Regexp** sub, int nsub, ParseFlags flags) argument
[all...]
H A Dregexp.h108 // Matches concatenation of sub_[0..nsub-1].
110 // Matches union of sub_[0..nsub-1].
314 int nsub() { return nsub_; } function in class:re2::Regexp
480 static int FactorAlternation(Regexp** sub, int nsub, ParseFlags flags);
481 static int FactorAlternationRecursive(Regexp** sub, int nsub,
/external/llvm/lib/Support/
H A Dregex2.h148 size_t nsub; /* copy of re_nsub */ member in struct:re_guts

Completed in 142 milliseconds