/external/chromium_org/third_party/re2/re2/testing/ |
exhaustive_test.cc | 25 TEST(EgrepLiterals, FoldCase) {
|
parse_test.cc | 152 { "[^ ]", "cc{0-0x9 0xb-0x1f 0x21-0x10ffff}", Regexp::FoldCase }, 154 { "[^ ]", "cc{0-0x9 0xb-0x1f 0x21-0x10ffff}", Regexp::NeverNL | Regexp::FoldCase }, 156 { "[^ \f]", "cc{0-0x9 0xb 0xd-0x1f 0x21-0x10ffff}", Regexp::FoldCase }, 158 { "[^ \f]", "cc{0-0x9 0xb 0xd-0x1f 0x21-0x10ffff}", Regexp::NeverNL | Regexp::FoldCase }, 160 { "[^ \r]", "cc{0-0x9 0xb-0xc 0xe-0x1f 0x21-0x10ffff}", Regexp::FoldCase }, 162 { "[^ \r]", "cc{0-0x9 0xb-0xc 0xe-0x1f 0x21-0x10ffff}", Regexp::NeverNL | Regexp::FoldCase }, 164 { "[^ \v]", "cc{0-0x9 0xc-0x1f 0x21-0x10ffff}", Regexp::FoldCase }, 166 { "[^ \v]", "cc{0-0x9 0xc-0x1f 0x21-0x10ffff}", Regexp::NeverNL | Regexp::FoldCase }, 168 { "[^ \t]", "cc{0-0x8 0xb-0x1f 0x21-0x10ffff}", Regexp::FoldCase }, 170 { "[^ \t]", "cc{0-0x8 0xb-0x1f 0x21-0x10ffff}", Regexp::NeverNL | Regexp::FoldCase }, [all...] |
dump.cc | 73 if (re->op() == kRegexpLiteral && (re->parse_flags() & Regexp::FoldCase)) { 78 if (re->op() == kRegexpLiteralString && (re->parse_flags() & Regexp::FoldCase)) {
|
/external/regex-re2/re2/testing/ |
exhaustive_test.cc | 25 TEST(EgrepLiterals, FoldCase) {
|
parse_test.cc | 152 { "[^ ]", "cc{0-0x9 0xb-0x1f 0x21-0x10ffff}", Regexp::FoldCase }, 154 { "[^ ]", "cc{0-0x9 0xb-0x1f 0x21-0x10ffff}", Regexp::NeverNL | Regexp::FoldCase }, 156 { "[^ \f]", "cc{0-0x9 0xb 0xd-0x1f 0x21-0x10ffff}", Regexp::FoldCase }, 158 { "[^ \f]", "cc{0-0x9 0xb 0xd-0x1f 0x21-0x10ffff}", Regexp::NeverNL | Regexp::FoldCase }, 160 { "[^ \r]", "cc{0-0x9 0xb-0xc 0xe-0x1f 0x21-0x10ffff}", Regexp::FoldCase }, 162 { "[^ \r]", "cc{0-0x9 0xb-0xc 0xe-0x1f 0x21-0x10ffff}", Regexp::NeverNL | Regexp::FoldCase }, 164 { "[^ \v]", "cc{0-0x9 0xc-0x1f 0x21-0x10ffff}", Regexp::FoldCase }, 166 { "[^ \v]", "cc{0-0x9 0xc-0x1f 0x21-0x10ffff}", Regexp::NeverNL | Regexp::FoldCase }, 168 { "[^ \t]", "cc{0-0x8 0xb-0x1f 0x21-0x10ffff}", Regexp::FoldCase }, 170 { "[^ \t]", "cc{0-0x8 0xb-0x1f 0x21-0x10ffff}", Regexp::NeverNL | Regexp::FoldCase }, [all...] |
dump.cc | 73 if (re->op() == kRegexpLiteral && (re->parse_flags() & Regexp::FoldCase)) { 78 if (re->op() == kRegexpLiteralString && (re->parse_flags() & Regexp::FoldCase)) {
|
/external/chromium_org/third_party/re2/re2/ |
parse.cc | 227 re = new Regexp(kRegexpLiteral, flags_ | FoldCase); 370 if ((flags_ & FoldCase) && CycleFoldRune(r) != r) { 371 Regexp* re = new Regexp(kRegexpCharClass, flags_ & ~FoldCase); 431 Regexp* re = new Regexp(kRegexpCharClass, flags_ & ~FoldCase); 554 AddLiteral(r3->ccb_, rune, r3->parse_flags_ & Regexp::FoldCase); 559 r1->parse_flags_ & Regexp::FoldCase); 692 *flags = static_cast<Regexp::ParseFlags>(re->parse_flags_ & Regexp::FoldCase); [all...] |
tostring.cc | 120 static void AppendLiteral(string *t, Rune r, bool foldcase) { 124 } else if (foldcase && 'a' <= r && r <= 'z') { 157 AppendLiteral(t_, re->rune(), re->parse_flags() & Regexp::FoldCase); 162 AppendLiteral(t_, re->runes()[i], re->parse_flags() & Regexp::FoldCase);
|
regexp.h | 273 FoldCase = 1<<0, // Fold case during matching (case-insensitive). 290 // i - FoldCase 430 bool RequiredPrefix(string* prefix, bool *foldcase, Regexp** suffix); 514 // (Only FoldCase is used.)
|
regexp.cc | 339 ((a->parse_flags() ^ b->parse_flags()) & Regexp::FoldCase) == 0; 343 ((a->parse_flags() ^ b->parse_flags()) & Regexp::FoldCase) == 0 && 617 bool Regexp::RequiredPrefix(string *prefix, bool *foldcase, Regexp** suffix) { 623 *foldcase = false; 672 *foldcase = (sub[i]->parse_flags() & FoldCase);
|
compile.cc | 175 Frag ByteRange(int lo, int hi, bool foldcase); 194 void AddRuneRange(Rune lo, Rune hi, bool foldcase); 195 void AddRuneRangeLatin1(Rune lo, Rune hi, bool foldcase); 196 void AddRuneRangeUTF8(Rune lo, Rune hi, bool foldcase); 200 int RuneByteSuffix(uint8 lo, uint8 hi, bool foldcase, int next); 201 int UncachedRuneByteSuffix(uint8 lo, uint8 hi, bool foldcase, int next); 210 Frag Literal(Rune r, bool foldcase); 393 Frag Compiler::ByteRange(int lo, int hi, bool foldcase) { 397 inst_[id].InitByteRange(lo, hi, foldcase, 0); 400 if (foldcase && lo <= 'z' && hi >= 'a') [all...] |
re2.cc | 176 flags |= Regexp::FoldCase; [all...] |
/external/regex-re2/re2/ |
parse.cc | 227 re = new Regexp(kRegexpLiteral, flags_ | FoldCase); 370 if ((flags_ & FoldCase) && CycleFoldRune(r) != r) { 371 Regexp* re = new Regexp(kRegexpCharClass, flags_ & ~FoldCase); 431 Regexp* re = new Regexp(kRegexpCharClass, flags_ & ~FoldCase); 554 AddLiteral(r3->ccb_, rune, r3->parse_flags_ & Regexp::FoldCase); 559 r1->parse_flags_ & Regexp::FoldCase); 692 *flags = static_cast<Regexp::ParseFlags>(re->parse_flags_ & Regexp::FoldCase); [all...] |
tostring.cc | 120 static void AppendLiteral(string *t, Rune r, bool foldcase) { 124 } else if (foldcase && 'a' <= r && r <= 'z') { 157 AppendLiteral(t_, re->rune(), re->parse_flags() & Regexp::FoldCase); 162 AppendLiteral(t_, re->runes()[i], re->parse_flags() & Regexp::FoldCase);
|
regexp.h | 273 FoldCase = 1<<0, // Fold case during matching (case-insensitive). 290 // i - FoldCase 430 bool RequiredPrefix(string* prefix, bool *foldcase, Regexp** suffix); 514 // (Only FoldCase is used.)
|
regexp.cc | 339 ((a->parse_flags() ^ b->parse_flags()) & Regexp::FoldCase) == 0; 343 ((a->parse_flags() ^ b->parse_flags()) & Regexp::FoldCase) == 0 && 617 bool Regexp::RequiredPrefix(string *prefix, bool *foldcase, Regexp** suffix) { 623 *foldcase = false; 672 *foldcase = (sub[i]->parse_flags() & FoldCase);
|
compile.cc | 174 Frag ByteRange(int lo, int hi, bool foldcase); 193 void AddRuneRange(Rune lo, Rune hi, bool foldcase); 194 void AddRuneRangeLatin1(Rune lo, Rune hi, bool foldcase); 195 void AddRuneRangeUTF8(Rune lo, Rune hi, bool foldcase); 199 int RuneByteSuffix(uint8 lo, uint8 hi, bool foldcase, int next); 200 int UncachedRuneByteSuffix(uint8 lo, uint8 hi, bool foldcase, int next); 209 Frag Literal(Rune r, bool foldcase); 392 Frag Compiler::ByteRange(int lo, int hi, bool foldcase) { 396 inst_[id].InitByteRange(lo, hi, foldcase, 0); 399 if (foldcase && lo <= 'z' && hi >= 'a') [all...] |
re2.cc | 158 flags |= Regexp::FoldCase; [all...] |