/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/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | OpenSSLEngineImplTest.java | 55 ByteBuffer newBuffer(int size) { in newBuffer() method 61 ByteBuffer newBuffer(int size) { in newBuffer() method 66 abstract ByteBuffer newBuffer(int size); in newBuffer() method in OpenSSLEngineImplTest.BufferType 154 ByteBuffer clientCleartextBuffer = bufferType.newBuffer(MESSAGE_SIZE); in exchangeMessages() 163 ByteBuffer out = bufferType.newBuffer(clientEngine.getSession().getPacketBufferSize()); in exchangeMessages() 177 ByteBuffer out = bufferType.newBuffer(2 * MESSAGE_SIZE); in exchangeMessages() 198 ByteBuffer inputBuffer = bufferType.newBuffer(largeMessageSize); in exchangeLargeMessage() 205 …ByteBuffer encryptedBuffer = bufferType.newBuffer(clientEngine.getSession().getPacketBufferSize()); in exchangeLargeMessage() 216 final ByteBuffer decryptedBuffer = bufferType.newBuffer(decryptedBufferSize); in exchangeLargeMessage()
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | UVector32.java | 41 int[] newBuffer = new int[newCapacity]; in ensureAppendCapacity() local 42 System.arraycopy(buffer, 0, newBuffer, 0, length); in ensureAppendCapacity() 43 buffer = newBuffer; in ensureAppendCapacity()
|
D | UVector64.java | 41 long[] newBuffer = new long[newCapacity]; in ensureAppendCapacity() local 42 System.arraycopy(buffer, 0, newBuffer, 0, length); in ensureAppendCapacity() 43 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/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | UVector32.java | 45 int[] newBuffer = new int[newCapacity]; in ensureAppendCapacity() local 46 System.arraycopy(buffer, 0, newBuffer, 0, length); in ensureAppendCapacity() 47 buffer = newBuffer; in ensureAppendCapacity()
|
D | UVector64.java | 45 long[] newBuffer = new long[newCapacity]; in ensureAppendCapacity() local 46 System.arraycopy(buffer, 0, newBuffer, 0, length); in ensureAppendCapacity() 47 buffer = newBuffer; in ensureAppendCapacity()
|
D | CollationIterator.java | 58 long[] newBuffer = new long[capacity]; in ensureAppendCapacity() local 59 System.arraycopy(buffer, 0, newBuffer, 0, length); in ensureAppendCapacity() 60 buffer = newBuffer; in ensureAppendCapacity() 137 newBuffer.setLength(0); in setFirstSkipped() 138 newBuffer.appendCodePoint(c); in setFirstSkipped() 142 newBuffer.appendCodePoint(c); in skip() 145 void recordMatch() { skipLengthAtMatch = newBuffer.length(); } in recordMatch() 152 oldBuffer.delete(0, pos).insert(0, newBuffer, 0, skipLengthAtMatch); in replaceMatch() 164 private final StringBuilder newBuffer = new StringBuilder(); field in CollationIterator.SkippedState
|
/external/conscrypt/openjdk-benchmarks/src/jmh/java/org/conscrypt/benchmarks/ |
D | SslEngineBenchmark.java | 138 ByteBuffer newBuffer(int size) { in newBuffer() method 144 ByteBuffer newBuffer(int size) { in newBuffer() method 149 abstract ByteBuffer newBuffer(int size); in newBuffer() method in SslEngineBenchmark.BufferType 172 encryptedBuffer = bufferType.newBuffer(clientEngine.getSession().getPacketBufferSize()); in setup() 175 serverCleartextBuffer = bufferType.newBuffer( in setup() 177 clientCleartextBuffer = bufferType.newBuffer(messageSize); in setup()
|
/external/icu/icu4c/source/i18n/ |
D | ucoleitr.cpp | 94 RCEI *newBuffer = NEW_ARRAY(RCEI, bufferSize + BUFFER_GROW); in put() local 95 if (newBuffer == NULL) { in put() 100 ARRAY_COPY(newBuffer, buffer, bufferSize); in put() 106 buffer = newBuffer; in put() 156 PCEI *newBuffer = NEW_ARRAY(PCEI, bufferSize + BUFFER_GROW); in put() local 157 if (newBuffer == NULL) { in put() 162 ARRAY_COPY(newBuffer, buffer, bufferSize); in put() 168 buffer = newBuffer; in put()
|
D | collationiterator.cpp | 110 newBuffer.setTo(c); in setFirstSkipped() 114 newBuffer.append(c); in skip() 117 void recordMatch() { skipLengthAtMatch = newBuffer.length(); } in recordMatch() 122 oldBuffer.replace(0, pos, newBuffer, 0, skipLengthAtMatch); in replaceMatch() 135 UnicodeString newBuffer; member in SkippedState
|
/external/icu/icu4c/source/common/ |
D | ustr_wcs.cpp | 44 char *newBuffer=(char *)uprv_malloc(reqCapacity*size); in u_growAnyBufferFromStatic() local 45 if(newBuffer!=NULL) { in u_growAnyBufferFromStatic() 47 uprv_memcpy(newBuffer, *pBuffer, (size_t)length*size); in u_growAnyBufferFromStatic() 59 *pBuffer=newBuffer; in u_growAnyBufferFromStatic() 60 return (UBool)(newBuffer!=NULL); in u_growAnyBufferFromStatic()
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Buffer.h | 71 void set(Buffer *newBuffer, int newOffset = 0, int newSize = 0) 73 buffer = newBuffer;
|
/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/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/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 | 96 Scalar* newBuffer = new Scalar[allocSize]; in reallocateSparse() local 97 memcpy(newBuffer, m_buffer, copyElements * sizeof(ListEl)); in reallocateSparse() 99 m_buffer = newBuffer; in reallocateSparse()
|
/external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
D | Encoder.java | 85 ByteBuffer newBuffer = ByteBuffer.allocateDirect(targetSize); in growIfNeeded() local 86 newBuffer.order(ByteOrder.nativeOrder()); in growIfNeeded() 89 newBuffer.put(byteBuffer); in growIfNeeded() 90 byteBuffer = newBuffer; in growIfNeeded()
|
/external/deqp/framework/delibs/decpp/ |
D | deArrayBuffer.hpp | 173 ArrayBuffer<T,Alignment,Stride> newBuffer(numElements); in setStorage() local 174 swap(newBuffer); in setStorage()
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
D | StringSearch.java | 1869 PCEI[] newBuffer = new PCEI[buffer_.length + BUFFER_GROW]; in put() local 1870 System.arraycopy(buffer_, 0, newBuffer, 0, buffer_.length); in put() 1871 buffer_ = newBuffer; in put() 1906 RCEI[] newBuffer = new RCEI[buffer_.length + BUFFER_GROW]; in put() local 1907 System.arraycopy(buffer_, 0, newBuffer, 0, buffer_.length); in put() 1908 buffer_ = newBuffer; in put()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | StringSearch.java | 1853 PCEI[] newBuffer = new PCEI[buffer_.length + BUFFER_GROW]; in put() local 1854 System.arraycopy(buffer_, 0, newBuffer, 0, buffer_.length); in put() 1855 buffer_ = newBuffer; in put() 1890 RCEI[] newBuffer = new RCEI[buffer_.length + BUFFER_GROW]; in put() local 1891 System.arraycopy(buffer_, 0, newBuffer, 0, buffer_.length); in put() 1892 buffer_ = newBuffer; in put()
|
/external/smali/smali/src/main/java/org/jf/smali/ |
D | smaliFlexLexer.java | 3174 char newBuffer[] = new char[zzBuffer.length*2]; in zzRefill() local 3175 System.arraycopy(zzBuffer, 0, newBuffer, 0, zzBuffer.length); in zzRefill() 3176 zzBuffer = newBuffer; in zzRefill()
|
/external/libunwind_llvm/src/ |
D | UnwindCursor.hpp | 122 entry *newBuffer = (entry *)malloc(newSize * sizeof(entry)); in add() local 123 memcpy(newBuffer, _buffer, oldSize * sizeof(entry)); in add() 126 _buffer = newBuffer; in add() 127 _bufferUsed = &newBuffer[oldSize]; in add() 128 _bufferEnd = &newBuffer[newSize]; in add()
|