Searched refs:FoldCase (Results 1 – 10 of 10) sorted by relevance
/third_party/re2/re2/testing/ |
D | parse_test.cc | 177 { "[^ ]", "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 …]
|
D | dump.cc | 73 if (re->op() == kRegexpLiteral && (re->parse_flags() & Regexp::FoldCase)) { in DumpRegexpAppending() 78 if (re->op() == kRegexpLiteralString && (re->parse_flags() & Regexp::FoldCase)) { in DumpRegexpAppending()
|
D | exhaustive_test.cc | 23 TEST(EgrepLiterals, FoldCase) { in TEST() argument
|
/third_party/re2/re2/ |
D | parse.cc | 256 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 …]
|
D | tostring.cc | 166 (re->parse_flags() & Regexp::FoldCase) != 0); in PostVisit() 172 (re->parse_flags() & Regexp::FoldCase) != 0); in PostVisit()
|
D | regexp.cc | 373 ((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()
|
D | simplify.cc | 328 ((r1->sub()[0]->parse_flags() & Regexp::FoldCase) == in CanCoalesce() 329 (r2->parse_flags() & Regexp::FoldCase))) { in CanCoalesce()
|
D | regexp.h | 280 FoldCase = 1<<0, // Fold case during matching (case-insensitive). enumerator
|
D | compile.cc | 909 return Literal(re->rune(), (re->parse_flags()&Regexp::FoldCase) != 0); in PostVisit() 918 (re->parse_flags()&Regexp::FoldCase) != 0); in PostVisit()
|
D | re2.cc | 153 flags |= Regexp::FoldCase; in ParseFlags()
|