Home
last modified time | relevance | path

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

/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/decoder/
DDecoderInputBuffer.java142 int requiredCapacity = position + length; in ensureSpaceForWrite() local
143 if (capacity >= requiredCapacity) { in ensureSpaceForWrite()
147 ByteBuffer newData = createReplacementByteBuffer(requiredCapacity); in ensureSpaceForWrite()
197 private ByteBuffer createReplacementByteBuffer(int requiredCapacity) { in createReplacementByteBuffer() argument
199 return ByteBuffer.allocate(requiredCapacity); in createReplacementByteBuffer()
201 return ByteBuffer.allocateDirect(requiredCapacity); in createReplacementByteBuffer()
205 + requiredCapacity + ")"); in createReplacementByteBuffer()
/external/icu/icu4c/source/test/intltest/
Ddcfmtest.cpp161 int32_t requiredCapacity = s.extract(0, len, buf.getAlias(), capacity) + 1; in UnicodeStringPiece() local
162 if (capacity < requiredCapacity) { in UnicodeStringPiece()
163 buf.resize(requiredCapacity); in UnicodeStringPiece()
164 capacity = requiredCapacity; in UnicodeStringPiece()
167 this->set(buf.getAlias(), requiredCapacity - 1); in UnicodeStringPiece()
/external/icu/icu4c/source/test/cintltst/
Dreapits.c1067 int32_t requiredCapacity; in TestRegexCAPI() local
1087 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 10, &status); in TestRegexCAPI()
1102 TEST_ASSERT(spaceNeeded == requiredCapacity); in TestRegexCAPI()
1119 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 2, &status); in TestRegexCAPI()
1133 TEST_ASSERT(spaceNeeded == requiredCapacity); in TestRegexCAPI()
1144 uregex_split(re, buf, sz, &requiredCapacity, fields, 10, &status); in TestRegexCAPI()
1155 TEST_ASSERT(spaceNeeded == requiredCapacity); in TestRegexCAPI()
1173 int32_t requiredCapacity; in TestRegexCAPI() local
1189 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 10, &status); in TestRegexCAPI()
1202 TEST_ASSERT(spaceNeeded == requiredCapacity); in TestRegexCAPI()
[all …]
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/
DHlsMediaChunk.java452 int requiredCapacity = id3Size + Id3Decoder.ID3_HEADER_LENGTH; in peekId3PrivTimestamp() local
453 if (requiredCapacity > scratchId3Data.capacity()) { in peekId3PrivTimestamp()
455 scratchId3Data.reset(requiredCapacity); in peekId3PrivTimestamp()
/external/icu/icu4c/source/i18n/
Duregex.cpp1308 int32_t *requiredCapacity,
1810 int32_t *requiredCapacity, in split() argument
1930 if (requiredCapacity != NULL) { in split()
1931 *requiredCapacity = destIdx; in split()
1946 int32_t *requiredCapacity, in uregex_split() argument
1962 …return RegexCImpl::split(regexp, destBuf, destCapacity, requiredCapacity, destFields, destFieldsCa… in uregex_split()
/external/cldr/tools/c/genldml/
Dgenldml.h272 …void growBuffer(UChar* src, int32_t len, int32_t size, int32_t requiredCapacity, UErrorCode* statu…
Dgenldml.cpp3033 void GenerateXML::growBuffer(UChar* src, int32_t len, int32_t size, int32_t requiredCapacity, UErro… in growBuffer() argument
3039 if(requiredCapacity < len ){ in growBuffer()
3043 temp = (UChar*) malloc ( size * requiredCapacity); in growBuffer()
/external/icu/libandroidicu/include/unicode/
Duregex.h1366 int32_t *requiredCapacity,
/external/icu/icu4c/source/i18n/unicode/
Duregex.h1366 int32_t *requiredCapacity,
/external/icu/libandroidicu/static_shim/
Dshim.cpp2404 …pression * regexp, UChar * destBuf, int32_t destCapacity, int32_t * requiredCapacity, UChar * dest… in uregex_split_android() argument
2405 …return uregex_split(regexp, destBuf, destCapacity, requiredCapacity, destFields, destFieldsCapacit… in uregex_split_android()