Lines Matching refs:ldn
845 uldn_close(ULocaleDisplayNames *ldn) { in uldn_close() argument
846 delete (LocaleDisplayNames *)ldn; in uldn_close()
850 uldn_getLocale(const ULocaleDisplayNames *ldn) { in uldn_getLocale() argument
851 if (ldn) { in uldn_getLocale()
852 return ((const LocaleDisplayNames *)ldn)->getLocale().getName(); in uldn_getLocale()
858 uldn_getDialectHandling(const ULocaleDisplayNames *ldn) { in uldn_getDialectHandling() argument
859 if (ldn) { in uldn_getDialectHandling()
860 return ((const LocaleDisplayNames *)ldn)->getDialectHandling(); in uldn_getDialectHandling()
866 uldn_getContext(const ULocaleDisplayNames *ldn, in uldn_getContext() argument
872 return ((const LocaleDisplayNames *)ldn)->getContext(type); in uldn_getContext()
876 uldn_localeDisplayName(const ULocaleDisplayNames *ldn, in uldn_localeDisplayName() argument
884 if (ldn == NULL || locale == NULL || (result == NULL && maxResultSize > 0) || maxResultSize < 0) { in uldn_localeDisplayName()
889 ((const LocaleDisplayNames *)ldn)->localeDisplayName(locale, temp); in uldn_localeDisplayName()
894 uldn_languageDisplayName(const ULocaleDisplayNames *ldn, in uldn_languageDisplayName() argument
902 if (ldn == NULL || lang == NULL || (result == NULL && maxResultSize > 0) || maxResultSize < 0) { in uldn_languageDisplayName()
907 ((const LocaleDisplayNames *)ldn)->languageDisplayName(lang, temp); in uldn_languageDisplayName()
912 uldn_scriptDisplayName(const ULocaleDisplayNames *ldn, in uldn_scriptDisplayName() argument
920 if (ldn == NULL || script == NULL || (result == NULL && maxResultSize > 0) || maxResultSize < 0) { in uldn_scriptDisplayName()
925 ((const LocaleDisplayNames *)ldn)->scriptDisplayName(script, temp); in uldn_scriptDisplayName()
930 uldn_scriptCodeDisplayName(const ULocaleDisplayNames *ldn, in uldn_scriptCodeDisplayName() argument
935 …return uldn_scriptDisplayName(ldn, uscript_getName(scriptCode), result, maxResultSize, pErrorCode); in uldn_scriptCodeDisplayName()
939 uldn_regionDisplayName(const ULocaleDisplayNames *ldn, in uldn_regionDisplayName() argument
947 if (ldn == NULL || region == NULL || (result == NULL && maxResultSize > 0) || maxResultSize < 0) { in uldn_regionDisplayName()
952 ((const LocaleDisplayNames *)ldn)->regionDisplayName(region, temp); in uldn_regionDisplayName()
957 uldn_variantDisplayName(const ULocaleDisplayNames *ldn, in uldn_variantDisplayName() argument
965 …if (ldn == NULL || variant == NULL || (result == NULL && maxResultSize > 0) || maxResultSize < 0) { in uldn_variantDisplayName()
970 ((const LocaleDisplayNames *)ldn)->variantDisplayName(variant, temp); in uldn_variantDisplayName()
975 uldn_keyDisplayName(const ULocaleDisplayNames *ldn, in uldn_keyDisplayName() argument
983 if (ldn == NULL || key == NULL || (result == NULL && maxResultSize > 0) || maxResultSize < 0) { in uldn_keyDisplayName()
988 ((const LocaleDisplayNames *)ldn)->keyDisplayName(key, temp); in uldn_keyDisplayName()
993 uldn_keyValueDisplayName(const ULocaleDisplayNames *ldn, in uldn_keyValueDisplayName() argument
1002 if (ldn == NULL || key == NULL || value == NULL || (result == NULL && maxResultSize > 0) in uldn_keyValueDisplayName()
1008 ((const LocaleDisplayNames *)ldn)->keyValueDisplayName(key, value, temp); in uldn_keyValueDisplayName()