Home
last modified time | relevance | path

Searched refs:oldBuffer (Results 1 – 7 of 7) 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/mesa3d/src/mesa/main/
Dimports.c193 _mesa_align_realloc(void *oldBuffer, size_t oldSize, size_t newSize, in _mesa_align_realloc() argument
198 return _aligned_realloc(oldBuffer, newSize, alignment); in _mesa_align_realloc()
202 if (newBuf && oldBuffer && copySize > 0) { in _mesa_align_realloc()
203 memcpy(newBuf, oldBuffer, copySize); in _mesa_align_realloc()
205 if (oldBuffer) in _mesa_align_realloc()
206 _mesa_align_free(oldBuffer); in _mesa_align_realloc()
215 _mesa_realloc(void *oldBuffer, size_t oldSize, size_t newSize) in _mesa_realloc() argument
219 if (newBuffer && oldBuffer && copySize > 0) in _mesa_realloc()
220 memcpy(newBuffer, oldBuffer, copySize); in _mesa_realloc()
221 if (oldBuffer) in _mesa_realloc()
[all …]
Dimports.h549 _mesa_align_realloc(void *oldBuffer, size_t oldSize, size_t newSize,
559 _mesa_realloc( void *oldBuffer, size_t oldSize, size_t newSize );
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
DFluidSimHeightMap.java166 float[] oldBuffer; in load() local
175 oldBuffer = tempBuffer[1 - curBuf]; in load()
203 oldBuffer[ind] = coefA * newBuffer[ind] + coefB in load()
204 * oldBuffer[ind] + coefC * (neighborsValue); in load()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationIterator.java86 oldBuffer.setLength(0); in clear()
91 boolean isEmpty() { return oldBuffer.length() == 0; } in isEmpty()
93 boolean hasNext() { return pos < oldBuffer.length(); } in hasNext()
97 int c = oldBuffer.codePointAt(pos); in next()
112 int length = oldBuffer.length(); in backwardNumCodePoints()
121 pos = oldBuffer.offsetByCodePoints(length, beyond - n); in backwardNumCodePoints()
126 pos = oldBuffer.offsetByCodePoints(pos, -n); in backwardNumCodePoints()
146 int oldLength = oldBuffer.length(); in replaceMatch()
148 oldBuffer.delete(0, pos).insert(0, newBuffer, 0, skipLengthAtMatch); in replaceMatch()
157 private final StringBuilder oldBuffer = new StringBuilder(); field in CollationIterator.SkippedState
/external/icu/icu4c/source/i18n/
Dcollationiterator.cpp61 oldBuffer.remove(); in clear()
66 UBool isEmpty() const { return oldBuffer.isEmpty(); } in isEmpty()
68 UBool hasNext() const { return pos < oldBuffer.length(); } in hasNext()
72 UChar32 c = oldBuffer.char32At(pos); in next()
87 int32_t length = oldBuffer.length(); in backwardNumCodePoints()
96 pos = oldBuffer.moveIndex32(length, beyond - n); in backwardNumCodePoints()
101 pos = oldBuffer.moveIndex32(pos, -n); in backwardNumCodePoints()
120 oldBuffer.replace(0, pos, newBuffer, 0, skipLengthAtMatch); in replaceMatch()
130 UnicodeString oldBuffer; member in SkippedState