Home
last modified time | relevance | path

Searched refs:allocatedBuffer (Results 1 – 6 of 6) sorted by relevance

/external/conscrypt/common/src/main/java/org/conscrypt/
DConscryptEngine.java1040 AllocatedBuffer allocatedBuffer = null;
1044 allocatedBuffer = bufferAllocator.allocateDirectBuffer(len);
1045 buffer = allocatedBuffer.nioBuffer();
1065 if (allocatedBuffer != null) {
1067 allocatedBuffer.release();
1102 AllocatedBuffer allocatedBuffer = null;
1106 allocatedBuffer = bufferAllocator.allocateDirectBuffer(len);
1107 buffer = allocatedBuffer.nioBuffer();
1127 if (allocatedBuffer != null) {
1129 allocatedBuffer.release();
[all …]
DConscryptEngineSocket.java712 private final AllocatedBuffer allocatedBuffer;
717 allocatedBuffer = bufferAllocator.allocateDirectBuffer(
719 fromEngine = allocatedBuffer.nioBuffer();
721 allocatedBuffer = null;
737 if (allocatedBuffer != null) {
738 allocatedBuffer.release();
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DConscryptEngine.java1038 AllocatedBuffer allocatedBuffer = null;
1042 allocatedBuffer = bufferAllocator.allocateDirectBuffer(len);
1043 buffer = allocatedBuffer.nioBuffer();
1063 if (allocatedBuffer != null) {
1065 allocatedBuffer.release();
1100 AllocatedBuffer allocatedBuffer = null;
1104 allocatedBuffer = bufferAllocator.allocateDirectBuffer(len);
1105 buffer = allocatedBuffer.nioBuffer();
1125 if (allocatedBuffer != null) {
1127 allocatedBuffer.release();
[all …]
DConscryptEngineSocket.java728 private final AllocatedBuffer allocatedBuffer;
733 allocatedBuffer = bufferAllocator.allocateDirectBuffer(
735 fromEngine = allocatedBuffer.nioBuffer();
737 allocatedBuffer = null;
753 if (allocatedBuffer != null) {
754 allocatedBuffer.release();
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DBinaryWriter.java919 private AllocatedBuffer allocatedBuffer; field in BinaryWriter.SafeHeapWriter
934 if (allocatedBuffer != null) { in finishCurrentBuffer()
936 allocatedBuffer.position((pos - allocatedBuffer.arrayOffset()) + 1); in finishCurrentBuffer()
937 allocatedBuffer = null; in finishCurrentBuffer()
951 private void nextBuffer(AllocatedBuffer allocatedBuffer) { in nextBuffer() argument
952 if (!allocatedBuffer.hasArray()) { in nextBuffer()
958 buffers.addFirst(allocatedBuffer); in nextBuffer()
960 this.allocatedBuffer = allocatedBuffer; in nextBuffer()
961 this.buffer = allocatedBuffer.array(); in nextBuffer()
962 int arrayOffset = allocatedBuffer.arrayOffset(); in nextBuffer()
[all …]
/external/lz4/programs/
Dutil.h526 …reateFileList(const char **inputNames, unsigned inputNamesNb, char** allocatedBuffer, unsigned* al… in UTIL_createFileList() argument
567 *allocatedBuffer = buf; in UTIL_createFileList()
574 UTIL_STATIC void UTIL_freeFileList(const char** filenameTable, char* allocatedBuffer) in UTIL_freeFileList() argument
576 if (allocatedBuffer) free(allocatedBuffer); in UTIL_freeFileList()