Lines Matching refs:maxResultSize
921 int32_t maxResultSize, in uldn_localeDisplayName() argument
926 if (ldn == NULL || locale == NULL || (result == NULL && maxResultSize > 0) || maxResultSize < 0) { in uldn_localeDisplayName()
930 UnicodeString temp(result, 0, maxResultSize); in uldn_localeDisplayName()
936 return temp.extract(result, maxResultSize, *pErrorCode); in uldn_localeDisplayName()
943 int32_t maxResultSize, in uldn_languageDisplayName() argument
948 if (ldn == NULL || lang == NULL || (result == NULL && maxResultSize > 0) || maxResultSize < 0) { in uldn_languageDisplayName()
952 UnicodeString temp(result, 0, maxResultSize); in uldn_languageDisplayName()
954 return temp.extract(result, maxResultSize, *pErrorCode); in uldn_languageDisplayName()
961 int32_t maxResultSize, in uldn_scriptDisplayName() argument
966 if (ldn == NULL || script == NULL || (result == NULL && maxResultSize > 0) || maxResultSize < 0) { in uldn_scriptDisplayName()
970 UnicodeString temp(result, 0, maxResultSize); in uldn_scriptDisplayName()
972 return temp.extract(result, maxResultSize, *pErrorCode); in uldn_scriptDisplayName()
979 int32_t maxResultSize, in uldn_scriptCodeDisplayName() argument
981 …return uldn_scriptDisplayName(ldn, uscript_getName(scriptCode), result, maxResultSize, pErrorCode); in uldn_scriptCodeDisplayName()
988 int32_t maxResultSize, in uldn_regionDisplayName() argument
993 if (ldn == NULL || region == NULL || (result == NULL && maxResultSize > 0) || maxResultSize < 0) { in uldn_regionDisplayName()
997 UnicodeString temp(result, 0, maxResultSize); in uldn_regionDisplayName()
999 return temp.extract(result, maxResultSize, *pErrorCode); in uldn_regionDisplayName()
1006 int32_t maxResultSize, in uldn_variantDisplayName() argument
1011 …if (ldn == NULL || variant == NULL || (result == NULL && maxResultSize > 0) || maxResultSize < 0) { in uldn_variantDisplayName()
1015 UnicodeString temp(result, 0, maxResultSize); in uldn_variantDisplayName()
1017 return temp.extract(result, maxResultSize, *pErrorCode); in uldn_variantDisplayName()
1024 int32_t maxResultSize, in uldn_keyDisplayName() argument
1029 if (ldn == NULL || key == NULL || (result == NULL && maxResultSize > 0) || maxResultSize < 0) { in uldn_keyDisplayName()
1033 UnicodeString temp(result, 0, maxResultSize); in uldn_keyDisplayName()
1035 return temp.extract(result, maxResultSize, *pErrorCode); in uldn_keyDisplayName()
1043 int32_t maxResultSize, in uldn_keyValueDisplayName() argument
1048 if (ldn == NULL || key == NULL || value == NULL || (result == NULL && maxResultSize > 0) in uldn_keyValueDisplayName()
1049 || maxResultSize < 0) { in uldn_keyValueDisplayName()
1053 UnicodeString temp(result, 0, maxResultSize); in uldn_keyValueDisplayName()
1055 return temp.extract(result, maxResultSize, *pErrorCode); in uldn_keyValueDisplayName()