Home
last modified time | relevance | path

Searched refs:oldBuffer (Results 1 – 9 of 9) sorted by relevance

/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/
DByteBufferHelper.java33 ByteBuffer oldBuffer = nuSamples.remove(lastIndex); in mergeAdjacentBuffers() local
34 …ByteBuffer nu = ByteBuffer.wrap(buffer.array(), oldBuffer.arrayOffset(), oldBuffer.limit() + buffe… in mergeAdjacentBuffers()
41 ByteBuffer oldBuffer = nuSamples.get(lastIndex); in mergeAdjacentBuffers() local
42 oldBuffer.limit(buffer.limit() + oldBuffer.limit()); in mergeAdjacentBuffers()
DDefaultMp4Builder.java561 ByteBuffer oldBuffer = nuSamples.remove(lastIndex); in unifyAdjacentBuffers() local
562 …ByteBuffer nu = ByteBuffer.wrap(buffer.array(), oldBuffer.arrayOffset(), oldBuffer.limit() + buffe… in unifyAdjacentBuffers()
569 ByteBuffer oldBuffer = nuSamples.get(lastIndex); in unifyAdjacentBuffers() local
570 oldBuffer.limit(buffer.limit() + oldBuffer.limit()); in unifyAdjacentBuffers()
/external/icu/icu4c/source/common/
Dunistr_case.cpp101 UChar oldBuffer[2 * US_STACKBUF_SIZE]; in caseMap() local
115 if (writable ? oldLength <= UPRV_LENGTHOF(oldBuffer) : oldLength < US_STACKBUF_SIZE) { in caseMap()
120 oldArray = oldBuffer; in caseMap()
121 u_memcpy(oldBuffer, buffer, oldLength); in caseMap()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationIterator.java88 oldBuffer.setLength(0); in clear()
93 boolean isEmpty() { return oldBuffer.length() == 0; } in isEmpty()
95 boolean hasNext() { return pos < oldBuffer.length(); } in hasNext()
99 int c = oldBuffer.codePointAt(pos); in next()
114 int length = oldBuffer.length(); in backwardNumCodePoints()
123 pos = oldBuffer.offsetByCodePoints(length, beyond - n); in backwardNumCodePoints()
128 pos = oldBuffer.offsetByCodePoints(pos, -n); in backwardNumCodePoints()
148 int oldLength = oldBuffer.length(); in replaceMatch()
150 oldBuffer.delete(0, pos).insert(0, newBuffer, 0, skipLengthAtMatch); in replaceMatch()
159 private final StringBuilder oldBuffer = new StringBuilder(); field in CollationIterator.SkippedState
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationIterator.java90 oldBuffer.setLength(0); in clear()
95 boolean isEmpty() { return oldBuffer.length() == 0; } in isEmpty()
97 boolean hasNext() { return pos < oldBuffer.length(); } in hasNext()
101 int c = oldBuffer.codePointAt(pos); in next()
116 int length = oldBuffer.length(); in backwardNumCodePoints()
125 pos = oldBuffer.offsetByCodePoints(length, beyond - n); in backwardNumCodePoints()
130 pos = oldBuffer.offsetByCodePoints(pos, -n); in backwardNumCodePoints()
150 int oldLength = oldBuffer.length(); in replaceMatch()
152 oldBuffer.delete(0, pos).insert(0, newBuffer, 0, skipLengthAtMatch); in replaceMatch()
161 private final StringBuilder oldBuffer = new StringBuilder(); field in CollationIterator.SkippedState
/external/icu/icu4c/source/i18n/
Dcollationiterator.cpp63 oldBuffer.remove(); in clear()
68 UBool isEmpty() const { return oldBuffer.isEmpty(); } in isEmpty()
70 UBool hasNext() const { return pos < oldBuffer.length(); } in hasNext()
74 UChar32 c = oldBuffer.char32At(pos); in next()
89 int32_t length = oldBuffer.length(); in backwardNumCodePoints()
98 pos = oldBuffer.moveIndex32(length, beyond - n); in backwardNumCodePoints()
103 pos = oldBuffer.moveIndex32(pos, -n); in backwardNumCodePoints()
122 oldBuffer.replace(0, pos, newBuffer, 0, skipLengthAtMatch); in replaceMatch()
132 UnicodeString oldBuffer; member in SkippedState
/external/angle/src/libANGLE/
DVertexArray.cpp282 Buffer *oldBuffer = binding->getBuffer().get(); in bindVertexBufferImpl() local
284 const bool sameBuffer = oldBuffer == boundBuffer; in bindVertexBufferImpl()
297 if (oldBuffer) in bindVertexBufferImpl()
299 oldBuffer->onNonTFBindingChanged(-1); in bindVertexBufferImpl()
300 oldBuffer->removeObserver(observer); in bindVertexBufferImpl()
301 oldBuffer->release(context); in bindVertexBufferImpl()
DState.cpp141 Buffer *oldBuffer = binding->get(); in UpdateNonTFBufferBinding() local
142 if (oldBuffer) in UpdateNonTFBufferBinding()
144 oldBuffer->onNonTFBindingChanged(-1); in UpdateNonTFBufferBinding()
145 oldBuffer->release(context); in UpdateNonTFBufferBinding()
222 Buffer *oldBuffer = mVertexArray->mState.mElementArrayBuffer.get(); in setGenericBufferBinding() local
223 if (oldBuffer) in setGenericBufferBinding()
225 oldBuffer->removeObserver(&mVertexArray->mState.mElementArrayBuffer); in setGenericBufferBinding()
226 oldBuffer->onNonTFBindingChanged(-1); in setGenericBufferBinding()
227 oldBuffer->release(context); in setGenericBufferBinding()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/dump/
DTapeInputStream.java74 final byte[] oldBuffer = blockBuffer; in resetBlockSize()
78 System.arraycopy(oldBuffer, 0, blockBuffer, 0, RECORD_SIZE); in resetBlockSize()