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