Lines Matching refs:localStatus
269 UErrorCode localStatus = U_ZERO_ERROR; in initialize() local
272 gNumberElementKeys[i], &len, &localStatus); in initialize()
275 if ( U_FAILURE(localStatus) ) { in initialize()
276 localStatus = U_ZERO_ERROR; in initialize()
278 … gNumberElementKeys[i], &len, &localStatus); in initialize()
282 … gNumberElementKeys[i], &len, &localStatus); in initialize()
285 if ( U_SUCCESS(localStatus) ) { in initialize()
331 UErrorCode localStatus = U_ZERO_ERROR; in initialize() local
332 uccLen = ucurr_forLocale(locName, ucc, uccLen, &localStatus); in initialize()
334 if(U_SUCCESS(localStatus) && uccLen > 0) { in initialize()
338 … LocalUResourceBundlePointer currencyResource(ures_open(U_ICUDATA_CURR, locStr, &localStatus)); in initialize()
340 … ures_getByKeyWithFallback(currencyResource.getAlias(), "Currencies", NULL, &localStatus)); in initialize()
341 ures_getByKeyWithFallback(currency.getAlias(), cc, currency.getAlias(), &localStatus); in initialize()
342 …if(U_SUCCESS(localStatus) && ures_getSize(currency.getAlias())>2) { // the length is 3 if more dat… in initialize()
343 ures_getByIndex(currency.getAlias(), 2, currency.getAlias(), &localStatus); in initialize()
346 … ures_getStringByIndex(currency.getAlias(), (int32_t)0, &currPatternLen, &localStatus); in initialize()
348 ures_getUnicodeStringByIndex(currency.getAlias(), (int32_t)1, &localStatus); in initialize()
350 ures_getUnicodeStringByIndex(currency.getAlias(), (int32_t)2, &localStatus); in initialize()
351 if(U_SUCCESS(localStatus)){ in initialize()
355 status = localStatus; in initialize()
364 localStatus = U_ZERO_ERROR; in initialize()
365 LocalUResourceBundlePointer currencyResource(ures_open(U_ICUDATA_CURR, locStr, &localStatus)); in initialize()
368 gCurrencySpacingTag, NULL, &localStatus)); in initialize()
370 if (localStatus == U_USING_FALLBACK_WARNING || U_SUCCESS(localStatus)) { in initialize()
374 localStatus = U_ZERO_ERROR; in initialize()
377 gBeforeCurrencyTag, NULL, &localStatus)); in initialize()
378 if (localStatus == U_USING_FALLBACK_WARNING || U_SUCCESS(localStatus)) { in initialize()
379 localStatus = U_ZERO_ERROR; in initialize()
382 ures_getUnicodeStringByKey(dataRes.getAlias(), keywords[i], &localStatus); in initialize()
387 gAfterCurrencyTag, NULL, &localStatus)); in initialize()
388 if (localStatus == U_USING_FALLBACK_WARNING || U_SUCCESS(localStatus)) { in initialize()
389 localStatus = U_ZERO_ERROR; in initialize()
392 ures_getUnicodeStringByKey(dataRes.getAlias(), keywords[i], &localStatus); in initialize()