Home
last modified time | relevance | path

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

/external/icu4c/test/intltest/
Dustrtest.cpp214 if(0!=s.caseCompare(buffer, -1, U_FOLD_CASE_DEFAULT)) { in TestBasicManipulation()
217 if(0!=s.caseCompare(0, s.length(), buffer, U_FOLD_CASE_DEFAULT)) { in TestBasicManipulation()
348 test1.caseCompare(test2, U_FOLD_CASE_DEFAULT)<=0 in TestCompare()
399 result=mixed.caseCompare(otherDefault, U_FOLD_CASE_DEFAULT); in TestCompare()
403 result=mixed.caseCompare(otherExcludeSpecialI, U_FOLD_CASE_EXCLUDE_SPECIAL_I); in TestCompare()
407 result=mixed.caseCompare(otherDefault, U_FOLD_CASE_EXCLUDE_SPECIAL_I); in TestCompare()
413 result=mixed.caseCompare(different, U_FOLD_CASE_DEFAULT); in TestCompare()
419 result=mixed.caseCompare(1, 4, different, 1, 5, U_FOLD_CASE_DEFAULT); in TestCompare()
425 result=mixed.caseCompare(1, 4, different, 1, 4, U_FOLD_CASE_DEFAULT); in TestCompare()
445 …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.cpp854 if (!ls.caseCompare(valley, 0)) { in getDisplayName()
856 } else if (!ls.caseCompare(surfer, 0)) { in getDisplayName()
858 } else if (!ls.caseCompare(geek, 0)) { in getDisplayName()
865 if (!id.caseCompare(valley, 0)) { in getDisplayName()
867 } else if (!id.caseCompare(surfer, 0)) { in getDisplayName()
869 } else if (!id.caseCompare(geek, 0)) { in getDisplayName()
Dtranstst.cpp2048 if (id.caseCompare(FULL_IDS[j],0)==0) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
2057 if (t.caseCompare(IDS[0],0)==0) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
2067 if (s.caseCompare(SOURCES[j],0)==0) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
3420 } else if (0==id.caseCompare("NFD", U_FOLD_CASE_DEFAULT)) { in TestSpecialCases()
3422 } else if (0==id.caseCompare("NFC", U_FOLD_CASE_DEFAULT)) { in TestSpecialCases()
3424 } else if (0==id.caseCompare("NFKD", U_FOLD_CASE_DEFAULT)) { in TestSpecialCases()
3426 } else if (0==id.caseCompare("NFKC", U_FOLD_CASE_DEFAULT)) { in TestSpecialCases()
3428 } else if (0==id.caseCompare("Lower", U_FOLD_CASE_DEFAULT)) { in TestSpecialCases()
3431 } else if (0==id.caseCompare("Upper", U_FOLD_CASE_DEFAULT)) { in TestSpecialCases()
3509 if (0==source.caseCompare(pairs[i], U_FOLD_CASE_DEFAULT)) { in _findMatch()
Dtransrt.cpp428 if (a.caseCompare(b, U_FOLD_CASE_DEFAULT)==0 && isCamel(a)) return TRUE; in isSame()
434 if (aa.caseCompare(bb, U_FOLD_CASE_DEFAULT)==0 && isCamel(aa)) return TRUE; in isSame()
Dtstnorm.cpp1093 result=s[i].caseCompare(s[j], opt[k].options); in TestCompare()
1150 result=s1.caseCompare(s2, opt[k].options); in TestCompare()
/external/icu4c/common/unicode/
Dunistr.h586 inline int8_t caseCompare(const UnicodeString& text, uint32_t options) const;
608 inline int8_t caseCompare(int32_t start,
635 inline int8_t caseCompare(int32_t start,
661 inline int8_t caseCompare(const UChar *srcChars,
685 inline int8_t caseCompare(int32_t start,
712 inline int8_t caseCompare(int32_t start,
3725 UnicodeString::caseCompare(const UnicodeString &text, uint32_t options) const { in caseCompare() function
3730 UnicodeString::caseCompare(int32_t start, in caseCompare() function
3738 UnicodeString::caseCompare(const UChar *srcChars, in caseCompare() function
3745 UnicodeString::caseCompare(int32_t start, in caseCompare() function
[all …]
/external/icu4c/common/
Dunistr_case.cpp245 return str1->caseCompare(*str2, U_FOLD_CASE_DEFAULT) == 0; in uhash_compareCaselessUnicodeString()
/external/chromium/net/ftp/
Dftp_util.cc147 if (months[month].caseCompare(0, 3, unicode_text, 0) == 0) { in AbbreviatedMonthToNumber()
/external/icu4c/i18n/
Dtridpars.cpp653 if (bidirectional && 0==target.caseCompare(inverseTarget, U_FOLD_CASE_DEFAULT)) { in registerSpecialInverse()
851 if (0!=specs.source.caseCompare(ANY, U_FOLD_CASE_DEFAULT)) { in specsToSpecialInverse()
Danytrans.cpp344 if (source.caseCompare(ANY, 0 /*U_FOLD_CASE_DEFAULT*/) == 0) continue; in registerIDs()
Dregexcmp.cpp4095 if (propName.caseCompare(UNICODE_STRING_SIMPLE("word"), 0) == 0) { in createSetForProperty()
4123 if (mPropName.caseCompare(UNICODE_STRING_SIMPLE("InGreek"), 0) == 0) { in createSetForProperty()
4126 if (mPropName.caseCompare(UNICODE_STRING_SIMPLE("InCombining Marks for Symbols"), 0) == 0 || in createSetForProperty()
4127 mPropName.caseCompare(UNICODE_STRING_SIMPLE("InCombiningMarksforSymbols"), 0) == 0) { in createSetForProperty()
Dtzgnames.cpp653 if (stdName.caseCompare(mzGenericName, 0) == 0) { in formatGenericNonLocationName()
Ddecimfmt.cpp2079 …if (!text.caseCompare(position, tmp->length(), *tmp, U_FOLD_CASE_DEFAULT)) // error code is set… in subparse()