Lines Matching refs:errorCode
52 UErrorCode errorCode; in uloc_getTableStringWithFallback() local
59 errorCode=U_ZERO_ERROR; in uloc_getTableStringWithFallback()
60 rb=ures_open(path, locale, &errorCode); in uloc_getTableStringWithFallback()
62 if(U_FAILURE(errorCode)) { in uloc_getTableStringWithFallback()
64 *pErrorCode=errorCode; in uloc_getTableStringWithFallback()
66 } else if(errorCode==U_USING_DEFAULT_WARNING || in uloc_getTableStringWithFallback()
67 (errorCode==U_USING_FALLBACK_WARNING && *pErrorCode!=U_USING_DEFAULT_WARNING) in uloc_getTableStringWithFallback()
70 *pErrorCode=errorCode; in uloc_getTableStringWithFallback()
76 ures_getByKeyWithFallback(rb, tableKey, &table, &errorCode); in uloc_getTableStringWithFallback()
88 ures_getByKeyWithFallback(&table,subTableKey, &table, &errorCode); in uloc_getTableStringWithFallback()
90 if(U_SUCCESS(errorCode)){ in uloc_getTableStringWithFallback()
91 item = ures_getStringByKeyWithFallback(&table, itemKey, pLength, &errorCode); in uloc_getTableStringWithFallback()
92 if(U_FAILURE(errorCode)){ in uloc_getTableStringWithFallback()
94 *pErrorCode = errorCode; /*save the errorCode*/ in uloc_getTableStringWithFallback()
95 errorCode = U_ZERO_ERROR; in uloc_getTableStringWithFallback()
104 … item = ures_getStringByKeyWithFallback(&table, replacement, pLength, &errorCode); in uloc_getTableStringWithFallback()
105 if(U_SUCCESS(errorCode)){ in uloc_getTableStringWithFallback()
106 *pErrorCode = errorCode; in uloc_getTableStringWithFallback()
115 if(U_FAILURE(errorCode)){ in uloc_getTableStringWithFallback()
120 *pErrorCode = errorCode; in uloc_getTableStringWithFallback()
121 errorCode = U_ZERO_ERROR; in uloc_getTableStringWithFallback()
123 fallbackLocale = ures_getStringByKeyWithFallback(&table, "Fallback", &len, &errorCode); in uloc_getTableStringWithFallback()
124 if(U_FAILURE(errorCode)){ in uloc_getTableStringWithFallback()
125 *pErrorCode = errorCode; in uloc_getTableStringWithFallback()
137 rb = ures_open(path, explicitFallbackName, &errorCode); in uloc_getTableStringWithFallback()
138 if(U_FAILURE(errorCode)){ in uloc_getTableStringWithFallback()
139 *pErrorCode = errorCode; in uloc_getTableStringWithFallback()