/external/icu4c/common/ |
D | putil.c | 696 || uprv_strcmp(id, "PST8PDT") == 0 in isValidOlsonID() 697 || uprv_strcmp(id, "MST7MDT") == 0 in isValidOlsonID() 698 || uprv_strcmp(id, "CST6CDT") == 0 in isValidOlsonID() 699 || uprv_strcmp(id, "EST5EDT") == 0); in isValidOlsonID() 929 if (uprv_strcmp(dirName, SKIP1) != 0 && uprv_strcmp(dirName, SKIP2) != 0) { in searchForTZFile() 950 … } else if (uprv_strcmp(TZFILE_SKIP, dirName) != 0 && uprv_strcmp(TZFILE_SKIP2, dirName) != 0) { in searchForTZFile() 1394 || (uprv_strcmp("C", posixID) == 0) in uprv_getPOSIXIDForCategory() 1395 || (uprv_strcmp("POSIX", posixID) == 0)) in uprv_getPOSIXIDForCategory() 1408 || (uprv_strcmp("C", posixID) == 0) in uprv_getPOSIXIDForCategory() 1409 || (uprv_strcmp("POSIX", posixID) == 0)) in uprv_getPOSIXIDForCategory() [all …]
|
D | locresdata.cpp | 97 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()
|
D | uresbund.c | 124 …if(uprv_strcmp(resB->fName, uloc_getDefault())==0 || uprv_strcmp(resB->fName, kRootLocaleName)==0)… in getFallbackData() 491 *isRoot = (UBool)(uprv_strcmp(name, kRootLocaleName) == 0); in findFirstExisting() 585 … if ( !uprv_strcmp(name,"root") ) { /* If parent is root, we just terminate the loop */ in entryOpen() 635 … if ( !uprv_strcmp(name,"root") ) { /* If parent is root, we just terminate the loop */ in entryOpen() 671 …} else if(!isRoot && uprv_strcmp(t1->fName, kRootLocaleName) != 0 && t1->fParent == NULL && !r->fD… in entryOpen() 908 if(uprv_strcmp(path, "LOCALE") == 0) { in init_resb_result() 916 if(uprv_strcmp(path, "ICUDATA") == 0) { /* want ICU data */ in init_resb_result() 1746 …if(uprv_strcmp(dataEntry->fName, uloc_getDefault())==0 || uprv_strcmp(dataEntry->fName, kRootLocal… in ures_getByKeyWithFallback() 2360 if (uprv_strcmp(loc, locToSearch) == 0) { in isLocaleInList() 2385 if(!uprv_strcmp(kwVal, DEFAULT_TAG)) { in ures_getFunctionalEquivalent() [all …]
|
D | uinvchar.h | 79 # define uprv_compareInvCharsAsAscii(s1, s2) uprv_strcmp(s1, s2)
|
D | uloc.c | 632 return uprv_strcmp(leftString, rightString); in compareKeywordStructs() 726 if (uprv_strcmp(keywordList[j].keyword, keywordList[numKeywords].keyword) == 0) { in _getKeywords() 743 if (uprv_strcmp(keywordList[j].keyword, addKeyword) == 0) { in _getKeywords() 885 if(uprv_strcmp(keywordNameBuffer, localeKeywordNameBuffer) == 0) { in uloc_getKeywordValue() 1024 rc = uprv_strcmp(keywordNameBuffer, localeKeywordNameBuffer); in uloc_setKeywordValue() 1158 if (uprv_strcmp(key, *list) == 0) { in _findIndex() 2431 if(!uprv_strcmp(acceptList[i], l)) { in uloc_acceptLanguage() 2471 if(!uprv_strcmp(fallbackList[i], l)) { in uloc_acceptLanguage()
|
D | cstring.h | 36 #define uprv_strcmp(s1, s2) U_STANDARD_CPP_NAMESPACE strcmp(s1, s2) macro
|
/external/icu4c/test/cintltst/ |
D | spreptst.c | 724 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 …]
|
D | cstrtest.c | 76 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()
|
D | stdnmtst.c | 49 } 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()
|
D | cloctst.c | 332 if (uprv_strcmp(uloc_getDefault(), "qq_BLA") != 0) { in TestNullDefault() 336 if (uprv_strcmp(uloc_getDefault(), original) != 0) { in TestNullDefault() 1666 if (uprv_strcmp(testCases[i].expectedLocaleID, buffer) != 0) { in TestKeywordVariants() 1671 if (uprv_strcmp(testCases[i].expectedCanonicalID, buffer) != 0) { in TestKeywordVariants() 1701 if(uprv_strcmp(testCases[i].expectedValue, buffer) != 0) { in TestKeywordVariantParsing() 2014 if(uprv_strcmp(expected, buffer) != 0) { in TestCanonicalization() 2318 if (uprv_strcmp(prefix, "root") == 0) { in _loccmp() 2319 return (uprv_strcmp(string, "root") == 0) ? 0 : 1; in _loccmp() 2620 if((outResult>0)&&uprv_strcmp(tmp, tests[i].expect)) { in TestAcceptLanguage() 3047 …else if (uprv_strcmp(temp3, rawData2[LANG][i]) && !(uprv_strcmp(temp3, "nn") == 0 && uprv_strcmp(r… in TestGetLocaleForLCID() [all …]
|
D | cposxtst.c | 100 if (uprv_strcmp(err, DATA[i+3]) != 0) { in TestMessageCatalog()
|
D | udatatst.c | 1131 if(uprv_strcmp(U_ICUDATA_NAME, expectDataName)) in TestICUDataName() 1139 if(uprv_strcmp(U_ICUDATA_NAME, ICUDATA_NAME)) in TestICUDataName() 1660 } else if (uprv_strcmp(swapCases[i].type, "brk")==0 in TestSwapData() 1661 || uprv_strcmp(swapCases[i].type, "ctd")==0) { in TestSwapData() 1665 } else if (uprv_strcmp(swapCases[i].name, "ucadata")==0 in TestSwapData() 1666 || uprv_strcmp(swapCases[i].name, "invuca")==0) { in TestSwapData()
|
D | crestst.c | 487 if(0!=uprv_strcmp("idna_rules", ures_getLocale(idna_rules, &errorCode))) { in TestOpenDirect() 517 } else if(0!=uprv_strcmp("idna_rules", ures_getLocale(idna_rules, &errorCode))) { in TestOpenDirect() 588 … if(errorCode!=U_USING_DEFAULT_WARNING || 0!=uprv_strcmp("root", ures_getLocale(ne, &errorCode))) { in TestOpenDirect() 759 if(0!=uprv_strcmp(key, testcases[i].key)) { in TestTable32()
|
/external/icu4c/i18n/ |
D | dtitvinf.cpp | 282 if ( uprv_strcmp(skeleton, gFallbackPatternTag) == 0 ) { in initializeData() 307 if ( !uprv_strcmp(key, "y") ) { in initializeData() 309 } else if ( !uprv_strcmp(key, "M") ) { in initializeData() 311 } else if ( !uprv_strcmp(key, "d") ) { in initializeData() 313 } else if ( !uprv_strcmp(key, "a") ) { in initializeData() 315 } else if ( !uprv_strcmp(key, "h") || !uprv_strcmp(key, "H") ) { in initializeData() 317 } else if ( !uprv_strcmp(key, "m") ) { in initializeData()
|
D | tmutfmt.cpp | 454 if ( uprv_strcmp(timeUnitName, gTimeUnitYear) == 0 ) { in readFromCurrentLocale() 456 } else if ( uprv_strcmp(timeUnitName, gTimeUnitMonth) == 0 ) { in readFromCurrentLocale() 458 } else if ( uprv_strcmp(timeUnitName, gTimeUnitDay) == 0 ) { in readFromCurrentLocale() 460 } else if ( uprv_strcmp(timeUnitName, gTimeUnitHour) == 0 ) { in readFromCurrentLocale() 462 } else if ( uprv_strcmp(timeUnitName, gTimeUnitMinute) == 0 ) { in readFromCurrentLocale() 464 } else if ( uprv_strcmp(timeUnitName, gTimeUnitSecond) == 0 ) { in readFromCurrentLocale() 466 } else if ( uprv_strcmp(timeUnitName, gTimeUnitWeek) == 0 ) { in readFromCurrentLocale() 669 if ( locNameLen == 0 && uprv_strcmp(key, gShortUnitsTag) == 0) { in searchInLocaleChain() 688 if ( uprv_strcmp(searchPluralCount, gPluralCountOther) == 0 ) { in searchInLocaleChain()
|
D | dcfmtsym.cpp | 145 uprv_strcmp(validLocale, that.validLocale) == 0 && in operator ==() 146 uprv_strcmp(actualLocale, that.actualLocale) == 0; in operator ==() 234 UBool isLatn = !uprv_strcmp(nsName,gLatn); in initialize()
|
/external/icu4c/tools/genrb/ |
D | wrtxml.cpp | 821 … 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() 1038 if(uprv_strcmp(originalFileName, srBundle->fLocale) != 0) { in bundle_write_xml() 1139 if(language != NULL && uprv_strcmp(lang, srBundle->fLocale)!=0){ in bundle_write_xml()
|
D | parse.c | 646 if (uprv_strcmp(((list->fRoot->fKeys) + (current->fKey)), key) == 0) { in resLookup() 862 if (uprv_strcmp(subtag, "Version") == 0) in addCollation() 878 else if (uprv_strcmp(subtag, "Override") == 0) in addCollation() 889 else if(uprv_strcmp(subtag, "%%CollationBin")==0) in addCollation() 893 else if (uprv_strcmp(subtag, "Sequence") == 0) in addCollation() 1064 if (uprv_strcmp(subtag, "default") == 0) in parseCollationElements() 1086 if (gIncludeUnihanColl || uprv_strcmp(subtag, "unihan") != 0) { in parseCollationElements() 1093 if(uprv_strcmp(typeKeyword, "alias") == 0) { in parseCollationElements() 1218 if (tag != NULL && uprv_strcmp(tag, "CollationElements") == 0) in parseTable() 1222 if (tag != NULL && uprv_strcmp(tag, "collations") == 0) in parseTable()
|
D | wrtjava.c | 314 if(resname != NULL && uprv_strcmp(resname,"Rule")==0) in string_write_java() 400 if(resname != NULL && uprv_strcmp(resname,"DateTimeElements")==0){ in intvector_write_java() 641 if(uprv_strcmp(srBundle->fLocale,"root")!=0){ in bundle_write_java()
|
/external/icu4c/tools/toolutil/ |
D | ucmstate.c | 263 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()
|
D | filetools.cpp | 50 … if (uprv_strcmp(dirEntry->d_name, SKIP1) != 0 && uprv_strcmp(dirEntry->d_name, SKIP2) != 0) { in isFileModTimeLater()
|
D | uoptions.c | 45 if(options[j].longName && uprv_strcmp(arg, options[j].longName)==0) { in u_parseArgs()
|
/external/icu4c/test/intltest/ |
D | loctest.cpp | 487 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/ |
D | makeconv.c | 456 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/ |
D | locbund.c | 94 result->isInvariantLocale = uprv_strcmp(result->fLocale, "en_US_POSIX") == 0; in u_locbund_init()
|