Home
last modified time | relevance | path

Searched refs:localStatus (Results 1 – 9 of 9) sorted by relevance

/external/icu4c/i18n/
Dulocdata.c95 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 …]
Ddcfmtsym.cpp195 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()
Ducurr.cpp344 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/
Ducnvdisp.c41 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()
Ducnv_bld.c1044 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()
Drbbiscan.cpp1134 UErrorCode localStatus = U_ZERO_ERROR; in scanSet() local
1137 localStatus); in scanSet()
1138 if (U_FAILURE(localStatus)) { in scanSet()
1144 error(localStatus); in scanSet()
Duloc.c2225 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/
Duprntf_p.c338 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()
Duscanf_p.c347 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()