Home
last modified time | relevance | path

Searched refs:resultCapacity (Results 1 – 25 of 37) sorted by relevance

12

/external/icu/icu4c/source/i18n/
Dulistformatter.cpp49 int32_t resultCapacity, in ulistfmt_format() argument
55 …strings == NULL && stringCount > 0) || ((result == NULL)? resultCapacity != 0 : resultCapacity < 0… in ulistfmt_format()
81 res.setTo(result, 0, resultCapacity); in ulistfmt_format()
87 return res.extract(result, resultCapacity, *status); in ulistfmt_format()
Dudateintervalformat.cpp72 int32_t resultCapacity, in udtitvfmt_format() argument
79 if (result == NULL ? resultCapacity != 0 : resultCapacity < 0) { in udtitvfmt_format()
87 res.setTo(result, 0, resultCapacity); in udtitvfmt_format()
104 return res.extract(result, resultCapacity, *status); in udtitvfmt_format()
Dreldatefmt.cpp1098 int32_t resultCapacity, in ureldatefmt_formatNumeric() argument
1104 if (result == nullptr ? resultCapacity != 0 : resultCapacity < 0) { in ureldatefmt_formatNumeric()
1112 res.setTo(result, 0, resultCapacity); in ureldatefmt_formatNumeric()
1118 return res.extract(result, resultCapacity, *status); in ureldatefmt_formatNumeric()
1126 int32_t resultCapacity, in ureldatefmt_format() argument
1132 if (result == nullptr ? resultCapacity != 0 : resultCapacity < 0) { in ureldatefmt_format()
1140 res.setTo(result, 0, resultCapacity); in ureldatefmt_format()
1146 return res.extract(result, resultCapacity, *status); in ureldatefmt_format()
1156 int32_t resultCapacity, in ureldatefmt_combineDateAndTime() argument
1162 if (result == nullptr ? resultCapacity != 0 : resultCapacity < 0 || in ureldatefmt_combineDateAndTime()
[all …]
Dulocdata.cpp278 int32_t resultCapacity, in ulocdata_getLocaleDisplayPattern() argument
318 u_strncpy(result, pattern, resultCapacity); in ulocdata_getLocaleDisplayPattern()
326 int32_t resultCapacity, in ulocdata_getLocaleSeparator() argument
377 if (len < resultCapacity) { in ulocdata_getLocaleSeparator()
384 u_strncpy(result, separator, resultCapacity); in ulocdata_getLocaleSeparator()
Ducal.cpp70 ucal_getDefaultTimeZone(UChar* result, int32_t resultCapacity, UErrorCode* ec) { in ucal_getDefaultTimeZone() argument
80 len = id.extract(result, resultCapacity, *ec); in ucal_getDefaultTimeZone()
568 … UChar* result, int32_t resultCapacity, UBool *isSystemID, UErrorCode* status) { in ucal_getCanonicalTimeZoneID() argument
575 if (id == 0 || len == 0 || result == 0 || resultCapacity <= 0) { in ucal_getCanonicalTimeZoneID()
587 reslen = canonical.extract(result, resultCapacity, *status); in ucal_getCanonicalTimeZoneID()
/external/icu/icu4c/source/common/
Dcstr.cpp25 int32_t resultCapacity = 0; in CStr() local
26 char *buf = s.getAppendBuffer(length, length, resultCapacity, status); in CStr()
28 in.extract(0, in.length(), buf, resultCapacity); in CStr()
Dappendable.cpp63 int32_t *resultCapacity) { in getAppendBuffer() argument
65 *resultCapacity=0; in getAppendBuffer()
68 *resultCapacity=scratchCapacity; in getAppendBuffer()
Dcharstr.cpp109 int32_t &resultCapacity, in getAppendBuffer() argument
112 resultCapacity=0; in getAppendBuffer()
117 resultCapacity=appendCapacity; in getAppendBuffer()
121 resultCapacity=buffer.getCapacity()-len-1; in getAppendBuffer()
124 resultCapacity=0; in getAppendBuffer()
Dcmemory.h380 inline T *orphanOrClone(int32_t length, int32_t &resultCapacity);
475 inline T *MaybeStackArray<T, stackCapacity>::orphanOrClone(int32_t length, int32_t &resultCapacity)… in orphanOrClone() argument
494 resultCapacity=length; in orphanOrClone()
589 inline H *orphanOrClone(int32_t length, int32_t &resultCapacity);
652 int32_t &resultCapacity) { in orphanOrClone() argument
671 resultCapacity=length; in orphanOrClone()
Duset_props.cpp132 UChar* result, int32_t resultCapacity, in uset_toPattern() argument
137 return pat.extract(result, resultCapacity, *ec); in uset_toPattern()
Duloc_tag.cpp1162 int32_t resultCapacity = ULOC_KEYWORD_AND_VALUES_CAPACITY; in _appendKeywordsToLanguageTag() local
1166 /*minCapacity=*/resultCapacity, in _appendKeywordsToLanguageTag()
1167 /*desiredCapacityHint=*/resultCapacity, in _appendKeywordsToLanguageTag()
1168 resultCapacity, in _appendKeywordsToLanguageTag()
1176 localeID, key, buffer, resultCapacity, &tmpStatus); in _appendKeywordsToLanguageTag()
1182 resultCapacity = len; in _appendKeywordsToLanguageTag()
1288 int32_t resultCapacity; in _appendKeywordsToLanguageTag() local
1292 resultCapacity, in _appendKeywordsToLanguageTag()
2647 int32_t resultCapacity = static_cast<int32_t>(uprv_strlen(localeID)); in uloc_toLanguageTag() local
2648 if (resultCapacity > 0) { in uloc_toLanguageTag()
[all …]
Dlocid.cpp875 int32_t resultCapacity = tag.size(); in forLanguageTag() local
882 /*minCapacity=*/resultCapacity, in forLanguageTag()
883 /*desiredCapacityHint=*/resultCapacity, in forLanguageTag()
884 resultCapacity, in forLanguageTag()
895 resultCapacity, in forLanguageTag()
907 resultCapacity = reslen; in forLanguageTag()
Dcharstr.h122 int32_t &resultCapacity,
Duresimp.h169 ures_getFunctionalEquivalent(char *result, int32_t resultCapacity,
Duloc.cpp1691 int32_t resultCapacity, in _canonicalize() argument
1724 (result == NULL || resultCapacity < (int32_t)sizeof(localeBuffer))) { in _canonicalize()
1729 nameCapacity = resultCapacity; in _canonicalize()
1927 uprv_strncpy(result, localeBuffer, (len > resultCapacity) ? resultCapacity : len); in _canonicalize()
1930 return u_terminateChars(result, resultCapacity, len, err); in _canonicalize()
/external/icu/icu4c/source/i18n/unicode/
Dureldatefmt.h285 int32_t resultCapacity,
321 int32_t resultCapacity,
360 int32_t resultCapacity,
Dulistformatter.h145 int32_t resultCapacity,
Dudateintervalformat.h180 int32_t resultCapacity,
Ducal.h638 ucal_getDefaultTimeZone(UChar* result, int32_t resultCapacity, UErrorCode* ec);
1317 … UChar* result, int32_t resultCapacity, UBool *isSystemID, UErrorCode* status);
/external/icu/libandroidicu/include/unicode/
Dureldatefmt.h285 int32_t resultCapacity,
321 int32_t resultCapacity,
360 int32_t resultCapacity,
Dulistformatter.h145 int32_t resultCapacity,
Dudateintervalformat.h180 int32_t resultCapacity,
Ducal.h638 ucal_getDefaultTimeZone(UChar* result, int32_t resultCapacity, UErrorCode* ec);
1317 … UChar* result, int32_t resultCapacity, UBool *isSystemID, UErrorCode* status);
/external/icu/icu4c/source/common/unicode/
Dappendable.h144 int32_t *resultCapacity);
226 int32_t *resultCapacity);
/external/icu/icu4c/source/test/intltest/
Dconvtest.cpp972 UChar *result, int32_t resultCapacity, in stepToUnicode() argument
983 resultLimit=result+resultCapacity; in stepToUnicode()
1375 char *result, int32_t resultCapacity, in stepFromUTF8() argument
1388 resultLimit=result+resultCapacity; in stepFromUTF8()
1480 char *result, int32_t resultCapacity, in stepFromUnicode() argument
1491 resultLimit=result+resultCapacity; in stepFromUnicode()

12