/external/icu/icu4c/source/i18n/ |
D | ulocdata.cpp | 113 UErrorCode localStatus = U_ZERO_ERROR; in ulocdata_getExemplarSet() local 118 exemplarChars = ures_getStringByKey(uld->bundle, exemplarSetTypes[extype], &len, &localStatus); in ulocdata_getExemplarSet() 119 if ( (localStatus == U_USING_DEFAULT_WARNING) && uld->noSubstitute ) { in ulocdata_getExemplarSet() 120 localStatus = U_MISSING_RESOURCE_ERROR; in ulocdata_getExemplarSet() 123 if (localStatus != U_ZERO_ERROR) { in ulocdata_getExemplarSet() 124 *status = localStatus; in ulocdata_getExemplarSet() 155 UErrorCode localStatus = U_ZERO_ERROR; in ulocdata_getDelimiter() local 160 delimiterBundle = ures_getByKey(uld->bundle, "delimiters", NULL, &localStatus); in ulocdata_getDelimiter() 162 if ( (localStatus == U_USING_DEFAULT_WARNING) && uld->noSubstitute ) { in ulocdata_getDelimiter() 163 localStatus = U_MISSING_RESOURCE_ERROR; in ulocdata_getDelimiter() [all …]
|
D | number_multiplier.cpp | 43 UErrorCode localStatus = U_ZERO_ERROR; in Scale() local 44 fArbitrary = new DecNum(*other.fArbitrary, localStatus); in Scale() 52 UErrorCode localStatus = U_ZERO_ERROR; in operator =() local 53 fArbitrary = new DecNum(*other.fArbitrary, localStatus); in operator =() 134 UErrorCode localStatus = U_ZERO_ERROR; in applyTo() local 135 quantity.multiplyBy(*fArbitrary, localStatus); in applyTo() 142 UErrorCode localStatus = U_ZERO_ERROR; in applyReciprocalTo() local 143 quantity.divideBy(*fArbitrary, localStatus); in applyReciprocalTo()
|
D | number_utils.cpp | 36 UErrorCode& localStatus) { in doGetPattern() argument 46 return ures_getStringByKeyWithFallback(res, key.data(), nullptr, &localStatus); in doGetPattern() 79 UErrorCode localStatus = U_ZERO_ERROR; in getPatternForStyle() local 81 pattern = doGetPattern(res.getAlias(), nsName, patternKey, status, localStatus); in getPatternForStyle() 85 if (U_FAILURE(localStatus) && uprv_strcmp("latn", nsName) != 0) { in getPatternForStyle() 86 localStatus = U_ZERO_ERROR; in getPatternForStyle() 87 pattern = doGetPattern(res.getAlias(), "latn", patternKey, status, localStatus); in getPatternForStyle()
|
D | number_patternmodifier.cpp | 286 UErrorCode localStatus = U_ZERO_ERROR; in getSymbol() local 299 return fCurrencySymbols.getNarrowCurrencySymbol(localStatus); in getSymbol() 301 return fCurrencySymbols.getCurrencySymbol(localStatus); in getSymbol() 303 return fCurrencySymbols.getIntlCurrencySymbol(localStatus); in getSymbol() 305 return fCurrencySymbols.getFormalCurrencySymbol(localStatus); in getSymbol() 307 return fCurrencySymbols.getVariantCurrencySymbol(localStatus); in getSymbol() 311 return fCurrencySymbols.getCurrencySymbol(localStatus); in getSymbol() 315 return fCurrencySymbols.getIntlCurrencySymbol(localStatus); in getSymbol() 321 return fCurrencySymbols.getPluralName(fPlural, localStatus); in getSymbol()
|
D | number_grouping.cpp | 20 UErrorCode localStatus = U_ZERO_ERROR; in getMinGroupingForLocale() local 21 LocalUResourceBundlePointer bundle(ures_open(NULL, locale.getName(), &localStatus)); in getMinGroupingForLocale() 27 &localStatus); in getMinGroupingForLocale() 29 if (U_FAILURE(localStatus) || resultLen != 1) { in getMinGroupingForLocale()
|
D | number_compact.cpp | 73 UErrorCode localStatus = U_ZERO_ERROR; in populate() local 74 ures_getAllItemsWithFallback(rb.getAlias(), resourceKey.data(), sink, localStatus); in populate() 77 localStatus = U_ZERO_ERROR; in populate() 78 ures_getAllItemsWithFallback(rb.getAlias(), resourceKey.data(), sink, localStatus); in populate() 82 localStatus = U_ZERO_ERROR; in populate() 83 ures_getAllItemsWithFallback(rb.getAlias(), resourceKey.data(), sink, localStatus); in populate() 87 localStatus = U_ZERO_ERROR; in populate() 88 ures_getAllItemsWithFallback(rb.getAlias(), resourceKey.data(), sink, localStatus); in populate()
|
D | numsys.cpp | 141 UErrorCode localStatus = U_ZERO_ERROR; in createInstance() local 142 LocalUResourceBundlePointer resource(ures_open(nullptr, inLocale.getName(), &localStatus)); in createInstance() 143 …nter numberElementsRes(ures_getByKey(resource.getAlias(), gNumberElements, nullptr, &localStatus)); in createInstance() 145 if (localStatus == U_MEMORY_ALLOCATION_ERROR) { in createInstance() 150 localStatus = U_ZERO_ERROR; in createInstance() 152 …Name = ures_getStringByKeyWithFallback(numberElementsRes.getAlias(), buffer, &count, &localStatus); in createInstance() 154 if (localStatus == U_MEMORY_ALLOCATION_ERROR) { in createInstance()
|
D | dcfmtsym.cpp | 539 UErrorCode localStatus = U_ZERO_ERROR; in setCurrency() local 540 LocalUResourceBundlePointer rbTop(ures_open(U_ICUDATA_CURR, locale.getName(), &localStatus)); in setCurrency() 542 ures_getByKeyWithFallback(rbTop.getAlias(), "Currencies", NULL, &localStatus)); in setCurrency() 543 ures_getByKeyWithFallback(rb.getAlias(), cc, rb.getAlias(), &localStatus); in setCurrency() 544 …if(U_SUCCESS(localStatus) && ures_getSize(rb.getAlias())>2) { // the length is 3 if more data is p… in setCurrency() 545 ures_getByIndex(rb.getAlias(), 2, rb.getAlias(), &localStatus); in setCurrency() 548 ures_getStringByIndex(rb.getAlias(), (int32_t)0, &currPatternLen, &localStatus); in setCurrency() 550 ures_getUnicodeStringByIndex(rb.getAlias(), (int32_t)1, &localStatus); in setCurrency() 552 ures_getUnicodeStringByIndex(rb.getAlias(), (int32_t)2, &localStatus); in setCurrency() 553 if(U_SUCCESS(localStatus)){ in setCurrency()
|
D | number_decimfmtprops.cpp | 141 UErrorCode localStatus = U_ZERO_ERROR; in equalsDefaultExceptFastFormat() local 142 umtx_initOnce(gDefaultPropertiesInitOnce, &initDefaultProperties, localStatus); in equalsDefaultExceptFastFormat() 147 UErrorCode localStatus = U_ZERO_ERROR; in getDefault() local 148 umtx_initOnce(gDefaultPropertiesInitOnce, &initDefaultProperties, localStatus); in getDefault()
|
D | number_rounding.cpp | 37 UErrorCode localStatus = U_ZERO_ERROR; in parseIncrementOption() local 38 dq.setToDecNumber({buffer.data(), buffer.length()}, localStatus); in parseIncrementOption() 39 if (U_FAILURE(localStatus)) { in parseIncrementOption() 243 UErrorCode localStatus = U_ZERO_ERROR; in withCurrency() local 244 Precision result = Precision::withCurrency(currency, localStatus); in withCurrency() 245 if (U_FAILURE(localStatus)) { in withCurrency() 246 return {localStatus}; in withCurrency()
|
D | number_asformat.cpp | 42 UErrorCode localStatus = U_ZERO_ERROR; in operator ==() local 43 return fFormatter.toSkeleton(localStatus) == _other->fFormatter.toSkeleton(localStatus); in operator ==()
|
D | number_currencysymbols.cpp | 118 UErrorCode localStatus = U_ZERO_ERROR; in resolveCurrency() local 120 ucurr_forLocale(locale.getName(), buf, 4, &localStatus); in resolveCurrency() 121 if (U_SUCCESS(localStatus)) { in resolveCurrency()
|
D | decimfmt.cpp | 521 UErrorCode localStatus = U_ZERO_ERROR; in format() local 524 fields->formatter.formatImpl(&output, localStatus); in format() 525 fieldPositionHelper(output, pos, appendTo.length(), localStatus); in format() 527 output.appendTo(appendable, localStatus); in format() 601 UErrorCode localStatus = U_ZERO_ERROR; in format() local 604 fields->formatter.formatImpl(&output, localStatus); in format() 605 fieldPositionHelper(output, pos, appendTo.length(), localStatus); in format() 607 output.appendTo(appendable, localStatus); in format() 1315 ErrorCode localStatus; in toPattern() local 1321 AffixUtils::hasCurrencySymbols(tprops.positivePrefixPattern, localStatus) || in toPattern() [all …]
|
D | number_mapper.cpp | 415 ErrorCode localStatus; in positiveHasPlusSign() local 416 return AffixUtils::containsType(posPrefix, TYPE_PLUS_SIGN, localStatus) || in positiveHasPlusSign() 417 AffixUtils::containsType(posSuffix, TYPE_PLUS_SIGN, localStatus); in positiveHasPlusSign() 429 ErrorCode localStatus; in negativeHasMinusSign() local 430 return AffixUtils::containsType(negPrefix, TYPE_MINUS_SIGN, localStatus) || in negativeHasMinusSign() 431 AffixUtils::containsType(negSuffix, TYPE_MINUS_SIGN, localStatus); in negativeHasMinusSign()
|
D | numrange_impl.cpp | 95 UErrorCode localStatus = U_ZERO_ERROR; in getNumberRangeData() local 96 ures_getAllItemsWithFallback(rb.getAlias(), dataPath.data(), sink, localStatus); in getNumberRangeData() 97 if (U_FAILURE(localStatus) && localStatus != U_MISSING_RESOURCE_ERROR) { in getNumberRangeData() 98 status = localStatus; in getNumberRangeData()
|
D | measunit_impl.h | 185 UErrorCode localStatus = U_ZERO_ERROR; in forCurrencyCode() local 186 result.identifier.append(currencyCode, localStatus); in forCurrencyCode()
|
D | numrange_capi.cpp | 187 UErrorCode localStatus = U_ZERO_ERROR; in unumrf_close() local 188 const UNumberRangeFormatterData* impl = UNumberRangeFormatterData::validate(f, localStatus); in unumrf_close()
|
D | dtitvinf.cpp | 441 UErrorCode localStatus = U_ZERO_ERROR; in initializeData() local 443 ures_getByKeyWithFallback(calBundle, gGenericTag, nullptr, &localStatus); in initializeData() 446 genericCalBundle, gIntervalDateTimePatternTag, nullptr, &localStatus); in initializeData() 448 genericItvDtPtnResource, gFallbackPatternTag, &resStrLen, &localStatus); in initializeData() 451 if ( U_SUCCESS(localStatus) ) { in initializeData()
|
/external/icu/icu4c/source/common/ |
D | ucurr.cpp | 524 UErrorCode localStatus = U_ZERO_ERROR; in ucurr_forLocale() local 526 currency, UPRV_LENGTHOF(currency), &localStatus); in ucurr_forLocale() 527 if (U_SUCCESS(localStatus) && resLen == 3 && uprv_isInvariantString(currency, resLen)) { in ucurr_forLocale() 562 localStatus = U_MISSING_RESOURCE_ERROR; in ucurr_forLocale() 565 localStatus = U_ZERO_ERROR; in ucurr_forLocale() 566 UResourceBundle *rb = ures_openDirect(U_ICUDATA_CURR, CURRENCY_DATA, &localStatus); in ucurr_forLocale() 567 UResourceBundle *cm = ures_getByKey(rb, CURRENCY_MAP, rb, &localStatus); in ucurr_forLocale() 568 UResourceBundle *countryArray = ures_getByKey(rb, id, cm, &localStatus); in ucurr_forLocale() 569 UResourceBundle *currencyReq = ures_getByIndex(countryArray, 0, NULL, &localStatus); in ucurr_forLocale() 570 s = ures_getStringByKey(currencyReq, "id", &resLen, &localStatus); in ucurr_forLocale() [all …]
|
D | ucnvdisp.cpp | 43 UErrorCode localStatus = U_ZERO_ERROR; in ucnv_getDisplayName() local 62 name=ures_getStringByKey(rb, cnv->sharedData->staticData->name, &length, &localStatus); in ucnv_getDisplayName() 65 if(U_SUCCESS(localStatus)) { in ucnv_getDisplayName() 68 *pErrorCode = localStatus; in ucnv_getDisplayName()
|
D | static_unicode_sets.cpp | 214 UErrorCode localStatus = U_ZERO_ERROR; in get() local 215 umtx_initOnce(gNumberParseUniSetsInitOnce, &initNumberParseUniSets, localStatus); in get() 216 if (U_FAILURE(localStatus)) { in get()
|
D | locdispnames.cpp | 359 UErrorCode localStatus; in _getDisplayNameForComponent() local 372 localStatus = U_ZERO_ERROR; in _getDisplayNameForComponent() 373 length=(*getter)(locale, localeBuffer, sizeof(localeBuffer), &localStatus); in _getDisplayNameForComponent() 374 if(U_FAILURE(localStatus) || localStatus==U_STRING_NOT_TERMINATED_WARNING) { in _getDisplayNameForComponent()
|
/external/icu/libicu/cts_headers/ |
D | measunit_impl.h | 185 UErrorCode localStatus = U_ZERO_ERROR; in forCurrencyCode() local 186 result.identifier.append(currencyCode, localStatus); in forCurrencyCode()
|
/external/icu/icu4c/source/io/ |
D | uprntf_p.cpp | 345 UErrorCode localStatus = U_ZERO_ERROR; in u_printf_double_handler() local 346 u_printf_reset_sign(format, info, prefixBuffer, &prefixBufferLen, &localStatus); in u_printf_double_handler() 412 UErrorCode localStatus = U_ZERO_ERROR; in u_printf_integer_handler() local 413 u_printf_reset_sign(format, info, prefixBuffer, &prefixBufferLen, &localStatus); in u_printf_integer_handler() 673 UErrorCode localStatus = U_ZERO_ERROR; in u_printf_scientific_handler() local 674 u_printf_reset_sign(format, info, prefixBuffer, &prefixBufferLen, &localStatus); in u_printf_scientific_handler() 748 UErrorCode localStatus = U_ZERO_ERROR; in u_printf_percent_handler() local 749 u_printf_reset_sign(format, info, prefixBuffer, &prefixBufferLen, &localStatus); in u_printf_percent_handler() 951 UErrorCode localStatus = U_ZERO_ERROR; in u_printf_spellout_handler() local 952 u_printf_reset_sign(format, info, prefixBuffer, &prefixBufferLen, &localStatus); in u_printf_spellout_handler()
|
/external/cldr/tools/java/org/unicode/cldr/api/ |
D | CldrPath.java | 210 /* @Nullable */ CldrPath parent, /* @Nullable */ CldrDraftStatus localStatus) { in resolveDraftStatus() argument 214 return localStatus != null ? localStatus.asOptional() : Optional.empty(); in resolveDraftStatus()
|