Home
last modified time | relevance | path

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

/external/icu4c/i18n/
Dulocdata.c108 UErrorCode localStatus = U_ZERO_ERROR; in ulocdata_getExemplarSet() local
113 exemplarChars = ures_getStringByKey(uld->bundle, exemplarSetTypes[extype], &len, &localStatus); in ulocdata_getExemplarSet()
114 if ( (localStatus == U_USING_DEFAULT_WARNING) && uld->noSubstitute ) { in ulocdata_getExemplarSet()
115 localStatus = U_MISSING_RESOURCE_ERROR; in ulocdata_getExemplarSet()
118 if (localStatus != U_ZERO_ERROR) { in ulocdata_getExemplarSet()
119 *status = localStatus; in ulocdata_getExemplarSet()
150 UErrorCode localStatus = U_ZERO_ERROR; in ulocdata_getDelimiter() local
155 delimiterBundle = ures_getByKey(uld->bundle, "delimiters", NULL, &localStatus); in ulocdata_getDelimiter()
157 if ( (localStatus == U_USING_DEFAULT_WARNING) && uld->noSubstitute ) { in ulocdata_getDelimiter()
158 localStatus = U_MISSING_RESOURCE_ERROR; in ulocdata_getDelimiter()
[all …]
Ddcfmtsym.cpp250 UErrorCode localStatus = U_ZERO_ERROR; in initialize() local
252 … sym = ures_getStringByKeyWithFallback(nonLatnSymbols,gNumberElementKeys[i],&len,&localStatus); in initialize()
255 if ( U_FAILURE(localStatus) ) { in initialize()
256 localStatus = U_ZERO_ERROR; in initialize()
257 … sym = ures_getStringByKeyWithFallback(latnSymbols,gNumberElementKeys[i],&len,&localStatus); in initialize()
260 … sym = ures_getStringByKeyWithFallback(latnSymbols,gNumberElementKeys[i],&len,&localStatus); in initialize()
263 if ( U_SUCCESS(localStatus) ) { in initialize()
319 UErrorCode localStatus = U_ZERO_ERROR; in initialize() local
320 uccLen = ucurr_forLocale(locName, ucc, uccLen, &localStatus); in initialize()
322 if(U_SUCCESS(localStatus) && uccLen > 0) { in initialize()
[all …]
Ducurr.cpp404 UErrorCode localStatus = U_ZERO_ERROR; in ucurr_forLocale() local
406 …f ((resLen = uloc_getKeywordValue(locale, "currency", id, ULOC_FULLNAME_CAPACITY, &localStatus))) { in ucurr_forLocale()
437 UResourceBundle *rb = ures_openDirect(U_ICUDATA_CURR, CURRENCY_DATA, &localStatus); in ucurr_forLocale()
438 UResourceBundle *cm = ures_getByKey(rb, CURRENCY_MAP, rb, &localStatus); in ucurr_forLocale()
439 UResourceBundle *countryArray = ures_getByKey(rb, id, cm, &localStatus); in ucurr_forLocale()
440 UResourceBundle *currencyReq = ures_getByIndex(countryArray, 0, NULL, &localStatus); in ucurr_forLocale()
441 s = ures_getStringByKey(currencyReq, "id", &resLen, &localStatus); in ucurr_forLocale()
450 if (U_SUCCESS(localStatus)) { in ucurr_forLocale()
452 currencyReq = ures_getByIndex(countryArray, 1, currencyReq, &localStatus); in ucurr_forLocale()
453 s = ures_getStringByKey(currencyReq, "id", &resLen, &localStatus); in ucurr_forLocale()
[all …]
Dregexcmp.cpp4157 UErrorCode localStatus = U_ZERO_ERROR; in createSetForProperty() local
4165 addCategory(set, U_GC_CN_MASK, localStatus); in createSetForProperty()
4169 addCategory(set, U_GC_ND_MASK, localStatus); in createSetForProperty()
4172 addIdentifierIgnorable(set, localStatus); in createSetForProperty()
4178 addCategory(set, U_GC_L_MASK, localStatus); in createSetForProperty()
4179 addCategory(set, U_GC_SC_MASK, localStatus); in createSetForProperty()
4180 addCategory(set, U_GC_PC_MASK, localStatus); in createSetForProperty()
4181 addCategory(set, U_GC_ND_MASK, localStatus); in createSetForProperty()
4182 addCategory(set, U_GC_NL_MASK, localStatus); in createSetForProperty()
4183 addCategory(set, U_GC_MC_MASK, localStatus); in createSetForProperty()
[all …]
Dmsgfmt.cpp1443 UErrorCode localStatus = U_ZERO_ERROR; // ignore unrecognized default rule set in makeRBNF() local
1444 fmt->setDefaultRuleSet(defaultRuleSet, localStatus); in makeRBNF()
/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()
Dlocdispnames.cpp356 UErrorCode localStatus; in _getDisplayNameForComponent() local
369 localStatus = U_ZERO_ERROR; in _getDisplayNameForComponent()
370 length=(*getter)(locale, localeBuffer, sizeof(localeBuffer), &localStatus); in _getDisplayNameForComponent()
371 if(U_FAILURE(localStatus) || localStatus==U_STRING_NOT_TERMINATED_WARNING) { in _getDisplayNameForComponent()
Drbbiscan.cpp1148 UErrorCode localStatus = U_ZERO_ERROR; in scanSet() local
1151 localStatus); in scanSet()
1153 localStatus = U_MEMORY_ALLOCATION_ERROR; in scanSet()
1155 if (U_FAILURE(localStatus)) { in scanSet()
1161 error(localStatus); in scanSet()
Ducnv_bld.c1117 UErrorCode localStatus; in haveAvailableConverterList() local
1135 localStatus = U_ZERO_ERROR; in haveAvailableConverterList()
1136 ucnv_close(ucnv_createConverter(&tempConverter, NULL, &localStatus)); in haveAvailableConverterList()
1141 localStatus = U_ZERO_ERROR; in haveAvailableConverterList()
1142 converterName = uenum_next(allConvEnum, NULL, &localStatus); in haveAvailableConverterList()
1143 if (ucnv_canCreateConverter(converterName, &localStatus)) { in haveAvailableConverterList()
/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()
936 UErrorCode localStatus = U_ZERO_ERROR; in u_printf_spellout_handler() local
937 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()
/external/icu4c/tools/genrb/
Dreslist.c921 UErrorCode localStatus = U_ZERO_ERROR; /* if failure: just don't detect dups */ in string_open() local
922 bundle->fStringSet = uhash_open(string_hash, string_comp, string_comp, &localStatus); in string_open()