• Home
  • Raw
  • Download

Lines Matching refs:pErrorCode

306                     UErrorCode *pErrorCode) {  in _getStringOrCopyKey()  argument
312 icu::LocalUResourceBundlePointer rb(ures_open(path, locale, pErrorCode)); in _getStringOrCopyKey()
314 if(U_SUCCESS(*pErrorCode)) { in _getStringOrCopyKey()
315 s=ures_getStringByKey(rb.getAlias(), tableKey, &length, pErrorCode); in _getStringOrCopyKey()
321 *pErrorCode = U_MISSING_RESOURCE_ERROR; in _getStringOrCopyKey()
329 pErrorCode); in _getStringOrCopyKey()
333 if(U_SUCCESS(*pErrorCode)) { in _getStringOrCopyKey()
342 *pErrorCode=U_USING_DEFAULT_WARNING; in _getStringOrCopyKey()
345 return u_terminateUChars(dest, destCapacity, length, pErrorCode); in _getStringOrCopyKey()
356 UErrorCode *pErrorCode) { in _getDisplayNameForComponent() argument
363 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in _getDisplayNameForComponent()
368 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in _getDisplayNameForComponent()
375 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in _getDisplayNameForComponent()
383 return u_terminateUChars(dest, destCapacity, 0, pErrorCode); in _getDisplayNameForComponent()
393 pErrorCode); in _getDisplayNameForComponent()
400 UErrorCode *pErrorCode) { in uloc_getDisplayLanguage() argument
402 uloc_getLanguage, _kLanguages, pErrorCode); in uloc_getDisplayLanguage()
409 UErrorCode *pErrorCode) in uloc_getDisplayScript() argument
418 uloc_getScript, _kScripts, pErrorCode); in uloc_getDisplayScript()
423 uloc_getScript, _kScripts, pErrorCode); in uloc_getDisplayScript()
425 *pErrorCode = err; in uloc_getDisplayScript()
434 UErrorCode *pErrorCode) in uloc_getDisplayScriptInContext() argument
437 uloc_getScript, _kScripts, pErrorCode); in uloc_getDisplayScriptInContext()
444 UErrorCode *pErrorCode) { in uloc_getDisplayCountry() argument
446 uloc_getCountry, _kCountries, pErrorCode); in uloc_getDisplayCountry()
458 UErrorCode *pErrorCode) { in uloc_getDisplayVariant() argument
460 uloc_getVariant, _kVariants, pErrorCode); in uloc_getDisplayVariant()
479 UErrorCode *pErrorCode) in uloc_getDisplayName() argument
513 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in uloc_getDisplayName()
518 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in uloc_getDisplayName()
551 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in uloc_getDisplayName()
568 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in uloc_getDisplayName()
630 langLen=uloc_getDisplayLanguage(locale, displayLocale, p, cap, pErrorCode); in uloc_getDisplayName()
643 … len=uloc_getDisplayScriptInContext(locale, displayLocale, p, cap, pErrorCode); in uloc_getDisplayName()
646 len=uloc_getDisplayCountry(locale, displayLocale, p, cap, pErrorCode); in uloc_getDisplayName()
649 len=uloc_getDisplayVariant(locale, displayLocale, p, cap, pErrorCode); in uloc_getDisplayName()
652 kenum.adoptInstead(uloc_openKeywords(locale, pErrorCode)); in uloc_getDisplayName()
655 const char* kw=uenum_next(kenum.getAlias(), &len, pErrorCode); in uloc_getDisplayName()
662 len = uloc_getDisplayKeyword(kw, displayLocale, p, cap, pErrorCode); in uloc_getDisplayName()
678 if(*pErrorCode == U_BUFFER_OVERFLOW_ERROR) { in uloc_getDisplayName()
679 *pErrorCode=U_ZERO_ERROR; in uloc_getDisplayName()
682 p, cap, pErrorCode); in uloc_getDisplayName()
727 if(*pErrorCode == U_BUFFER_OVERFLOW_ERROR) { in uloc_getDisplayName()
728 *pErrorCode=U_ZERO_ERROR; in uloc_getDisplayName()
773 return u_terminateUChars(dest, destCapacity, length, pErrorCode); in uloc_getDisplayName()