/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/common/ |
D | BufferUtils.java | 14 T[] newBuffer = (T[]) ArrayReflection.newInstance(klass, newCapacity); in reallocateBuffer() local 16 System.arraycopy(oldBuffer, 0, newBuffer, 0, oldCapacity); in reallocateBuffer() 20 newBuffer[i] = ClassReflection.newInstance(klass); in reallocateBuffer() 25 return newBuffer; in reallocateBuffer() 31 int[] newBuffer = new int[newCapacity]; in reallocateBuffer() local 33 System.arraycopy(oldBuffer, 0, newBuffer, 0, oldCapacity); in reallocateBuffer() 35 return newBuffer; in reallocateBuffer() 41 float[] newBuffer = new float[newCapacity]; in reallocateBuffer() local 43 System.arraycopy(oldBuffer, 0, newBuffer, 0, oldCapacity); in reallocateBuffer() 45 return newBuffer; in reallocateBuffer()
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/ |
D | FluidSimHeightMap.java | 167 float[] newBuffer; in load() local 176 newBuffer = tempBuffer[curBuf]; in load() 185 neighborsValue += newBuffer[ind - 1]; in load() 189 neighborsValue += newBuffer[ind + 1]; in load() 193 neighborsValue += newBuffer[ind - size]; in load() 197 neighborsValue += newBuffer[ind + size]; in load() 203 oldBuffer[ind] = coefA * newBuffer[ind] + coefB in load()
|
/external/lzma/CPP/Common/ |
D | MyBuffer.h | 75 T *newBuffer = NULL; in ChangeSize_KeepData() local 78 newBuffer = new T[newSize]; in ChangeSize_KeepData() 80 memcpy(newBuffer, _items, MyMin(MyMin(_size, keepSize), newSize) * sizeof(T)); in ChangeSize_KeepData() 83 _items = newBuffer; in ChangeSize_KeepData() 210 T *newBuffer = NULL; in SetSize() local 212 newBuffer = new T[size]; in SetSize() 214 _items = newBuffer; in SetSize()
|
D | DynamicBuffer.h | 28 T *newBuffer = new T[newCap]; in Grow() local 29 memcpy(newBuffer, _items, _pos * sizeof(T)); in Grow() 31 _items = newBuffer; in Grow()
|
/external/libvncserver/examples/ |
D | rotatetemplate.c | 8 OUT_T* newBuffer = (OUT_T*)malloc(w * h * sizeof(OUT_T)); in FUNCTION() local 12 newBuffer[FUNC(i, j)] = buffer[i + j * w]; in FUNCTION() 14 memcpy(buffer, newBuffer, w * h * sizeof(OUT_T)); in FUNCTION() 15 free(newBuffer); in FUNCTION()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | UVector64.java | 43 long[] newBuffer = new long[newCapacity]; in ensureAppendCapacity() local 44 System.arraycopy(buffer, 0, newBuffer, 0, length); in ensureAppendCapacity() 45 buffer = newBuffer; in ensureAppendCapacity()
|
D | UVector32.java | 43 int[] newBuffer = new int[newCapacity]; in ensureAppendCapacity() local 44 System.arraycopy(buffer, 0, newBuffer, 0, length); in ensureAppendCapacity() 45 buffer = newBuffer; in ensureAppendCapacity()
|
D | CollationIterator.java | 56 long[] newBuffer = new long[capacity]; in ensureAppendCapacity() local 57 System.arraycopy(buffer, 0, newBuffer, 0, length); in ensureAppendCapacity() 58 buffer = newBuffer; in ensureAppendCapacity() 135 newBuffer.setLength(0); in setFirstSkipped() 136 newBuffer.appendCodePoint(c); in setFirstSkipped() 140 newBuffer.appendCodePoint(c); in skip() 143 void recordMatch() { skipLengthAtMatch = newBuffer.length(); } in recordMatch() 150 oldBuffer.delete(0, pos).insert(0, newBuffer, 0, skipLengthAtMatch); in replaceMatch() 162 private final StringBuilder newBuffer = new StringBuilder(); field in CollationIterator.SkippedState
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | UVector32.java | 39 int[] newBuffer = new int[newCapacity]; in ensureAppendCapacity() local 40 System.arraycopy(buffer, 0, newBuffer, 0, length); in ensureAppendCapacity() 41 buffer = newBuffer; in ensureAppendCapacity()
|
D | UVector64.java | 39 long[] newBuffer = new long[newCapacity]; in ensureAppendCapacity() local 40 System.arraycopy(buffer, 0, newBuffer, 0, length); in ensureAppendCapacity() 41 buffer = newBuffer; in ensureAppendCapacity()
|
D | CollationIterator.java | 54 long[] newBuffer = new long[capacity]; in ensureAppendCapacity() local 55 System.arraycopy(buffer, 0, newBuffer, 0, length); in ensureAppendCapacity() 56 buffer = newBuffer; in ensureAppendCapacity() 133 newBuffer.setLength(0); in setFirstSkipped() 134 newBuffer.appendCodePoint(c); in setFirstSkipped() 138 newBuffer.appendCodePoint(c); in skip() 141 void recordMatch() { skipLengthAtMatch = newBuffer.length(); } in recordMatch() 148 oldBuffer.delete(0, pos).insert(0, newBuffer, 0, skipLengthAtMatch); in replaceMatch() 160 private final StringBuilder newBuffer = new StringBuilder(); field in CollationIterator.SkippedState
|
/external/icu/icu4c/source/i18n/ |
D | ucoleitr.cpp | 92 RCEI *newBuffer = NEW_ARRAY(RCEI, bufferSize + BUFFER_GROW); in put() local 93 if (newBuffer == NULL) { in put() 98 ARRAY_COPY(newBuffer, buffer, bufferSize); in put() 104 buffer = newBuffer; in put() 154 PCEI *newBuffer = NEW_ARRAY(PCEI, bufferSize + BUFFER_GROW); in put() local 155 if (newBuffer == NULL) { in put() 160 ARRAY_COPY(newBuffer, buffer, bufferSize); in put() 166 buffer = newBuffer; in put()
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/ |
D | GwtFileHandle.java | 173 byte[] newBuffer = new byte[buffer.length * 2]; in readBytes() 174 System.arraycopy(buffer, 0, newBuffer, 0, position); in readBytes() 175 buffer = newBuffer; in readBytes() 188 byte[] newBuffer = new byte[position]; in readBytes() 189 System.arraycopy(buffer, 0, newBuffer, 0, position); in readBytes() 190 buffer = newBuffer; in readBytes()
|
/external/icu/icu4c/source/common/ |
D | ustr_wcs.cpp | 42 char *newBuffer=(char *)uprv_malloc(reqCapacity*size); in u_growAnyBufferFromStatic() local 43 if(newBuffer!=NULL) { in u_growAnyBufferFromStatic() 45 uprv_memcpy(newBuffer, *pBuffer, length*size); in u_growAnyBufferFromStatic() 57 *pBuffer=newBuffer; in u_growAnyBufferFromStatic() 58 return (UBool)(newBuffer!=NULL); in u_growAnyBufferFromStatic()
|
/external/libgdx/extensions/gdx-jnigen/src/com/badlogic/gdx/jnigen/ |
D | FileDescriptor.java | 211 byte[] newBuffer = new byte[buffer.length * 2]; in readBytes() 212 System.arraycopy(buffer, 0, newBuffer, 0, position); in readBytes() 213 buffer = newBuffer; in readBytes() 226 byte[] newBuffer = new byte[position]; in readBytes() 227 System.arraycopy(buffer, 0, newBuffer, 0, position); in readBytes() 228 buffer = newBuffer; in readBytes()
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/file/ |
D | BlenderInputStream.java | 133 byte[] newBuffer = new byte[cachedBuffer.length + (cachedBuffer.length >> 1)]; in readStreamToCache() 134 System.arraycopy(cachedBuffer, 0, newBuffer, 0, cachedBuffer.length); in readStreamToCache() 135 cachedBuffer = newBuffer; in readStreamToCache()
|
/external/webrtc/webrtc/modules/video_coding/codecs/i420/ |
D | i420.cc | 62 uint8_t* newBuffer = new uint8_t[newSize]; in InitEncode() local 63 if (newBuffer == NULL) { in InitEncode() 67 _encodedImage._buffer = newBuffer; in InitEncode()
|
/external/jetty/src/java/org/eclipse/jetty/io/ |
D | AbstractBuffers.java | 85 final protected Buffer newBuffer() in newBuffer() method in AbstractBuffers 105 final protected Buffer newBuffer(int size) in newBuffer() method in AbstractBuffers
|
D | ThreadLocalBuffers.java | 64 return newBuffer(); in getBuffer() 99 return newBuffer(size); in getBuffer()
|
D | PooledBuffers.java | 63 buffer=newBuffer(); in getBuffer() 88 buffer=newBuffer(size); in getBuffer()
|
/external/mesa3d/src/mesa/main/ |
D | imports.c | 218 void *newBuffer = malloc(newSize); in _mesa_realloc() local 219 if (newBuffer && oldBuffer && copySize > 0) in _mesa_realloc() 220 memcpy(newBuffer, oldBuffer, copySize); in _mesa_realloc() 223 return newBuffer; in _mesa_realloc()
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/preloader/ |
D | FileWrapper.java | 211 byte[] newBuffer = new byte[buffer.length * 2]; in readBytes() 212 System.arraycopy(buffer, 0, newBuffer, 0, position); in readBytes() 213 buffer = newBuffer; in readBytes() 226 byte[] newBuffer = new byte[position]; in readBytes() 227 System.arraycopy(buffer, 0, newBuffer, 0, position); in readBytes() 228 buffer = newBuffer; in readBytes()
|
/external/webrtc/webrtc/modules/video_coding/ |
D | encoded_frame.cc | 214 uint8_t* newBuffer = new uint8_t[minimumSize]; in VerifyAndAllocate() local 217 memcpy(newBuffer, _buffer, _size); in VerifyAndAllocate() 220 _buffer = newBuffer; in VerifyAndAllocate()
|
/external/eigen/Eigen/src/SparseCore/ |
D | AmbiVector.h | 92 Scalar* newBuffer = new Scalar[allocSize]; in reallocateSparse() local 93 memcpy(newBuffer, m_buffer, copyElements * sizeof(ListEl)); in reallocateSparse() 95 m_buffer = newBuffer; in reallocateSparse()
|
/external/deqp/framework/delibs/decpp/ |
D | deArrayBuffer.hpp | 173 ArrayBuffer<T,Alignment,Stride> newBuffer(numElements); in setStorage() local 174 swap(newBuffer); in setStorage()
|