Lines Matching defs:localStatus
399 UErrorCode localStatus = U_ZERO_ERROR;
401 if ((resLen = uloc_getKeywordValue(locale, "currency", id, ULOC_FULLNAME_CAPACITY, &localStatus))) {
432 UResourceBundle *rb = ures_openDirect(U_ICUDATA_CURR, CURRENCY_DATA, &localStatus);
433 UResourceBundle *cm = ures_getByKey(rb, CURRENCY_MAP, rb, &localStatus);
434 UResourceBundle *countryArray = ures_getByKey(rb, id, cm, &localStatus);
435 UResourceBundle *currencyReq = ures_getByIndex(countryArray, 0, NULL, &localStatus);
436 s = ures_getStringByKey(currencyReq, "id", &resLen, &localStatus);
445 if (U_SUCCESS(localStatus)) {
447 currencyReq = ures_getByIndex(countryArray, 1, currencyReq, &localStatus);
448 s = ures_getStringByKey(currencyReq, "id", &resLen, &localStatus);
457 if ((U_FAILURE(localStatus)) && strchr(id, '_') != 0)
464 else if (*ec == U_ZERO_ERROR || localStatus != U_ZERO_ERROR) {
466 *ec = localStatus;
1846 UErrorCode localStatus = U_ZERO_ERROR;
1849 UResourceBundle *rb = ures_openDirect(U_ICUDATA_CURR, CURRENCY_DATA, &localStatus);
1850 UResourceBundle *currencyMapArray = ures_getByKey(rb, CURRENCY_MAP, rb, &localStatus);
1852 if (U_SUCCESS(localStatus)) {
1856 UResourceBundle *currencyArray = ures_getByIndex(currencyMapArray, i, NULL, &localStatus);
1858 if (U_SUCCESS(localStatus)) {
1861 UResourceBundle *currencyRes = ures_getByIndex(currencyArray, j, NULL, &localStatus);
1870 UResourceBundle *idRes = ures_getByKey(currencyRes, "id", NULL, &localStatus);
1874 const UChar *isoCode = ures_getString(idRes, &isoLength, &localStatus);
1878 UResourceBundle *fromRes = ures_getByKey(currencyRes, "from", NULL, &localStatus);
1880 if (U_SUCCESS(localStatus)) {
1882 const int32_t *fromArray = ures_getIntVector(fromRes, &fromLength, &localStatus);
1891 localStatus = U_ZERO_ERROR;
1892 UResourceBundle *toRes = ures_getByKey(currencyRes, "to", NULL, &localStatus);
1894 if (U_SUCCESS(localStatus)) {
1896 const int32_t *toArray = ures_getIntVector(toRes, &toLength, &localStatus);
1910 localStatus = U_ZERO_ERROR;
1911 uhash_put(gIsoCodes, (UChar *)isoCode, entry, &localStatus);
1914 *status = localStatus;
1919 *status = localStatus;
2011 UErrorCode localStatus = U_ZERO_ERROR;
2013 uloc_getKeywordValue(locale, "currency", id, ULOC_FULLNAME_CAPACITY, &localStatus);
2030 UResourceBundle *rb = ures_openDirect(U_ICUDATA_CURR, CURRENCY_DATA, &localStatus);
2031 UResourceBundle *cm = ures_getByKey(rb, CURRENCY_MAP, rb, &localStatus);
2034 UResourceBundle *countryArray = ures_getByKey(rb, id, cm, &localStatus);
2037 if (U_SUCCESS(localStatus))
2042 UResourceBundle *currencyRes = ures_getByIndex(countryArray, i, NULL, &localStatus);
2046 UResourceBundle *fromRes = ures_getByKey(currencyRes, "from", NULL, &localStatus);
2047 const int32_t *fromArray = ures_getIntVector(fromRes, &fromLength, &localStatus);
2056 UResourceBundle *toRes = ures_getByKey(currencyRes, "to", NULL, &localStatus);
2057 const int32_t *toArray = ures_getIntVector(toRes, &toLength, &localStatus);
2083 } // end if (U_SUCCESS(localStatus))
2088 if (*ec == U_ZERO_ERROR || localStatus != U_ZERO_ERROR)
2092 *ec = localStatus;
2126 UErrorCode localStatus = U_ZERO_ERROR;
2128 resLen = uloc_getKeywordValue(locale, "currency", id, ULOC_FULLNAME_CAPACITY, &localStatus);
2145 UResourceBundle *rb = ures_openDirect(U_ICUDATA_CURR, CURRENCY_DATA, &localStatus);
2146 UResourceBundle *cm = ures_getByKey(rb, CURRENCY_MAP, rb, &localStatus);
2149 UResourceBundle *countryArray = ures_getByKey(rb, id, cm, &localStatus);
2153 if (U_SUCCESS(localStatus))
2165 UResourceBundle *currencyRes = ures_getByIndex(countryArray, i, NULL, &localStatus);
2166 s = ures_getStringByKey(currencyRes, "id", &resLen, &localStatus);
2170 UResourceBundle *fromRes = ures_getByKey(currencyRes, "from", NULL, &localStatus);
2171 const int32_t *fromArray = ures_getIntVector(fromRes, &fromLength, &localStatus);
2180 UResourceBundle *toRes = ures_getByKey(currencyRes, "to", NULL, &localStatus);
2181 const int32_t *toArray = ures_getIntVector(toRes, &toLength, &localStatus);
2226 if (*ec == U_ZERO_ERROR || localStatus != U_ZERO_ERROR)
2230 *ec = localStatus;