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

/external/icu4c/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.c1619 int32_t resultCapacity,
1652 (result == NULL || resultCapacity < sizeof(localeBuffer))) {
1657 nameCapacity = resultCapacity;
1852 uprv_strncpy(result, localeBuffer, (len > resultCapacity) ? resultCapacity : len);
1855 return u_terminateChars(result, resultCapacity, len, err);
1617 _canonicalize(const char* localeID, char* result, int32_t resultCapacity, uint32_t options, UErrorCode* err) argument
H A Duresbund.c2351 ures_getFunctionalEquivalent(char *result, int32_t resultCapacity, argument
2641 int32_t copyLength = uprv_min(length, resultCapacity);
2652 return u_terminateChars(result, resultCapacity, length, status);
/external/icu4c/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
H A Dusearch.cpp2896 int32_t resultCapacity,
2902 if (strsrch == NULL || resultCapacity < 0 || (resultCapacity > 0 &&
2911 u_terminateUChars(result, resultCapacity, 0, status);
2915 if (resultCapacity < copylength) {
2916 copylength = resultCapacity;
2922 return u_terminateUChars(result, resultCapacity,
2894 usearch_getMatchedText(const UStringSearch *strsrch, UChar *result, int32_t resultCapacity, UErrorCode *status) argument
H A Ducol_res.cpp916 ucol_getFunctionalEquivalent(char* result, int32_t resultCapacity, argument
921 return ures_getFunctionalEquivalent(result, resultCapacity, U_ICUDATA_COLL,
/external/icu4c/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,
H A Ducol.h688 * @param resultCapacity capacity of the fillin buffer
698 * than resultCapacity, the returned full name will be truncated and
703 ucol_getFunctionalEquivalent(char* result, int32_t resultCapacity,
/external/webkit/Source/WebCore/icu/unicode/
H A Dusearch.h365 * @param resultCapacity length of the result buffer
377 int32_t resultCapacity,
H A Duset.h291 * @param resultCapacity the capacity of result, may be 0 if result is NULL
297 * @return length of string, possibly larger than resultCapacity
302 UChar* result, int32_t resultCapacity,
H A Ducol.h595 * @param resultCapacity capacity of the fillin buffer
605 * than resultCapacity, the returned full name will be truncated and
610 ucol_getFunctionalEquivalent(char* result, int32_t resultCapacity,
/external/icu4c/test/intltest/
H A Dconvtest.cpp784 UChar *result, int32_t resultCapacity,
785 int32_t *resultOffsets, /* also resultCapacity */
795 resultLimit=result+resultCapacity;
1186 char *result, int32_t resultCapacity,
1199 resultLimit=result+resultCapacity;
1291 char *result, int32_t resultCapacity,
1292 int32_t *resultOffsets, /* also resultCapacity */
1302 resultLimit=result+resultCapacity;
783 stepToUnicode(ConversionCase &cc, UConverter *cnv, UChar *result, int32_t resultCapacity, int32_t *resultOffsets, int32_t step, UErrorCode *pErrorCode) argument
1184 stepFromUTF8(ConversionCase &cc, UConverter *utf8Cnv, UConverter *cnv, char *result, int32_t resultCapacity, int32_t step, UErrorCode *pErrorCode) argument
1290 stepFromUnicode(ConversionCase &cc, UConverter *cnv, char *result, int32_t resultCapacity, int32_t *resultOffsets, int32_t step, UErrorCode *pErrorCode) argument
/external/webkit/Source/JavaScriptCore/icu/unicode/
H A Duset.h291 * @param resultCapacity the capacity of result, may be 0 if result is NULL
297 * @return length of string, possibly larger than resultCapacity
302 UChar* result, int32_t resultCapacity,
H A Ducol.h595 * @param resultCapacity capacity of the fillin buffer
605 * than resultCapacity, the returned full name will be truncated and
610 ucol_getFunctionalEquivalent(char* result, int32_t resultCapacity,
/external/icu4c/common/unicode/
H A Duset.h502 * @param resultCapacity the capacity of result, may be 0 if result is NULL
508 * @return length of string, possibly larger than resultCapacity
513 UChar* result, int32_t resultCapacity,
/external/icu4c/test/cintltst/
H A Dcloctst.c1738 int32_t resultCapacity,
1743 return uloc_getName(localeID, result, resultCapacity, ec);
1745 return uloc_canonicalize(localeID, result, resultCapacity, ec);
1735 _canonicalize(int32_t selector, const char* localeID, char* result, int32_t resultCapacity, UErrorCode* ec) argument

Completed in 241 milliseconds