Home
last modified time | relevance | path

Searched refs:FoldCase (Results 1 – 10 of 10) sorted by relevance

/third_party/re2/re2/testing/
Dparse_test.cc177 { "[^ ]", "cc{0-0x9 0xb-0x1f 0x21-0x10ffff}", Regexp::FoldCase },
179 { "[^ ]", "cc{0-0x9 0xb-0x1f 0x21-0x10ffff}", Regexp::NeverNL | Regexp::FoldCase },
181 { "[^ \f]", "cc{0-0x9 0xb 0xd-0x1f 0x21-0x10ffff}", Regexp::FoldCase },
183 { "[^ \f]", "cc{0-0x9 0xb 0xd-0x1f 0x21-0x10ffff}", Regexp::NeverNL | Regexp::FoldCase },
185 { "[^ \r]", "cc{0-0x9 0xb-0xc 0xe-0x1f 0x21-0x10ffff}", Regexp::FoldCase },
187 { "[^ \r]", "cc{0-0x9 0xb-0xc 0xe-0x1f 0x21-0x10ffff}", Regexp::NeverNL | Regexp::FoldCase },
189 { "[^ \v]", "cc{0-0x9 0xc-0x1f 0x21-0x10ffff}", Regexp::FoldCase },
191 { "[^ \v]", "cc{0-0x9 0xc-0x1f 0x21-0x10ffff}", Regexp::NeverNL | Regexp::FoldCase },
193 { "[^ \t]", "cc{0-0x8 0xb-0x1f 0x21-0x10ffff}", Regexp::FoldCase },
195 { "[^ \t]", "cc{0-0x8 0xb-0x1f 0x21-0x10ffff}", Regexp::NeverNL | Regexp::FoldCase },
[all …]
Ddump.cc73 if (re->op() == kRegexpLiteral && (re->parse_flags() & Regexp::FoldCase)) { in DumpRegexpAppending()
78 if (re->op() == kRegexpLiteralString && (re->parse_flags() & Regexp::FoldCase)) { in DumpRegexpAppending()
Dexhaustive_test.cc23 TEST(EgrepLiterals, FoldCase) { in TEST() argument
/third_party/re2/re2/
Dparse.cc256 re = new Regexp(kRegexpLiteral, flags_ | FoldCase); in PushRegexp()
399 if ((flags_ & FoldCase) && CycleFoldRune(r) != r) { in PushLiteral()
400 Regexp* re = new Regexp(kRegexpCharClass, flags_ & ~FoldCase); in PushLiteral()
459 Regexp* re = new Regexp(kRegexpCharClass, flags_ & ~FoldCase); in PushDot()
779 *flags = static_cast<Regexp::ParseFlags>(re->parse_flags_ & Regexp::FoldCase); in LeadingString()
1285 if ((re1->parse_flags_ & FoldCase) != (re2->parse_flags_ & FoldCase)) in MaybeConcatString()
1614 if (parse_flags & Regexp::FoldCase) in AddRangeFlags()
1665 if (parse_flags & Regexp::FoldCase) { in AddUGroup()
1918 Regexp* re = new Regexp(kRegexpCharClass, flags_ & ~FoldCase); in ParseCharClass()
2114 nflags &= ~FoldCase; in ParsePerlFlags()
[all …]
Dtostring.cc166 (re->parse_flags() & Regexp::FoldCase) != 0); in PostVisit()
172 (re->parse_flags() & Regexp::FoldCase) != 0); in PostVisit()
Dregexp.cc373 ((a->parse_flags() ^ b->parse_flags()) & Regexp::FoldCase) == 0; in TopEqual()
377 ((a->parse_flags() ^ b->parse_flags()) & Regexp::FoldCase) == 0 && in TopEqual()
714 *foldcase = (sub[i]->parse_flags() & FoldCase) != 0; in RequiredPrefix()
Dsimplify.cc328 ((r1->sub()[0]->parse_flags() & Regexp::FoldCase) == in CanCoalesce()
329 (r2->parse_flags() & Regexp::FoldCase))) { in CanCoalesce()
Dregexp.h280 FoldCase = 1<<0, // Fold case during matching (case-insensitive). enumerator
Dcompile.cc909 return Literal(re->rune(), (re->parse_flags()&Regexp::FoldCase) != 0); in PostVisit()
918 (re->parse_flags()&Regexp::FoldCase) != 0); in PostVisit()
Dre2.cc153 flags |= Regexp::FoldCase; in ParseFlags()