/external/regex-re2/re2/testing/ |
exhaustive_test.cc | 25 TEST(EgrepLiterals, FoldCase) {
|
required_prefix_test.cc | 14 bool foldcase; member in struct:re2::PrefixTest 56 CHECK_EQ(f, t.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/ |
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...] |
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.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);
|
prog.cc | 23 void Prog::Inst::InitByteRange(int lo, int hi, int foldcase, uint32 out) { 28 foldcase_ = foldcase;
|
/external/webkit/Source/JavaScriptCore/wtf/unicode/brew/ |
UnicodeBrew.cpp | 42 UChar foldCase(UChar c) 123 int foldCase(UChar* result, int resultLength, const UChar* source, int sourceLength, bool* isError) 131 result[i] = foldCase(source[i]);
|
UnicodeBrew.h | 118 UChar foldCase(UChar); 120 int foldCase(UChar* result, int resultLength, const UChar* source, int sourceLength, bool* isError); 180 UChar c1 = foldCase(a[i]); 181 UChar c2 = foldCase(b[i]);
|
/external/webkit/Source/JavaScriptCore/wtf/unicode/wince/ |
UnicodeWinCE.cpp | 40 UChar foldCase(UChar c) 133 int foldCase(UChar* result, int resultLength, const UChar* source, int sourceLength, bool* isError) 141 result[i] = foldCase(source[i]);
|
UnicodeWinCE.h | 136 UChar foldCase(UChar); 140 int foldCase(UChar* result, int resultLength, const UChar* source, int sourceLength, bool* isError); 161 UChar c1 = foldCase(a[i]); 162 UChar c2 = foldCase(b[i]);
|
/external/clang/test/PCH/ |
cxx-templates.cpp | 58 static inline char foldCase(char) { 63 return StringHasher::createHash<char, foldCase>(data, length);
|
/external/webkit/Source/JavaScriptCore/wtf/text/ |
StringHash.h | 100 template<typename T> static inline UChar foldCase(T ch) 102 return WTF::Unicode::foldCase(ch); 107 return StringHasher::computeHash<UChar, foldCase<UChar> >(data, length); 117 return StringHasher::computeHash<char, foldCase<char> >(data, length);
|
StringImpl.cpp | 287 PassRefPtr<StringImpl> StringImpl::foldCase() 308 int32_t realLength = Unicode::foldCase(data, length, m_data, m_length, &error); 312 Unicode::foldCase(data, realLength, m_data, m_length, &error); 486 if (foldCase(*a++) != foldCase(bc)) 989 equal = equal && (foldCase(as[i]) == foldCase(bc));
|
/external/regex-re2/ |
ucs2.diff | 42 void AddRuneRangeLatin1(Rune lo, Rune hi, bool foldcase); 43 void AddRuneRangeUTF8(Rune lo, Rune hi, bool foldcase); 45 - void AddRuneRangeUCS2(Rune lo, Rune hi, bool foldcase); 50 Inst* RuneByteSuffix(uint8 lo, uint8 hi, bool foldcase, Inst* next); 62 AddRuneRangeLatin1(lo, hi, foldcase); 65 - AddRuneRangeUCS2(lo, hi, foldcase); 71 AddSuffix(RuneByteSuffix(lo, hi, foldcase, NULL)); 99 - void Compiler::AddRuneRangeUCS2(Rune lo, Rune hi, bool foldcase) { 121 - AddUCS2Pair(lo1, lo1, false, lo2, hi2, lo1==0 && foldcase); 127 - AddUCS2Pair(lo1, lo1, false, lo2, 0xFF, lo1==0 && foldcase); [all...] |
/external/webkit/Source/JavaScriptCore/wtf/unicode/glib/ |
UnicodeGLib.h | 127 UChar32 foldCase(UChar32); 129 int foldCase(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error);
|
UnicodeGLib.cpp | 34 UChar32 foldCase(UChar32 ch) 104 int foldCase(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error)
|
/external/icu4c/common/ |
unistr_case.cpp | 144 UnicodeString::foldCase(uint32_t options) { 164 return copy.foldCase().hashCode();
|
uniset_closure.cpp | 241 str.foldCase(); 265 (str = *pStr).foldCase();
|
/external/webkit/Source/JavaScriptCore/wtf/unicode/icu/ |
UnicodeIcu.h | 118 inline UChar32 foldCase(UChar32 c) 123 inline int foldCase(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error)
|
/external/webkit/Source/WebCore/platform/text/ |
SegmentedString.h | 158 ASSERT_UNUSED(expectedCharacter, WTF::Unicode::foldCase(*current()) == WTF::Unicode::foldCase(expectedCharacter));
|
/external/icu4c/test/intltest/ |
strcase.cpp | 311 (t=s).foldCase(); 313 errln("error in foldCase(\"" + s + "\", default)=\"" + t + "\" but expected \"" + f + "\""); 317 (t=s).foldCase(U_FOLD_CASE_EXCLUDE_SPECIAL_I); 319 errln("error in foldCase(\"" + s + "\", U_FOLD_CASE_EXCLUDE_SPECIAL_I)=\"" + t + "\" but expected \"" + g + "\""); 370 name="foldCase"; 371 result.foldCase(options); 559 cf.foldCase();
|
/external/webkit/Source/WebCore/dom/ |
SpaceSplitString.cpp | 52 m_string = m_string.foldCase();
|
/external/webkit/Source/JavaScriptCore/wtf/unicode/qt4/ |
UnicodeQt4.h | 278 inline UChar32 foldCase(UChar32 c) 283 inline int foldCase(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error)
|