Home
last modified time | relevance | path

Searched refs:subStatus (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/common/
Dfilteredbrk.cpp484 UErrorCode subStatus = U_ZERO_ERROR; in SimpleFilteredBreakIteratorBuilder() local
485 … LocalUResourceBundlePointer b(ures_open(U_ICUDATA_BRKITR, fromLocale.getBaseName(), &subStatus)); in SimpleFilteredBreakIteratorBuilder()
486 if (U_FAILURE(subStatus) || (subStatus == U_USING_DEFAULT_WARNING) ) { in SimpleFilteredBreakIteratorBuilder()
487 status = subStatus; // copy the failing status in SimpleFilteredBreakIteratorBuilder()
493 …eBundlePointer exceptions(ures_getByKeyWithFallback(b.getAlias(), "exceptions", NULL, &subStatus)); in SimpleFilteredBreakIteratorBuilder()
494 if (U_FAILURE(subStatus) || (subStatus == U_USING_DEFAULT_WARNING) ) { in SimpleFilteredBreakIteratorBuilder()
495 status = subStatus; // copy the failing status in SimpleFilteredBreakIteratorBuilder()
501 …ointer breaks(ures_getByKeyWithFallback(exceptions.getAlias(), "SentenceBreak", NULL, &subStatus)); in SimpleFilteredBreakIteratorBuilder()
505 UErrorCode subsub = subStatus; in SimpleFilteredBreakIteratorBuilder()
506 …\n", fromLocale.getBaseName(), ures_getLocale(breaks.getAlias(), &subsub), u_errorName(subStatus)); in SimpleFilteredBreakIteratorBuilder()
[all …]
Dicuplug.cpp390 UErrorCode subStatus = U_ZERO_ERROR; in uplug_deallocatePlug() local
393 uplug_closeLibrary(plug->lib, &subStatus); in uplug_deallocatePlug()
397 if(U_SUCCESS(*status) && U_FAILURE(subStatus)) { in uplug_deallocatePlug()
398 *status = subStatus; in uplug_deallocatePlug()
603 UErrorCode subStatus = U_ZERO_ERROR; in uplug_initPlugFromLibrary() local
604 …config,"ERROR: Could not load entrypoint",(lib==NULL)?U_MISSING_RESOURCE_ERROR:*status,&subStatus); in uplug_initPlugFromLibrary()
607 UErrorCode subStatus = U_ZERO_ERROR; in uplug_initPlugFromLibrary() local
608 uplug_closeLibrary(lib, &subStatus); /* don't care here */ in uplug_initPlugFromLibrary()
611 UErrorCode subStatus = U_ZERO_ERROR; in uplug_initPlugFromLibrary() local
612 …ym,config,"ERROR: could not load library",(lib==NULL)?U_MISSING_RESOURCE_ERROR:*status,&subStatus); in uplug_initPlugFromLibrary()
[all …]
Duresbund.cpp2619 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()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcdattst.c146 UErrorCode subStatus = U_ZERO_ERROR; in TestDateFormat() local
148 any = udat_open(UDAT_SHORT, UDAT_SHORT, udat_getAvailable(i), NULL ,0, NULL, 0, &subStatus); in TestDateFormat()
149 if(U_FAILURE(subStatus)) { in TestDateFormat()
150 …%s (getAvailable(%d)) is not instantiable: %s\n", udat_getAvailable(i), i, u_errorName(subStatus)); in TestDateFormat()
1338 UErrorCode subStatus = U_ZERO_ERROR; in TestRelativeCrash() local
1341 udat_set2DigitYearStart(icudf, aDate, &subStatus); in TestRelativeCrash()
1342 if(subStatus == expectStatus) { in TestRelativeCrash()
1343 … log_verbose("Success: did not crash on %s, but got %s.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1345 …t crash on %s, but got success %s instead of %s. \n", what, u_errorName(subStatus), u_errorName(ex… in TestRelativeCrash()
1350 UErrorCode subStatus = U_ZERO_ERROR; in TestRelativeCrash() local
[all …]