Home
last modified time | relevance | path

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

/external/chromium_org/third_party/icu/source/i18n/
Dulocdata.c110 UErrorCode localStatus = U_ZERO_ERROR; in ulocdata_getExemplarSet() local
115 exemplarChars = ures_getStringByKey(uld->bundle, exemplarSetTypes[extype], &len, &localStatus); in ulocdata_getExemplarSet()
116 if ( (localStatus == U_USING_DEFAULT_WARNING) && uld->noSubstitute ) { in ulocdata_getExemplarSet()
117 localStatus = U_MISSING_RESOURCE_ERROR; in ulocdata_getExemplarSet()
120 if (localStatus != U_ZERO_ERROR) { in ulocdata_getExemplarSet()
121 *status = localStatus; in ulocdata_getExemplarSet()
152 UErrorCode localStatus = U_ZERO_ERROR; in ulocdata_getDelimiter() local
157 delimiterBundle = ures_getByKey(uld->bundle, "delimiters", NULL, &localStatus); in ulocdata_getDelimiter()
159 if ( (localStatus == U_USING_DEFAULT_WARNING) && uld->noSubstitute ) { in ulocdata_getDelimiter()
160 localStatus = U_MISSING_RESOURCE_ERROR; in ulocdata_getDelimiter()
[all …]
Ddcfmtsym.cpp260 UErrorCode localStatus = U_ZERO_ERROR; in initialize() local
263 gNumberElementKeys[i], &len, &localStatus); in initialize()
266 if ( U_FAILURE(localStatus) ) { in initialize()
267 localStatus = U_ZERO_ERROR; in initialize()
269 … gNumberElementKeys[i], &len, &localStatus); in initialize()
273 … gNumberElementKeys[i], &len, &localStatus); in initialize()
276 if ( U_SUCCESS(localStatus) ) { in initialize()
322 UErrorCode localStatus = U_ZERO_ERROR; in initialize() local
323 uccLen = ucurr_forLocale(locName, ucc, uccLen, &localStatus); in initialize()
325 if(U_SUCCESS(localStatus) && uccLen > 0) { in initialize()
[all …]
Ducurr.cpp554 UErrorCode localStatus = U_ZERO_ERROR; in ucurr_forLocale() local
556 …f ((resLen = uloc_getKeywordValue(locale, "currency", id, ULOC_FULLNAME_CAPACITY, &localStatus))) { in ucurr_forLocale()
587 UResourceBundle *rb = ures_openDirect(U_ICUDATA_CURR, CURRENCY_DATA, &localStatus); in ucurr_forLocale()
588 UResourceBundle *cm = ures_getByKey(rb, CURRENCY_MAP, rb, &localStatus); in ucurr_forLocale()
589 UResourceBundle *countryArray = ures_getByKey(rb, id, cm, &localStatus); in ucurr_forLocale()
590 UResourceBundle *currencyReq = ures_getByIndex(countryArray, 0, NULL, &localStatus); in ucurr_forLocale()
591 s = ures_getStringByKey(currencyReq, "id", &resLen, &localStatus); in ucurr_forLocale()
600 if (U_SUCCESS(localStatus)) { in ucurr_forLocale()
602 currencyReq = ures_getByIndex(countryArray, 1, currencyReq, &localStatus); in ucurr_forLocale()
603 s = ures_getStringByKey(currencyReq, "id", &resLen, &localStatus); in ucurr_forLocale()
[all …]
Dnumsys.cpp128 UErrorCode localStatus = U_ZERO_ERROR; in createInstance() local
129 UResourceBundle *resource = ures_open(NULL, inLocale.getName(), &localStatus); in createInstance()
130 … UResourceBundle *numberElementsRes = ures_getByKey(resource,gNumberElements,NULL,&localStatus); in createInstance()
132 localStatus = U_ZERO_ERROR; in createInstance()
134 …t UChar *nsName = ures_getStringByKeyWithFallback(numberElementsRes, buffer, &count, &localStatus); in createInstance()
Dregexcmp.cpp4173 UErrorCode localStatus = U_ZERO_ERROR; in createSetForProperty() local
4181 addCategory(set, U_GC_CN_MASK, localStatus); in createSetForProperty()
4185 addCategory(set, U_GC_ND_MASK, localStatus); in createSetForProperty()
4188 addIdentifierIgnorable(set, localStatus); in createSetForProperty()
4194 addCategory(set, U_GC_L_MASK, localStatus); in createSetForProperty()
4195 addCategory(set, U_GC_SC_MASK, localStatus); in createSetForProperty()
4196 addCategory(set, U_GC_PC_MASK, localStatus); in createSetForProperty()
4197 addCategory(set, U_GC_ND_MASK, localStatus); in createSetForProperty()
4198 addCategory(set, U_GC_NL_MASK, localStatus); in createSetForProperty()
4199 addCategory(set, U_GC_MC_MASK, localStatus); in createSetForProperty()
[all …]
Dmsgfmt.cpp1573 UErrorCode localStatus = U_ZERO_ERROR; // ignore unrecognized default rule set in makeRBNF() local
1574 fmt->setDefaultRuleSet(defaultRuleSet, localStatus); in makeRBNF()
/external/icu/icu4c/source/i18n/
Dulocdata.c110 UErrorCode localStatus = U_ZERO_ERROR; in ulocdata_getExemplarSet() local
115 exemplarChars = ures_getStringByKey(uld->bundle, exemplarSetTypes[extype], &len, &localStatus); in ulocdata_getExemplarSet()
116 if ( (localStatus == U_USING_DEFAULT_WARNING) && uld->noSubstitute ) { in ulocdata_getExemplarSet()
117 localStatus = U_MISSING_RESOURCE_ERROR; in ulocdata_getExemplarSet()
120 if (localStatus != U_ZERO_ERROR) { in ulocdata_getExemplarSet()
121 *status = localStatus; in ulocdata_getExemplarSet()
152 UErrorCode localStatus = U_ZERO_ERROR; in ulocdata_getDelimiter() local
157 delimiterBundle = ures_getByKey(uld->bundle, "delimiters", NULL, &localStatus); in ulocdata_getDelimiter()
159 if ( (localStatus == U_USING_DEFAULT_WARNING) && uld->noSubstitute ) { in ulocdata_getDelimiter()
160 localStatus = U_MISSING_RESOURCE_ERROR; in ulocdata_getDelimiter()
[all …]
Ddcfmtsym.cpp260 UErrorCode localStatus = U_ZERO_ERROR; in initialize() local
263 gNumberElementKeys[i], &len, &localStatus); in initialize()
266 if ( U_FAILURE(localStatus) ) { in initialize()
267 localStatus = U_ZERO_ERROR; in initialize()
269 … gNumberElementKeys[i], &len, &localStatus); in initialize()
273 … gNumberElementKeys[i], &len, &localStatus); in initialize()
276 if ( U_SUCCESS(localStatus) ) { in initialize()
322 UErrorCode localStatus = U_ZERO_ERROR; in initialize() local
323 uccLen = ucurr_forLocale(locName, ucc, uccLen, &localStatus); in initialize()
325 if(U_SUCCESS(localStatus) && uccLen > 0) { in initialize()
[all …]
Ducurr.cpp554 UErrorCode localStatus = U_ZERO_ERROR; in ucurr_forLocale() local
556 …f ((resLen = uloc_getKeywordValue(locale, "currency", id, ULOC_FULLNAME_CAPACITY, &localStatus))) { in ucurr_forLocale()
587 UResourceBundle *rb = ures_openDirect(U_ICUDATA_CURR, CURRENCY_DATA, &localStatus); in ucurr_forLocale()
588 UResourceBundle *cm = ures_getByKey(rb, CURRENCY_MAP, rb, &localStatus); in ucurr_forLocale()
589 UResourceBundle *countryArray = ures_getByKey(rb, id, cm, &localStatus); in ucurr_forLocale()
590 UResourceBundle *currencyReq = ures_getByIndex(countryArray, 0, NULL, &localStatus); in ucurr_forLocale()
591 s = ures_getStringByKey(currencyReq, "id", &resLen, &localStatus); in ucurr_forLocale()
600 if (U_SUCCESS(localStatus)) { in ucurr_forLocale()
602 currencyReq = ures_getByIndex(countryArray, 1, currencyReq, &localStatus); in ucurr_forLocale()
603 s = ures_getStringByKey(currencyReq, "id", &resLen, &localStatus); in ucurr_forLocale()
[all …]
Dnumsys.cpp128 UErrorCode localStatus = U_ZERO_ERROR; in createInstance() local
129 UResourceBundle *resource = ures_open(NULL, inLocale.getName(), &localStatus); in createInstance()
130 … UResourceBundle *numberElementsRes = ures_getByKey(resource,gNumberElements,NULL,&localStatus); in createInstance()
132 localStatus = U_ZERO_ERROR; in createInstance()
134 …t UChar *nsName = ures_getStringByKeyWithFallback(numberElementsRes, buffer, &count, &localStatus); in createInstance()
Dregexcmp.cpp4174 UErrorCode localStatus = U_ZERO_ERROR; in createSetForProperty() local
4182 addCategory(set, U_GC_CN_MASK, localStatus); in createSetForProperty()
4186 addCategory(set, U_GC_ND_MASK, localStatus); in createSetForProperty()
4189 addIdentifierIgnorable(set, localStatus); in createSetForProperty()
4195 addCategory(set, U_GC_L_MASK, localStatus); in createSetForProperty()
4196 addCategory(set, U_GC_SC_MASK, localStatus); in createSetForProperty()
4197 addCategory(set, U_GC_PC_MASK, localStatus); in createSetForProperty()
4198 addCategory(set, U_GC_ND_MASK, localStatus); in createSetForProperty()
4199 addCategory(set, U_GC_NL_MASK, localStatus); in createSetForProperty()
4200 addCategory(set, U_GC_MC_MASK, localStatus); in createSetForProperty()
[all …]
Dmsgfmt.cpp1573 UErrorCode localStatus = U_ZERO_ERROR; // ignore unrecognized default rule set in makeRBNF() local
1574 fmt->setDefaultRuleSet(defaultRuleSet, localStatus); in makeRBNF()
/external/icu/icu4c/source/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.cpp357 UErrorCode localStatus; in _getDisplayNameForComponent() local
370 localStatus = U_ZERO_ERROR; in _getDisplayNameForComponent()
371 length=(*getter)(locale, localeBuffer, sizeof(localeBuffer), &localStatus); in _getDisplayNameForComponent()
372 if(U_FAILURE(localStatus) || localStatus==U_STRING_NOT_TERMINATED_WARNING) { in _getDisplayNameForComponent()
Drbbiscan.cpp1150 UErrorCode localStatus = U_ZERO_ERROR; in scanSet() local
1153 localStatus = U_MEMORY_ALLOCATION_ERROR; in scanSet()
1155 uset->applyPatternIgnoreSpace(fRB->fRules, pos, fSymbolTable, localStatus); in scanSet()
1157 if (U_FAILURE(localStatus)) { in scanSet()
1163 error(localStatus); in scanSet()
Ducnv_bld.cpp1137 UErrorCode localStatus = U_ZERO_ERROR; in initAvailableConvertersList() local
1139 ucnv_close(ucnv_createConverter(&tempConverter, NULL, &localStatus)); in initAvailableConvertersList()
1144 localStatus = U_ZERO_ERROR; in initAvailableConvertersList()
1145 const char *converterName = uenum_next(allConvEnum, NULL, &localStatus); in initAvailableConvertersList()
1146 if (ucnv_canCreateConverter(converterName, &localStatus)) { in initAvailableConvertersList()
/external/chromium_org/third_party/icu/source/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.cpp357 UErrorCode localStatus; in _getDisplayNameForComponent() local
370 localStatus = U_ZERO_ERROR; in _getDisplayNameForComponent()
371 length=(*getter)(locale, localeBuffer, sizeof(localeBuffer), &localStatus); in _getDisplayNameForComponent()
372 if(U_FAILURE(localStatus) || localStatus==U_STRING_NOT_TERMINATED_WARNING) { in _getDisplayNameForComponent()
Drbbiscan.cpp1150 UErrorCode localStatus = U_ZERO_ERROR; in scanSet() local
1153 localStatus = U_MEMORY_ALLOCATION_ERROR; in scanSet()
1155 uset->applyPatternIgnoreSpace(fRB->fRules, pos, fSymbolTable, localStatus); in scanSet()
1157 if (U_FAILURE(localStatus)) { in scanSet()
1163 error(localStatus); in scanSet()
Ducnv_bld.cpp1146 UErrorCode localStatus = U_ZERO_ERROR; in initAvailableConvertersList() local
1148 ucnv_close(ucnv_createConverter(&tempConverter, NULL, &localStatus)); in initAvailableConvertersList()
1153 localStatus = U_ZERO_ERROR; in initAvailableConvertersList()
1154 const char *converterName = uenum_next(allConvEnum, NULL, &localStatus); in initAvailableConvertersList()
1155 if (ucnv_canCreateConverter(converterName, &localStatus)) { in initAvailableConvertersList()
/external/icu/icu4c/source/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/chromium_org/third_party/icu/source/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/chromium_org/third_party/icu/source/tools/genrb/
Dreslist.c923 UErrorCode localStatus = U_ZERO_ERROR; /* if failure: just don't detect dups */ in string_open() local
924 bundle->fStringSet = uhash_open(string_hash, string_comp, string_comp, &localStatus); in string_open()