• Home
  • Raw
  • Download

Lines Matching refs:localStatus

554             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()
612 if ((U_FAILURE(localStatus)) && strchr(id, '_') != 0) in ucurr_forLocale()
619 else if (*ec == U_ZERO_ERROR || localStatus != U_ZERO_ERROR) { in ucurr_forLocale()
621 *ec = localStatus; in ucurr_forLocale()
2020 UErrorCode localStatus = U_ZERO_ERROR; in ucurr_createCurrencyList() local
2023 UResourceBundle *rb = ures_openDirect(U_ICUDATA_CURR, CURRENCY_DATA, &localStatus); in ucurr_createCurrencyList()
2024 UResourceBundle *currencyMapArray = ures_getByKey(rb, CURRENCY_MAP, rb, &localStatus); in ucurr_createCurrencyList()
2026 if (U_SUCCESS(localStatus)) { in ucurr_createCurrencyList()
2030 … UResourceBundle *currencyArray = ures_getByIndex(currencyMapArray, i, NULL, &localStatus); in ucurr_createCurrencyList()
2032 if (U_SUCCESS(localStatus)) { in ucurr_createCurrencyList()
2035 … UResourceBundle *currencyRes = ures_getByIndex(currencyArray, j, NULL, &localStatus); in ucurr_createCurrencyList()
2044 UResourceBundle *idRes = ures_getByKey(currencyRes, "id", NULL, &localStatus); in ucurr_createCurrencyList()
2048 const UChar *isoCode = ures_getString(idRes, &isoLength, &localStatus); in ucurr_createCurrencyList()
2052 … UResourceBundle *fromRes = ures_getByKey(currencyRes, "from", NULL, &localStatus); in ucurr_createCurrencyList()
2054 if (U_SUCCESS(localStatus)) { in ucurr_createCurrencyList()
2056 … const int32_t *fromArray = ures_getIntVector(fromRes, &fromLength, &localStatus); in ucurr_createCurrencyList()
2065 localStatus = U_ZERO_ERROR; in ucurr_createCurrencyList()
2066 UResourceBundle *toRes = ures_getByKey(currencyRes, "to", NULL, &localStatus); in ucurr_createCurrencyList()
2068 if (U_SUCCESS(localStatus)) { in ucurr_createCurrencyList()
2070 const int32_t *toArray = ures_getIntVector(toRes, &toLength, &localStatus); in ucurr_createCurrencyList()
2084 localStatus = U_ZERO_ERROR; in ucurr_createCurrencyList()
2085 uhash_put(isoCodes, (UChar *)isoCode, entry, &localStatus); in ucurr_createCurrencyList()
2088 *status = localStatus; in ucurr_createCurrencyList()
2093 *status = localStatus; in ucurr_createCurrencyList()
2223 UErrorCode localStatus = U_ZERO_ERROR; in ucurr_countCurrencies() local
2225 uloc_getKeywordValue(locale, "currency", id, ULOC_FULLNAME_CAPACITY, &localStatus); in ucurr_countCurrencies()
2242 UResourceBundle *rb = ures_openDirect(U_ICUDATA_CURR, CURRENCY_DATA, &localStatus); in ucurr_countCurrencies()
2243 UResourceBundle *cm = ures_getByKey(rb, CURRENCY_MAP, rb, &localStatus); in ucurr_countCurrencies()
2246 UResourceBundle *countryArray = ures_getByKey(rb, id, cm, &localStatus); in ucurr_countCurrencies()
2249 if (U_SUCCESS(localStatus)) in ucurr_countCurrencies()
2254 UResourceBundle *currencyRes = ures_getByIndex(countryArray, i, NULL, &localStatus); in ucurr_countCurrencies()
2258 UResourceBundle *fromRes = ures_getByKey(currencyRes, "from", NULL, &localStatus); in ucurr_countCurrencies()
2259 const int32_t *fromArray = ures_getIntVector(fromRes, &fromLength, &localStatus); in ucurr_countCurrencies()
2268 UResourceBundle *toRes = ures_getByKey(currencyRes, "to", NULL, &localStatus); in ucurr_countCurrencies()
2269 const int32_t *toArray = ures_getIntVector(toRes, &toLength, &localStatus); in ucurr_countCurrencies()
2300 if (*ec == U_ZERO_ERROR || localStatus != U_ZERO_ERROR) in ucurr_countCurrencies()
2304 *ec = localStatus; in ucurr_countCurrencies()
2338 UErrorCode localStatus = U_ZERO_ERROR; in ucurr_forLocaleAndDate() local
2340 … resLen = uloc_getKeywordValue(locale, "currency", id, ULOC_FULLNAME_CAPACITY, &localStatus); in ucurr_forLocaleAndDate()
2357 UResourceBundle *rb = ures_openDirect(U_ICUDATA_CURR, CURRENCY_DATA, &localStatus); in ucurr_forLocaleAndDate()
2358 UResourceBundle *cm = ures_getByKey(rb, CURRENCY_MAP, rb, &localStatus); in ucurr_forLocaleAndDate()
2361 UResourceBundle *countryArray = ures_getByKey(rb, id, cm, &localStatus); in ucurr_forLocaleAndDate()
2365 if (U_SUCCESS(localStatus)) in ucurr_forLocaleAndDate()
2377 … UResourceBundle *currencyRes = ures_getByIndex(countryArray, i, NULL, &localStatus); in ucurr_forLocaleAndDate()
2378 s = ures_getStringByKey(currencyRes, "id", &resLen, &localStatus); in ucurr_forLocaleAndDate()
2382 … UResourceBundle *fromRes = ures_getByKey(currencyRes, "from", NULL, &localStatus); in ucurr_forLocaleAndDate()
2383 … const int32_t *fromArray = ures_getIntVector(fromRes, &fromLength, &localStatus); in ucurr_forLocaleAndDate()
2392 … UResourceBundle *toRes = ures_getByKey(currencyRes, "to", NULL, &localStatus); in ucurr_forLocaleAndDate()
2393 const int32_t *toArray = ures_getIntVector(toRes, &toLength, &localStatus); in ucurr_forLocaleAndDate()
2438 if (*ec == U_ZERO_ERROR || localStatus != U_ZERO_ERROR) in ucurr_forLocaleAndDate()
2442 *ec = localStatus; in ucurr_forLocaleAndDate()