Home | History | Annotate | Download | only in i18n

Lines Matching refs:localStatus

558             UErrorCode localStatus = U_ZERO_ERROR;
560 if ((resLen = uloc_getKeywordValue(locale, "currency", id, ULOC_FULLNAME_CAPACITY, &localStatus))) {
591 UResourceBundle *rb = ures_openDirect(U_ICUDATA_CURR, CURRENCY_DATA, &localStatus);
592 UResourceBundle *cm = ures_getByKey(rb, CURRENCY_MAP, rb, &localStatus);
593 UResourceBundle *countryArray = ures_getByKey(rb, id, cm, &localStatus);
594 UResourceBundle *currencyReq = ures_getByIndex(countryArray, 0, NULL, &localStatus);
595 s = ures_getStringByKey(currencyReq, "id", &resLen, &localStatus);
604 if (U_SUCCESS(localStatus)) {
606 currencyReq = ures_getByIndex(countryArray, 1, currencyReq, &localStatus);
607 s = ures_getStringByKey(currencyReq, "id", &resLen, &localStatus);
616 if ((U_FAILURE(localStatus)) && strchr(id, '_') != 0)
623 else if (*ec == U_ZERO_ERROR || localStatus != U_ZERO_ERROR) {
625 *ec = localStatus;
2077 UErrorCode localStatus = U_ZERO_ERROR;
2080 UResourceBundle *rb = ures_openDirect(U_ICUDATA_CURR, CURRENCY_DATA, &localStatus);
2081 UResourceBundle *currencyMapArray = ures_getByKey(rb, CURRENCY_MAP, rb, &localStatus);
2083 if (U_SUCCESS(localStatus)) {
2087 UResourceBundle *currencyArray = ures_getByIndex(currencyMapArray, i, NULL, &localStatus);
2089 if (U_SUCCESS(localStatus)) {
2092 UResourceBundle *currencyRes = ures_getByIndex(currencyArray, j, NULL, &localStatus);
2101 UResourceBundle *idRes = ures_getByKey(currencyRes, "id", NULL, &localStatus);
2105 const UChar *isoCode = ures_getString(idRes, &isoLength, &localStatus);
2109 UResourceBundle *fromRes = ures_getByKey(currencyRes, "from", NULL, &localStatus);
2111 if (U_SUCCESS(localStatus)) {
2113 const int32_t *fromArray = ures_getIntVector(fromRes, &fromLength, &localStatus);
2122 localStatus = U_ZERO_ERROR;
2123 UResourceBundle *toRes = ures_getByKey(currencyRes, "to", NULL, &localStatus);
2125 if (U_SUCCESS(localStatus)) {
2127 const int32_t *toArray = ures_getIntVector(toRes, &toLength, &localStatus);
2141 localStatus = U_ZERO_ERROR;
2142 uhash_put(isoCodes, (UChar *)isoCode, entry, &localStatus);
2145 *status = localStatus;
2150 *status = localStatus;
2280 UErrorCode localStatus = U_ZERO_ERROR;
2282 uloc_getKeywordValue(locale, "currency", id, ULOC_FULLNAME_CAPACITY, &localStatus);
2299 UResourceBundle *rb = ures_openDirect(U_ICUDATA_CURR, CURRENCY_DATA, &localStatus);
2300 UResourceBundle *cm = ures_getByKey(rb, CURRENCY_MAP, rb, &localStatus);
2303 UResourceBundle *countryArray = ures_getByKey(rb, id, cm, &localStatus);
2306 if (U_SUCCESS(localStatus))
2311 UResourceBundle *currencyRes = ures_getByIndex(countryArray, i, NULL, &localStatus);
2315 UResourceBundle *fromRes = ures_getByKey(currencyRes, "from", NULL, &localStatus);
2316 const int32_t *fromArray = ures_getIntVector(fromRes, &fromLength, &localStatus);
2325 UResourceBundle *toRes = ures_getByKey(currencyRes, "to", NULL, &localStatus);
2326 const int32_t *toArray = ures_getIntVector(toRes, &toLength, &localStatus);
2352 } // end if (U_SUCCESS(localStatus))
2357 if (*ec == U_ZERO_ERROR || localStatus != U_ZERO_ERROR)
2361 *ec = localStatus;
2395 UErrorCode localStatus = U_ZERO_ERROR;
2397 resLen = uloc_getKeywordValue(locale, "currency", id, ULOC_FULLNAME_CAPACITY, &localStatus);
2414 UResourceBundle *rb = ures_openDirect(U_ICUDATA_CURR, CURRENCY_DATA, &localStatus);
2415 UResourceBundle *cm = ures_getByKey(rb, CURRENCY_MAP, rb, &localStatus);
2418 UResourceBundle *countryArray = ures_getByKey(rb, id, cm, &localStatus);
2422 if (U_SUCCESS(localStatus))
2434 UResourceBundle *currencyRes = ures_getByIndex(countryArray, i, NULL, &localStatus);
2435 s = ures_getStringByKey(currencyRes, "id", &resLen, &localStatus);
2439 UResourceBundle *fromRes = ures_getByKey(currencyRes, "from", NULL, &localStatus);
2440 const int32_t *fromArray = ures_getIntVector(fromRes, &fromLength, &localStatus);
2449 UResourceBundle *toRes = ures_getByKey(currencyRes, "to", NULL, &localStatus);
2450 const int32_t *toArray = ures_getIntVector(toRes, &toLength, &localStatus);
2495 if (*ec == U_ZERO_ERROR || localStatus != U_ZERO_ERROR)
2499 *ec = localStatus;