Searched refs:resultCapacity (Results 1 - 25 of 27) sorted by relevance

12

/external/icu/icu4c/source/common/
H A Dulistformatter.cpp49 int32_t resultCapacity,
55 if (stringCount < 0 || (strings == NULL && stringCount > 0) || ((result == NULL)? resultCapacity != 0 : resultCapacity < 0)) {
81 res.setTo(result, 0, resultCapacity);
87 return res.extract(result, resultCapacity, *status);
44 ulistfmt_format(const UListFormatter* listfmt, const UChar* const strings[], const int32_t * stringLengths, int32_t stringCount, UChar* result, int32_t resultCapacity, UErrorCode* status) argument
H A Dappendable.cpp63 int32_t *resultCapacity) {
65 *resultCapacity=0;
68 *resultCapacity=scratchCapacity;
60 getAppendBuffer(int32_t minCapacity, int32_t , UChar *scratch, int32_t scratchCapacity, int32_t *resultCapacity) argument
H A Dcstr.cpp25 int32_t resultCapacity = 0; local
26 char *buf = s.getAppendBuffer(length, length, resultCapacity, status);
28 in.extract(0, in.length(), buf, resultCapacity);
H A Dcharstr.cpp96 int32_t &resultCapacity,
99 resultCapacity=0;
104 resultCapacity=appendCapacity;
108 resultCapacity=buffer.getCapacity()-len-1;
111 resultCapacity=0;
94 getAppendBuffer(int32_t minCapacity, int32_t desiredCapacityHint, int32_t &resultCapacity, UErrorCode &errorCode) argument
H A Duset_props.cpp132 UChar* result, int32_t resultCapacity,
137 return pat.extract(result, resultCapacity, *ec);
131 uset_toPattern(const USet* set, UChar* result, int32_t resultCapacity, UBool escapeUnprintable, UErrorCode* ec) argument
H A Dcmemory.h381 * @param resultCapacity will be set to the returned array's capacity (output-only)
385 inline T *orphanOrClone(int32_t length, int32_t &resultCapacity);
447 inline T *MaybeStackArray<T, stackCapacity>::orphanOrClone(int32_t length, int32_t &resultCapacity) { argument
466 resultCapacity=length;
559 * @param resultCapacity will be set to the returned array's capacity (output-only)
563 inline H *orphanOrClone(int32_t length, int32_t &resultCapacity);
626 int32_t &resultCapacity) {
645 resultCapacity=length;
625 orphanOrClone(int32_t length, int32_t &resultCapacity) argument
H A Dcharstr.h90 * resultCapacity. Guarantees resultCapacity>=minCapacity if U_SUCCESS().
91 * There will additionally be space for a terminating NUL right at resultCapacity.
97 * After writing at most resultCapacity bytes, call append() with the
104 * @param resultCapacity will be set to the capacity of the returned buffer
106 * @return a buffer with resultCapacity>=min_capacity
110 int32_t &resultCapacity,
H A Duresimp.h155 * @param resultCapacity capacity of the fillin buffer
166 * than resultCapacity, the returned full name will be truncated and an error code will be returned.
169 ures_getFunctionalEquivalent(char *result, int32_t resultCapacity,
H A Duloc.cpp1638 int32_t resultCapacity,
1671 (result == NULL || resultCapacity < (int32_t)sizeof(localeBuffer))) {
1676 nameCapacity = resultCapacity;
1874 uprv_strncpy(result, localeBuffer, (len > resultCapacity) ? resultCapacity : len);
1877 return u_terminateChars(result, resultCapacity, len, err);
1636 _canonicalize(const char* localeID, char* result, int32_t resultCapacity, uint32_t options, UErrorCode* err) argument
H A Dunistr.cpp1891 int32_t *resultCapacity) {
1893 *resultCapacity = 0;
1900 *resultCapacity = str.getCapacity() - oldLength;
1903 *resultCapacity = scratchCapacity;
1888 getAppendBuffer(int32_t minCapacity, int32_t desiredCapacityHint, UChar *scratch, int32_t scratchCapacity, int32_t *resultCapacity) argument
/external/icu/icu4c/source/i18n/
H A Dudateintervalformat.cpp72 int32_t resultCapacity,
79 if (result == NULL ? resultCapacity != 0 : resultCapacity < 0) {
87 res.setTo(result, 0, resultCapacity);
104 return res.extract(result, resultCapacity, *status);
68 udtitvfmt_format(const UDateIntervalFormat* formatter, UDate fromDate, UDate toDate, UChar* result, int32_t resultCapacity, UFieldPosition* position, UErrorCode* status) argument
H A Dulocdata.c278 int32_t resultCapacity,
318 u_strncpy(result, pattern, resultCapacity);
326 int32_t resultCapacity,
377 if (len < resultCapacity) {
384 u_strncpy(result, separator, resultCapacity);
276 ulocdata_getLocaleDisplayPattern(ULocaleData *uld, UChar *result, int32_t resultCapacity, UErrorCode *status) argument
324 ulocdata_getLocaleSeparator(ULocaleData *uld, UChar *result, int32_t resultCapacity, UErrorCode *status) argument
H A Dreldatefmt.cpp1049 int32_t resultCapacity,
1055 if (result == NULL ? resultCapacity != 0 : resultCapacity < 0) {
1063 res.setTo(result, 0, resultCapacity);
1069 return res.extract(result, resultCapacity, *status);
1077 int32_t resultCapacity,
1083 if (result == NULL ? resultCapacity != 0 : resultCapacity < 0) {
1091 res.setTo(result, 0, resultCapacity);
1097 return res.extract(result, resultCapacity, *statu
1045 ureldatefmt_formatNumeric( const URelativeDateTimeFormatter* reldatefmt, double offset, URelativeDateTimeUnit unit, UChar* result, int32_t resultCapacity, UErrorCode* status) argument
1073 ureldatefmt_format( const URelativeDateTimeFormatter* reldatefmt, double offset, URelativeDateTimeUnit unit, UChar* result, int32_t resultCapacity, UErrorCode* status) argument
1101 ureldatefmt_combineDateAndTime( const URelativeDateTimeFormatter* reldatefmt, const UChar * relativeDateString, int32_t relativeDateStringLen, const UChar * timeString, int32_t timeStringLen, UChar* result, int32_t resultCapacity, UErrorCode* status ) argument
[all...]
H A Ducal.cpp70 ucal_getDefaultTimeZone(UChar* result, int32_t resultCapacity, UErrorCode* ec) { argument
80 len = id.extract(result, resultCapacity, *ec);
568 UChar* result, int32_t resultCapacity, UBool *isSystemID, UErrorCode* status) {
575 if (id == 0 || len == 0 || result == 0 || resultCapacity <= 0) {
587 reslen = canonical.extract(result, resultCapacity, *status);
567 ucal_getCanonicalTimeZoneID(const UChar* id, int32_t len, UChar* result, int32_t resultCapacity, UBool *isSystemID, UErrorCode* status) argument
H A Ducol_res.cpp689 ucol_getFunctionalEquivalent(char* result, int32_t resultCapacity, argument
694 return ures_getFunctionalEquivalent(result, resultCapacity, U_ICUDATA_COLL,
H A Dusearch.cpp2907 int32_t resultCapacity,
2913 if (strsrch == NULL || resultCapacity < 0 || (resultCapacity > 0 &&
2922 u_terminateUChars(result, resultCapacity, 0, status);
2926 if (resultCapacity < copylength) {
2927 copylength = resultCapacity;
2933 return u_terminateUChars(result, resultCapacity,
2905 usearch_getMatchedText(const UStringSearch *strsrch, UChar *result, int32_t resultCapacity, UErrorCode *status) argument
/external/icu/icu4c/source/i18n/unicode/
H A Dureldatefmt.h273 * @param resultCapacity
281 * than resultCapacity, in which case an error is returned.
289 int32_t resultCapacity,
309 * @param resultCapacity
317 * than resultCapacity, in which case an error is returned.
325 int32_t resultCapacity,
347 * @param resultCapacity
353 * The length of the formatted result; may be greater than resultCapacity,
364 int32_t resultCapacity,
H A Dudateintervalformat.h157 * @param resultCapacity
180 int32_t resultCapacity,
H A Dusearch.h486 * @param resultCapacity length of the result buffer
498 int32_t resultCapacity,
H A Ducal.h615 * @param resultCapacity The capacity of the result buffer
625 ucal_getDefaultTimeZone(UChar* result, int32_t resultCapacity, UErrorCode* ec);
1291 * @param resultCapacity The capacity of the result buffer.
1304 UChar* result, int32_t resultCapacity, UBool *isSystemID, UErrorCode* status);
H A Ducol.h905 * @param resultCapacity capacity of the fillin buffer
915 * than resultCapacity, the returned full name will be truncated and
920 ucol_getFunctionalEquivalent(char* result, int32_t resultCapacity,
/external/icu/icu4c/source/common/unicode/
H A Dulistformatter.h105 * @param resultCapacity
125 int32_t resultCapacity,
H A Dappendable.h99 * *resultCapacity. Guarantees *resultCapacity>=minCapacity.
105 * After writing at most *resultCapacity UChars, call appendString() with the
136 * @param resultCapacity pointer to an integer which will be set to the
138 * @return a buffer with *resultCapacity>=minCapacity
144 int32_t *resultCapacity);
204 * *resultCapacity. Guarantees *resultCapacity>=minCapacity.
218 * @param resultCapacity pointer to an integer which will be set to the
220 * @return a buffer with *resultCapacity>
[all...]
H A Duset.h512 * @param resultCapacity the capacity of result, may be 0 if result is NULL
518 * @return length of string, possibly larger than resultCapacity
523 UChar* result, int32_t resultCapacity,
/external/icu/icu4c/source/test/intltest/
H A Dconvtest.cpp860 UChar *result, int32_t resultCapacity,
861 int32_t *resultOffsets, /* also resultCapacity */
871 resultLimit=result+resultCapacity;
1262 char *result, int32_t resultCapacity,
1275 resultLimit=result+resultCapacity;
1367 char *result, int32_t resultCapacity,
1368 int32_t *resultOffsets, /* also resultCapacity */
1378 resultLimit=result+resultCapacity;
859 stepToUnicode(ConversionCase &cc, UConverter *cnv, UChar *result, int32_t resultCapacity, int32_t *resultOffsets, int32_t step, UErrorCode *pErrorCode) argument
1260 stepFromUTF8(ConversionCase &cc, UConverter *utf8Cnv, UConverter *cnv, char *result, int32_t resultCapacity, int32_t step, UErrorCode *pErrorCode) argument
1366 stepFromUnicode(ConversionCase &cc, UConverter *cnv, char *result, int32_t resultCapacity, int32_t *resultOffsets, int32_t step, UErrorCode *pErrorCode) argument

Completed in 904 milliseconds

12