Home
last modified time | relevance | path

Searched refs:scratch_capacity (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4c/source/common/
Dbytestream.cpp19 char* scratch, int32_t scratch_capacity, in GetAppendBuffer() argument
21 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer()
25 *result_capacity = scratch_capacity; in GetAppendBuffer()
69 int32_t scratch_capacity, in GetAppendBuffer() argument
71 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer()
80 *result_capacity = scratch_capacity; in GetAppendBuffer()
Dlocid.cpp951 int32_t scratch_capacity = static_cast<int32_t>(uprv_strlen(fullName)); in toLanguageTag() local
953 if (scratch_capacity == 0) { in toLanguageTag()
954 scratch_capacity = 3; // "und" in toLanguageTag()
961 if (scratch.allocateInsteadAndReset(scratch_capacity) == nullptr) { in toLanguageTag()
967 /*min_capacity=*/scratch_capacity, in toLanguageTag()
968 /*desired_capacity_hint=*/scratch_capacity, in toLanguageTag()
970 scratch_capacity, in toLanguageTag()
989 scratch_capacity = reslen; in toLanguageTag()
1419 int32_t scratch_capacity = 16; // Arbitrarily chosen default size. in getKeywordValue() local
1425 if (scratch.allocateInsteadAndReset(scratch_capacity) == nullptr) { in getKeywordValue()
[all …]
Dbytesinkutil.cpp140 int32_t scratch_capacity, in GetAppendBuffer() argument
142 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer()
157 *result_capacity = scratch_capacity; in GetAppendBuffer()
Dbytesinkutil.h76 int32_t scratch_capacity,
/external/icu/icu4c/source/common/unicode/
Dbytestream.h115 char* scratch, int32_t scratch_capacity,
191 char* scratch, int32_t scratch_capacity,
/external/icu/icu4c/source/i18n/
Dcollationkeys.cpp62 int32_t scratch_capacity, in GetAppendBuffer() argument
64 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer()
70 *result_capacity = scratch_capacity; in GetAppendBuffer()
81 *result_capacity = scratch_capacity; in GetAppendBuffer()
Dcollationkeys.h54 char *scratch, int32_t scratch_capacity,