/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...] |
/external/llvm/lib/Support/ |
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 | 222 g->nsub = 0; 246 preg->re_nsub = g->nsub; 325 p->g->nsub++; 326 subno = p->g->nsub; 397 assert(backrefnum <= p->g->nsub); 565 p->g->nsub++; 566 subno = p->g->nsub; 596 assert(i <= p->g->nsub); [all...] |
regex2.h | 151 size_t nsub; /* copy of re_nsub */ member in struct:re_guts
|
/ndk/sources/host-tools/ndk-stack/regex/ |
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...] |
regex2.h | 148 size_t nsub; /* copy of re_nsub */ member in struct:re_guts
|
/external/jemalloc/src/ |
chunk.c | 59 size_t nsub = (size == 0) ? 1 : size / chunksize; local 60 assert(atomic_read_z(&curchunks) >= nsub); 61 atomic_sub_z(&curchunks, nsub);
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
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...] |
regex2.h | 200 size_t nsub; /* copy of re_nsub */ member in struct:re_guts
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
HTMLEntities.properties | 249 nsub=8836
|
/external/regex-re2/re2/testing/ |
dump.cc | 114 for (int i = 0; i < re->nsub(); i++)
|
/external/toybox/tests/ |
grep.test | 83 testing "grep -r dir" "grep -r one sub | sort" "sub/one:one\nsub/two:one\n" \
|
/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...] |
/external/libxml2/test/valid/dtds/ |
xhtml-symbol.ent | 203 <!ENTITY nsub "⊄"> <!-- not a subset of, U+2284 ISOamsn -->
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
entropy_coding.c | 712 WebRtc_Word16 Nsub, 722 for (k = 0; k < Nsub; k++) { 746 WebRtc_Word16 Nsub) { 758 for (k = 0; k < Nsub; k++) { [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
entropy_coding.c | 654 int orderHi, int Nsub, double* lars) { 661 for (k = 0; k < Nsub; k++) { 720 double* hiband, int orderHi, int Nsub) { 729 for (k = 0; k < Nsub; k++) { [all...] |
/external/libxml2/ |
trionan.c | 830 print_class("NSub", 1.00e-307 - 1.01e-307);
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
HtmlEntities.java | 447 .put("nsub", Integer.valueOf('\u2284'))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
htmlentitydefs.py | 167 'nsub': 0x2284, # not a subset of, U+2284 ISOamsn
|