Lines Matching refs:pErrorCode
303 UErrorCode *pErrorCode) { in _getStringOrCopyKey() argument
311 rb=ures_open(path, locale, pErrorCode); in _getStringOrCopyKey()
313 if(U_SUCCESS(*pErrorCode)) { in _getStringOrCopyKey()
314 s=ures_getStringByKey(rb, 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()
379 return u_terminateUChars(dest, destCapacity, 0, pErrorCode); in _getDisplayNameForComponent()
388 pErrorCode); in _getDisplayNameForComponent()
395 UErrorCode *pErrorCode) { in uloc_getDisplayLanguage() argument
397 uloc_getLanguage, _kLanguages, pErrorCode); in uloc_getDisplayLanguage()
404 UErrorCode *pErrorCode) in uloc_getDisplayScript() argument
412 uloc_getScript, _kScripts, pErrorCode); in uloc_getDisplayScript()
414 *pErrorCode = err; in uloc_getDisplayScript()
423 UErrorCode *pErrorCode) in uloc_getDisplayScriptInContext() argument
426 uloc_getScript, _kScripts, pErrorCode); in uloc_getDisplayScriptInContext()
433 UErrorCode *pErrorCode) { in uloc_getDisplayCountry() argument
435 uloc_getCountry, _kCountries, pErrorCode); in uloc_getDisplayCountry()
447 UErrorCode *pErrorCode) { in uloc_getDisplayVariant() argument
449 uloc_getVariant, _kVariants, pErrorCode); in uloc_getDisplayVariant()
468 UErrorCode *pErrorCode) in uloc_getDisplayName() argument
502 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in uloc_getDisplayName()
507 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in uloc_getDisplayName()
541 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in uloc_getDisplayName()
558 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in uloc_getDisplayName()
620 langLen=uloc_getDisplayLanguage(locale, displayLocale, p, cap, pErrorCode); in uloc_getDisplayName()
633 … len=uloc_getDisplayScriptInContext(locale, displayLocale, p, cap, pErrorCode); in uloc_getDisplayName()
636 len=uloc_getDisplayCountry(locale, displayLocale, p, cap, pErrorCode); in uloc_getDisplayName()
639 len=uloc_getDisplayVariant(locale, displayLocale, p, cap, pErrorCode); in uloc_getDisplayName()
642 kenum = uloc_openKeywords(locale, pErrorCode); in uloc_getDisplayName()
645 const char* kw=uenum_next(kenum, &len, pErrorCode); in uloc_getDisplayName()
653 len = uloc_getDisplayKeyword(kw, displayLocale, p, cap, pErrorCode); in uloc_getDisplayName()
669 if(*pErrorCode == U_BUFFER_OVERFLOW_ERROR) { in uloc_getDisplayName()
670 *pErrorCode=U_ZERO_ERROR; in uloc_getDisplayName()
673 p, cap, pErrorCode); in uloc_getDisplayName()
718 if(*pErrorCode == U_BUFFER_OVERFLOW_ERROR) { in uloc_getDisplayName()
719 *pErrorCode=U_ZERO_ERROR; in uloc_getDisplayName()
764 return u_terminateUChars(dest, destCapacity, length, pErrorCode); in uloc_getDisplayName()