Home
last modified time | relevance | path

Searched refs:caseCompare (Results 1 – 11 of 11) sorted by relevance

/external/icu4c/test/intltest/
Dustrtest.cpp205 if(0!=s.caseCompare(buffer, -1, U_FOLD_CASE_DEFAULT)) { in TestBasicManipulation()
208 if(0!=s.caseCompare(0, s.length(), buffer, U_FOLD_CASE_DEFAULT)) { in TestBasicManipulation()
316 test1.caseCompare(test2, U_FOLD_CASE_DEFAULT)<=0 in TestCompare()
367 result=mixed.caseCompare(otherDefault, U_FOLD_CASE_DEFAULT); in TestCompare()
371 result=mixed.caseCompare(otherExcludeSpecialI, U_FOLD_CASE_EXCLUDE_SPECIAL_I); in TestCompare()
375 result=mixed.caseCompare(otherDefault, U_FOLD_CASE_EXCLUDE_SPECIAL_I); in TestCompare()
381 result=mixed.caseCompare(different, U_FOLD_CASE_DEFAULT); in TestCompare()
387 result=mixed.caseCompare(1, 4, different, 1, 5, U_FOLD_CASE_DEFAULT); in TestCompare()
393 result=mixed.caseCompare(1, 4, different, 1, 4, U_FOLD_CASE_DEFAULT); in TestCompare()
413 …if(s.caseCompare(u, -1, U_FOLD_CASE_DEFAULT)!=0 || s.caseCompare(0, 999, u, 0, -1, U_FOLD_CASE_DEF… in TestCompare()
[all …]
Dicusvtst.cpp850 if (!ls.caseCompare(valley, 0)) { in getDisplayName()
852 } else if (!ls.caseCompare(surfer, 0)) { in getDisplayName()
854 } else if (!ls.caseCompare(geek, 0)) { in getDisplayName()
861 if (!id.caseCompare(valley, 0)) { in getDisplayName()
863 } else if (!id.caseCompare(surfer, 0)) { in getDisplayName()
865 } else if (!id.caseCompare(geek, 0)) { in getDisplayName()
Dtranstst.cpp2043 if (id.caseCompare(FULL_IDS[j],0)==0) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
2052 if (t.caseCompare(IDS[0],0)==0) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
2062 if (s.caseCompare(SOURCES[j],0)==0) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
3415 } else if (0==id.caseCompare("NFD", U_FOLD_CASE_DEFAULT)) { in TestSpecialCases()
3417 } else if (0==id.caseCompare("NFC", U_FOLD_CASE_DEFAULT)) { in TestSpecialCases()
3419 } else if (0==id.caseCompare("NFKD", U_FOLD_CASE_DEFAULT)) { in TestSpecialCases()
3421 } else if (0==id.caseCompare("NFKC", U_FOLD_CASE_DEFAULT)) { in TestSpecialCases()
3423 } else if (0==id.caseCompare("Lower", U_FOLD_CASE_DEFAULT)) { in TestSpecialCases()
3426 } else if (0==id.caseCompare("Upper", U_FOLD_CASE_DEFAULT)) { in TestSpecialCases()
3504 if (0==source.caseCompare(pairs[i], U_FOLD_CASE_DEFAULT)) { in _findMatch()
Dtstnorm.cpp1107 result=s[i].caseCompare(s[j], opt[k].options); in TestCompare()
1166 result=s1.caseCompare(s2, opt[k].options); in TestCompare()
Dtransrt.cpp434 if (a.caseCompare(b, U_FOLD_CASE_DEFAULT)==0 && isCamel(a)) return TRUE; in isSame()
440 if (aa.caseCompare(bb, U_FOLD_CASE_DEFAULT)==0 && isCamel(aa)) return TRUE; in isSame()
/external/icu4c/common/unicode/
Dunistr.h581 inline int8_t caseCompare(const UnicodeString& text, uint32_t options) const;
603 inline int8_t caseCompare(int32_t start,
630 inline int8_t caseCompare(int32_t start,
656 inline int8_t caseCompare(const UChar *srcChars,
680 inline int8_t caseCompare(int32_t start,
707 inline int8_t caseCompare(int32_t start,
3482 UnicodeString::caseCompare(const UnicodeString &text, uint32_t options) const { in caseCompare() function
3487 UnicodeString::caseCompare(int32_t start, in caseCompare() function
3495 UnicodeString::caseCompare(const UChar *srcChars, in caseCompare() function
3502 UnicodeString::caseCompare(int32_t start, in caseCompare() function
[all …]
/external/icu4c/common/
Dunistr_case.cpp244 return str1->caseCompare(*str2, U_FOLD_CASE_DEFAULT) == 0; in uhash_compareCaselessUnicodeString()
/external/icu4c/i18n/
Dtridpars.cpp632 if (bidirectional && 0==target.caseCompare(inverseTarget, U_FOLD_CASE_DEFAULT)) { in registerSpecialInverse()
821 if (0!=specs.source.caseCompare(ANY, U_FOLD_CASE_DEFAULT)) { in specsToSpecialInverse()
Danytrans.cpp338 if (source.caseCompare(ANY, 0 /*U_FOLD_CASE_DEFAULT*/) == 0) continue; in registerIDs()
Dregexcmp.cpp3988 if (mPropName.caseCompare(UnicodeString("InGreek", -1, UnicodeString::kInvariant), 0) == 0) { in createSetForProperty()
3991 …if (mPropName.caseCompare(UnicodeString("InCombining Marks for Symbols", -1, UnicodeString::kInvar… in createSetForProperty()
3992 …mPropName.caseCompare(UnicodeString("InCombiningMarksforSymbols", -1, UnicodeString::kInvariant), … in createSetForProperty()
Ddecimfmt.cpp1617 …if (!text.caseCompare(position, tmp->length(), *tmp, U_FOLD_CASE_DEFAULT)) // error code is set… in subparse()