Home
last modified time | relevance | path

Searched refs:requiredCapacity (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Ddcfmtest.cpp139 int32_t requiredCapacity = s.extract(0, len, buf.getAlias(), capacity) + 1; in UnicodeStringPiece() local
140 if (capacity < requiredCapacity) { in UnicodeStringPiece()
141 buf.resize(requiredCapacity); in UnicodeStringPiece()
142 capacity = requiredCapacity; in UnicodeStringPiece()
145 this->set(buf.getAlias(), requiredCapacity - 1); in UnicodeStringPiece()
/external/icu/icu4c/source/test/cintltst/
Dreapits.c1056 int32_t requiredCapacity; in TestRegexCAPI() local
1076 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 10, &status); in TestRegexCAPI()
1091 TEST_ASSERT(spaceNeeded == requiredCapacity); in TestRegexCAPI()
1108 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 2, &status); in TestRegexCAPI()
1122 TEST_ASSERT(spaceNeeded == requiredCapacity); in TestRegexCAPI()
1133 uregex_split(re, buf, sz, &requiredCapacity, fields, 10, &status); in TestRegexCAPI()
1144 TEST_ASSERT(spaceNeeded == requiredCapacity); in TestRegexCAPI()
1162 int32_t requiredCapacity; in TestRegexCAPI() local
1178 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 10, &status); in TestRegexCAPI()
1191 TEST_ASSERT(spaceNeeded == requiredCapacity); in TestRegexCAPI()
[all …]
/external/icu/icu4c/source/i18n/
Duregex.cpp1306 int32_t *requiredCapacity,
1805 int32_t *requiredCapacity, in split() argument
1925 if (requiredCapacity != NULL) { in split()
1926 *requiredCapacity = destIdx; in split()
1941 int32_t *requiredCapacity, in uregex_split() argument
1957 …return RegexCImpl::split(regexp, destBuf, destCapacity, requiredCapacity, destFields, destFieldsCa… in uregex_split()
/external/icu/icu4c/source/i18n/unicode/
Duregex.h1366 int32_t *requiredCapacity,