Searched refs:caseCompare (Results 1 - 14 of 14) sorted by relevance

/external/icu4c/common/
H A Dunistr_case.cpp179 return str1->caseCompare(*str2, U_FOLD_CASE_DEFAULT) == 0;
/external/icu4c/common/unicode/
H A Dunistr.h644 inline int8_t caseCompare(const UnicodeString& text, uint32_t options) const;
666 inline int8_t caseCompare(int32_t start,
693 inline int8_t caseCompare(int32_t start,
719 inline int8_t caseCompare(const UChar *srcChars,
743 inline int8_t caseCompare(int32_t start,
770 inline int8_t caseCompare(int32_t start,
3821 UnicodeString::caseCompare(const UnicodeString &text, uint32_t options) const { function in class:UnicodeString
3826 UnicodeString::caseCompare(int32_t start, function in class:UnicodeString
3834 UnicodeString::caseCompare(const UChar *srcChars, function in class:UnicodeString
3841 UnicodeString::caseCompare(int32_ function in class:UnicodeString
3851 UnicodeString::caseCompare(int32_t start, function in class:UnicodeString
3859 UnicodeString::caseCompare(int32_t start, function in class:UnicodeString
[all...]
/external/icu4c/test/intltest/
H A Dustrtest.cpp211 if(0!=s.caseCompare(buffer, -1, U_FOLD_CASE_DEFAULT)) {
212 errln("UnicodeString.caseCompare(const UChar *, length, options) does not work with length==-1");
214 if(0!=s.caseCompare(0, s.length(), buffer, U_FOLD_CASE_DEFAULT)) {
215 errln("UnicodeString.caseCompare(start, _length, const UChar *, options) does not work");
345 test1.caseCompare(test2, U_FOLD_CASE_DEFAULT)<=0
379 /* test caseCompare() */
395 /* test caseCompare() */
396 result=mixed.caseCompare(otherDefault, U_FOLD_CASE_DEFAULT);
398 errln("error: mixed.caseCompare(other, default)=%ld instead of 0\n", result);
400 result=mixed.caseCompare(otherExcludeSpecial
[all...]
H A Dicusvtst.cpp854 if (!ls.caseCompare(valley, 0)) {
856 } else if (!ls.caseCompare(surfer, 0)) {
858 } else if (!ls.caseCompare(geek, 0)) {
865 if (!id.caseCompare(valley, 0)) {
867 } else if (!id.caseCompare(surfer, 0)) {
869 } else if (!id.caseCompare(geek, 0)) {
H A Dtranstst.cpp2049 if (id.caseCompare(FULL_IDS[j],0)==0) {
2058 if (t.caseCompare(IDS[0],0)==0) {
2068 if (s.caseCompare(SOURCES[j],0)==0) {
3421 } else if (0==id.caseCompare("NFD", U_FOLD_CASE_DEFAULT)) {
3423 } else if (0==id.caseCompare("NFC", U_FOLD_CASE_DEFAULT)) {
3425 } else if (0==id.caseCompare("NFKD", U_FOLD_CASE_DEFAULT)) {
3427 } else if (0==id.caseCompare("NFKC", U_FOLD_CASE_DEFAULT)) {
3429 } else if (0==id.caseCompare("Lower", U_FOLD_CASE_DEFAULT)) {
3432 } else if (0==id.caseCompare("Upper", U_FOLD_CASE_DEFAULT)) {
3510 if (0==source.caseCompare(pair
[all...]
H A Dtransrt.cpp429 if (a.caseCompare(b, U_FOLD_CASE_DEFAULT)==0 && isCamel(a)) return TRUE;
435 if (aa.caseCompare(bb, U_FOLD_CASE_DEFAULT)==0 && isCamel(aa)) return TRUE;
H A Dtstnorm.cpp889 // reference implementation of UnicodeString::caseCompare
1091 // test UnicodeString::caseCompare - same internal implementation function
1094 result=s[i].caseCompare(s[j], opt[k].options);
1097 errln("UniStr::caseCompare(%d, %d, %s)%s should be %s %s",
1148 // test UnicodeString::caseCompare - same internal implementation function
1151 result=s1.caseCompare(s2, opt[k].options);
1154 errln("UniStr::caseCompare(U+%04x with its NFD, %s)%s should be %s %s",
/external/chromium/net/ftp/
H A Dftp_util.cc147 if (months[month].caseCompare(0, 3, unicode_text, 0) == 0) {
/external/icu4c/i18n/
H A Danytrans.cpp344 if (source.caseCompare(ANY, 3, 0 /*U_FOLD_CASE_DEFAULT*/) == 0) continue;
H A Dtzfmt.cpp1260 if (len > 0 && text.caseCompare(idx, len, fGMTPatternPrefix, 0) != 0) {
1276 if (len > 0 && text.caseCompare(idx, len, fGMTPatternSuffix, 0) != 0) {
1305 if (text.caseCompare(start, fGMTZeroFormat.length(), fGMTZeroFormat, 0) == 0) {
1314 if (text.caseCompare(start, defGMTZeroLen, defGMTZero, 0) == 0) {
1347 if (text.caseCompare(idx, tmpParsedLen, patStr, 0) != 0) {
1486 if (text.caseCompare(start, len, gmt, 0) == 0) {
H A Dtridpars.cpp653 if (bidirectional && 0==target.caseCompare(inverseTarget, U_FOLD_CASE_DEFAULT)) {
851 if (0!=specs.source.caseCompare(ANY, 3, U_FOLD_CASE_DEFAULT)) {
H A Dregexcmp.cpp4071 if (propName.caseCompare(UNICODE_STRING_SIMPLE("word"), 0) == 0) {
4099 if (mPropName.caseCompare(UNICODE_STRING_SIMPLE("InGreek"), 0) == 0) {
4102 if (mPropName.caseCompare(UNICODE_STRING_SIMPLE("InCombining Marks for Symbols"), 0) == 0 ||
4103 mPropName.caseCompare(UNICODE_STRING_SIMPLE("InCombiningMarksforSymbols"), 0) == 0) {
H A Dtzgnames.cpp718 if (stdName.caseCompare(mzGenericName, 0) == 0) {
H A Ddecimfmt.cpp2510 if (!text.caseCompare(position, tmp->length(), *tmp, U_FOLD_CASE_DEFAULT)) // error code is set below if !sawDigit

Completed in 786 milliseconds