Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/unicode/
Dunistr.h688 inline int8_t caseCompare(const UnicodeString& text, uint32_t options) const;
710 inline int8_t caseCompare(int32_t start,
737 inline int8_t caseCompare(int32_t start,
763 inline int8_t caseCompare(ConstChar16Ptr srcChars,
787 inline int8_t caseCompare(int32_t start,
814 inline int8_t caseCompare(int32_t start,
4123 UnicodeString::caseCompare(const UnicodeString &text, uint32_t options) const { in caseCompare() function
4128 UnicodeString::caseCompare(int32_t start, in caseCompare() function
4136 UnicodeString::caseCompare(ConstChar16Ptr srcChars, in caseCompare() function
4143 UnicodeString::caseCompare(int32_t start, in caseCompare() function
[all …]
/external/icu/icu4c/source/test/intltest/
Dustrtest.cpp210 if(0!=s.caseCompare(buffer, -1, U_FOLD_CASE_DEFAULT)) { in TestBasicManipulation()
213 if(0!=s.caseCompare(0, s.length(), buffer, U_FOLD_CASE_DEFAULT)) { in TestBasicManipulation()
344 test1.caseCompare(test2, U_FOLD_CASE_DEFAULT)<=0 in TestCompare()
395 result=mixed.caseCompare(otherDefault, U_FOLD_CASE_DEFAULT); in TestCompare()
399 result=mixed.caseCompare(otherExcludeSpecialI, U_FOLD_CASE_EXCLUDE_SPECIAL_I); in TestCompare()
403 result=mixed.caseCompare(otherDefault, U_FOLD_CASE_EXCLUDE_SPECIAL_I); in TestCompare()
409 result=mixed.caseCompare(different, U_FOLD_CASE_DEFAULT); in TestCompare()
415 result=mixed.caseCompare(1, 4, different, 1, 5, U_FOLD_CASE_DEFAULT); in TestCompare()
421 result=mixed.caseCompare(1, 4, different, 1, 4, U_FOLD_CASE_DEFAULT); in TestCompare()
441 …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.cpp857 if (!ls.caseCompare(valley, 0)) { in getDisplayName()
859 } else if (!ls.caseCompare(surfer, 0)) { in getDisplayName()
861 } else if (!ls.caseCompare(geek, 0)) { in getDisplayName()
868 if (!id.caseCompare(valley, 0)) { in getDisplayName()
870 } else if (!id.caseCompare(surfer, 0)) { in getDisplayName()
872 } else if (!id.caseCompare(geek, 0)) { in getDisplayName()
Dtranstst.cpp2051 if (id.caseCompare(FULL_IDS[j],0)==0) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
2060 if (t.caseCompare(IDS[0],0)==0) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
2070 if (s.caseCompare(SOURCES[j],0)==0) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
3423 } else if (0==id.caseCompare("NFD", U_FOLD_CASE_DEFAULT)) { in TestSpecialCases()
3425 } else if (0==id.caseCompare("NFC", U_FOLD_CASE_DEFAULT)) { in TestSpecialCases()
3427 } else if (0==id.caseCompare("NFKD", U_FOLD_CASE_DEFAULT)) { in TestSpecialCases()
3429 } else if (0==id.caseCompare("NFKC", U_FOLD_CASE_DEFAULT)) { in TestSpecialCases()
3431 } else if (0==id.caseCompare("Lower", U_FOLD_CASE_DEFAULT)) { in TestSpecialCases()
3434 } else if (0==id.caseCompare("Upper", U_FOLD_CASE_DEFAULT)) { in TestSpecialCases()
3512 if (0==source.caseCompare(pairs[i], U_FOLD_CASE_DEFAULT)) { in _findMatch()
Dtransrt.cpp431 if (a.caseCompare(b, U_FOLD_CASE_DEFAULT)==0 && isCamel(a)) return TRUE; in isSame()
437 if (aa.caseCompare(bb, U_FOLD_CASE_DEFAULT)==0 && isCamel(aa)) return TRUE; in isSame()
Dtstnorm.cpp1122 result=s[i].caseCompare(s[j], opt[k].options); in TestCompare()
1179 result=s1.caseCompare(s2, opt[k].options); in TestCompare()
Drbbimonkeytest.cpp1018 dest = m.group(1, status).caseCompare(UnicodeString("true"), U_FOLD_CASE_DEFAULT) == 0; in getBoolParam()
/external/icu/icu4c/source/common/
Dunistr_case.cpp249 return str1->caseCompare(*str2, U_FOLD_CASE_DEFAULT) == 0; in uhash_compareCaselessUnicodeString()
/external/icu/icu4c/source/i18n/
Dtridpars.cpp658 if (bidirectional && 0==target.caseCompare(inverseTarget, U_FOLD_CASE_DEFAULT)) { in registerSpecialInverse()
856 if (0!=specs.source.caseCompare(ANY, 3, U_FOLD_CASE_DEFAULT)) { in specsToSpecialInverse()
Dtzfmt.cpp1730 if (text.caseCompare(start, fGMTZeroFormat.length(), fGMTZeroFormat, 0) == 0) { in parseOffsetLocalizedGMT()
1739 if (text.caseCompare(start, defGMTZeroLen, defGMTZero, 0) == 0) { in parseOffsetLocalizedGMT()
1759 if (len > 0 && text.caseCompare(idx, len, fGMTPatternPrefix, 0) != 0) { in parseOffsetLocalizedGMTPattern()
1774 if (len > 0 && text.caseCompare(idx, len, fGMTPatternSuffix, 0) != 0) { in parseOffsetLocalizedGMTPattern()
1888 if (text.caseCompare(idx, len, patStr, 0) != 0) { in parseOffsetFieldsWithPattern()
2004 if (text.caseCompare(start, len, gmt, 0) == 0) { in parseOffsetDefaultLocalizedGMT()
Danytrans.cpp369 if (source.caseCompare(ANY, 3, 0 /*U_FOLD_CASE_DEFAULT*/) == 0) continue; in registerIDs()
Dregexcmp.cpp4407 if (propName.caseCompare(u"word", -1, 0) == 0) { in createSetForProperty()
4444 if (mPropName.caseCompare(u"assigned", -1, 0) == 0) { in createSetForProperty()
4447 } else if (mPropName.caseCompare(u"TitleCase", -1, 0) == 0) { in createSetForProperty()
Dtzgnames.cpp689 if (stdName.caseCompare(mzGenericName, 0) == 0) { in formatGenericNonLocationName()