Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/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
/external/libchrome/base/i18n/
Dcase_conversion_unittest.cc83 TEST(CaseConversionTest, FoldCase) { in TEST() argument
86 FoldCase(ASCIIToUTF16("Hello, World"))); in TEST()
89 EXPECT_EQ(FoldCase(WideToUTF16(kNonASCIIMixed)), in TEST()
90 FoldCase(WideToUTF16(kNonASCIILower))); in TEST()
91 EXPECT_EQ(FoldCase(WideToUTF16(kNonASCIIMixed)), in TEST()
92 FoldCase(WideToUTF16(kNonASCIIUpper))); in TEST()
101 EXPECT_EQ(turkish_expected, FoldCase(turkish)); in TEST()
104 EXPECT_EQ(turkish_expected, FoldCase(turkish)); in TEST()
109 EXPECT_EQ(WideToUTF16(L"i\u0307j"), FoldCase(WideToUTF16(L"\u0130j"))); in TEST()
112 EXPECT_EQ(ASCIIToUTF16("ssss"), FoldCase(WideToUTF16(L"\u00DF\u1E9E"))); in TEST()
Dcase_conversion.h43 BASE_I18N_EXPORT string16 FoldCase(StringPiece16 string);
Dcase_conversion.cc85 string16 FoldCase(StringPiece16 string) { in FoldCase() function
/external/rust/crates/grpcio-sys/grpc/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()
780 *flags = static_cast<Regexp::ParseFlags>(re->parse_flags_ & Regexp::FoldCase); in LeadingString()
1286 if ((re1->parse_flags_ & FoldCase) != (re2->parse_flags_ & FoldCase)) in MaybeConcatString()
1615 if (parse_flags & Regexp::FoldCase) in AddRangeFlags()
1666 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.cc370 ((a->parse_flags() ^ b->parse_flags()) & Regexp::FoldCase) == 0; in TopEqual()
374 ((a->parse_flags() ^ b->parse_flags()) & Regexp::FoldCase) == 0 && in TopEqual()
712 *foldcase = (re->parse_flags() & FoldCase) != 0; in RequiredPrefix()
734 *foldcase = (re->parse_flags() & FoldCase) != 0; in RequiredPrefixForAccel()
Dsimplify.cc329 ((r1->sub()[0]->parse_flags() & Regexp::FoldCase) == in CanCoalesce()
330 (r2->parse_flags() & Regexp::FoldCase))) { in CanCoalesce()
Dregexp.h280 FoldCase = 1<<0, // Fold case during matching (case-insensitive). enumerator
Dcompile.cc903 return Literal(re->rune(), (re->parse_flags()&Regexp::FoldCase) != 0); in PostVisit()
912 (re->parse_flags()&Regexp::FoldCase) != 0); in PostVisit()
Dre2.cc157 flags |= Regexp::FoldCase; in ParseFlags()