Home | History | Annotate | Download | only in i18n

Lines Matching defs:localStatus

251                 UErrorCode localStatus = U_ZERO_ERROR;
253 sym = ures_getStringByKeyWithFallback(nonLatnSymbols,gNumberElementKeys[i],&len,&localStatus);
256 if ( U_FAILURE(localStatus) ) {
257 localStatus = U_ZERO_ERROR;
258 sym = ures_getStringByKeyWithFallback(latnSymbols,gNumberElementKeys[i],&len,&localStatus);
261 sym = ures_getStringByKeyWithFallback(latnSymbols,gNumberElementKeys[i],&len,&localStatus);
264 if ( U_SUCCESS(localStatus) ) {
320 UErrorCode localStatus = U_ZERO_ERROR;
321 uccLen = ucurr_forLocale(locName, ucc, uccLen, &localStatus);
323 if(U_SUCCESS(localStatus) && uccLen > 0) {
327 UResourceBundle *currencyResource = ures_open(U_ICUDATA_CURR, locStr, &localStatus);
328 UResourceBundle *currency = ures_getByKeyWithFallback(currencyResource, "Currencies", NULL, &localStatus);
329 currency = ures_getByKeyWithFallback(currency, cc, currency, &localStatus);
330 if(U_SUCCESS(localStatus) && ures_getSize(currency)>2) { // the length is 3 if more data is present
331 currency = ures_getByIndex(currency, 2, currency, &localStatus);
333 currPattern = ures_getStringByIndex(currency, (int32_t)0, &currPatternLen, &localStatus);
334 UnicodeString decimalSep = ures_getUnicodeStringByIndex(currency, (int32_t)1, &localStatus);
335 UnicodeString groupingSep = ures_getUnicodeStringByIndex(currency, (int32_t)2, &localStatus);
336 if(U_SUCCESS(localStatus)){
340 status = localStatus;
351 localStatus = U_ZERO_ERROR;
352 UResourceBundle *currencyResource = ures_open(U_ICUDATA_CURR, locStr, &localStatus);
354 gCurrencySpacingTag, NULL, &localStatus);
356 if (localStatus == U_USING_FALLBACK_WARNING || U_SUCCESS(localStatus)) {
360 localStatus = U_ZERO_ERROR;
362 gBeforeCurrencyTag, NULL, &localStatus);
363 if (localStatus == U_USING_FALLBACK_WARNING || U_SUCCESS(localStatus)) {
364 localStatus = U_ZERO_ERROR;
366 currencySpcBeforeSym[i] = ures_getUnicodeStringByKey(dataRes, keywords[i], &localStatus);
371 gAfterCurrencyTag, NULL, &localStatus);
372 if (localStatus == U_USING_FALLBACK_WARNING || U_SUCCESS(localStatus)) {
373 localStatus = U_ZERO_ERROR;
375 currencySpcAfterSym[i] = ures_getUnicodeStringByKey(dataRes, keywords[i], &localStatus);