Lines Matching refs:subStatus
2619 UErrorCode subStatus = U_ZERO_ERROR; in ures_getFunctionalEquivalent() local
2622 uloc_getKeywordValue(locid, keyword, kwVal, 1024-1,&subStatus); in ures_getFunctionalEquivalent()
2626 uloc_getBaseName(locid, base, 1024-1,&subStatus); in ures_getFunctionalEquivalent()
2629 locid, keyword, kwVal, base, u_errorName(subStatus)); in ures_getFunctionalEquivalent()
2639 UEnumeration *locEnum = ures_openAvailableLocales(path, &subStatus); in ures_getFunctionalEquivalent()
2641 if (U_SUCCESS(subStatus)) { in ures_getFunctionalEquivalent()
2642 *isAvailable = isLocaleInList(locEnum, parent, &subStatus); in ures_getFunctionalEquivalent()
2647 if(U_FAILURE(subStatus)) { in ures_getFunctionalEquivalent()
2648 *status = subStatus; in ures_getFunctionalEquivalent()
2653 subStatus = U_ZERO_ERROR; in ures_getFunctionalEquivalent()
2654 res = ures_open(path, parent, &subStatus); in ures_getFunctionalEquivalent()
2655 if(((subStatus == U_USING_FALLBACK_WARNING) || in ures_getFunctionalEquivalent()
2656 (subStatus == U_USING_DEFAULT_WARNING)) && isAvailable) in ures_getFunctionalEquivalent()
2663 …> %s [%s]\n", path?path:"ICUDATA", parent, u_errorName(subStatus), ures_getLocale(res, &subStatus)… in ures_getFunctionalEquivalent()
2665 if(U_FAILURE(subStatus)) { in ures_getFunctionalEquivalent()
2666 *status = subStatus; in ures_getFunctionalEquivalent()
2667 } else if(subStatus == U_ZERO_ERROR) { in ures_getFunctionalEquivalent()
2668 ures_getByKey(res,resName,&bund1, &subStatus); in ures_getFunctionalEquivalent()
2669 if(subStatus == U_ZERO_ERROR) { in ures_getFunctionalEquivalent()
2675 path?path:"ICUDATA", parent, u_errorName(subStatus)); in ures_getFunctionalEquivalent()
2677 defUstr = ures_getStringByKey(&bund1, DEFAULT_TAG, &defLen, &subStatus); in ures_getFunctionalEquivalent()
2678 if(U_SUCCESS(subStatus) && defLen) { in ures_getFunctionalEquivalent()
2682 path?path:"ICUDATA", parent, keyword, defVal, u_errorName(subStatus)); in ures_getFunctionalEquivalent()
2696 subStatus = U_ZERO_ERROR; in ures_getFunctionalEquivalent()
2699 uprv_strcpy(found, ures_getLocaleByType(res, ULOC_VALID_LOCALE, &subStatus)); in ures_getFunctionalEquivalent()
2702 uloc_getParent(found,parent,sizeof(parent),&subStatus); in ures_getFunctionalEquivalent()
2711 subStatus = U_ZERO_ERROR; in ures_getFunctionalEquivalent()
2712 res = ures_open(path, parent, &subStatus); in ures_getFunctionalEquivalent()
2713 if((subStatus == U_USING_FALLBACK_WARNING) && isAvailable) { in ures_getFunctionalEquivalent()
2720 path?path:"ICUDATA", parent, u_errorName(subStatus), kwVal); in ures_getFunctionalEquivalent()
2722 if(U_FAILURE(subStatus)) { in ures_getFunctionalEquivalent()
2723 *status = subStatus; in ures_getFunctionalEquivalent()
2724 } else if(subStatus == U_ZERO_ERROR) { in ures_getFunctionalEquivalent()
2725 ures_getByKey(res,resName,&bund1, &subStatus); in ures_getFunctionalEquivalent()
2727 /**/ fprintf(stderr,"@%d [%s] %s\n", __LINE__, resName, u_errorName(subStatus)); in ures_getFunctionalEquivalent()
2729 if(subStatus == U_ZERO_ERROR) { in ures_getFunctionalEquivalent()
2730 ures_getByKey(&bund1, kwVal, &bund2, &subStatus); in ures_getFunctionalEquivalent()
2732 /**/ fprintf(stderr,"@%d [%s] %s\n", __LINE__, kwVal, u_errorName(subStatus)); in ures_getFunctionalEquivalent()
2734 if(subStatus == U_ZERO_ERROR) { in ures_getFunctionalEquivalent()
2737 path?path:"ICUDATA", parent, keyword, kwVal, u_errorName(subStatus)); in ures_getFunctionalEquivalent()
2752 defUstr = ures_getStringByKey(&bund1, DEFAULT_TAG, &defLen, &subStatus); in ures_getFunctionalEquivalent()
2753 if(U_SUCCESS(subStatus) && defLen) { in ures_getFunctionalEquivalent()
2757 … path?path:"ICUDATA", full, keyword, defVal, u_errorName(subStatus)); in ures_getFunctionalEquivalent()
2770 u_errorName(subStatus), parent, kwVal); in ures_getFunctionalEquivalent()
2776 subStatus = U_ZERO_ERROR; in ures_getFunctionalEquivalent()
2779 uloc_getParent(found,parent,1023,&subStatus); in ures_getFunctionalEquivalent()
2792 subStatus = U_ZERO_ERROR; in ures_getFunctionalEquivalent()
2793 res = ures_open(path, parent, &subStatus); in ures_getFunctionalEquivalent()
2794 if((subStatus == U_USING_FALLBACK_WARNING) && isAvailable) { in ures_getFunctionalEquivalent()
2801 path?path:"ICUDATA", parent, u_errorName(subStatus), kwVal); in ures_getFunctionalEquivalent()
2803 if(U_FAILURE(subStatus)) { in ures_getFunctionalEquivalent()
2804 *status = subStatus; in ures_getFunctionalEquivalent()
2805 } else if(subStatus == U_ZERO_ERROR) { in ures_getFunctionalEquivalent()
2806 ures_getByKey(res,resName,&bund1, &subStatus); in ures_getFunctionalEquivalent()
2807 if(subStatus == U_ZERO_ERROR) { in ures_getFunctionalEquivalent()
2808 ures_getByKey(&bund1, kwVal, &bund2, &subStatus); in ures_getFunctionalEquivalent()
2809 if(subStatus == U_ZERO_ERROR) { in ures_getFunctionalEquivalent()
2812 parent, keyword, kwVal, u_errorName(subStatus)); in ures_getFunctionalEquivalent()
2828 defUstr = ures_getStringByKey(&bund1, DEFAULT_TAG, &defLen, &subStatus); in ures_getFunctionalEquivalent()
2829 if(U_SUCCESS(subStatus) && defLen) { in ures_getFunctionalEquivalent()
2833 … path?path:"ICUDATA", full, keyword, defVal, u_errorName(subStatus)); in ures_getFunctionalEquivalent()
2846 subStatus = U_ZERO_ERROR; in ures_getFunctionalEquivalent()
2849 uloc_getParent(found,parent,1023,&subStatus); in ures_getFunctionalEquivalent()
2945 UErrorCode subStatus = U_ZERO_ERROR; /* don't fail if a bundle is unopenable */ in ures_getKeywordValues() local
2946 bund = ures_openDirect(path, locale, &subStatus); in ures_getKeywordValues()
2949 if(!bund || U_FAILURE(subStatus)) { in ures_getKeywordValues()
2951 path?path:"<ICUDATA>", keyword, locale, u_errorName(subStatus)); in ures_getKeywordValues()
2955 ures_getByKey(bund, keyword, &item, &subStatus); in ures_getKeywordValues()
2957 if(!bund || U_FAILURE(subStatus)) { in ures_getKeywordValues()
2960 path?path:"<ICUDATA>", keyword, locale, u_errorName(subStatus)); in ures_getKeywordValues()
2967 while((subPtr = ures_getNextResource(&item,&subItem,&subStatus)) != 0 in ures_getKeywordValues()
2968 && U_SUCCESS(subStatus)) { in ures_getKeywordValues()