Lines Matching refs:nameCapacity
1625 int32_t j, len, fieldCount=0, scriptSize=0, variantSize=0, nameCapacity;
1657 nameCapacity = (int32_t)sizeof(localeBuffer);
1660 nameCapacity = resultCapacity;
1664 len=ulocimp_getLanguage(tmpLocaleID, name, nameCapacity, &tmpLocaleID);
1678 if(len<nameCapacity) {
1684 (len<nameCapacity ? name+len : NULL), nameCapacity-len, &scriptID);
1692 if(len<nameCapacity) {
1702 (len<nameCapacity ? name+len : NULL), nameCapacity-len, &cntryID);
1712 if(len<nameCapacity) {
1719 (len<nameCapacity ? name+len : NULL), nameCapacity-len);
1721 variant = len<nameCapacity ? name+len : NULL;
1740 if (len<nameCapacity) {
1765 if (len<nameCapacity) {
1780 if(len<nameCapacity) {
1787 posixVariantSize = _getVariantEx(tmpLocaleID+1, '@', name+len, nameCapacity-len,
1803 int32_t variantLen = _deleteVariant(variant, uprv_min(variantSize, (nameCapacity-len)), variantToCompare, n);
1814 if (len > 0 && len <= nameCapacity && name[len-1] == '_') { /* delete trailing '_' */
1827 len = _copyCount(name, nameCapacity, CANONICALIZE_MAP[j].canonicalID);
1840 if(len<nameCapacity) {
1845 len += _getKeywords(tmpLocaleID+1, '@', (len<nameCapacity ? name+len : NULL), nameCapacity-len,
1848 U_ASSERT(addValue != NULL && len < nameCapacity);
1850 len += _copyCount(name+len, nameCapacity-len, "@");
1851 len += _copyCount(name+len, nameCapacity-len, addKeyword);
1852 len += _copyCount(name+len, nameCapacity-len, "=");
1853 len += _copyCount(name+len, nameCapacity-len, addValue);
2036 int32_t nameCapacity,
2039 return _canonicalize(localeID, name, nameCapacity, 0, err);
2045 int32_t nameCapacity,
2048 return _canonicalize(localeID, name, nameCapacity, _ULOC_STRIP_KEYWORDS, err);
2054 int32_t nameCapacity,
2057 return _canonicalize(localeID, name, nameCapacity, _ULOC_CANONICALIZE, err);