Lines Matching refs:destCapacity
302 UChar *dest, int32_t destCapacity, in _getStringOrCopyKey() argument
334 int32_t copyLength=uprv_min(length, destCapacity); in _getStringOrCopyKey()
341 u_charsToUChars(substitute, dest, uprv_min(length, destCapacity)); in _getStringOrCopyKey()
345 return u_terminateUChars(dest, destCapacity, length, pErrorCode); in _getStringOrCopyKey()
353 UChar *dest, int32_t destCapacity, in _getDisplayNameForComponent() argument
367 if(destCapacity<0 || (destCapacity>0 && dest==NULL)) { in _getDisplayNameForComponent()
379 return u_terminateUChars(dest, destCapacity, 0, pErrorCode); in _getDisplayNameForComponent()
387 dest, destCapacity, in _getDisplayNameForComponent()
394 UChar *dest, int32_t destCapacity, in uloc_getDisplayLanguage() argument
396 return _getDisplayNameForComponent(locale, displayLocale, dest, destCapacity, in uloc_getDisplayLanguage()
403 UChar *dest, int32_t destCapacity, in uloc_getDisplayScript() argument
407 int32_t res = _getDisplayNameForComponent(locale, displayLocale, dest, destCapacity, in uloc_getDisplayScript()
411 return _getDisplayNameForComponent(locale, displayLocale, dest, destCapacity, in uloc_getDisplayScript()
422 UChar *dest, int32_t destCapacity, in uloc_getDisplayScriptInContext() argument
425 return _getDisplayNameForComponent(locale, displayLocale, dest, destCapacity, in uloc_getDisplayScriptInContext()
432 UChar *dest, int32_t destCapacity, in uloc_getDisplayCountry() argument
434 return _getDisplayNameForComponent(locale, displayLocale, dest, destCapacity, in uloc_getDisplayCountry()
446 UChar *dest, int32_t destCapacity, in uloc_getDisplayVariant() argument
448 return _getDisplayNameForComponent(locale, displayLocale, dest, destCapacity, in uloc_getDisplayVariant()
467 UChar *dest, int32_t destCapacity, in uloc_getDisplayName() argument
506 if(destCapacity<0 || (destCapacity>0 && dest==NULL)) { in uloc_getDisplayName()
593 if(destCapacity >= sub0Pos) { in uloc_getDisplayName()
610 int32_t cap=destCapacity-length; in uloc_getDisplayName()
679 cap=destCapacity-length; in uloc_getDisplayName()
729 if(length+padLen < destCapacity) { in uloc_getDisplayName()
746 if (sub0Pos+length<=destCapacity) { in uloc_getDisplayName()
764 return u_terminateUChars(dest, destCapacity, length, pErrorCode); in uloc_getDisplayName()
771 int32_t destCapacity, in uloc_getDisplayKeyword() argument
779 if(destCapacity<0 || (destCapacity>0 && dest==NULL)) { in uloc_getDisplayKeyword()
790 dest, destCapacity, in uloc_getDisplayKeyword()
803 int32_t destCapacity, in uloc_getDisplayKeywordValue() argument
816 if(destCapacity<0 || (destCapacity>0 && dest==NULL)) { in uloc_getDisplayKeywordValue()
858 if(dispNameLen <= destCapacity){ in uloc_getDisplayKeywordValue()
860 return u_terminateUChars(dest, destCapacity, dispNameLen, status); in uloc_getDisplayKeywordValue()
867 if(keywordValueLen <= destCapacity){ in uloc_getDisplayKeywordValue()
869 return u_terminateUChars(dest, destCapacity, keywordValueLen, status); in uloc_getDisplayKeywordValue()
883 dest, destCapacity, in uloc_getDisplayKeywordValue()