HomeSort by relevance Sort by last modified time
    Searched refs:nsub (Results 1 - 25 of 25) sorted by null

  /external/chromium_org/third_party/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 209 Regexp* Regexp::ConcatOrAlternate(RegexpOp op, Regexp** sub, int nsub,
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 - (nbigsub-1)*kMaxNsub, flags
    [all...]
compile.cc 872 if (re->nsub() > 0) {
875 Regexp** subcopy = new Regexp*[re->nsub()];
877 for (int i = 1; i < re->nsub(); i++)
879 *pre = Regexp::Concat(subcopy, re->nsub(), re->parse_flags());
920 if (re->nsub() > 0) {
921 sub = re->sub()[re->nsub() - 1]->Incref();
923 Regexp** subcopy = new Regexp*[re->nsub()];
924 subcopy[re->nsub() - 1] = sub; // already have reference
925 for (int i = 0; i < re->nsub() - 1; i++)
927 *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].
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,
parse.cc 645 if (re->op() == kRegexpConcat && re->nsub() >= 2) {
661 if (re->op() == kRegexpConcat && re->nsub() >= 2) {
667 if (re->nsub() == 2) {
689 while (re->op() == kRegexpConcat && re->nsub() > 0)
755 switch (re->nsub()) {
759 LOG(DFATAL) << "Concat of " << re->nsub();
    [all...]
  /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 209 Regexp* Regexp::ConcatOrAlternate(RegexpOp op, Regexp** sub, int nsub,
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 - (nbigsub-1)*kMaxNsub, flags
    [all...]
compile.cc 871 if (re->nsub() > 0) {
874 Regexp** subcopy = new Regexp*[re->nsub()];
876 for (int i = 1; i < re->nsub(); i++)
878 *pre = Regexp::Concat(subcopy, re->nsub(), re->parse_flags());
919 if (re->nsub() > 0) {
920 sub = re->sub()[re->nsub() - 1]->Incref();
922 Regexp** subcopy = new Regexp*[re->nsub()];
923 subcopy[re->nsub() - 1] = sub; // already have reference
924 for (int i = 0; i < re->nsub() - 1; i++)
926 *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].
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,
parse.cc 645 if (re->op() == kRegexpConcat && re->nsub() >= 2) {
661 if (re->op() == kRegexpConcat && re->nsub() >= 2) {
667 if (re->nsub() == 2) {
689 while (re->op() == kRegexpConcat && re->nsub() > 0)
755 switch (re->nsub()) {
759 LOG(DFATAL) << "Concat of " << re->nsub();
    [all...]
  /bionic/libc/upstream-netbsd/libc/regex/
regex2.h 200 size_t nsub; /* copy of re_nsub */ member in struct:re_guts
engine.c 110 regmatch_t *pmatch; /* [nsub+1] (0 element unused) */
262 m->pmatch = (regmatch_t *)malloc((m->g->nsub + 1) *
268 for (i = 1; i <= m->g->nsub; i++)
299 for (i = 1; i <= m->g->nsub; i++) {
326 if (i <= m->g->nsub)
538 assert(0 < i && i <= m->g->nsub);
543 assert(0 < i && i <= m->g->nsub);
673 assert(0 < i && i <= m->g->nsub);
735 assert(0 < i && i <= m->g->nsub);
746 assert(0 < i && i <= m->g->nsub);
    [all...]
regcomp.c 297 g->nsub = 0;
321 preg->re_nsub = g->nsub;
415 p->g->nsub++;
416 subno = p->g->nsub;
650 p->g->nsub++;
651 subno = p->g->nsub;
681 assert(i <= p->g->nsub);
    [all...]
  /external/chromium_org/third_party/re2/re2/testing/
dump.cc 114 for (int i = 0; i < re->nsub(); i++)
  /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;
317 p->g->nsub++;
318 subno = p->g->nsub;
389 assert(backrefnum <= p->g->nsub);
557 p->g->nsub++;
558 subno = p->g->nsub;
588 assert(i <= p->g->nsub);
    [all...]
  /external/regex-re2/re2/testing/
dump.cc 114 for (int i = 0; i < re->nsub(); i++)
  /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)
452 assert(0 < i && i <= m->g->nsub);
457 assert(0 < i && i <= m->g->nsub);
576 assert(0 < i && i <= m->g->nsub);
639 assert(0 < i && i <= m->g->nsub);
650 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...]
  /packages/apps/UnifiedEmail/src/com/android/mail/lib/base/
CharEscapers.java 391 .addEscape('\u2284', "&nsub;")
    [all...]
  /packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
CharEscapers.java 391 .addEscape('\u2284', "&nsub;")
    [all...]

Completed in 532 milliseconds