Home
last modified time | relevance | path

Searched refs:uprv_strcmp (Results 1 – 25 of 91) sorted by relevance

1234

/external/icu4c/common/
Dputil.cpp713 || uprv_strcmp(id, "PST8PDT") == 0 in isValidOlsonID()
714 || uprv_strcmp(id, "MST7MDT") == 0 in isValidOlsonID()
715 || uprv_strcmp(id, "CST6CDT") == 0 in isValidOlsonID()
716 || uprv_strcmp(id, "EST5EDT") == 0); in isValidOlsonID()
948 if (uprv_strcmp(dirName, SKIP1) != 0 && uprv_strcmp(dirName, SKIP2) != 0) { in searchForTZFile()
969 … } else if (uprv_strcmp(TZFILE_SKIP, dirName) != 0 && uprv_strcmp(TZFILE_SKIP2, dirName) != 0) { in searchForTZFile()
1419 || (uprv_strcmp("C", posixID) == 0) in uprv_getPOSIXIDForCategory()
1420 || (uprv_strcmp("POSIX", posixID) == 0)) in uprv_getPOSIXIDForCategory()
1433 || (uprv_strcmp("C", posixID) == 0) in uprv_getPOSIXIDForCategory()
1434 || (uprv_strcmp("POSIX", posixID) == 0)) in uprv_getPOSIXIDForCategory()
[all …]
Dlocresdata.cpp97 if(uprv_strcmp(tableKey, "Countries")==0){ in uloc_getTableStringWithFallback()
99 }else if(uprv_strcmp(tableKey, "Languages")==0){ in uloc_getTableStringWithFallback()
132 if(uprv_strcmp(explicitFallbackName, locale)==0){ in uloc_getTableStringWithFallback()
Duresbund.cpp124 …if(uprv_strcmp(resB->fName, uloc_getDefault())==0 || uprv_strcmp(resB->fName, kRootLocaleName)==0)… in getFallbackData()
485 *isRoot = (UBool)(uprv_strcmp(name, kRootLocaleName) == 0); in findFirstExisting()
578 … if ( !uprv_strcmp(name,"root") ) { /* If parent is root, we just terminate the loop */ in entryOpen()
628 … if ( !uprv_strcmp(name,"root") ) { /* If parent is root, we just terminate the loop */ in entryOpen()
664 …} else if(!isRoot && uprv_strcmp(t1->fName, kRootLocaleName) != 0 && t1->fParent == NULL && !r->fD… in entryOpen()
901 if(uprv_strcmp(path, "LOCALE") == 0) { in init_resb_result()
909 if(uprv_strcmp(path, "ICUDATA") == 0) { /* want ICU data */ in init_resb_result()
1745 …if(uprv_strcmp(dataEntry->fName, uloc_getDefault())==0 || uprv_strcmp(dataEntry->fName, kRootLocal… in ures_getByKeyWithFallback()
2364 if (uprv_strcmp(loc, locToSearch) == 0) { in isLocaleInList()
2389 if(!uprv_strcmp(kwVal, DEFAULT_TAG)) { in ures_getFunctionalEquivalent()
[all …]
Duinvchar.h79 # define uprv_compareInvCharsAsAscii(s1, s2) uprv_strcmp(s1, s2)
Duloc.cpp625 return uprv_strcmp(leftString, rightString); in compareKeywordStructs()
716 if (uprv_strcmp(keywordList[j].keyword, keywordList[numKeywords].keyword) == 0) { in _getKeywords()
733 if (uprv_strcmp(keywordList[j].keyword, addKeyword) == 0) { in _getKeywords()
876 if(uprv_strcmp(keywordNameBuffer, localeKeywordNameBuffer) == 0) { in uloc_getKeywordValue()
1016 rc = uprv_strcmp(keywordNameBuffer, localeKeywordNameBuffer); in uloc_setKeywordValue()
1150 if (uprv_strcmp(key, *list) == 0) { in _findIndex()
2422 if(!uprv_strcmp(acceptList[i], l)) { in uloc_acceptLanguage()
2462 if(!uprv_strcmp(fallbackList[i], l)) { in uloc_acceptLanguage()
/external/icu4c/test/cintltst/
Dspreptst.c724 if (uprv_strcmp(profileName, "RFC4013_SASLPREP") == 0) { in getTypeFromProfileName()
726 } else if (uprv_strcmp(profileName, "RFC4011_MIB") == 0) { in getTypeFromProfileName()
728 } else if (uprv_strcmp(profileName, "RFC4505_TRACE") == 0) { in getTypeFromProfileName()
730 } else if (uprv_strcmp(profileName, "RFC4518_LDAP") == 0) { in getTypeFromProfileName()
732 } else if (uprv_strcmp(profileName, "RFC4518_LDAP_CI") == 0) { in getTypeFromProfileName()
734 } else if (uprv_strcmp(profileName, "RFC3920_RESOURCEPREP") == 0) { in getTypeFromProfileName()
736 } else if (uprv_strcmp(profileName, "RFC3920_NODEPREP") == 0) { in getTypeFromProfileName()
738 } else if (uprv_strcmp(profileName, "RFC3722_ISCSI") == 0) { in getTypeFromProfileName()
740 } else if (uprv_strcmp(profileName, "RFC3530_NFS4_CS_PREP") == 0) { in getTypeFromProfileName()
742 } else if (uprv_strcmp(profileName, "RFC3530_NFS4_CS_PREP_CI") == 0) { in getTypeFromProfileName()
[all …]
Dcstrtest.c76 if(uprv_strcmp(src, "hello there") != 0){ in TestAPI()
80 if(uprv_strcmp(src, "HELLO THERE") != 0){ in TestAPI()
93 if(uprv_strcmp(src, "34556") != 0 || i != 5){ in TestAPI()
101 if(uprv_strcmp(src, "9223372036854775807") != 0 || i != 19){ in TestAPI()
133 if(uprv_strcmp(temp, "strdup") !=0 ){ in TestAPI()
330 if(diff1>0 || (diff1==0 && 0!=uprv_strcmp(invStrings[i-1][0], invStrings[i][0]))) { in TestCompareInvEbcdicAsAscii()
Dstdnmtst.c49 } else if (expected && (name == tag || uprv_strcmp(expected, tag))) { in dotestname()
130 else if (expected && (name == tag || uprv_strcmp(expected, tag) != 0)) { in dotestconv()
194 if (uprv_strcmp(enumName, testName) != 0 || U_FAILURE(err) in doTestNames()
Dcloctst.c332 if (uprv_strcmp(uloc_getDefault(), "qq_BLA") != 0) { in TestNullDefault()
336 if (uprv_strcmp(uloc_getDefault(), original) != 0) { in TestNullDefault()
1669 if (uprv_strcmp(testCases[i].expectedLocaleID, buffer) != 0) { in TestKeywordVariants()
1674 if (uprv_strcmp(testCases[i].expectedCanonicalID, buffer) != 0) { in TestKeywordVariants()
1704 if(uprv_strcmp(testCases[i].expectedValue, buffer) != 0) { in TestKeywordVariantParsing()
2017 if(uprv_strcmp(expected, buffer) != 0) { in TestCanonicalization()
2321 if (uprv_strcmp(prefix, "root") == 0) { in _loccmp()
2322 return (uprv_strcmp(string, "root") == 0) ? 0 : 1; in _loccmp()
2623 if((outResult>0)&&uprv_strcmp(tmp, tests[i].expect)) { in TestAcceptLanguage()
3050 …else if (uprv_strcmp(temp3, rawData2[LANG][i]) && !(uprv_strcmp(temp3, "nn") == 0 && uprv_strcmp(r… in TestGetLocaleForLCID()
[all …]
Dcposxtst.c100 if (uprv_strcmp(err, DATA[i+3]) != 0) { in TestMessageCatalog()
Dudatatst.c1136 if(uprv_strcmp(U_ICUDATA_NAME, expectDataName)) in TestICUDataName()
1144 if(uprv_strcmp(U_ICUDATA_NAME, ICUDATA_NAME)) in TestICUDataName()
1664 } else if (uprv_strcmp(swapCases[i].type, "brk")==0 in TestSwapData()
1665 || uprv_strcmp(swapCases[i].type, "dict")==0) { in TestSwapData()
1669 } else if (uprv_strcmp(swapCases[i].name, "ucadata")==0 in TestSwapData()
1670 || uprv_strcmp(swapCases[i].name, "invuca")==0) { in TestSwapData()
/external/icu4c/i18n/
Dnumsys.cpp118 if ( !uprv_strcmp(buffer,gDefault) || !uprv_strcmp(buffer,gNative) || in createInstance()
119 !uprv_strcmp(buffer,gTraditional) || !uprv_strcmp(buffer,gFinance)) { in createInstance()
142 if (!uprv_strcmp(buffer,gNative) || !uprv_strcmp(buffer,gFinance)) { in createInstance()
144 } else if (!uprv_strcmp(buffer,gTraditional)) { in createInstance()
Ddtitvinf.cpp284 if ( uprv_strcmp(skeleton, gFallbackPatternTag) == 0 ) { in initializeData()
309 if ( !uprv_strcmp(key, "y") ) { in initializeData()
311 } else if ( !uprv_strcmp(key, "M") ) { in initializeData()
313 } else if ( !uprv_strcmp(key, "d") ) { in initializeData()
315 } else if ( !uprv_strcmp(key, "a") ) { in initializeData()
317 } else if ( !uprv_strcmp(key, "h") || !uprv_strcmp(key, "H") ) { in initializeData()
319 } else if ( !uprv_strcmp(key, "m") ) { in initializeData()
360 } while ( parentLocale[0] != 0 && uprv_strcmp(parentLocale,"root")!=0 ); in initializeData()
Dgender.cpp160 if (uprv_strcmp(type_str, gNeutralStr) == 0) { in loadInstance()
163 if (uprv_strcmp(type_str, gMixedNeutralStr) == 0) { in loadInstance()
166 if (uprv_strcmp(type_str, gMailTaintsStr) == 0) { in loadInstance()
Dtmutfmt.cpp468 if ( uprv_strcmp(timeUnitName, gTimeUnitYear) == 0 ) { in readFromCurrentLocale()
470 } else if ( uprv_strcmp(timeUnitName, gTimeUnitMonth) == 0 ) { in readFromCurrentLocale()
472 } else if ( uprv_strcmp(timeUnitName, gTimeUnitDay) == 0 ) { in readFromCurrentLocale()
474 } else if ( uprv_strcmp(timeUnitName, gTimeUnitHour) == 0 ) { in readFromCurrentLocale()
476 } else if ( uprv_strcmp(timeUnitName, gTimeUnitMinute) == 0 ) { in readFromCurrentLocale()
478 } else if ( uprv_strcmp(timeUnitName, gTimeUnitSecond) == 0 ) { in readFromCurrentLocale()
480 } else if ( uprv_strcmp(timeUnitName, gTimeUnitWeek) == 0 ) { in readFromCurrentLocale()
687 if ( locNameLen == 0 && uprv_strcmp(key, gShortUnitsTag) == 0) { in searchInLocaleChain()
706 if ( uprv_strcmp(searchPluralCount, gPluralCountOther) == 0 ) { in searchInLocaleChain()
Ddcfmtsym.cpp145 uprv_strcmp(validLocale, that.validLocale) == 0 && in operator ==()
146 uprv_strcmp(actualLocale, that.actualLocale) == 0; in operator ==()
233 UBool isLatn = !uprv_strcmp(nsName,gLatn); in initialize()
/external/icu4c/tools/genrb/
Dwrtxml.cpp821 … if(uprv_strcmp(ext, ".jpg")==0 || uprv_strcmp(ext, ".jpeg")==0 || uprv_strcmp(ext, ".gif")==0 ){ in bin_write_xml()
823 } else if(uprv_strcmp(ext, ".wav")==0 || uprv_strcmp(ext, ".au")==0 ){ in bin_write_xml()
825 …} else if(uprv_strcmp(ext, ".avi")==0 || uprv_strcmp(ext, ".mpg")==0 || uprv_strcmp(ext, ".mpeg")=… in bin_write_xml()
827 } else if(uprv_strcmp(ext, ".txt")==0 || uprv_strcmp(ext, ".text")==0){ in bin_write_xml()
1037 if(uprv_strcmp(originalFileName, srBundle->fLocale) != 0) { in bundle_write_xml()
1138 if(language != NULL && uprv_strcmp(lang, srBundle->fLocale)!=0){ in bundle_write_xml()
Dparse.cpp643 if (uprv_strcmp(((list->fRoot->fKeys) + (current->fKey)), key) == 0) { in resLookup()
884 if (uprv_strcmp(subtag, "Version") == 0) in addCollation()
900 else if (uprv_strcmp(subtag, "Override") == 0) in addCollation()
906 else if(uprv_strcmp(subtag, "%%CollationBin")==0) in addCollation()
910 else if (uprv_strcmp(subtag, "Sequence") == 0) in addCollation()
1088 if (uprv_strcmp(subtag, "default") == 0) in parseCollationElements()
1110 if (gIncludeUnihanColl || uprv_strcmp(subtag, "unihan") != 0) { in parseCollationElements()
1117 if(uprv_strcmp(typeKeyword, "alias") == 0) { in parseCollationElements()
1242 if (tag != NULL && uprv_strcmp(tag, "CollationElements") == 0) in parseTable()
1246 if (tag != NULL && uprv_strcmp(tag, "collations") == 0) in parseTable()
Dwrtjava.c313 if(resname != NULL && uprv_strcmp(resname,"Rule")==0) in string_write_java()
395 if(resname != NULL && uprv_strcmp(resname,"DateTimeElements")==0){ in intvector_write_java()
633 if(uprv_strcmp(srBundle->fLocale,"root")!=0){ in bundle_write_java()
/external/icu4c/tools/toolutil/
Ducmstate.c263 if(uprv_strcmp(*pKey, "uconv_class")==0) { in ucm_parseHeaderLine()
264 if(uprv_strcmp(*pValue, "DBCS")==0) { in ucm_parseHeaderLine()
266 } else if(uprv_strcmp(*pValue, "SBCS")==0) { in ucm_parseHeaderLine()
268 } else if(uprv_strcmp(*pValue, "MBCS")==0) { in ucm_parseHeaderLine()
270 } else if(uprv_strcmp(*pValue, "EBCDIC_STATEFUL")==0) { in ucm_parseHeaderLine()
277 } else if(uprv_strcmp(*pKey, "mb_cur_max")==0) { in ucm_parseHeaderLine()
287 } else if(uprv_strcmp(*pKey, "mb_cur_min")==0) { in ucm_parseHeaderLine()
296 } else if(uprv_strcmp(*pKey, "icu:state")==0) { in ucm_parseHeaderLine()
317 } else if(uprv_strcmp(*pKey, "icu:base")==0) { in ucm_parseHeaderLine()
Dfiletools.cpp51 … if (uprv_strcmp(dirEntry->d_name, SKIP1) != 0 && uprv_strcmp(dirEntry->d_name, SKIP2) != 0) { in isFileModTimeLater()
Duoptions.c45 if(options[j].longName && uprv_strcmp(arg, options[j].longName)==0) { in u_parseArgs()
/external/icu4c/test/intltest/
Dloctest.cpp487 if (uprv_strcmp(Locale().getLanguage(), "tl") != 0) { in TestDisplayNames()
877 if (uprv_strcmp(test[j],spotCheck1[i])== 0) in TestGetLangsAndCountries()
879 if (j == testCount || (uprv_strcmp(test[j],spotCheck1[i])!=0)) in TestGetLangsAndCountries()
1685 if(uprv_strcmp(testCases[i].expectedLocaleID, result) != 0) { in TestKeywordVariants()
1717 if(uprv_strcmp(testCases[i].expectedValue, buffer) != 0) { in TestKeywordVariantParsing()
1751 if(uprv_strcmp(testCases[i].value, buffer) != 0) { in TestSetKeywordValue()
1791 if (uprv_strcmp(prefix, "root") == 0) { in _loccmp()
1792 return (uprv_strcmp(string, "root") == 0) ? 0 : 1; in _loccmp()
1819 if (((0 == uprv_strcmp(expReqValid, "gt") && reqValid > 0) || in _checklocs()
1820 (0 == uprv_strcmp(expReqValid, "ge") && reqValid >= 0) || in _checklocs()
[all …]
/external/icu4c/tools/makeconv/
Dmakeconv.c456 if(uprv_strcmp(line, "CHARMAP")==0) { in readHeader()
461 if(uprv_strcmp(key, "code_set_name")==0) { in readHeader()
466 } else if(uprv_strcmp(key, "subchar")==0) { in readHeader()
480 } else if(uprv_strcmp(key, "subchar1")==0) { in readHeader()
615 if(0==uprv_strcmp(line, "CHARMAP")) { in readFile()
/external/icu4c/io/
Dlocbund.cpp92 result->isInvariantLocale = uprv_strcmp(result->fLocale, "en_US_POSIX") == 0; in u_locbund_init()

1234