Home
last modified time | relevance | path

Searched refs:internalErrorCode (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4c/source/common/
Duscript.c55 UErrorCode internalErrorCode = U_ZERO_ERROR; in getCodesFromLocale() local
62 /*length = */ uloc_getLanguage(locale, lang, UPRV_LENGTHOF(lang), &internalErrorCode); in getCodesFromLocale()
63 if(U_FAILURE(internalErrorCode) || internalErrorCode == U_STRING_NOT_TERMINATED_WARNING) { in getCodesFromLocale()
72 scriptLength = uloc_getScript(locale, script, UPRV_LENGTHOF(script), &internalErrorCode); in getCodesFromLocale()
73 if(U_FAILURE(internalErrorCode) || internalErrorCode == U_STRING_NOT_TERMINATED_WARNING) { in getCodesFromLocale()
100 UErrorCode internalErrorCode; in uscript_getCode() local
121 internalErrorCode = U_ZERO_ERROR; in uscript_getCode()
127 likely, UPRV_LENGTHOF(likely), &internalErrorCode); in uscript_getCode()
128 if(U_SUCCESS(internalErrorCode) && internalErrorCode != U_STRING_NOT_TERMINATED_WARNING) { in uscript_getCode()
Ducnv_bld.cpp712 UErrorCode internalErrorCode = U_ZERO_ERROR; in ucnv_loadSharedData() local
777 pArgs->name = ucnv_io_getConverterName(pArgs->name, &mayContainOption, &internalErrorCode); in ucnv_loadSharedData()
778 if (U_FAILURE(internalErrorCode) || pArgs->name == NULL) { in ucnv_loadSharedData()
784 } else if (internalErrorCode == U_AMBIGUOUS_ALIAS_WARNING) { in ucnv_loadSharedData()
/external/icu/icu4c/source/i18n/
Ducol_res.cpp264 UErrorCode internalErrorCode = U_ZERO_ERROR; in loadFromBundle() local
266 ures_getByKeyWithFallback(collations, "default", NULL, &internalErrorCode)); in loadFromBundle()
268 const UChar *s = ures_getString(def.getAlias(), &length, &internalErrorCode); in loadFromBundle()
269 if(U_SUCCESS(internalErrorCode) && 0 < length && length < UPRV_LENGTHOF(defaultType)) { in loadFromBundle()
398 UErrorCode internalErrorCode = U_ZERO_ERROR; in loadFromData() local
401 &internalErrorCode); in loadFromData()
402 if(U_SUCCESS(internalErrorCode)) { in loadFromData()
421 UErrorCode internalErrorCode = U_ZERO_ERROR; in loadFromData() local
424 &internalErrorCode)); in loadFromData()
426 const UChar *s = ures_getString(def.getAlias(), &length, &internalErrorCode); in loadFromData()
[all …]