/external/icu/icu4c/source/i18n/ |
D | dayperiodrules.cpp | 58 if (uprv_strcmp(key, "locales") == 0) { in put() 67 } else if (uprv_strcmp(key, "rules") == 0) { in put() 229 if (uprv_strcmp(type_str, "from") == 0) { in getCutoffTypeFromString() 231 } else if (uprv_strcmp(type_str, "before") == 0) { in getCutoffTypeFromString() 233 } else if (uprv_strcmp(type_str, "after") == 0) { in getCutoffTypeFromString() 235 } else if (uprv_strcmp(type_str, "at") == 0) { in getCutoffTypeFromString() 469 if (uprv_strcmp(type_str, "midnight") == 0) { in getDayPeriodFromString() 471 } else if (uprv_strcmp(type_str, "noon") == 0) { in getDayPeriodFromString() 473 } else if (uprv_strcmp(type_str, "morning1") == 0) { in getDayPeriodFromString() 475 } else if (uprv_strcmp(type_str, "afternoon1") == 0) { in getDayPeriodFromString() [all …]
|
D | standardplural.cpp | 37 if (uprv_strcmp(keyword, "ew") == 0) { in indexOrNegativeFromString() 42 if (uprv_strcmp(keyword, "any") == 0) { in indexOrNegativeFromString() 47 if (uprv_strcmp(keyword, "ther") == 0) { in indexOrNegativeFromString() 49 } else if (uprv_strcmp(keyword, "ne") == 0) { in indexOrNegativeFromString() 54 if (uprv_strcmp(keyword, "wo") == 0) { in indexOrNegativeFromString() 59 if (uprv_strcmp(keyword, "ero") == 0) { in indexOrNegativeFromString()
|
D | number_utils.h | 49 return uprv_strcmp("currency", unit.getType()) == 0; in unitIsCurrency() 53 return uprv_strcmp("none", unit.getType()) == 0; in unitIsNoUnit() 57 return uprv_strcmp("percent", unit.getSubtype()) == 0; in unitIsPercent() 61 return uprv_strcmp("permille", unit.getSubtype()) == 0; in unitIsPermille()
|
D | ucol_res.cpp | 152 if(*name == 0 || uprv_strcmp(name, "root") == 0) { in loadTailoring() 179 if(uprv_strcmp(locale.getName(), baseName) != 0) { in CollationLoader() 292 if(uprv_strcmp(type, "search") == 0) { in loadFromBundle() 295 if(uprv_strcmp(type, "standard") == 0) { in loadFromBundle() 301 if(uprv_strcmp(type, defaultType) == 0) { in loadFromBundle() 304 if(uprv_strcmp(type, "search") == 0) { in loadFromBundle() 307 if(uprv_strcmp(type, "standard") == 0) { in loadFromBundle() 356 if(uprv_strcmp(type, defaultType) != 0) { in loadFromCollations() 362 if((*actualLocale == 0 || uprv_strcmp(actualLocale, "root") == 0) && in loadFromCollations() 363 uprv_strcmp(type, "standard") == 0) { in loadFromCollations() [all …]
|
D | numsys.cpp | 131 if ( !uprv_strcmp(buffer,gDefault) || !uprv_strcmp(buffer,gNative) || in createInstance() 132 !uprv_strcmp(buffer,gTraditional) || !uprv_strcmp(buffer,gFinance)) { in createInstance() 165 if (!uprv_strcmp(buffer,gNative) || !uprv_strcmp(buffer,gFinance)) { in createInstance() 167 } else if (!uprv_strcmp(buffer,gTraditional)) { in createInstance()
|
D | dcfmtsym.cpp | 203 uprv_strcmp(validLocale, that.validLocale) == 0 && in operator ==() 204 uprv_strcmp(actualLocale, that.actualLocale) == 0; in operator ==() 238 if (gNumberElementKeys[i] != NULL && uprv_strcmp(key, gNumberElementKeys[i]) == 0) { in put() 292 if (uprv_strcmp(key, gBeforeCurrencyTag) == 0) { in put() 295 } else if (uprv_strcmp(key, gAfterCurrencyTag) == 0) { in put() 305 if (uprv_strcmp(key, gCurrencyMatchTag) == 0) { in put() 307 } else if (uprv_strcmp(key, gCurrencySudMatchTag) == 0) { in put() 309 } else if (uprv_strcmp(key, gCurrencyInsertBtnTag) == 0) { in put() 411 if (uprv_strcmp(nsName, gLatn) != 0) { in initialize()
|
D | reldatefmt.cpp | 328 if (uprv_strcmp(key, "-2") == 0) { in keyToDirection() 331 if (uprv_strcmp(key, "-1") == 0) { in keyToDirection() 334 if (uprv_strcmp(key, "0") == 0) { in keyToDirection() 337 if (uprv_strcmp(key, "1") == 0) { in keyToDirection() 340 if (uprv_strcmp(key, "2") == 0) { in keyToDirection() 367 if (len >= 7 && uprv_strcmp(s + len - 7, "-narrow") == 0) { in styleFromString() 370 if (len >= 6 && uprv_strcmp(s + len - 6, "-short") == 0) { in styleFromString() 484 if (relUnitIndex == UDAT_REL_UNIT_SECOND && uprv_strcmp(key, "0") == 0 && in consumeTableRelative() 538 if (uprv_strcmp(key, "past") == 0) { in consumeTableRelativeTime() 540 } else if (uprv_strcmp(key, "future") == 0) { in consumeTableRelativeTime() [all …]
|
D | gender.cpp | 165 if (uprv_strcmp(type_str, gNeutralStr) == 0) { in loadInstance() 168 if (uprv_strcmp(type_str, gMixedNeutralStr) == 0) { in loadInstance() 171 if (uprv_strcmp(type_str, gMailTaintsStr) == 0) { in loadInstance()
|
D | tmutfmt.cpp | 383 if ( uprv_strcmp(timeUnitName, gTimeUnitYear) == 0 ) { in put() 385 } else if ( uprv_strcmp(timeUnitName, gTimeUnitMonth) == 0 ) { in put() 387 } else if ( uprv_strcmp(timeUnitName, gTimeUnitDay) == 0 ) { in put() 389 } else if ( uprv_strcmp(timeUnitName, gTimeUnitHour) == 0 ) { in put() 391 } else if ( uprv_strcmp(timeUnitName, gTimeUnitMinute) == 0 ) { in put() 393 } else if ( uprv_strcmp(timeUnitName, gTimeUnitSecond) == 0 ) { in put() 395 } else if ( uprv_strcmp(timeUnitName, gTimeUnitWeek) == 0 ) { in put() 604 if ( locNameLen == 0 && uprv_strcmp(key, gShortUnitsTag) == 0) { in searchInLocaleChain() 625 if ( uprv_strcmp(searchPluralCount, gPluralCountOther) == 0 ) { in searchInLocaleChain()
|
/external/icu/icu4c/source/common/ |
D | putil.cpp | 740 || uprv_strcmp(id, "PST8PDT") == 0 in isValidOlsonID() 741 || uprv_strcmp(id, "MST7MDT") == 0 in isValidOlsonID() 742 || uprv_strcmp(id, "CST6CDT") == 0 in isValidOlsonID() 743 || uprv_strcmp(id, "EST5EDT") == 0); in isValidOlsonID() 989 if (uprv_strcmp(dirName, SKIP1) != 0 && uprv_strcmp(dirName, SKIP2) != 0 in searchForTZFile() 990 && uprv_strcmp(TZFILE_SKIP, dirName) != 0 && uprv_strcmp(TZFILE_SKIP2, dirName) != 0) { in searchForTZFile() 1091 && uprv_strcmp(tzid, TZ_ENV_CHECK) != 0 in uprv_tzname() 1538 || (uprv_strcmp("C", posixID) == 0) 1539 || (uprv_strcmp("POSIX", posixID) == 0)) 1561 || (uprv_strcmp("C", posixID) == 0) [all …]
|
D | uscript.cpp | 71 if(0 == uprv_strcmp(lang, "ja")) { in getCodesFromLocale() 74 if(0 == uprv_strcmp(lang, "ko")) { in getCodesFromLocale() 81 if(0 == uprv_strcmp(lang, "zh") && 0 == uprv_strcmp(script, "Hant")) { in getCodesFromLocale()
|
D | lsr.cpp | 65 uprv_strcmp(language, other.language) == 0 && in operator ==() 66 uprv_strcmp(script, other.script) == 0 && in operator ==() 69 (regionIndex > 0 || uprv_strcmp(region, other.region) == 0); in operator ==()
|
D | locresdata.cpp | 98 if(uprv_strcmp(tableKey, "Countries")==0){ in uloc_getTableStringWithFallback() 100 }else if(uprv_strcmp(tableKey, "Languages")==0){ in uloc_getTableStringWithFallback() 133 if(uprv_strcmp(explicitFallbackName, locale)==0){ in uloc_getTableStringWithFallback()
|
D | loadednormalizer2impl.cpp | 151 if (uprv_strcmp(what, "nfc") == 0) { in initSingletons() 155 if (uprv_strcmp(what, "nfkc") == 0) { in initSingletons() 157 } else if (uprv_strcmp(what, "nfkc_cf") == 0) { in initSingletons() 278 if(0==uprv_strcmp(name, "nfc")) { in getInstance() 280 } else if(0==uprv_strcmp(name, "nfkc")) { in getInstance() 282 } else if(0==uprv_strcmp(name, "nfkc_cf")) { in getInstance()
|
D | locdistance.cpp | 139 if (uprv_strcmp(desired.language, supported.language) == 0) { in getBestIndexAndDistance() 162 if (uprv_strcmp(desired.script, supported.script) == 0) { in getBestIndexAndDistance() 178 if (uprv_strcmp(desired.region, supported.region) == 0) { in getBestIndexAndDistance() 220 if (uprv_strcmp(desired, supported) == 0) { in getDesSuppScriptDistance()
|
D | brkiter.cpp | 426 …CCESS(kvStatus) && kLen > 0 && (uprv_strcmp(lbKeyValue,"strict")==0 || uprv_strcmp(lbKeyValue,"nor… in makeInstance() 440 if (U_SUCCESS(kvStatus) && kLen > 0 && uprv_strcmp(ssKeyValue,"standard")==0) { in makeInstance()
|
D | loclikelysubtags.cpp | 421 if (uprv_strcmp(variant, "PSACCENT") == 0) { in makeMaximizedLsr() 424 } else if (uprv_strcmp(variant, "PSBIDI") == 0) { in makeMaximizedLsr() 427 } else if (uprv_strcmp(variant, "PSCRACK") == 0) { in makeMaximizedLsr() 441 if (uprv_strcmp(language, "und") == 0) { in maximize() 444 if (uprv_strcmp(script, "Zzzz") == 0) { in maximize() 447 if (uprv_strcmp(region, "ZZ") == 0) { in maximize()
|
D | uresbund.cpp | 132 …if(uprv_strcmp(resB->fName, uloc_getDefault())==0 || uprv_strcmp(resB->fName, kRootLocaleName)==0)… in getFallbackData() 484 *isRoot = (UBool)(uprv_strcmp(name, kRootLocaleName) == 0); in findFirstExisting() 542 if (uprv_strcmp(name, kRootLocaleName) == 0) { in loadParentsExceptRoot() 745 } else if(!isRoot && uprv_strcmp(t1->fName, kRootLocaleName) != 0 && in entryOpen() 800 if(r != NULL && uprv_strcmp(localeID, kRootLocaleName) != 0 && // not root in entryOpenDirect() 805 if(!chopLocale(name) || uprv_strcmp(name, kRootLocaleName) == 0 || in entryOpenDirect() 807 if(uprv_strcmp(t1->fName, kRootLocaleName) != 0 && t1->fParent == NULL) { in entryOpenDirect() 1021 if(uprv_strcmp(path, "LOCALE") == 0) { in init_resb_result() 1029 if(uprv_strcmp(path, "ICUDATA") == 0) { /* want ICU data */ in init_resb_result() 1918 …if(uprv_strcmp(dataEntry->fName, uloc_getDefault())==0 || uprv_strcmp(dataEntry->fName, kRootLocal… in ures_getByKeyWithFallback() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | spreptst.c | 725 if (uprv_strcmp(profileName, "RFC4013_SASLPREP") == 0) { in getTypeFromProfileName() 727 } else if (uprv_strcmp(profileName, "RFC4011_MIB") == 0) { in getTypeFromProfileName() 729 } else if (uprv_strcmp(profileName, "RFC4505_TRACE") == 0) { in getTypeFromProfileName() 731 } else if (uprv_strcmp(profileName, "RFC4518_LDAP") == 0) { in getTypeFromProfileName() 733 } else if (uprv_strcmp(profileName, "RFC4518_LDAP_CI") == 0) { in getTypeFromProfileName() 735 } else if (uprv_strcmp(profileName, "RFC3920_RESOURCEPREP") == 0) { in getTypeFromProfileName() 737 } else if (uprv_strcmp(profileName, "RFC3920_NODEPREP") == 0) { in getTypeFromProfileName() 739 } else if (uprv_strcmp(profileName, "RFC3722_ISCSI") == 0) { in getTypeFromProfileName() 741 } else if (uprv_strcmp(profileName, "RFC3530_NFS4_CS_PREP") == 0) { in getTypeFromProfileName() 743 } else if (uprv_strcmp(profileName, "RFC3530_NFS4_CS_PREP_CI") == 0) { in getTypeFromProfileName() [all …]
|
D | cstrtest.c | 82 if(uprv_strcmp(src, "hello there") != 0){ in TestAPI() 86 if(uprv_strcmp(src, "HELLO THERE") != 0){ in TestAPI() 99 if(uprv_strcmp(src, "34556") != 0 || i != 5){ in TestAPI() 107 if(uprv_strcmp(src, "9223372036854775807") != 0 || i != 19){ in TestAPI() 139 if(uprv_strcmp(temp, "strdup") !=0 ){ in TestAPI() 336 if(diff1>0 || (diff1==0 && 0!=uprv_strcmp(invStrings[i-1][0], invStrings[i][0]))) { in TestCompareInvEbcdicAsAscii()
|
D | stdnmtst.c | 50 } else if (expected && (name == tag || uprv_strcmp(expected, tag))) { in dotestname() 131 else if (expected && (name == tag || uprv_strcmp(expected, tag) != 0)) { in dotestconv() 195 if (uprv_strcmp(enumName, testName) != 0 || U_FAILURE(err) in doTestNames()
|
/external/icu/icu4c/source/tools/genrb/ |
D | wrtxml.cpp | 838 … if(uprv_strcmp(ext, ".jpg")==0 || uprv_strcmp(ext, ".jpeg")==0 || uprv_strcmp(ext, ".gif")==0 ){ in bin_write_xml() 840 } else if(uprv_strcmp(ext, ".wav")==0 || uprv_strcmp(ext, ".au")==0 ){ in bin_write_xml() 842 …} else if(uprv_strcmp(ext, ".avi")==0 || uprv_strcmp(ext, ".mpg")==0 || uprv_strcmp(ext, ".mpeg")=… in bin_write_xml() 844 } else if(uprv_strcmp(ext, ".txt")==0 || uprv_strcmp(ext, ".text")==0){ in bin_write_xml() 1054 if(uprv_strcmp(originalFileName, srBundle->fLocale) != 0) { in bundle_write_xml() 1155 if(language != NULL && uprv_strcmp(lang, srBundle->fLocale)!=0){ in bundle_write_xml()
|
/external/icu/icu4c/source/tools/toolutil/ |
D | ucmstate.cpp | 265 if(uprv_strcmp(*pKey, "uconv_class")==0) { in ucm_parseHeaderLine() 266 if(uprv_strcmp(*pValue, "DBCS")==0) { in ucm_parseHeaderLine() 268 } else if(uprv_strcmp(*pValue, "SBCS")==0) { in ucm_parseHeaderLine() 270 } else if(uprv_strcmp(*pValue, "MBCS")==0) { in ucm_parseHeaderLine() 272 } else if(uprv_strcmp(*pValue, "EBCDIC_STATEFUL")==0) { in ucm_parseHeaderLine() 279 } else if(uprv_strcmp(*pKey, "mb_cur_max")==0) { in ucm_parseHeaderLine() 289 } else if(uprv_strcmp(*pKey, "mb_cur_min")==0) { in ucm_parseHeaderLine() 298 } else if(uprv_strcmp(*pKey, "icu:state")==0) { in ucm_parseHeaderLine() 319 } else if(uprv_strcmp(*pKey, "icu:base")==0) { in ucm_parseHeaderLine()
|
D | filetools.cpp | 60 … 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 | 66 if (uprv_strcmp(list[i], str) == 0) { in contains() 230 if (uprv_strcmp(PATTERNS[patidx], "V") == 0) { in TestTimeZoneRoundTrip() 253 } else if (uprv_strcmp(PATTERNS[patidx], "VV") == 0) { in TestTimeZoneRoundTrip() 261 …} else if (uprv_strcmp(PATTERNS[patidx], "VVV") == 0 || uprv_strcmp(PATTERNS[patidx], "VVVV") == 0… in TestTimeZoneRoundTrip() 372 if (EXCLUSIONS[i].loc == NULL || uprv_strcmp(loc, EXCLUSIONS[i].loc) == 0) { in isSpecialTimeRoundTripCase() 374 … if (EXCLUSIONS[i].pattern == NULL || uprv_strcmp(pattern, EXCLUSIONS[i].pattern) == 0) { in isSpecialTimeRoundTripCase() 456 UBool bTestAll = (testAllProp && uprv_strcmp(testAllProp, "true") == 0); in TestTimeRoundTrip() 587 if (uprv_strcmp(PATTERNS[patidx], "V") == 0) { in RunTimeRoundTripTests() 595 } else if (uprv_strcmp(PATTERNS[patidx], "VVV") == 0) { in RunTimeRoundTripTests() 606 && uprv_strcmp(PATTERNS[patidx], "vvvv") == 0 in RunTimeRoundTripTests()
|