Lines Matching refs:destCapacity
299 UChar *dest, int32_t destCapacity, in _getStringOrCopyKey() argument
331 int32_t copyLength=uprv_min(length, destCapacity); in _getStringOrCopyKey()
338 u_charsToUChars(substitute, dest, uprv_min(length, destCapacity)); in _getStringOrCopyKey()
342 return u_terminateUChars(dest, destCapacity, length, pErrorCode); in _getStringOrCopyKey()
350 UChar *dest, int32_t destCapacity, in _getDisplayNameForComponent() argument
364 if(destCapacity<0 || (destCapacity>0 && dest==NULL)) { in _getDisplayNameForComponent()
376 return u_terminateUChars(dest, destCapacity, 0, pErrorCode); in _getDisplayNameForComponent()
384 dest, destCapacity, in _getDisplayNameForComponent()
391 UChar *dest, int32_t destCapacity, in uloc_getDisplayLanguage() argument
393 return _getDisplayNameForComponent(locale, displayLocale, dest, destCapacity, in uloc_getDisplayLanguage()
400 UChar *dest, int32_t destCapacity, in uloc_getDisplayScript() argument
403 return _getDisplayNameForComponent(locale, displayLocale, dest, destCapacity, in uloc_getDisplayScript()
410 UChar *dest, int32_t destCapacity, in uloc_getDisplayCountry() argument
412 return _getDisplayNameForComponent(locale, displayLocale, dest, destCapacity, in uloc_getDisplayCountry()
424 UChar *dest, int32_t destCapacity, in uloc_getDisplayVariant() argument
426 return _getDisplayNameForComponent(locale, displayLocale, dest, destCapacity, in uloc_getDisplayVariant()
445 UChar *dest, int32_t destCapacity, in uloc_getDisplayName() argument
480 if(destCapacity<0 || (destCapacity>0 && dest==NULL)) { in uloc_getDisplayName()
542 if(destCapacity >= sub0Pos) { in uloc_getDisplayName()
559 int32_t cap=destCapacity-length; in uloc_getDisplayName()
628 cap=destCapacity-length; in uloc_getDisplayName()
671 if(length+padLen < destCapacity) { in uloc_getDisplayName()
688 if (sub0Pos+length<=destCapacity) { in uloc_getDisplayName()
706 return u_terminateUChars(dest, destCapacity, length, pErrorCode); in uloc_getDisplayName()
713 int32_t destCapacity, in uloc_getDisplayKeyword() argument
721 if(destCapacity<0 || (destCapacity>0 && dest==NULL)) { in uloc_getDisplayKeyword()
732 dest, destCapacity, in uloc_getDisplayKeyword()
745 int32_t destCapacity, in uloc_getDisplayKeywordValue() argument
758 if(destCapacity<0 || (destCapacity>0 && dest==NULL)) { in uloc_getDisplayKeywordValue()
798 if(dispNameLen <= destCapacity){ in uloc_getDisplayKeywordValue()
800 return u_terminateUChars(dest, destCapacity, dispNameLen, status); in uloc_getDisplayKeywordValue()
807 if(keywordValueLen <= destCapacity){ in uloc_getDisplayKeywordValue()
809 return u_terminateUChars(dest, destCapacity, keywordValueLen, status); in uloc_getDisplayKeywordValue()
823 dest, destCapacity, in uloc_getDisplayKeywordValue()