/external/icu/icu4c/source/common/ |
D | putil.cpp | 701 || uprv_strcmp(id, "PST8PDT") == 0 in isValidOlsonID() 702 || uprv_strcmp(id, "MST7MDT") == 0 in isValidOlsonID() 703 || uprv_strcmp(id, "CST6CDT") == 0 in isValidOlsonID() 704 || uprv_strcmp(id, "EST5EDT") == 0); in isValidOlsonID() 936 if (uprv_strcmp(dirName, SKIP1) != 0 && uprv_strcmp(dirName, SKIP2) != 0) { in searchForTZFile() 957 … } else if (uprv_strcmp(TZFILE_SKIP, dirName) != 0 && uprv_strcmp(TZFILE_SKIP2, dirName) != 0) { in searchForTZFile() 1000 && uprv_strcmp(tzid, TZ_ENV_CHECK) != 0 in uprv_tzname() 1381 || (uprv_strcmp("C", posixID) == 0) in uprv_getPOSIXIDForCategory() 1382 || (uprv_strcmp("POSIX", posixID) == 0)) in uprv_getPOSIXIDForCategory() 1395 || (uprv_strcmp("C", posixID) == 0) in uprv_getPOSIXIDForCategory() [all …]
|
D | uscript.c | 66 if(0 == uprv_strcmp(lang, "ja")) { in getCodesFromLocale() 69 if(0 == uprv_strcmp(lang, "ko")) { in getCodesFromLocale() 76 if(0 == uprv_strcmp(lang, "zh") && 0 == uprv_strcmp(script, "Hant")) { in getCodesFromLocale()
|
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 | loadednormalizer2impl.cpp | 141 if (uprv_strcmp(what, "nfkc") == 0) { in initSingletons() 143 } else if (uprv_strcmp(what, "nfkc_cf") == 0) { in initSingletons() 217 if(0==uprv_strcmp(name, "nfc")) { in getInstance() 219 } else if(0==uprv_strcmp(name, "nfkc")) { in getInstance() 221 } else if(0==uprv_strcmp(name, "nfkc_cf")) { in getInstance()
|
D | brkiter.cpp | 412 …CCESS(kvStatus) && kLen > 0 && (uprv_strcmp(lbKeyValue,"strict")==0 || uprv_strcmp(lbKeyValue,"nor… in makeInstance() 425 if (U_SUCCESS(kvStatus) && kLen > 0 && uprv_strcmp(ssKeyValue,"standard")==0) { in makeInstance()
|
D | uresbund.cpp | 128 …if(uprv_strcmp(resB->fName, uloc_getDefault())==0 || uprv_strcmp(resB->fName, kRootLocaleName)==0)… in getFallbackData() 480 *isRoot = (UBool)(uprv_strcmp(name, kRootLocaleName) == 0); in findFirstExisting() 522 if (uprv_strcmp(name, kRootLocaleName) == 0) { in loadParentsExceptRoot() 699 } else if(!isRoot && uprv_strcmp(t1->fName, kRootLocaleName) != 0 && in entryOpen() 756 if(r != NULL && uprv_strcmp(localeID, kRootLocaleName) != 0 && // not root in entryOpenDirect() 761 if(!chopLocale(name) || uprv_strcmp(name, kRootLocaleName) == 0 || in entryOpenDirect() 763 if(uprv_strcmp(t1->fName, kRootLocaleName) != 0 && t1->fParent == NULL) { in entryOpenDirect() 979 if(uprv_strcmp(path, "LOCALE") == 0) { in init_resb_result() 987 if(uprv_strcmp(path, "ICUDATA") == 0) { /* want ICU data */ in init_resb_result() 1864 …if(uprv_strcmp(dataEntry->fName, uloc_getDefault())==0 || uprv_strcmp(dataEntry->fName, kRootLocal… in ures_getByKeyWithFallback() [all …]
|
D | udata.cpp | 585 … !uprv_strcmp(pathBuffer.data() + pathLen - packageStub.length(), packageStub.data())) { in next() 1082 return ((uprv_strcmp(type, "res") == 0) && in isTimeZoneFile() 1083 (uprv_strcmp(name, "zoneinfo64") == 0 || in isTimeZoneFile() 1084 uprv_strcmp(name, "timezoneTypes") == 0 || in isTimeZoneFile() 1085 uprv_strcmp(name, "windowsZones") == 0 || in isTimeZoneFile() 1086 uprv_strcmp(name, "metaZones") == 0)); in isTimeZoneFile()
|
D | pluralmap.cpp | 19 if (uprv_strcmp(pluralForm, gPluralForms[i]) == 0) { in toCategory()
|
/external/icu/icu4c/source/i18n/ |
D | standardplural.cpp | 35 if (uprv_strcmp(keyword, "ew") == 0) { in indexOrNegativeFromString() 40 if (uprv_strcmp(keyword, "any") == 0) { in indexOrNegativeFromString() 45 if (uprv_strcmp(keyword, "ther") == 0) { in indexOrNegativeFromString() 47 } else if (uprv_strcmp(keyword, "ne") == 0) { in indexOrNegativeFromString() 52 if (uprv_strcmp(keyword, "wo") == 0) { in indexOrNegativeFromString() 57 if (uprv_strcmp(keyword, "ero") == 0) { in indexOrNegativeFromString()
|
D | ucol_res.cpp | 148 if(*name == 0 || uprv_strcmp(name, "root") == 0) { in loadTailoring() 175 if(uprv_strcmp(locale.getName(), baseName) != 0) { in CollationLoader() 288 if(uprv_strcmp(type, "search") == 0) { in loadFromBundle() 291 if(uprv_strcmp(type, "standard") == 0) { in loadFromBundle() 297 if(uprv_strcmp(type, defaultType) == 0) { in loadFromBundle() 300 if(uprv_strcmp(type, "search") == 0) { in loadFromBundle() 303 if(uprv_strcmp(type, "standard") == 0) { in loadFromBundle() 347 UBool actualAndValidLocalesAreDifferent = uprv_strcmp(actualLocale, vLocale) != 0; in loadFromCollations() 352 if(uprv_strcmp(type, defaultType) != 0) { in loadFromCollations() 358 if((*actualLocale == 0 || uprv_strcmp(actualLocale, "root") == 0) && in loadFromCollations() [all …]
|
D | numsys.cpp | 118 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()
|
D | dtitvinf.cpp | 280 if ( uprv_strcmp(skeleton, gFallbackPatternTag) == 0 ) { in initializeData() 311 if ( !uprv_strcmp(key, "y") ) { in initializeData() 313 } else if ( !uprv_strcmp(key, "M") ) { in initializeData() 315 } else if ( !uprv_strcmp(key, "d") ) { in initializeData() 317 } else if ( !uprv_strcmp(key, "a") ) { in initializeData() 319 } else if ( !uprv_strcmp(key, "h") || !uprv_strcmp(key, "H") ) { in initializeData() 321 } else if ( !uprv_strcmp(key, "m") ) { in initializeData() 362 } while ( parentLocale[0] != 0 && uprv_strcmp(parentLocale,"root")!=0 ); in initializeData()
|
D | tmutfmt.cpp | 390 if ( uprv_strcmp(timeUnitName, gTimeUnitYear) == 0 ) { in readFromCurrentLocale() 392 } else if ( uprv_strcmp(timeUnitName, gTimeUnitMonth) == 0 ) { in readFromCurrentLocale() 394 } else if ( uprv_strcmp(timeUnitName, gTimeUnitDay) == 0 ) { in readFromCurrentLocale() 396 } else if ( uprv_strcmp(timeUnitName, gTimeUnitHour) == 0 ) { in readFromCurrentLocale() 398 } else if ( uprv_strcmp(timeUnitName, gTimeUnitMinute) == 0 ) { in readFromCurrentLocale() 400 } else if ( uprv_strcmp(timeUnitName, gTimeUnitSecond) == 0 ) { in readFromCurrentLocale() 402 } else if ( uprv_strcmp(timeUnitName, gTimeUnitWeek) == 0 ) { in readFromCurrentLocale() 603 if ( locNameLen == 0 && uprv_strcmp(key, gShortUnitsTag) == 0) { in searchInLocaleChain() 622 if ( uprv_strcmp(searchPluralCount, gPluralCountOther) == 0 ) { in searchInLocaleChain()
|
D | measfmt.cpp | 180 return (uprv_strcmp(unit.getType(), "currency") == 0); in isCurrency() 240 if (uprv_strcmp(key, "dnam") == 0) { in put() 242 } else if (uprv_strcmp(key, "per") == 0) { in put() 285 if (U_SUCCESS(errorCode) && uprv_strcmp(key, "per") == 0) { in put() 304 if (uprv_strcmp(key, "currency") == 0) { in getOrCreateTableSink() 306 } else if (uprv_strcmp(key, "compound") == 0) { in getOrCreateTableSink() 360 } else if (uprv_strcmp(key, "Short") == 0) { in widthFromKey() 362 } else if (uprv_strcmp(key, "Narrow") == 0) { in widthFromKey() 511 return uprv_strcmp(mu.getType(), "duration") == 0 && in isTimeUnit() 512 uprv_strcmp(mu.getSubtype(), tu) == 0; in isTimeUnit() [all …]
|
D | gender.cpp | 162 if (uprv_strcmp(type_str, gNeutralStr) == 0) { in loadInstance() 165 if (uprv_strcmp(type_str, gMixedNeutralStr) == 0) { in loadInstance() 168 if (uprv_strcmp(type_str, gMailTaintsStr) == 0) { in loadInstance()
|
/external/icu/icu4c/source/test/cintltst/ |
D | spreptst.c | 721 if (uprv_strcmp(profileName, "RFC4013_SASLPREP") == 0) { in getTypeFromProfileName() 723 } else if (uprv_strcmp(profileName, "RFC4011_MIB") == 0) { in getTypeFromProfileName() 725 } else if (uprv_strcmp(profileName, "RFC4505_TRACE") == 0) { in getTypeFromProfileName() 727 } else if (uprv_strcmp(profileName, "RFC4518_LDAP") == 0) { in getTypeFromProfileName() 729 } else if (uprv_strcmp(profileName, "RFC4518_LDAP_CI") == 0) { in getTypeFromProfileName() 731 } else if (uprv_strcmp(profileName, "RFC3920_RESOURCEPREP") == 0) { in getTypeFromProfileName() 733 } else if (uprv_strcmp(profileName, "RFC3920_NODEPREP") == 0) { in getTypeFromProfileName() 735 } else if (uprv_strcmp(profileName, "RFC3722_ISCSI") == 0) { in getTypeFromProfileName() 737 } else if (uprv_strcmp(profileName, "RFC3530_NFS4_CS_PREP") == 0) { in getTypeFromProfileName() 739 } else if (uprv_strcmp(profileName, "RFC3530_NFS4_CS_PREP_CI") == 0) { in getTypeFromProfileName() [all …]
|
D | cstrtest.c | 74 if(uprv_strcmp(src, "hello there") != 0){ in TestAPI() 78 if(uprv_strcmp(src, "HELLO THERE") != 0){ in TestAPI() 91 if(uprv_strcmp(src, "34556") != 0 || i != 5){ in TestAPI() 99 if(uprv_strcmp(src, "9223372036854775807") != 0 || i != 19){ in TestAPI() 131 if(uprv_strcmp(temp, "strdup") !=0 ){ in TestAPI() 328 if(diff1>0 || (diff1==0 && 0!=uprv_strcmp(invStrings[i-1][0], invStrings[i][0]))) { in TestCompareInvEbcdicAsAscii()
|
D | cloctst.c | 342 if (uprv_strcmp(uloc_getDefault(), "qq_BLA") != 0) { in TestNullDefault() 346 if (uprv_strcmp(uloc_getDefault(), original) != 0) { in TestNullDefault() 1772 } else if (uprv_strcmp(testCases[i].expectedLocaleID, buffer) != 0) { in TestKeywordVariants() 1789 } else if (uprv_strcmp(testCases[i].expectedLocaleIDNoKeywords, buffer) != 0) { in TestKeywordVariants() 1806 } else if (uprv_strcmp(testCases[i].expectedCanonicalID, buffer) != 0) { in TestKeywordVariants() 1842 if(uprv_strcmp(testCases[i].expectedValue, buffer) != 0) { in TestKeywordVariantParsing() 2155 if(uprv_strcmp(expected, buffer) != 0) { in TestCanonicalization() 2461 if (uprv_strcmp(prefix, "root") == 0) { in _loccmp() 2462 return (uprv_strcmp(string, "root") == 0) ? 0 : 1; in _loccmp() 2795 if((outResult>0)&&uprv_strcmp(tmp, tests[i].expect)) { in TestAcceptLanguage() [all …]
|
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()
|
/external/icu/icu4c/source/tools/genrb/ |
D | wrtxml.cpp | 831 … if(uprv_strcmp(ext, ".jpg")==0 || uprv_strcmp(ext, ".jpeg")==0 || uprv_strcmp(ext, ".gif")==0 ){ in bin_write_xml() 833 } else if(uprv_strcmp(ext, ".wav")==0 || uprv_strcmp(ext, ".au")==0 ){ in bin_write_xml() 835 …} else if(uprv_strcmp(ext, ".avi")==0 || uprv_strcmp(ext, ".mpg")==0 || uprv_strcmp(ext, ".mpeg")=… in bin_write_xml() 837 } else if(uprv_strcmp(ext, ".txt")==0 || uprv_strcmp(ext, ".text")==0){ in bin_write_xml() 1047 if(uprv_strcmp(originalFileName, srBundle->fLocale) != 0) { in bundle_write_xml() 1148 if(language != NULL && uprv_strcmp(lang, srBundle->fLocale)!=0){ in bundle_write_xml()
|
/external/icu/icu4c/source/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 | 58 … if (uprv_strcmp(dirEntry->d_name, SKIP1) != 0 && uprv_strcmp(dirEntry->d_name, SKIP2) != 0) { in isFileModTimeLater()
|
/external/icu/icu4c/source/test/intltest/ |
D | tzfmttst.cpp | 60 if (uprv_strcmp(list[i], str) == 0) { in contains() 220 if (uprv_strcmp(PATTERNS[patidx], "V") == 0) { in TestTimeZoneRoundTrip() 243 } else if (uprv_strcmp(PATTERNS[patidx], "VV") == 0) { in TestTimeZoneRoundTrip() 251 …} else if (uprv_strcmp(PATTERNS[patidx], "VVV") == 0 || uprv_strcmp(PATTERNS[patidx], "VVVV") == 0… in TestTimeZoneRoundTrip() 359 if (EXCLUSIONS[i].loc == NULL || uprv_strcmp(loc, EXCLUSIONS[i].loc) == 0) { in isSpecialTimeRoundTripCase() 361 … if (EXCLUSIONS[i].pattern == NULL || uprv_strcmp(pattern, EXCLUSIONS[i].pattern) == 0) { in isSpecialTimeRoundTripCase() 477 if (uprv_strcmp(PATTERNS[patidx], "V") == 0) { in run() 485 } else if (uprv_strcmp(PATTERNS[patidx], "VVV") == 0) { in run() 495 if (*tzid == "Pacific/Apia" && uprv_strcmp(PATTERNS[patidx], "vvvv") == 0 in run() 623 UBool bTestAll = (testAllProp && uprv_strcmp(testAllProp, "true") == 0); in TestTimeRoundTrip()
|
D | loctest.cpp | 480 if (uprv_strcmp(Locale().getLanguage(), "tl") != 0) { in TestDisplayNames() 870 if (uprv_strcmp(test[j],spotCheck1[i])== 0) in TestGetLangsAndCountries() 872 if (j == testCount || (uprv_strcmp(test[j],spotCheck1[i])!=0)) in TestGetLangsAndCountries() 1678 if(uprv_strcmp(testCases[i].expectedLocaleID, result) != 0) { in TestKeywordVariants() 1711 if(uprv_strcmp(testCases[i].expectedValue, buffer) != 0) { in TestKeywordVariantParsing() 1746 if(uprv_strcmp(testCases[i].value, buffer) != 0) { in TestSetKeywordValue() 1801 if (uprv_strcmp(prefix, "root") == 0) { in _loccmp() 1802 return (uprv_strcmp(string, "root") == 0) ? 0 : 1; in _loccmp() 1829 if (((0 == uprv_strcmp(expReqValid, "gt") && reqValid > 0) || in _checklocs() 1830 (0 == uprv_strcmp(expReqValid, "ge") && reqValid >= 0) || in _checklocs() [all …]
|
/external/icu/icu4c/source/tools/makeconv/ |
D | makeconv.cpp | 446 if(uprv_strcmp(line, "CHARMAP")==0) { in readHeader() 451 if(uprv_strcmp(key, "code_set_name")==0) { in readHeader() 456 } else if(uprv_strcmp(key, "subchar")==0) { in readHeader() 470 } else if(uprv_strcmp(key, "subchar1")==0) { in readHeader() 605 if(0==uprv_strcmp(line, "CHARMAP")) { in readFile()
|