Lines Matching refs:nameCapacity
1636 int32_t j, len, fieldCount=0, scriptSize=0, variantSize=0, nameCapacity;
1668 nameCapacity = sizeof(localeBuffer);
1671 nameCapacity
1675 len=ulocimp_getLanguage(tmpLocaleID, name, nameCapacity, &tmpLocaleID);
1689 if(len<nameCapacity) {
1694 scriptSize=ulocimp_getScript(tmpLocaleID+1, name+len, nameCapacity-len, &scriptID);
1702 if(len<nameCapacity) {
1711 int32_t cntrySize = ulocimp_getCountry(tmpLocaleID+1, name+len, nameCapacity-len, &cntryID);
1721 if(len<nameCapacity) {
1727 variantSize = _getVariant(tmpLocaleID+1, *tmpLocaleID, name+len, nameCapacity-len);
1748 if (len<nameCapacity) {
1773 if (len<nameCapacity) {
1788 if(len<nameCapacity) {
1795 posixVariantSize = _getVariantEx(tmpLocaleID+1, '@', name+len, nameCapacity-len,
1811 int32_t variantLen = _deleteVariant(variant, uprv_min(variantSize, (nameCapacity-len)), variantToCompare, n);
1822 if (len > 0 && len <= nameCapacity && name[len-1] == '_') { /* delete trailing '_' */
1835 len = _copyCount(name, nameCapacity, CANONICALIZE_MAP[j].canonicalID);
1848 if(len<nameCapacity) {
1853 len += _getKeywords(tmpLocaleID+1, '@', name+len, nameCapacity-len, NULL, 0, NULL, TRUE,
1858 len += _copyCount(name+len, nameCapacity-len, "@");
1859 len += _copyCount(name+len, nameCapacity-len, addKeyword);
1860 len += _copyCount(name+len, nameCapacity-len, "=");
1861 len += _copyCount(name+len, nameCapacity-len, addValue);
2044 int32_t nameCapacity,
2047 return _canonicalize(localeID, name, nameCapacity, 0, err);
2053 int32_t nameCapacity,
2056 return _canonicalize(localeID, name, nameCapacity, _ULOC_STRIP_KEYWORDS, err);
2062 int32_t nameCapacity,
2065 return _canonicalize(localeID, name, nameCapacity, _ULOC_CANONICALIZE, err);