Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dulistformatter.cpp47 int32_t resultCapacity, in ulistfmt_format() argument
53 …strings == NULL && stringCount > 0) || ((result == NULL)? resultCapacity != 0 : resultCapacity < 0… in ulistfmt_format()
79 res.setTo(result, 0, resultCapacity); in ulistfmt_format()
85 return res.extract(result, resultCapacity, *status); in ulistfmt_format()
Dcharstr.cpp84 int32_t &resultCapacity, in getAppendBuffer() argument
87 resultCapacity=0; in getAppendBuffer()
92 resultCapacity=appendCapacity; in getAppendBuffer()
96 resultCapacity=buffer.getCapacity()-len-1; in getAppendBuffer()
99 resultCapacity=0; in getAppendBuffer()
Dappendable.cpp61 int32_t *resultCapacity) { in getAppendBuffer() argument
63 *resultCapacity=0; in getAppendBuffer()
66 *resultCapacity=scratchCapacity; in getAppendBuffer()
Dcmemory.h330 inline T *orphanOrClone(int32_t length, int32_t &resultCapacity);
392 inline T *MaybeStackArray<T, stackCapacity>::orphanOrClone(int32_t length, int32_t &resultCapacity)… in orphanOrClone() argument
411 resultCapacity=length; in orphanOrClone()
508 inline H *orphanOrClone(int32_t length, int32_t &resultCapacity);
571 int32_t &resultCapacity) { in orphanOrClone() argument
590 resultCapacity=length; in orphanOrClone()
Duset_props.cpp130 UChar* result, int32_t resultCapacity, in uset_toPattern() argument
135 return pat.extract(result, resultCapacity, *ec); in uset_toPattern()
Dcharstr.h105 int32_t &resultCapacity,
Duresimp.h167 ures_getFunctionalEquivalent(char *result, int32_t resultCapacity,
Duloc.cpp1621 int32_t resultCapacity, in _canonicalize() argument
1654 (result == NULL || resultCapacity < (int32_t)sizeof(localeBuffer))) { in _canonicalize()
1659 nameCapacity = resultCapacity; in _canonicalize()
1857 uprv_strncpy(result, localeBuffer, (len > resultCapacity) ? resultCapacity : len); in _canonicalize()
1860 return u_terminateChars(result, resultCapacity, len, err); in _canonicalize()
Dunistr.cpp1751 int32_t *resultCapacity) { in getAppendBuffer() argument
1753 *resultCapacity = 0; in getAppendBuffer()
1758 *resultCapacity = str.getCapacity() - oldLength; in getAppendBuffer()
1761 *resultCapacity = scratchCapacity; in getAppendBuffer()
Duresbund.cpp2410 ures_getFunctionalEquivalent(char *result, int32_t resultCapacity, in ures_getFunctionalEquivalent() argument
2700 int32_t copyLength = uprv_min(length, resultCapacity); in ures_getFunctionalEquivalent()
2711 return u_terminateChars(result, resultCapacity, length, status); in ures_getFunctionalEquivalent()
/external/icu/icu4c/source/i18n/
Dudateintervalformat.cpp70 int32_t resultCapacity, in udtitvfmt_format() argument
77 if (result == NULL ? resultCapacity != 0 : resultCapacity < 0) { in udtitvfmt_format()
85 res.setTo(result, 0, resultCapacity); in udtitvfmt_format()
102 return res.extract(result, resultCapacity, *status); in udtitvfmt_format()
Dulocdata.c280 int32_t resultCapacity, in ulocdata_getLocaleDisplayPattern() argument
320 u_strncpy(result, pattern, resultCapacity); in ulocdata_getLocaleDisplayPattern()
328 int32_t resultCapacity, in ulocdata_getLocaleSeparator() argument
379 if (len < resultCapacity) { in ulocdata_getLocaleSeparator()
386 u_strncpy(result, separator, resultCapacity); in ulocdata_getLocaleSeparator()
Ducal.cpp67 ucal_getDefaultTimeZone(UChar* result, int32_t resultCapacity, UErrorCode* ec) { in ucal_getDefaultTimeZone() argument
77 len = id.extract(result, resultCapacity, *ec); in ucal_getDefaultTimeZone()
565 … UChar* result, int32_t resultCapacity, UBool *isSystemID, UErrorCode* status) { in ucal_getCanonicalTimeZoneID() argument
572 if (id == 0 || len == 0 || result == 0 || resultCapacity <= 0) { in ucal_getCanonicalTimeZoneID()
584 reslen = canonical.extract(result, resultCapacity, *status); in ucal_getCanonicalTimeZoneID()
Ducol_res.cpp735 ucol_getFunctionalEquivalent(char* result, int32_t resultCapacity, in ucol_getFunctionalEquivalent() argument
740 return ures_getFunctionalEquivalent(result, resultCapacity, U_ICUDATA_COLL, in ucol_getFunctionalEquivalent()
Dusearch.cpp2901 int32_t resultCapacity, in usearch_getMatchedText() argument
2907 if (strsrch == NULL || resultCapacity < 0 || (resultCapacity > 0 && in usearch_getMatchedText()
2916 u_terminateUChars(result, resultCapacity, 0, status); in usearch_getMatchedText()
2920 if (resultCapacity < copylength) { in usearch_getMatchedText()
2921 copylength = resultCapacity; in usearch_getMatchedText()
2927 return u_terminateUChars(result, resultCapacity, in usearch_getMatchedText()
/external/icu/icu4c/source/common/unicode/
Dappendable.h142 int32_t *resultCapacity);
224 int32_t *resultCapacity);
Dulistformatter.h124 int32_t resultCapacity,
Duset.h519 UChar* result, int32_t resultCapacity,
/external/icu/icu4c/source/i18n/unicode/
Dudateintervalformat.h175 int32_t resultCapacity,
Ducal.h621 ucal_getDefaultTimeZone(UChar* result, int32_t resultCapacity, UErrorCode* ec);
1300 … UChar* result, int32_t resultCapacity, UBool *isSystemID, UErrorCode* status);
Dusearch.h492 int32_t resultCapacity,
Ducol.h909 ucol_getFunctionalEquivalent(char* result, int32_t resultCapacity,
/external/icu/icu4c/source/test/intltest/
Dconvtest.cpp858 UChar *result, int32_t resultCapacity, in stepToUnicode() argument
869 resultLimit=result+resultCapacity; in stepToUnicode()
1260 char *result, int32_t resultCapacity, in stepFromUTF8() argument
1273 resultLimit=result+resultCapacity; in stepFromUTF8()
1365 char *result, int32_t resultCapacity, in stepFromUnicode() argument
1376 resultLimit=result+resultCapacity; in stepFromUnicode()
/external/icu/icu4c/source/test/cintltst/
Dcloctst.c1973 int32_t resultCapacity, in _canonicalize() argument
1978 return uloc_getName(localeID, result, resultCapacity, ec); in _canonicalize()
1980 return uloc_canonicalize(localeID, result, resultCapacity, ec); in _canonicalize()