Lines Matching defs:subStatus
2423 UErrorCode subStatus = U_ZERO_ERROR;
2426 uloc_getKeywordValue(locid, keyword, kwVal, 1024-1,&subStatus);
2430 uloc_getBaseName(locid, base, 1024-1,&subStatus);
2433 locid, keyword, kwVal, base, u_errorName(subStatus));
2443 UEnumeration *locEnum = ures_openAvailableLocales(path, &subStatus);
2445 if (U_SUCCESS(subStatus)) {
2446 *isAvailable = isLocaleInList(locEnum, parent, &subStatus);
2451 if(U_FAILURE(subStatus)) {
2452 *status = subStatus;
2457 subStatus = U_ZERO_ERROR;
2458 res = ures_open(path, parent, &subStatus);
2459 if(((subStatus == U_USING_FALLBACK_WARNING) ||
2460 (subStatus == U_USING_DEFAULT_WARNING)) && isAvailable)
2467 fprintf(stderr, "%s;%s -> %s [%s]\n", path?path:"ICUDATA", parent, u_errorName(subStatus), ures_getLocale(res, &subStatus));
2469 if(U_FAILURE(subStatus)) {
2470 *status = subStatus;
2471 } else if(subStatus == U_ZERO_ERROR) {
2472 ures_getByKey(res,resName,&bund1, &subStatus);
2473 if(subStatus == U_ZERO_ERROR) {
2479 path?path:"ICUDATA", parent, u_errorName(subStatus));
2481 defUstr = ures_getStringByKey(&bund1, DEFAULT_TAG, &defLen, &subStatus);
2482 if(U_SUCCESS(subStatus) && defLen) {
2486 path?path:"ICUDATA", parent, keyword, defVal, u_errorName(subStatus));
2500 subStatus = U_ZERO_ERROR;
2503 uprv_strcpy(found, ures_getLocaleByType(res, ULOC_VALID_LOCALE, &subStatus));
2506 uloc_getParent(found,parent,sizeof(parent),&subStatus);
2515 subStatus = U_ZERO_ERROR;
2516 res = ures_open(path, parent, &subStatus);
2517 if((subStatus == U_USING_FALLBACK_WARNING) && isAvailable) {
2524 path?path:"ICUDATA", parent, u_errorName(subStatus), kwVal);
2526 if(U_FAILURE(subStatus)) {
2527 *status = subStatus;
2528 } else if(subStatus == U_ZERO_ERROR) {
2529 ures_getByKey(res,resName,&bund1, &subStatus);
2531 /**/ fprintf(stderr,"@%d [%s] %s\n", __LINE__, resName, u_errorName(subStatus));
2533 if(subStatus == U_ZERO_ERROR) {
2534 ures_getByKey(&bund1, kwVal, &bund2, &subStatus);
2536 /**/ fprintf(stderr,"@%d [%s] %s\n", __LINE__, kwVal, u_errorName(subStatus));
2538 if(subStatus == U_ZERO_ERROR) {
2541 path?path:"ICUDATA", parent, keyword, kwVal, u_errorName(subStatus));
2556 defUstr = ures_getStringByKey(&bund1, DEFAULT_TAG, &defLen, &subStatus);
2557 if(U_SUCCESS(subStatus) && defLen) {
2561 path?path:"ICUDATA", full, keyword, defVal, u_errorName(subStatus));
2574 u_errorName(subStatus), parent, kwVal);
2580 subStatus = U_ZERO_ERROR;
2583 uloc_getParent(found,parent,1023,&subStatus);
2596 subStatus = U_ZERO_ERROR;
2597 res = ures_open(path, parent, &subStatus);
2598 if((subStatus == U_USING_FALLBACK_WARNING) && isAvailable) {
2605 path?path:"ICUDATA", parent, u_errorName(subStatus), kwVal);
2607 if(U_FAILURE(subStatus)) {
2608 *status = subStatus;
2609 } else if(subStatus == U_ZERO_ERROR) {
2610 ures_getByKey(res,resName,&bund1, &subStatus);
2611 if(subStatus == U_ZERO_ERROR) {
2612 ures_getByKey(&bund1, kwVal, &bund2, &subStatus);
2613 if(subStatus == U_ZERO_ERROR) {
2616 parent, keyword, kwVal, u_errorName(subStatus));
2632 defUstr = ures_getStringByKey(&bund1, DEFAULT_TAG, &defLen, &subStatus);
2633 if(U_SUCCESS(subStatus) && defLen) {
2637 path?path:"ICUDATA", full, keyword, defVal, u_errorName(subStatus));
2650 subStatus = U_ZERO_ERROR;
2653 uloc_getParent(found,parent,1023,&subStatus);
2749 UErrorCode subStatus = U_ZERO_ERROR; /* don't fail if a bundle is unopenable */
2750 bund = ures_openDirect(path, locale, &subStatus);
2753 if(!bund || U_FAILURE(subStatus)) {
2755 path?path:"<ICUDATA>", keyword, locale, u_errorName(subStatus));
2759 ures_getByKey(bund, keyword, &item, &subStatus);
2761 if(!bund || U_FAILURE(subStatus)) {
2764 path?path:"<ICUDATA>", keyword, locale, u_errorName(subStatus));
2771 while((subPtr = ures_getNextResource(&item,&subItem,&subStatus))
2772 && U_SUCCESS(subStatus)) {