/external/icu4c/i18n/ |
D | ulocdata.c | 95 UErrorCode localStatus = U_ZERO_ERROR; in ulocdata_getExemplarSet() local 100 exemplarChars = ures_getStringByKey(uld->bundle, exemplarSetTypes[extype], &len, &localStatus); in ulocdata_getExemplarSet() 101 if ( (localStatus == U_USING_DEFAULT_WARNING) && uld->noSubstitute ) { in ulocdata_getExemplarSet() 102 localStatus = U_MISSING_RESOURCE_ERROR; in ulocdata_getExemplarSet() 105 if (localStatus != U_ZERO_ERROR) { in ulocdata_getExemplarSet() 106 *status = localStatus; in ulocdata_getExemplarSet() 137 UErrorCode localStatus = U_ZERO_ERROR; in ulocdata_getDelimiter() local 142 delimiterBundle = ures_getByKey(uld->bundle, "delimiters", NULL, &localStatus); in ulocdata_getDelimiter() 144 if ( (localStatus == U_USING_DEFAULT_WARNING) && uld->noSubstitute ) { in ulocdata_getDelimiter() 145 localStatus = U_MISSING_RESOURCE_ERROR; in ulocdata_getDelimiter() [all …]
|
D | dcfmtsym.cpp | 195 UErrorCode localStatus = U_ZERO_ERROR; in initialize() local 196 … UResourceBundle *currency = ures_getByKeyWithFallback(resource, "Currencies", NULL, &localStatus); in initialize() 197 currency = ures_getByKeyWithFallback(currency, cc, currency, &localStatus); in initialize() 198 …if(U_SUCCESS(localStatus) && ures_getSize(currency)>2) { // the length is 3 if more data is present in initialize() 199 currency = ures_getByIndex(currency, 2, currency, &localStatus); in initialize() 201 … currPattern = ures_getStringByIndex(currency, (int32_t)0, &currPatternLen, &localStatus); in initialize() 202 … UnicodeString decimalSep = ures_getStringByIndex(currency, (int32_t)1, NULL, &localStatus); in initialize() 203 … UnicodeString groupingSep = ures_getStringByIndex(currency, (int32_t)2, NULL, &localStatus); in initialize() 204 if(U_SUCCESS(localStatus)){ in initialize() 208 status = localStatus; in initialize()
|
D | ucurr.cpp | 344 UErrorCode localStatus = U_ZERO_ERROR; in ucurr_forLocale() local 346 …f ((resLen = uloc_getKeywordValue(locale, "currency", id, ULOC_FULLNAME_CAPACITY, &localStatus))) { in ucurr_forLocale() 375 UResourceBundle *rb = ures_openDirect(NULL, CURRENCY_DATA, &localStatus); in ucurr_forLocale() 376 UResourceBundle *cm = ures_getByKey(rb, CURRENCY_MAP, rb, &localStatus); in ucurr_forLocale() 377 UResourceBundle *countryArray = ures_getByKey(rb, id, cm, &localStatus); in ucurr_forLocale() 378 UResourceBundle *currencyReq = ures_getByIndex(countryArray, 0, NULL, &localStatus); in ucurr_forLocale() 379 s = ures_getStringByKey(currencyReq, "id", &resLen, &localStatus); in ucurr_forLocale() 388 if (U_SUCCESS(localStatus)) { in ucurr_forLocale() 390 currencyReq = ures_getByIndex(countryArray, 1, currencyReq, &localStatus); in ucurr_forLocale() 391 s = ures_getStringByKey(currencyReq, "id", &resLen, &localStatus); in ucurr_forLocale() [all …]
|
/external/icu4c/common/ |
D | ucnvdisp.c | 41 UErrorCode localStatus = U_ZERO_ERROR; in ucnv_getDisplayName() local 60 name=ures_getStringByKey(rb, cnv->sharedData->staticData->name, &length, &localStatus); in ucnv_getDisplayName() 63 if(U_SUCCESS(localStatus)) { in ucnv_getDisplayName() 66 *pErrorCode = localStatus; in ucnv_getDisplayName()
|
D | ucnv_bld.c | 1044 UErrorCode localStatus; in haveAvailableConverterList() local 1062 localStatus = U_ZERO_ERROR; in haveAvailableConverterList() 1063 ucnv_close(ucnv_createConverter(&tempConverter, NULL, &localStatus)); in haveAvailableConverterList() 1068 localStatus = U_ZERO_ERROR; in haveAvailableConverterList() 1069 converterName = uenum_next(allConvEnum, NULL, &localStatus); in haveAvailableConverterList() 1070 ucnv_close(ucnv_createConverter(&tempConverter, converterName, &localStatus)); in haveAvailableConverterList() 1071 if (U_SUCCESS(localStatus)) { in haveAvailableConverterList()
|
D | rbbiscan.cpp | 1134 UErrorCode localStatus = U_ZERO_ERROR; in scanSet() local 1137 localStatus); in scanSet() 1138 if (U_FAILURE(localStatus)) { in scanSet() 1144 error(localStatus); in scanSet()
|
D | uloc.c | 2225 UErrorCode localStatus; in _getDisplayNameForComponent() local 2237 localStatus = U_ZERO_ERROR; in _getDisplayNameForComponent() 2238 length=(*getter)(locale, localeBuffer, sizeof(localeBuffer), &localStatus); in _getDisplayNameForComponent() 2239 if(U_FAILURE(localStatus) || localStatus==U_STRING_NOT_TERMINATED_WARNING) { in _getDisplayNameForComponent()
|
/external/icu4c/io/ |
D | uprntf_p.c | 338 UErrorCode localStatus = U_ZERO_ERROR; in u_printf_double_handler() local 339 u_printf_reset_sign(format, info, prefixBuffer, &prefixBufferLen, &localStatus); in u_printf_double_handler() 405 UErrorCode localStatus = U_ZERO_ERROR; in u_printf_integer_handler() local 406 u_printf_reset_sign(format, info, prefixBuffer, &prefixBufferLen, &localStatus); in u_printf_integer_handler() 663 UErrorCode localStatus = U_ZERO_ERROR; in u_printf_scientific_handler() local 664 u_printf_reset_sign(format, info, prefixBuffer, &prefixBufferLen, &localStatus); in u_printf_scientific_handler() 738 UErrorCode localStatus = U_ZERO_ERROR; in u_printf_percent_handler() local 739 u_printf_reset_sign(format, info, prefixBuffer, &prefixBufferLen, &localStatus); in u_printf_percent_handler() 930 UErrorCode localStatus = U_ZERO_ERROR; in u_printf_spellout_handler() local 931 u_printf_reset_sign(format, info, prefixBuffer, &prefixBufferLen, &localStatus); in u_printf_spellout_handler()
|
D | uscanf_p.c | 347 UErrorCode localStatus = U_ZERO_ERROR; in u_scanf_skip_leading_positive_sign() local 354 &localStatus); in u_scanf_skip_leading_positive_sign() 356 if (U_SUCCESS(localStatus)) { in u_scanf_skip_leading_positive_sign()
|