Home | History | Annotate | Download | only in i18n

Lines Matching refs: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;
1842 UErrorCode localStatus = U_ZERO_ERROR;
1845 UResourceBundle *rb = ures_openDirect(U_ICUDATA_CURR, CURRENCY_DATA, &localStatus);
1846 UResourceBundle *currencyMapArray = ures_getByKey(rb, CURRENCY_MAP, rb, &localStatus);
1848 if (U_SUCCESS(localStatus)) {
1852 UResourceBundle *currencyArray = ures_getByIndex(currencyMapArray, i, NULL, &localStatus);
1854 if (U_SUCCESS(localStatus)) {
1857 UResourceBundle *currencyRes = ures_getByIndex(currencyArray, j, NULL, &localStatus);
1866 UResourceBundle *idRes = ures_getByKey(currencyRes, "id", NULL, &localStatus);
1870 const UChar *isoCode = ures_getString(idRes, &isoLength, &localStatus);
1874 UResourceBundle *fromRes = ures_getByKey(currencyRes, "from", NULL, &localStatus);
1876 if (U_SUCCESS(localStatus)) {
1878 const int32_t *fromArray = ures_getIntVector(fromRes, &fromLength, &localStatus);
1887 localStatus = U_ZERO_ERROR;
1888 UResourceBundle *toRes = ures_getByKey(currencyRes, "to", NULL, &localStatus);
1890 if (U_SUCCESS(localStatus)) {
1892 const int32_t *toArray = ures_getIntVector(toRes, &toLength, &localStatus);
1906 localStatus = U_ZERO_ERROR;
1907 uhash_put(gIsoCodes, (UChar *)isoCode, entry, &localStatus);
1910 *status = localStatus;
1915 *status = localStatus;
2007 UErrorCode localStatus = U_ZERO_ERROR;
2009 uloc_getKeywordValue(locale, "currency", id, ULOC_FULLNAME_CAPACITY, &localStatus);
2026 UResourceBundle *rb = ures_openDirect(U_ICUDATA_CURR, CURRENCY_DATA, &localStatus);
2027 UResourceBundle *cm = ures_getByKey(rb, CURRENCY_MAP, rb, &localStatus);
2030 UResourceBundle *countryArray = ures_getByKey(rb, id, cm, &localStatus);
2033 if (U_SUCCESS(localStatus))
2038 UResourceBundle *currencyRes = ures_getByIndex(countryArray, i, NULL, &localStatus);
2042 UResourceBundle *fromRes = ures_getByKey(currencyRes, "from", NULL, &localStatus);
2043 const int32_t *fromArray = ures_getIntVector(fromRes, &fromLength, &localStatus);
2052 UResourceBundle *toRes = ures_getByKey(currencyRes, "to", NULL, &localStatus);
2053 const int32_t *toArray = ures_getIntVector(toRes, &toLength, &localStatus);
2079 } // end if (U_SUCCESS(localStatus))
2084 if (*ec == U_ZERO_ERROR || localStatus != U_ZERO_ERROR)
2088 *ec = localStatus;
2122 UErrorCode localStatus = U_ZERO_ERROR;
2124 resLen = uloc_getKeywordValue(locale, "currency", id, ULOC_FULLNAME_CAPACITY, &localStatus);
2141 UResourceBundle *rb = ures_openDirect(U_ICUDATA_CURR, CURRENCY_DATA, &localStatus);
2142 UResourceBundle *cm = ures_getByKey(rb, CURRENCY_MAP, rb, &localStatus);
2145 UResourceBundle *countryArray = ures_getByKey(rb, id, cm, &localStatus);
2149 if (U_SUCCESS(localStatus))
2161 UResourceBundle *currencyRes = ures_getByIndex(countryArray, i, NULL, &localStatus);
2162 s = ures_getStringByKey(currencyRes, "id", &resLen, &localStatus);
2166 UResourceBundle *fromRes = ures_getByKey(currencyRes, "from", NULL, &localStatus);
2167 const int32_t *fromArray = ures_getIntVector(fromRes, &fromLength, &localStatus);
2176 UResourceBundle *toRes = ures_getByKey(currencyRes, "to", NULL, &localStatus);
2177 const int32_t *toArray = ures_getIntVector(toRes, &toLength, &localStatus);
2222 if (*ec == U_ZERO_ERROR || localStatus != U_ZERO_ERROR)
2226 *ec = localStatus;