/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/ |
D | BufferType.java | 28 ByteBuffer newBuffer(int size) { in newBuffer() method 34 ByteBuffer newBuffer(int size) { in newBuffer() method 39 abstract ByteBuffer newBuffer(int size); in newBuffer() method in BufferType 42 return newBuffer(engine.getSession().getApplicationBufferSize()); in newApplicationBuffer() 46 return newBuffer(engine.getSession().getPacketBufferSize()); in newPacketBuffer()
|
D | EngineWrapBenchmark.java | 87 messageBuffer = bufferType.newBuffer(messageSize); in EngineWrapBenchmark() 96 preEncryptedBuffer = bufferType.newBuffer(clientEngine.getSession().getPacketBufferSize()); in EngineWrapBenchmark()
|
/external/conscrypt/repackaged/benchmark-base/src/main/java/com/android/org/conscrypt/ |
D | BufferType.java | 30 ByteBuffer newBuffer(int size) { in newBuffer() method 36 ByteBuffer newBuffer(int size) { in newBuffer() method 41 abstract ByteBuffer newBuffer(int size); in newBuffer() method in BufferType 44 return newBuffer(engine.getSession().getApplicationBufferSize()); in newApplicationBuffer() 48 return newBuffer(engine.getSession().getPacketBufferSize()); in newPacketBuffer()
|
D | EngineWrapBenchmark.java | 89 messageBuffer = bufferType.newBuffer(messageSize); in EngineWrapBenchmark() 98 preEncryptedBuffer = bufferType.newBuffer(clientEngine.getSession().getPacketBufferSize()); in EngineWrapBenchmark()
|
/external/lzma/CPP/Common/ |
D | MyBuffer.h | 80 T *newBuffer = NULL; in ChangeSize_KeepData() local 83 newBuffer = new T[newSize]; in ChangeSize_KeepData() 87 memcpy(newBuffer, _items, MyMin(keepSize, newSize) * sizeof(T)); in ChangeSize_KeepData() 90 _items = newBuffer; in ChangeSize_KeepData() 229 T *newBuffer = NULL; in SetSize() local 232 MY_ARRAY_NEW(newBuffer, T, size) in SetSize() 236 _items = newBuffer; in SetSize()
|
D | DynamicBuffer.h | 28 T *newBuffer = new T[newCap]; in Grow() local 30 memcpy(newBuffer, _items, _pos * sizeof(T)); in Grow() 32 _items = newBuffer; in Grow()
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | ConscryptEngineTest.java | 68 ByteBuffer newBuffer(int size) { in BufferAllocator.unpooled() method 74 ByteBuffer newBuffer(int size) { in HEAP_NO_ALLOCATOR() method 80 ByteBuffer newBuffer(int size) { in DIRECT() method 85 abstract ByteBuffer newBuffer(int size); in newBuffer() method in ConscryptEngineTest.BufferType 389 bufferType.newBuffer(clientEngine.getSession().getApplicationBufferSize()); in doHandshake() 391 bufferType.newBuffer(clientEngine.getSession().getPacketBufferSize()); in doHandshake() 393 bufferType.newBuffer(serverEngine.getSession().getApplicationBufferSize()); in doHandshake() 395 bufferType.newBuffer(serverEngine.getSession().getPacketBufferSize()); in doHandshake() 446 bufferType.newBuffer(engine.getSession().getPacketBufferSize()); in wrap() 459 final ByteBuffer decryptedBuffer = bufferType.newBuffer(decryptedBufferSize); in unwrap() [all …]
|
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/ |
D | ConscryptEngineTest.java | 75 ByteBuffer newBuffer(int size) { in BufferAllocator.unpooled() method 81 ByteBuffer newBuffer(int size) { in HEAP_NO_ALLOCATOR() method 87 ByteBuffer newBuffer(int size) { in DIRECT() method 92 abstract ByteBuffer newBuffer(int size); in newBuffer() method in ConscryptEngineTest.BufferType 396 bufferType.newBuffer(clientEngine.getSession().getApplicationBufferSize()); in doHandshake() 398 bufferType.newBuffer(clientEngine.getSession().getPacketBufferSize()); in doHandshake() 400 bufferType.newBuffer(serverEngine.getSession().getApplicationBufferSize()); in doHandshake() 402 bufferType.newBuffer(serverEngine.getSession().getPacketBufferSize()); in doHandshake() 453 bufferType.newBuffer(engine.getSession().getPacketBufferSize()); in wrap() 466 final ByteBuffer decryptedBuffer = bufferType.newBuffer(decryptedBufferSize); in unwrap() [all …]
|
/external/adhd/scripts/mic_testing/frontend/ |
D | source.js | 213 var newBuffer = this.audioContext.createBuffer(buffer.numberOfChannels, 215 copyBuffer(appendTone, newBuffer, 0); 216 copyBuffer(buffer, newBuffer, appendTone.length); 217 copyBuffer(appendTone, newBuffer, appendTone.length + buffer.length); 218 this.buffer = newBuffer;
|
/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/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
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 | 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 | 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/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()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | CompositeReadableBuffer.java | 141 CompositeReadableBuffer newBuffer = new CompositeReadableBuffer(); in readBytes() local 145 newBuffer.addBuffer(buffer.readBytes(length)); in readBytes() 148 newBuffer.addBuffer(buffers.poll()); in readBytes() 152 return newBuffer; in readBytes()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLSignatureRawECDSA.java | 102 byte[] newBuffer = new byte[bytes_written]; in engineSign() 103 System.arraycopy(outputBuffer, 0, newBuffer, 0, bytes_written); in engineSign() 104 outputBuffer = newBuffer; in engineSign()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | OpenSSLSignatureRawECDSA.java | 106 byte[] newBuffer = new byte[bytes_written]; in engineSign() 107 System.arraycopy(outputBuffer, 0, newBuffer, 0, bytes_written); in engineSign() 108 outputBuffer = newBuffer; in engineSign()
|
/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/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | ReadableBufferTestBase.java | 111 ReadableBuffer newBuffer = buffer.readBytes(2); in partialReadToReadableBufferShouldSucceed() local 112 assertEquals(2, newBuffer.readableBytes()); in partialReadToReadableBufferShouldSucceed() 115 newBuffer.readBytes(array, 0, 2); in partialReadToReadableBufferShouldSucceed()
|
/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/skia/src/sksl/ |
D | SkSLString.cpp | 62 auto newBuffer = std::unique_ptr<char[]>(new char[size + 1]); in vappendf() local 63 VSNPRINTF(newBuffer.get(), size + 1, fmt, reuse); in vappendf() 64 this->append(newBuffer.get(), size); in vappendf()
|
/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()
|