/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 | 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() 351 UBool actualAndValidLocalesAreDifferent = uprv_strcmp(actualLocale, vLocale) != 0; in loadFromCollations() 356 if(uprv_strcmp(type, defaultType) != 0) { in loadFromCollations() 362 if((*actualLocale == 0 || uprv_strcmp(actualLocale, "root") == 0) && in loadFromCollations() [all …]
|
D | number_utils.h | 48 return uprv_strcmp("currency", unit.getType()) == 0; in unitIsCurrency() 52 return uprv_strcmp("none", unit.getType()) == 0; in unitIsNoUnit() 56 return uprv_strcmp("percent", unit.getSubtype()) == 0; in unitIsPercent() 60 return uprv_strcmp("permille", unit.getSubtype()) == 0; in unitIsPermille()
|
D | numsys.cpp | 129 if ( !uprv_strcmp(buffer,gDefault) || !uprv_strcmp(buffer,gNative) || in createInstance() 130 !uprv_strcmp(buffer,gTraditional) || !uprv_strcmp(buffer,gFinance)) { in createInstance() 163 if (!uprv_strcmp(buffer,gNative) || !uprv_strcmp(buffer,gFinance)) { in createInstance() 165 } 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 | 312 if (uprv_strcmp(key, "-2") == 0) { in keyToDirection() 315 if (uprv_strcmp(key, "-1") == 0) { in keyToDirection() 318 if (uprv_strcmp(key, "0") == 0) { in keyToDirection() 321 if (uprv_strcmp(key, "1") == 0) { in keyToDirection() 324 if (uprv_strcmp(key, "2") == 0) { in keyToDirection() 351 if (len >= 7 && uprv_strcmp(s + len - 7, "-narrow") == 0) { in styleFromString() 354 if (len >= 6 && uprv_strcmp(s + len - 6, "-short") == 0) { in styleFromString() 468 if (relUnitIndex == UDAT_REL_UNIT_SECOND && uprv_strcmp(key, "0") == 0 && in consumeTableRelative() 522 if (uprv_strcmp(key, "past") == 0) { in consumeTableRelativeTime() 524 } else if (uprv_strcmp(key, "future") == 0) { in consumeTableRelativeTime() [all …]
|
D | measfmt.cpp | 188 return (uprv_strcmp(unit.getType(), "currency") == 0); in isCurrency() 271 if (uprv_strcmp(key, "dnam") == 0) { in consumePattern() 274 } else if (uprv_strcmp(key, "per") == 0) { in consumePattern() 319 if (U_SUCCESS(errorCode) && uprv_strcmp(key, "per") == 0) { in consumeCompoundPattern() 332 if (uprv_strcmp(key, "currency") == 0) { in consumeUnitTypesTable() 334 } else if (uprv_strcmp(key, "compound") == 0) { in consumeUnitTypesTable() 342 } else if (uprv_strcmp(key, "coordinate") == 0) { in consumeUnitTypesTable() 392 } else if (uprv_strcmp(key, "Short") == 0) { in widthFromKey() 394 } else if (uprv_strcmp(key, "Narrow") == 0) { in widthFromKey() 551 return uprv_strcmp(mu.getType(), "duration") == 0 && in isTimeUnit() [all …]
|
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()
|
D | gender.cpp | 164 if (uprv_strcmp(type_str, gNeutralStr) == 0) { in loadInstance() 167 if (uprv_strcmp(type_str, gMixedNeutralStr) == 0) { in loadInstance() 170 if (uprv_strcmp(type_str, gMailTaintsStr) == 0) { in loadInstance()
|
D | listformatter.cpp | 225 if (uprv_strcmp(key, "2") == 0) { in put() 227 } else if (uprv_strcmp(key, "end") == 0) { in put() 229 } else if (uprv_strcmp(key, "middle") == 0) { in put() 231 } else if (uprv_strcmp(key, "start") == 0) { in put() 256 …if (U_FAILURE(errorCode) || sink.aliasedStyle[0] == 0 || uprv_strcmp(currentStyle, sink.aliasedSty… in loadListFormatInternal()
|
/external/icu/icu4c/source/common/ |
D | putil.cpp | 751 || uprv_strcmp(id, "PST8PDT") == 0 in isValidOlsonID() 752 || uprv_strcmp(id, "MST7MDT") == 0 in isValidOlsonID() 753 || uprv_strcmp(id, "CST6CDT") == 0 in isValidOlsonID() 754 || uprv_strcmp(id, "EST5EDT") == 0); in isValidOlsonID() 1000 if (uprv_strcmp(dirName, SKIP1) != 0 && uprv_strcmp(dirName, SKIP2) != 0) { in searchForTZFile() 1027 … } else if (uprv_strcmp(TZFILE_SKIP, dirName) != 0 && uprv_strcmp(TZFILE_SKIP2, dirName) != 0) { in searchForTZFile() 1101 && uprv_strcmp(tzid, TZ_ENV_CHECK) != 0 in uprv_tzname() 1550 || (uprv_strcmp("C", posixID) == 0) 1551 || (uprv_strcmp("POSIX", posixID) == 0)) 1573 || (uprv_strcmp("C", posixID) == 0) [all …]
|
D | uscript.cpp | 68 if(0 == uprv_strcmp(lang, "ja")) { in getCodesFromLocale() 71 if(0 == uprv_strcmp(lang, "ko")) { in getCodesFromLocale() 78 if(0 == uprv_strcmp(lang, "zh") && 0 == uprv_strcmp(script, "Hant")) { in getCodesFromLocale()
|
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 | locresdata.cpp | 99 if(uprv_strcmp(tableKey, "Countries")==0){ in uloc_getTableStringWithFallback() 101 }else if(uprv_strcmp(tableKey, "Languages")==0){ in uloc_getTableStringWithFallback() 134 if(uprv_strcmp(explicitFallbackName, locale)==0){ in uloc_getTableStringWithFallback()
|
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 | uresbund.cpp | 130 …if(uprv_strcmp(resB->fName, uloc_getDefault())==0 || uprv_strcmp(resB->fName, kRootLocaleName)==0)… in getFallbackData() 487 *isRoot = (UBool)(uprv_strcmp(name, kRootLocaleName) == 0); in findFirstExisting() 529 if (uprv_strcmp(name, kRootLocaleName) == 0) { in loadParentsExceptRoot() 732 } else if(!isRoot && uprv_strcmp(t1->fName, kRootLocaleName) != 0 && in entryOpen() 789 if(r != NULL && uprv_strcmp(localeID, kRootLocaleName) != 0 && // not root in entryOpenDirect() 794 if(!chopLocale(name) || uprv_strcmp(name, kRootLocaleName) == 0 || in entryOpenDirect() 796 if(uprv_strcmp(t1->fName, kRootLocaleName) != 0 && t1->fParent == NULL) { in entryOpenDirect() 1012 if(uprv_strcmp(path, "LOCALE") == 0) { in init_resb_result() 1020 if(uprv_strcmp(path, "ICUDATA") == 0) { /* want ICU data */ in init_resb_result() 1899 …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 | 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 | cloctst.c | 352 if (uprv_strcmp(uloc_getDefault(), "qq_BLA") != 0) { in TestNullDefault() 356 if (uprv_strcmp(uloc_getDefault(), original) != 0) { in TestNullDefault() 1782 } else if (uprv_strcmp(testCases[i].expectedLocaleID, buffer) != 0) { in TestKeywordVariants() 1799 } else if (uprv_strcmp(testCases[i].expectedLocaleIDNoKeywords, buffer) != 0) { in TestKeywordVariants() 1816 } else if (uprv_strcmp(testCases[i].expectedCanonicalID, buffer) != 0) { in TestKeywordVariants() 1857 } else if (uprv_strcmp(testCases[i].expectedValue, buffer) != 0) { in TestKeywordVariantParsing() 1995 …} else if (resultLen != uprv_strlen(kwSetTestCases[i].v) || uprv_strcmp(buffer, kwSetTestCases[i].… in TestKeywordSet() 2237 if(uprv_strcmp(expected, buffer) != 0) { in TestCanonicalization() 2579 if (uprv_strcmp(prefix, "root") == 0) { in _loccmp() 2580 return (uprv_strcmp(string, "root") == 0) ? 0 : 1; in _loccmp() [all …]
|
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() 229 if (uprv_strcmp(PATTERNS[patidx], "V") == 0) { in TestTimeZoneRoundTrip() 252 } else if (uprv_strcmp(PATTERNS[patidx], "VV") == 0) { in TestTimeZoneRoundTrip() 260 …} else if (uprv_strcmp(PATTERNS[patidx], "VVV") == 0 || uprv_strcmp(PATTERNS[patidx], "VVVV") == 0… in TestTimeZoneRoundTrip() 371 if (EXCLUSIONS[i].loc == NULL || uprv_strcmp(loc, EXCLUSIONS[i].loc) == 0) { in isSpecialTimeRoundTripCase() 373 … if (EXCLUSIONS[i].pattern == NULL || uprv_strcmp(pattern, EXCLUSIONS[i].pattern) == 0) { in isSpecialTimeRoundTripCase() 455 UBool bTestAll = (testAllProp && uprv_strcmp(testAllProp, "true") == 0); in TestTimeRoundTrip() 586 if (uprv_strcmp(PATTERNS[patidx], "V") == 0) { in RunTimeRoundTripTests() 594 } else if (uprv_strcmp(PATTERNS[patidx], "VVV") == 0) { in RunTimeRoundTripTests() 605 && uprv_strcmp(PATTERNS[patidx], "vvvv") == 0 in RunTimeRoundTripTests()
|