Home
last modified time | relevance | path

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

/third_party/icu/tools/multi/proj/provider/
Dcolldiff.cpp67 UErrorCode subStatus = U_ZERO_ERROR; in main() local
73 Collator *col = Collator::createInstance(Locale(locID),subStatus); in main()
74 if(U_FAILURE(subStatus)) { in main()
75 printf("ERR: %s\n", u_errorName(subStatus)); in main()
86 UCollator *col = ucol_openFromShortString(xbuf2, false,NULL, &subStatus); in main()
88 UCollator *col = ucol_open(locID, &subStatus); in main()
90 if(U_FAILURE(subStatus)) { in main()
91 printf("ERR: %s\n", u_errorName(subStatus)); in main()
98 int32_t def = ucol_getShortDefinitionString(col,locID/*NULL*/,xbuf3,200,&subStatus); in main()
99 if(U_FAILURE(subStatus)) { in main()
[all …]
Ddatediff.cpp74 UErrorCode subStatus = U_ZERO_ERROR; in main()
77 UDateFormat *dat = udat_open(styles[s],styles[s], locID, NULL, -1, NULL, 0, &subStatus); in main()
79 if(U_FAILURE(subStatus)) { in main()
80 printf("ERR: %s\n", u_errorName(subStatus)); in main()
84 int32_t len = udat_format(dat, stuff, outchars, 200, NULL, &subStatus); in main()
88 u_strToUTF8(utf8, 200, NULL, outchars, len, &subStatus); in main()
Dcaldiff.cpp74 UErrorCode subStatus = U_ZERO_ERROR; in main() local
77 LocalPointer<Calendar> cal(Calendar::createInstance(Locale(locID), subStatus)); in main()
79 if(U_FAILURE(subStatus)) { in main()
80 printf("ERR: %s\n", u_errorName(subStatus)); in main()
/third_party/node/deps/icu-small/source/common/
Dfilteredbrk.cpp510 UErrorCode subStatus = U_ZERO_ERROR; in SimpleFilteredBreakIteratorBuilder() local
511 … LocalUResourceBundlePointer b(ures_open(U_ICUDATA_BRKITR, fromLocale.getBaseName(), &subStatus)); in SimpleFilteredBreakIteratorBuilder()
512 if (U_FAILURE(subStatus) || (subStatus == U_USING_DEFAULT_WARNING) ) { in SimpleFilteredBreakIteratorBuilder()
513 status = subStatus; // copy the failing status in SimpleFilteredBreakIteratorBuilder()
519 …ndlePointer exceptions(ures_getByKeyWithFallback(b.getAlias(), "exceptions", nullptr, &subStatus)); in SimpleFilteredBreakIteratorBuilder()
520 if (U_FAILURE(subStatus) || (subStatus == U_USING_DEFAULT_WARNING) ) { in SimpleFilteredBreakIteratorBuilder()
521 status = subStatus; // copy the failing status in SimpleFilteredBreakIteratorBuilder()
527 …ter breaks(ures_getByKeyWithFallback(exceptions.getAlias(), "SentenceBreak", nullptr, &subStatus)); in SimpleFilteredBreakIteratorBuilder()
531 UErrorCode subsub = subStatus; in SimpleFilteredBreakIteratorBuilder()
532 …\n", fromLocale.getBaseName(), ures_getLocale(breaks.getAlias(), &subsub), u_errorName(subStatus)); in SimpleFilteredBreakIteratorBuilder()
[all …]
Duresbund.cpp3048 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()
[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 …fig,"ERROR: Could not load entrypoint",(lib==nullptr)?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 …config,"ERROR: could not load library",(lib==nullptr)?U_MISSING_RESOURCE_ERROR:*status,&subStatus); in uplug_initPlugFromLibrary()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Dfilteredbrk.cpp511 UErrorCode subStatus = U_ZERO_ERROR; in SimpleFilteredBreakIteratorBuilder() local
512 … LocalUResourceBundlePointer b(ures_open(U_ICUDATA_BRKITR, fromLocale.getBaseName(), &subStatus)); in SimpleFilteredBreakIteratorBuilder()
513 if (U_FAILURE(subStatus) || (subStatus == U_USING_DEFAULT_WARNING) ) { in SimpleFilteredBreakIteratorBuilder()
514 status = subStatus; // copy the failing status in SimpleFilteredBreakIteratorBuilder()
520 …eBundlePointer exceptions(ures_getByKeyWithFallback(b.getAlias(), "exceptions", NULL, &subStatus)); in SimpleFilteredBreakIteratorBuilder()
521 if (U_FAILURE(subStatus) || (subStatus == U_USING_DEFAULT_WARNING) ) { in SimpleFilteredBreakIteratorBuilder()
522 status = subStatus; // copy the failing status in SimpleFilteredBreakIteratorBuilder()
528 …ointer breaks(ures_getByKeyWithFallback(exceptions.getAlias(), "SentenceBreak", NULL, &subStatus)); in SimpleFilteredBreakIteratorBuilder()
532 UErrorCode subsub = subStatus; in SimpleFilteredBreakIteratorBuilder()
533 …\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.cpp2630 UErrorCode subStatus = U_ZERO_ERROR; in ures_getFunctionalEquivalent() local
2633 uloc_getKeywordValue(locid, keyword, kwVal, 1024-1,&subStatus); in ures_getFunctionalEquivalent()
2637 uloc_getBaseName(locid, base, 1024-1,&subStatus); in ures_getFunctionalEquivalent()
2640 locid, keyword, kwVal, base, u_errorName(subStatus)); in ures_getFunctionalEquivalent()
2650 UEnumeration *locEnum = ures_openAvailableLocales(path, &subStatus); in ures_getFunctionalEquivalent()
2652 if (U_SUCCESS(subStatus)) { in ures_getFunctionalEquivalent()
2653 *isAvailable = isLocaleInList(locEnum, parent, &subStatus); in ures_getFunctionalEquivalent()
2658 if(U_FAILURE(subStatus)) { in ures_getFunctionalEquivalent()
2659 *status = subStatus; in ures_getFunctionalEquivalent()
2664 subStatus = U_ZERO_ERROR; in ures_getFunctionalEquivalent()
[all …]
/third_party/icu/icu4c/source/common/
Dfilteredbrk.cpp510 UErrorCode subStatus = U_ZERO_ERROR; in SimpleFilteredBreakIteratorBuilder() local
511 … LocalUResourceBundlePointer b(ures_open(U_ICUDATA_BRKITR, fromLocale.getBaseName(), &subStatus)); in SimpleFilteredBreakIteratorBuilder()
512 if (U_FAILURE(subStatus) || (subStatus == U_USING_DEFAULT_WARNING) ) { in SimpleFilteredBreakIteratorBuilder()
513 status = subStatus; // copy the failing status in SimpleFilteredBreakIteratorBuilder()
519 …eBundlePointer exceptions(ures_getByKeyWithFallback(b.getAlias(), "exceptions", NULL, &subStatus)); in SimpleFilteredBreakIteratorBuilder()
520 if (U_FAILURE(subStatus) || (subStatus == U_USING_DEFAULT_WARNING) ) { in SimpleFilteredBreakIteratorBuilder()
521 status = subStatus; // copy the failing status in SimpleFilteredBreakIteratorBuilder()
527 …ointer breaks(ures_getByKeyWithFallback(exceptions.getAlias(), "SentenceBreak", NULL, &subStatus)); in SimpleFilteredBreakIteratorBuilder()
531 UErrorCode subsub = subStatus; in SimpleFilteredBreakIteratorBuilder()
532 …\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.cpp2990 UErrorCode subStatus = U_ZERO_ERROR; in ures_getFunctionalEquivalent() local
2993 uloc_getKeywordValue(locid, keyword, kwVal, 1024-1,&subStatus); in ures_getFunctionalEquivalent()
2997 uloc_getBaseName(locid, base, 1024-1,&subStatus); in ures_getFunctionalEquivalent()
3000 locid, keyword, kwVal, base, u_errorName(subStatus)); in ures_getFunctionalEquivalent()
3010 UEnumeration *locEnum = ures_openAvailableLocales(path, &subStatus); in ures_getFunctionalEquivalent()
3012 if (U_SUCCESS(subStatus)) { in ures_getFunctionalEquivalent()
3013 *isAvailable = isLocaleInList(locEnum, parent, &subStatus); in ures_getFunctionalEquivalent()
3018 if(U_FAILURE(subStatus)) { in ures_getFunctionalEquivalent()
3019 *status = subStatus; in ures_getFunctionalEquivalent()
3024 subStatus = U_ZERO_ERROR; in ures_getFunctionalEquivalent()
[all …]
/third_party/icu/icu4c/source/test/cintltst/
Dcdattst.c151 UErrorCode subStatus = U_ZERO_ERROR; in TestDateFormat() local
153 any = udat_open(UDAT_SHORT, UDAT_SHORT, udat_getAvailable(i), NULL ,0, NULL, 0, &subStatus); in TestDateFormat()
154 if(U_FAILURE(subStatus)) { in TestDateFormat()
155 …%s (getAvailable(%d)) is not instantiable: %s\n", udat_getAvailable(i), i, u_errorName(subStatus)); in TestDateFormat()
1356 UErrorCode subStatus = U_ZERO_ERROR; in TestRelativeCrash() local
1359 udat_set2DigitYearStart(icudf, aDate, &subStatus); in TestRelativeCrash()
1360 if(subStatus == expectStatus) { in TestRelativeCrash()
1361 … log_verbose("Success: did not crash on %s, but got %s.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1363 …t crash on %s, but got success %s instead of %s. \n", what, u_errorName(subStatus), u_errorName(ex… in TestRelativeCrash()
1368 UErrorCode subStatus = U_ZERO_ERROR; in TestRelativeCrash() local
[all …]
/third_party/icu/tools/multi/proj/icu4cscan/
Dtestxml.cpp500 UErrorCode subStatus = U_ZERO_ERROR; in main() local
501 _getCLDRVersionOld(cldrVersion, &subStatus); in main()
502 if(U_SUCCESS(subStatus)) { in main()
503 status = subStatus; in main()
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dohos_update.js439 subStatus: "[PC Preview] unknown subStatus", property