• Home
  • Raw
  • Download

Lines Matching refs:subStatus

3048     UErrorCode subStatus = U_ZERO_ERROR;  in getParentForFunctionalEquivalent()  local
3051 ures_getByKey(res, "%%Parent", bund1, &subStatus); in getParentForFunctionalEquivalent()
3052 if (U_SUCCESS(subStatus)) { in getParentForFunctionalEquivalent()
3054 ures_getUTF8String(bund1, parent, &parentLen, true, &subStatus); in getParentForFunctionalEquivalent()
3059 if (U_FAILURE(subStatus) || parent[0] == 0) { in getParentForFunctionalEquivalent()
3060 subStatus = U_ZERO_ERROR; in getParentForFunctionalEquivalent()
3061 uloc_getParent(localeID, parent, parentCapacity, &subStatus); in getParentForFunctionalEquivalent()
3078 UErrorCode subStatus = U_ZERO_ERROR; in ures_getFunctionalEquivalent() local
3084 ulocimp_getKeywordValue(locid, keyword, sink, &subStatus); in ures_getFunctionalEquivalent()
3091 ulocimp_getBaseName(locid, sink, &subStatus); in ures_getFunctionalEquivalent()
3095 locid, keyword, kwVal.data(), base.data(), u_errorName(subStatus)); in ures_getFunctionalEquivalent()
3100 base.extract(parent, UPRV_LENGTHOF(parent), subStatus); in ures_getFunctionalEquivalent()
3101 base.extract(found, UPRV_LENGTHOF(found), subStatus); in ures_getFunctionalEquivalent()
3104 UEnumeration *locEnum = ures_openAvailableLocales(path, &subStatus); in ures_getFunctionalEquivalent()
3106 if (U_SUCCESS(subStatus)) { in ures_getFunctionalEquivalent()
3107 *isAvailable = isLocaleInList(locEnum, parent, &subStatus); in ures_getFunctionalEquivalent()
3112 if(U_FAILURE(subStatus)) { in ures_getFunctionalEquivalent()
3113 *status = subStatus; in ures_getFunctionalEquivalent()
3118 subStatus = U_ZERO_ERROR; in ures_getFunctionalEquivalent()
3119 res = ures_open(path, parent, &subStatus); in ures_getFunctionalEquivalent()
3120 if(((subStatus == U_USING_FALLBACK_WARNING) || in ures_getFunctionalEquivalent()
3121 (subStatus == U_USING_DEFAULT_WARNING)) && isAvailable) in ures_getFunctionalEquivalent()
3128 …> %s [%s]\n", path?path:"ICUDATA", parent, u_errorName(subStatus), ures_getLocale(res, &subStatus)… in ures_getFunctionalEquivalent()
3130 if(U_FAILURE(subStatus)) { in ures_getFunctionalEquivalent()
3131 *status = subStatus; in ures_getFunctionalEquivalent()
3132 } else if(subStatus == U_ZERO_ERROR) { in ures_getFunctionalEquivalent()
3133 ures_getByKey(res,resName,&bund1, &subStatus); in ures_getFunctionalEquivalent()
3134 if(subStatus == U_ZERO_ERROR) { in ures_getFunctionalEquivalent()
3140 path?path:"ICUDATA", parent, u_errorName(subStatus)); in ures_getFunctionalEquivalent()
3142 defUstr = ures_getStringByKey(&bund1, DEFAULT_TAG, &defLen, &subStatus); in ures_getFunctionalEquivalent()
3143 if(U_SUCCESS(subStatus) && defLen) { in ures_getFunctionalEquivalent()
3147 path?path:"ICUDATA", parent, keyword, defVal, u_errorName(subStatus)); in ures_getFunctionalEquivalent()
3151 kwVal.append(defVal, defLen, subStatus); in ures_getFunctionalEquivalent()
3161 subStatus = U_ZERO_ERROR; in ures_getFunctionalEquivalent()
3164 uprv_strcpy(found, ures_getLocaleByType(res, ULOC_VALID_LOCALE, &subStatus)); in ures_getFunctionalEquivalent()
3176 base.extract(parent, UPRV_LENGTHOF(parent), subStatus); in ures_getFunctionalEquivalent()
3177 base.extract(found, UPRV_LENGTHOF(found), subStatus); in ures_getFunctionalEquivalent()
3180 res = ures_open(path, parent, &subStatus); in ures_getFunctionalEquivalent()
3181 if((subStatus == U_USING_FALLBACK_WARNING) && isAvailable) { in ures_getFunctionalEquivalent()
3188 path?path:"ICUDATA", parent, u_errorName(subStatus), kwVal.data()); in ures_getFunctionalEquivalent()
3190 if(U_FAILURE(subStatus)) { in ures_getFunctionalEquivalent()
3191 *status = subStatus; in ures_getFunctionalEquivalent()
3192 } else if(subStatus == U_ZERO_ERROR) { in ures_getFunctionalEquivalent()
3193 ures_getByKey(res,resName,&bund1, &subStatus); in ures_getFunctionalEquivalent()
3195 /**/ fprintf(stderr,"@%d [%s] %s\n", __LINE__, resName, u_errorName(subStatus)); in ures_getFunctionalEquivalent()
3197 if(subStatus == U_ZERO_ERROR) { in ures_getFunctionalEquivalent()
3198 ures_getByKey(&bund1, kwVal.data(), &bund2, &subStatus); in ures_getFunctionalEquivalent()
3200 /**/ fprintf(stderr,"@%d [%s] %s\n", __LINE__, kwVal.data(), u_errorName(subStatus)); in ures_getFunctionalEquivalent()
3202 if(subStatus == U_ZERO_ERROR) { in ures_getFunctionalEquivalent()
3205 path?path:"ICUDATA", parent, keyword, kwVal.data(), u_errorName(subStatus)); in ures_getFunctionalEquivalent()
3220 defUstr = ures_getStringByKey(&bund1, DEFAULT_TAG, &defLen, &subStatus); in ures_getFunctionalEquivalent()
3221 if(U_SUCCESS(subStatus) && defLen) { in ures_getFunctionalEquivalent()
3225 … path?path:"ICUDATA", full, keyword, defVal, u_errorName(subStatus)); in ures_getFunctionalEquivalent()
3238 u_errorName(subStatus), parent, kwVal.data()); in ures_getFunctionalEquivalent()
3251 subStatus = U_ZERO_ERROR; in ures_getFunctionalEquivalent()
3252 const char *validLoc = ures_getLocaleByType(res, ULOC_VALID_LOCALE, &subStatus); in ures_getFunctionalEquivalent()
3253 …if (U_SUCCESS(subStatus) && validLoc != NULL && validLoc[0] != 0 && uprv_strcmp(validLoc, "root") … in ures_getFunctionalEquivalent()
3256 uloc_getLanguage(validLoc, validLang, ULOC_LANG_CAPACITY, &subStatus); in ures_getFunctionalEquivalent()
3257 uloc_getLanguage(parent, parentLang, ULOC_LANG_CAPACITY, &subStatus); in ures_getFunctionalEquivalent()
3258 if (U_SUCCESS(subStatus) && uprv_strcmp(validLang, parentLang) != 0) { in ures_getFunctionalEquivalent()
3264 subStatus = U_ZERO_ERROR; in ures_getFunctionalEquivalent()
3272 subStatus = U_ZERO_ERROR; in ures_getFunctionalEquivalent()
3279 kwVal.clear().append(defVal, subStatus); in ures_getFunctionalEquivalent()
3280 base.extract(parent, UPRV_LENGTHOF(parent), subStatus); in ures_getFunctionalEquivalent()
3281 base.extract(found, UPRV_LENGTHOF(found), subStatus); in ures_getFunctionalEquivalent()
3284 res = ures_open(path, parent, &subStatus); in ures_getFunctionalEquivalent()
3285 if((subStatus == U_USING_FALLBACK_WARNING) && isAvailable) { in ures_getFunctionalEquivalent()
3292 path?path:"ICUDATA", parent, u_errorName(subStatus), kwVal.data()); in ures_getFunctionalEquivalent()
3294 if(U_FAILURE(subStatus)) { in ures_getFunctionalEquivalent()
3295 *status = subStatus; in ures_getFunctionalEquivalent()
3296 } else if(subStatus == U_ZERO_ERROR) { in ures_getFunctionalEquivalent()
3297 ures_getByKey(res,resName,&bund1, &subStatus); in ures_getFunctionalEquivalent()
3298 if(subStatus == U_ZERO_ERROR) { in ures_getFunctionalEquivalent()
3299 ures_getByKey(&bund1, kwVal.data(), &bund2, &subStatus); in ures_getFunctionalEquivalent()
3300 if(subStatus == U_ZERO_ERROR) { in ures_getFunctionalEquivalent()
3303 parent, keyword, kwVal.data(), u_errorName(subStatus)); in ures_getFunctionalEquivalent()
3319 defUstr = ures_getStringByKey(&bund1, DEFAULT_TAG, &defLen, &subStatus); in ures_getFunctionalEquivalent()
3320 if(U_SUCCESS(subStatus) && defLen) { in ures_getFunctionalEquivalent()
3324 … path?path:"ICUDATA", full, keyword, defVal, u_errorName(subStatus)); in ures_getFunctionalEquivalent()
3341 subStatus = U_ZERO_ERROR; in ures_getFunctionalEquivalent()
3436 UErrorCode subStatus = U_ZERO_ERROR; /* don't fail if a bundle is unopenable */ in ures_getKeywordValues() local
3437 bund = ures_open(path, locale, &subStatus); in ures_getKeywordValues()
3440 if(!bund || U_FAILURE(subStatus)) { in ures_getKeywordValues()
3442 path?path:"<ICUDATA>", keyword, locale, u_errorName(subStatus)); in ures_getKeywordValues()
3446 ures_getByKey(bund, keyword, &item, &subStatus); in ures_getKeywordValues()
3448 if(!bund || U_FAILURE(subStatus)) { in ures_getKeywordValues()
3451 path?path:"<ICUDATA>", keyword, locale, u_errorName(subStatus)); in ures_getKeywordValues()
3458 while((subPtr = ures_getNextResource(&item,&subItem,&subStatus)) != 0 in ures_getKeywordValues()
3459 && U_SUCCESS(subStatus)) { in ures_getKeywordValues()