• Home
  • Raw
  • Download

Lines Matching refs:destCapacity

305                     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()
383 return u_terminateUChars(dest, destCapacity, 0, pErrorCode); in _getDisplayNameForComponent()
392 dest, destCapacity, in _getDisplayNameForComponent()
399 UChar *dest, int32_t destCapacity, in uloc_getDisplayLanguage() argument
401 return _getDisplayNameForComponent(locale, displayLocale, dest, destCapacity, in uloc_getDisplayLanguage()
408 UChar *dest, int32_t destCapacity, in uloc_getDisplayScript() argument
412 int32_t res = _getDisplayNameForComponent(locale, displayLocale, dest, destCapacity, in uloc_getDisplayScript()
415 if (destCapacity == 0 && err == U_BUFFER_OVERFLOW_ERROR) { in uloc_getDisplayScript()
417 … int32_t fallback_res = _getDisplayNameForComponent(locale, displayLocale, dest, destCapacity, in uloc_getDisplayScript()
422 return _getDisplayNameForComponent(locale, displayLocale, dest, destCapacity, in uloc_getDisplayScript()
433 UChar *dest, int32_t destCapacity, in uloc_getDisplayScriptInContext() argument
436 return _getDisplayNameForComponent(locale, displayLocale, dest, destCapacity, in uloc_getDisplayScriptInContext()
443 UChar *dest, int32_t destCapacity, in uloc_getDisplayCountry() argument
445 return _getDisplayNameForComponent(locale, displayLocale, dest, destCapacity, in uloc_getDisplayCountry()
457 UChar *dest, int32_t destCapacity, in uloc_getDisplayVariant() argument
459 return _getDisplayNameForComponent(locale, displayLocale, dest, destCapacity, in uloc_getDisplayVariant()
478 UChar *dest, int32_t destCapacity, in uloc_getDisplayName() argument
517 if(destCapacity<0 || (destCapacity>0 && dest==NULL)) { in uloc_getDisplayName()
603 if(destCapacity >= sub0Pos) { in uloc_getDisplayName()
620 int32_t cap=destCapacity-length; in uloc_getDisplayName()
688 cap=destCapacity-length; in uloc_getDisplayName()
738 if(length+padLen <= destCapacity) { in uloc_getDisplayName()
755 if (sub0Pos+length<=destCapacity) { in uloc_getDisplayName()
773 return u_terminateUChars(dest, destCapacity, length, pErrorCode); in uloc_getDisplayName()
780 int32_t destCapacity, in uloc_getDisplayKeyword() argument
788 if(destCapacity<0 || (destCapacity>0 && dest==NULL)) { in uloc_getDisplayKeyword()
799 dest, destCapacity, in uloc_getDisplayKeyword()
812 int32_t destCapacity, in uloc_getDisplayKeywordValue() argument
821 if(destCapacity<0 || (destCapacity>0 && dest==NULL)) { in uloc_getDisplayKeywordValue()
862 if(dispNameLen <= destCapacity){ in uloc_getDisplayKeywordValue()
864 return u_terminateUChars(dest, destCapacity, dispNameLen, status); in uloc_getDisplayKeywordValue()
871 if(keywordValue.length() <= destCapacity){ in uloc_getDisplayKeywordValue()
873 return u_terminateUChars(dest, destCapacity, keywordValue.length(), status); in uloc_getDisplayKeywordValue()
887 dest, destCapacity, in uloc_getDisplayKeywordValue()