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

12

/external/icu4c/common/
H A Dappendable.cpp61 int32_t *resultCapacity) {
63 *resultCapacity=0;
66 *resultCapacity=scratchCapacity;
58 getAppendBuffer(int32_t minCapacity, int32_t , UChar *scratch, int32_t scratchCapacity, int32_t *resultCapacity) argument
H A Dcharstr.cpp84 int32_t &resultCapacity,
87 resultCapacity=0;
92 resultCapacity=appendCapacity;
96 resultCapacity=buffer.getCapacity()-len-1;
99 resultCapacity=0;
82 getAppendBuffer(int32_t minCapacity, int32_t desiredCapacityHint, int32_t &resultCapacity, UErrorCode &errorCode) argument
H A Duset_props.cpp130 UChar* result, int32_t resultCapacity,
135 return pat.extract(result, resultCapacity, *ec);
129 uset_toPattern(const USet* set, UChar* result, int32_t resultCapacity, UBool escapeUnprintable, UErrorCode* ec) argument
H A Dcmemory.h325 * @param resultCapacity will be set to the returned array's capacity (output-only)
329 inline T *orphanOrClone(int32_t length, int32_t &resultCapacity);
391 inline T *MaybeStackArray<T, stackCapacity>::orphanOrClone(int32_t length, int32_t &resultCapacity) { argument
410 resultCapacity=length;
503 * @param resultCapacity will be set to the returned array's capacity (output-only)
507 inline H *orphanOrClone(int32_t length, int32_t &resultCapacity);
570 int32_t &resultCapacity) {
589 resultCapacity=length;
569 orphanOrClone(int32_t length, int32_t &resultCapacity) argument
H A Dcharstr.h85 * resultCapacity. Guarantees resultCapacity>=minCapacity if U_SUCCESS().
86 * There will additionally be space for a terminating NUL right at resultCapacity.
92 * After writing at most resultCapacity bytes, call append() with the
99 * @param resultCapacity will be set to the capacity of the returned buffer
101 * @return a buffer with resultCapacity>=min_capacity
105 int32_t &resultCapacity,
H A Duresimp.h153 * @param resultCapacity capacity of the fillin buffer
164 * than resultCapacity, the returned full name will be truncated and an error code will be returned.
167 ures_getFunctionalEquivalent(char *result, int32_t resultCapacity,
/external/icu4c/i18n/
H A Dudateintervalformat.cpp70 int32_t resultCapacity,
77 if (result == NULL ? resultCapacity != 0 : resultCapacity < 0) {
85 res.setTo(result, 0, resultCapacity);
102 return res.extract(result, resultCapacity, *status);
66 udtitvfmt_format(const UDateIntervalFormat* formatter, UDate fromDate, UDate toDate, UChar* result, int32_t resultCapacity, UFieldPosition* position, UErrorCode* status) argument
H A Dulocdata.c254 int32_t resultCapacity,
294 u_strncpy(result, pattern, resultCapacity);
302 int32_t resultCapacity,
342 u_strncpy(result, separator, resultCapacity);
252 ulocdata_getLocaleDisplayPattern(ULocaleData *uld, UChar *result, int32_t resultCapacity, UErrorCode *status) argument
300 ulocdata_getLocaleSeparator(ULocaleData *uld, UChar *result, int32_t resultCapacity, UErrorCode *status) argument
H A Ducal.cpp67 ucal_getDefaultTimeZone(UChar* result, int32_t resultCapacity, UErrorCode* ec) { argument
77 len = id.extract(result, resultCapacity, *ec);
565 UChar* result, int32_t resultCapacity, UBool *isSystemID, UErrorCode* status) {
572 if (id == 0 || len == 0 || result == 0 || resultCapacity <= 0) {
584 reslen = canonical.extract(result, resultCapacity, *status);
564 ucal_getCanonicalTimeZoneID(const UChar* id, int32_t len, UChar* result, int32_t resultCapacity, UBool *isSystemID, UErrorCode* status) argument
/external/chromium_org/third_party/icu/source/common/
H A Dcharstr.cpp84 int32_t &resultCapacity,
87 resultCapacity=0;
92 resultCapacity=appendCapacity;
96 resultCapacity=buffer.getCapacity()-len-1;
99 resultCapacity=0;
82 getAppendBuffer(int32_t minCapacity, int32_t desiredCapacityHint, int32_t &resultCapacity, UErrorCode &errorCode) argument
H A Dcmemory.h275 * @param resultCapacity will be set to the returned array's capacity (output-only)
280 inline T *orphanOrClone(int32_t length, int32_t &resultCapacity);
339 inline T *MaybeStackArray<T, stackCapacity>::orphanOrClone(int32_t length, int32_t &resultCapacity) { argument
355 resultCapacity=length;
448 * @param resultCapacity will be set to the returned array's capacity (output-only)
453 inline H *orphanOrClone(int32_t length, int32_t &resultCapacity);
513 int32_t &resultCapacity) {
529 resultCapacity=length;
512 orphanOrClone(int32_t length, int32_t &resultCapacity) argument
H A Duset_props.cpp130 UChar* result, int32_t resultCapacity,
135 return pat.extract(result, resultCapacity, *ec);
129 uset_toPattern(const USet* set, UChar* result, int32_t resultCapacity, UBool escapeUnprintable, UErrorCode* ec) argument
H A Dcharstr.h85 * resultCapacity. Guarantees resultCapacity>=minCapacity if U_SUCCESS().
86 * There will additionally be space for a terminating NUL right at resultCapacity.
92 * After writing at most resultCapacity bytes, call append() with the
99 * @param resultCapacity will be set to the capacity of the returned buffer
101 * @return a buffer with resultCapacity>=min_capacity
105 int32_t &resultCapacity,
H A Duresimp.h153 * @param resultCapacity capacity of the fillin buffer
164 * than resultCapacity, the returned full name will be truncated and an error code will be returned.
168 ures_getFunctionalEquivalent(char *result, int32_t resultCapacity,
H A Duloc.c1633 int32_t resultCapacity,
1666 (result == NULL || resultCapacity < sizeof(localeBuffer))) {
1671 nameCapacity = resultCapacity;
1866 uprv_strncpy(result, localeBuffer, (len > resultCapacity) ? resultCapacity : len);
1869 return u_terminateChars(result, resultCapacity, len, err);
1631 _canonicalize(const char* localeID, char* result, int32_t resultCapacity, uint32_t options, UErrorCode* err) argument
/external/icu4c/i18n/unicode/
H A Dudateintervalformat.h155 * @param resultCapacity
175 int32_t resultCapacity,
H A Dusearch.h431 * @param resultCapacity length of the result buffer
443 int32_t resultCapacity,
H A Ducal.h611 * @param resultCapacity The capacity of the result buffer
621 ucal_getDefaultTimeZone(UChar* result, int32_t resultCapacity, UErrorCode* ec);
1289 * @param resultCapacity The capacity of the result buffer.
1302 UChar* result, int32_t resultCapacity, UBool *isSystemID, UErrorCode* status);
/external/icu4c/common/unicode/
H A Dappendable.h97 * *resultCapacity. Guarantees *resultCapacity>=minCapacity.
103 * After writing at most *resultCapacity UChars, call appendString() with the
134 * @param resultCapacity pointer to an integer which will be set to the
136 * @return a buffer with *resultCapacity>=minCapacity
142 int32_t *resultCapacity);
202 * *resultCapacity. Guarantees *resultCapacity>=minCapacity.
216 * @param resultCapacity pointer to an integer which will be set to the
218 * @return a buffer with *resultCapacity>
[all...]
/external/chromium_org/third_party/icu/source/i18n/
H A Dulocdata.c251 int32_t resultCapacity,
291 u_strncpy(result, pattern, resultCapacity);
299 int32_t resultCapacity,
339 u_strncpy(result, separator, resultCapacity);
249 ulocdata_getLocaleDisplayPattern(ULocaleData *uld, UChar *result, int32_t resultCapacity, UErrorCode *status) argument
297 ulocdata_getLocaleSeparator(ULocaleData *uld, UChar *result, int32_t resultCapacity, UErrorCode *status) argument
H A Ducal.cpp59 ucal_getDefaultTimeZone(UChar* result, int32_t resultCapacity, UErrorCode* ec) { argument
69 len = id.extract(result, resultCapacity, *ec);
516 UChar* result, int32_t resultCapacity, UBool *isSystemID, UErrorCode* status) {
523 if (id == 0 || len == 0 || result == 0 || resultCapacity <= 0) {
535 reslen = canonical.extract(result, resultCapacity, *status);
515 ucal_getCanonicalTimeZoneID(const UChar* id, int32_t len, UChar* result, int32_t resultCapacity, UBool *isSystemID, UErrorCode* status) argument
/external/chromium_org/third_party/icu/source/i18n/unicode/
H A Ducal.h558 * @param resultCapacity The capacity of the result buffer
568 ucal_getDefaultTimeZone(UChar* result, int32_t resultCapacity, UErrorCode* ec);
1154 * @param resultCapacity The capacity of the result buffer.
1167 UChar* result, int32_t resultCapacity, UBool *isSystemID, UErrorCode* status);
H A Dusearch.h431 * @param resultCapacity length of the result buffer
443 int32_t resultCapacity,
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dconvtest.cpp757 UChar *result, int32_t resultCapacity,
758 int32_t *resultOffsets, /* also resultCapacity */
768 resultLimit=result+resultCapacity;
1159 char *result, int32_t resultCapacity,
1172 resultLimit=result+resultCapacity;
1264 char *result, int32_t resultCapacity,
1265 int32_t *resultOffsets, /* also resultCapacity */
1275 resultLimit=result+resultCapacity;
756 stepToUnicode(ConversionCase &cc, UConverter *cnv, UChar *result, int32_t resultCapacity, int32_t *resultOffsets, int32_t step, UErrorCode *pErrorCode) argument
1157 stepFromUTF8(ConversionCase &cc, UConverter *utf8Cnv, UConverter *cnv, char *result, int32_t resultCapacity, int32_t step, UErrorCode *pErrorCode) argument
1263 stepFromUnicode(ConversionCase &cc, UConverter *cnv, char *result, int32_t resultCapacity, int32_t *resultOffsets, int32_t step, UErrorCode *pErrorCode) argument
/external/icu4c/test/intltest/
H A Dconvtest.cpp786 UChar *result, int32_t resultCapacity,
787 int32_t *resultOffsets, /* also resultCapacity */
797 resultLimit=result+resultCapacity;
1188 char *result, int32_t resultCapacity,
1201 resultLimit=result+resultCapacity;
1293 char *result, int32_t resultCapacity,
1294 int32_t *resultOffsets, /* also resultCapacity */
1304 resultLimit=result+resultCapacity;
785 stepToUnicode(ConversionCase &cc, UConverter *cnv, UChar *result, int32_t resultCapacity, int32_t *resultOffsets, int32_t step, UErrorCode *pErrorCode) argument
1186 stepFromUTF8(ConversionCase &cc, UConverter *utf8Cnv, UConverter *cnv, char *result, int32_t resultCapacity, int32_t step, UErrorCode *pErrorCode) argument
1292 stepFromUnicode(ConversionCase &cc, UConverter *cnv, char *result, int32_t resultCapacity, int32_t *resultOffsets, int32_t step, UErrorCode *pErrorCode) argument

Completed in 519 milliseconds

12