Lines Matching refs:pErrorCode
304 UErrorCode *pErrorCode) { in _getStringOrCopyKey() argument
310 icu::LocalUResourceBundlePointer rb(ures_open(path, locale, pErrorCode)); in _getStringOrCopyKey()
312 if(U_SUCCESS(*pErrorCode)) { in _getStringOrCopyKey()
313 s=ures_getStringByKey(rb.getAlias(), tableKey, &length, pErrorCode); in _getStringOrCopyKey()
319 *pErrorCode = U_MISSING_RESOURCE_ERROR; in _getStringOrCopyKey()
327 pErrorCode); in _getStringOrCopyKey()
331 if(U_SUCCESS(*pErrorCode)) { in _getStringOrCopyKey()
340 *pErrorCode=U_USING_DEFAULT_WARNING; in _getStringOrCopyKey()
343 return u_terminateUChars(dest, destCapacity, length, pErrorCode); in _getStringOrCopyKey()
354 UErrorCode *pErrorCode) { in _getDisplayNameForComponent() argument
361 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in _getDisplayNameForComponent()
366 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in _getDisplayNameForComponent()
373 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in _getDisplayNameForComponent()
381 return u_terminateUChars(dest, destCapacity, 0, pErrorCode); in _getDisplayNameForComponent()
391 pErrorCode); in _getDisplayNameForComponent()
398 UErrorCode *pErrorCode) { in uloc_getDisplayLanguage() argument
400 uloc_getLanguage, _kLanguages, pErrorCode); in uloc_getDisplayLanguage()
407 UErrorCode *pErrorCode) in uloc_getDisplayScript() argument
415 uloc_getScript, _kScripts, pErrorCode); in uloc_getDisplayScript()
417 *pErrorCode = err; in uloc_getDisplayScript()
426 UErrorCode *pErrorCode) in uloc_getDisplayScriptInContext() argument
429 uloc_getScript, _kScripts, pErrorCode); in uloc_getDisplayScriptInContext()
436 UErrorCode *pErrorCode) { in uloc_getDisplayCountry() argument
438 uloc_getCountry, _kCountries, pErrorCode); in uloc_getDisplayCountry()
450 UErrorCode *pErrorCode) { in uloc_getDisplayVariant() argument
452 uloc_getVariant, _kVariants, pErrorCode); in uloc_getDisplayVariant()
471 UErrorCode *pErrorCode) in uloc_getDisplayName() argument
505 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in uloc_getDisplayName()
510 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in uloc_getDisplayName()
543 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in uloc_getDisplayName()
560 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in uloc_getDisplayName()
622 langLen=uloc_getDisplayLanguage(locale, displayLocale, p, cap, pErrorCode); in uloc_getDisplayName()
635 … len=uloc_getDisplayScriptInContext(locale, displayLocale, p, cap, pErrorCode); in uloc_getDisplayName()
638 len=uloc_getDisplayCountry(locale, displayLocale, p, cap, pErrorCode); in uloc_getDisplayName()
641 len=uloc_getDisplayVariant(locale, displayLocale, p, cap, pErrorCode); in uloc_getDisplayName()
644 kenum.adoptInstead(uloc_openKeywords(locale, pErrorCode)); in uloc_getDisplayName()
647 const char* kw=uenum_next(kenum.getAlias(), &len, pErrorCode); in uloc_getDisplayName()
654 len = uloc_getDisplayKeyword(kw, displayLocale, p, cap, pErrorCode); in uloc_getDisplayName()
670 if(*pErrorCode == U_BUFFER_OVERFLOW_ERROR) { in uloc_getDisplayName()
671 *pErrorCode=U_ZERO_ERROR; in uloc_getDisplayName()
674 p, cap, pErrorCode); in uloc_getDisplayName()
719 if(*pErrorCode == U_BUFFER_OVERFLOW_ERROR) { in uloc_getDisplayName()
720 *pErrorCode=U_ZERO_ERROR; in uloc_getDisplayName()
765 return u_terminateUChars(dest, destCapacity, length, pErrorCode); in uloc_getDisplayName()