Lines Matching refs:subStatus
2539 UErrorCode subStatus = U_ZERO_ERROR;
2542 uloc_getKeywordValue(locid, keyword, kwVal, 1024-1,&subStatus);
2546 uloc_getBaseName(locid, base, 1024-1,&subStatus);
2549 locid, keyword, kwVal, base, u_errorName(subStatus));
2559 UEnumeration *locEnum = ures_openAvailableLocales(path, &subStatus);
2561 if (U_SUCCESS(subStatus)) {
2562 *isAvailable = isLocaleInList(locEnum, parent, &subStatus);
2567 if(U_FAILURE(subStatus)) {
2568 *status = subStatus;
2573 subStatus = U_ZERO_ERROR;
2574 res = ures_open(path, parent, &subStatus);
2575 if(((subStatus == U_USING_FALLBACK_WARNING) ||
2576 (subStatus == U_USING_DEFAULT_WARNING)) && isAvailable)
2583 fprintf(stderr, "%s;%s -> %s [%s]\n", path?path:"ICUDATA", parent, u_errorName(subStatus), ures_getLocale(res, &subStatus));
2585 if(U_FAILURE(subStatus)) {
2586 *status = subStatus;
2587 } else if(subStatus == U_ZERO_ERROR) {
2588 ures_getByKey(res,resName,&bund1, &subStatus);
2589 if(subStatus == U_ZERO_ERROR) {
2595 path?path:"ICUDATA", parent, u_errorName(subStatus));
2597 defUstr = ures_getStringByKey(&bund1, DEFAULT_TAG, &defLen, &subStatus);
2598 if(U_SUCCESS(subStatus) && defLen) {
2602 path?path:"ICUDATA", parent, keyword, defVal, u_errorName(subStatus));
2616 subStatus = U_ZERO_ERROR;
2619 uprv_strcpy(found, ures_getLocaleByType(res, ULOC_VALID_LOCALE, &subStatus));
2622 uloc_getParent(found,parent,sizeof(parent),&subStatus);
2631 subStatus = U_ZERO_ERROR;
2632 res = ures_open(path, parent, &subStatus);
2633 if((subStatus == U_USING_FALLBACK_WARNING) && isAvailable) {
2640 path?path:"ICUDATA", parent, u_errorName(subStatus), kwVal);
2642 if(U_FAILURE(subStatus)) {
2643 *status = subStatus;
2644 } else if(subStatus == U_ZERO_ERROR) {
2645 ures_getByKey(res,resName,&bund1, &subStatus);
2647 /**/ fprintf(stderr,"@%d [%s] %s\n", __LINE__, resName, u_errorName(subStatus));
2649 if(subStatus == U_ZERO_ERROR) {
2650 ures_getByKey(&bund1, kwVal, &bund2, &subStatus);
2652 /**/ fprintf(stderr,"@%d [%s] %s\n", __LINE__, kwVal, u_errorName(subStatus));
2654 if(subStatus == U_ZERO_ERROR) {
2657 path?path:"ICUDATA", parent, keyword, kwVal, u_errorName(subStatus));
2672 defUstr = ures_getStringByKey(&bund1, DEFAULT_TAG, &defLen, &subStatus);
2673 if(U_SUCCESS(subStatus) && defLen) {
2677 path?path:"ICUDATA", full, keyword, defVal, u_errorName(subStatus));
2690 u_errorName(subStatus), parent, kwVal);
2696 subStatus = U_ZERO_ERROR;
2699 uloc_getParent(found,parent,1023,&subStatus);
2712 subStatus = U_ZERO_ERROR;
2713 res = ures_open(path, parent, &subStatus);
2714 if((subStatus == U_USING_FALLBACK_WARNING) && isAvailable) {
2721 path?path:"ICUDATA", parent, u_errorName(subStatus), kwVal);
2723 if(U_FAILURE(subStatus)) {
2724 *status = subStatus;
2725 } else if(subStatus == U_ZERO_ERROR) {
2726 ures_getByKey(res,resName,&bund1, &subStatus);
2727 if(subStatus == U_ZERO_ERROR) {
2728 ures_getByKey(&bund1, kwVal, &bund2, &subStatus);
2729 if(subStatus == U_ZERO_ERROR) {
2732 parent, keyword, kwVal, u_errorName(subStatus));
2748 defUstr = ures_getStringByKey(&bund1, DEFAULT_TAG, &defLen, &subStatus);
2749 if(U_SUCCESS(subStatus) && defLen) {
2753 subStatus));
2766 subStatus = U_ZERO_ERROR;
2769 uloc_getParent(found,parent,1023,&subStatus);
2865 UErrorCode subStatus = U_ZERO_ERROR; /* don't fail if a bundle is unopenable */
2866 bund = ures_openDirect(path, locale, &subStatus);
2869 if(!bund || U_FAILURE(subStatus)) {
2871 path?path:"<ICUDATA>", keyword, locale, u_errorName(subStatus));
2875 ures_getByKey(bund, keyword, &item, &subStatus);
2877 if(!bund || U_FAILURE(subStatus)) {
2880 path?path:"<ICUDATA>", keyword, locale, u_errorName(subStatus));
2887 while((subPtr = ures_getNextResource(&item,&subItem,&subStatus))
2888 && U_SUCCESS(subStatus)) {