Home
last modified time | relevance | path

Searched refs:bufferAllocator (Results 1 – 15 of 15) sorted by relevance

/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DMessageFramer.java79 private final WritableBufferAllocator bufferAllocator; field in MessageFramer
96 Sink sink, WritableBufferAllocator bufferAllocator, StatsTraceContext statsTraceCtx) { in MessageFramer() argument
98 this.bufferAllocator = checkNotNull(bufferAllocator, "bufferAllocator"); in MessageFramer()
226 buffer = bufferAllocator.allocate(header.position() + messageLength); in writeKnownLengthUncompressed()
240 WritableBuffer writeableHeader = bufferAllocator.allocate(HEADER_LENGTH); in writeBufferChain()
285 buffer = bufferAllocator.allocate(len); in writeRaw()
406 current = bufferAllocator.allocate(len); in write()
415 current = bufferAllocator.allocate(needed); in write()
DAbstractServerStream.java85 WritableBufferAllocator bufferAllocator, StatsTraceContext statsTraceCtx) { in AbstractServerStream() argument
87 framer = new MessageFramer(this, bufferAllocator, statsTraceCtx); in AbstractServerStream()
DAbstractClientStream.java108 WritableBufferAllocator bufferAllocator, in AbstractClientStream() argument
117 framer = new MessageFramer(this, bufferAllocator, statsTraceCtx); in AbstractClientStream()
/external/conscrypt/common/src/main/java/org/conscrypt/
DConscrypt.java488 public static void setBufferAllocator(SSLEngine engine, BufferAllocator bufferAllocator) { in setBufferAllocator() argument
489 toConscrypt(engine).setBufferAllocator(bufferAllocator); in setBufferAllocator()
499 public static void setBufferAllocator(SSLSocket socket, BufferAllocator bufferAllocator) { in setBufferAllocator() argument
502 ((ConscryptEngineSocket) s).setBufferAllocator(bufferAllocator); in setBufferAllocator()
511 public static void setDefaultBufferAllocator(BufferAllocator bufferAllocator) { in setDefaultBufferAllocator() argument
512 ConscryptEngine.setDefaultBufferAllocator(bufferAllocator); in setDefaultBufferAllocator()
DConscryptEngine.java116 private BufferAllocator bufferAllocator = defaultBufferAllocator; field in ConscryptEngine
215 static void setDefaultBufferAllocator(BufferAllocator bufferAllocator) { in setDefaultBufferAllocator() argument
216 defaultBufferAllocator = bufferAllocator; in setDefaultBufferAllocator()
228 void setBufferAllocator(BufferAllocator bufferAllocator) { in setBufferAllocator() argument
234 this.bufferAllocator = bufferAllocator; in setBufferAllocator()
1065 if (bufferAllocator != null) {
1066 allocatedBuffer = bufferAllocator.allocateDirectBuffer(len);
1127 if (bufferAllocator != null) {
1128 allocatedBuffer = bufferAllocator.allocateDirectBuffer(len);
1194 if (bufferAllocator != null) {
[all …]
DConscryptEngineSocket.java60 private BufferAllocator bufferAllocator = ConscryptEngine.getDefaultBufferAllocator(); field in ConscryptEngineSocket
491 void setBufferAllocator(BufferAllocator bufferAllocator) {
492 engine.setBufferAllocator(bufferAllocator);
493 this.bufferAllocator = bufferAllocator;
663 if (bufferAllocator != null) {
664 allocatedBuffer = bufferAllocator.allocateDirectBuffer(
DJava8EngineWrapper.java70 void setBufferAllocator(BufferAllocator bufferAllocator) { in setBufferAllocator() argument
71 delegate.setBufferAllocator(bufferAllocator); in setBufferAllocator()
DAbstractConscryptEngine.java30 abstract void setBufferAllocator(BufferAllocator bufferAllocator); in setBufferAllocator() argument
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DConscrypt.java498 public static void setBufferAllocator(SSLEngine engine, BufferAllocator bufferAllocator) { in setBufferAllocator() argument
499 toConscrypt(engine).setBufferAllocator(bufferAllocator); in setBufferAllocator()
509 public static void setBufferAllocator(SSLSocket socket, BufferAllocator bufferAllocator) { in setBufferAllocator() argument
512 ((ConscryptEngineSocket) s).setBufferAllocator(bufferAllocator); in setBufferAllocator()
521 public static void setDefaultBufferAllocator(BufferAllocator bufferAllocator) { in setDefaultBufferAllocator() argument
522 ConscryptEngine.setDefaultBufferAllocator(bufferAllocator); in setDefaultBufferAllocator()
DConscryptEngine.java117 private BufferAllocator bufferAllocator = defaultBufferAllocator; field in ConscryptEngine
216 static void setDefaultBufferAllocator(BufferAllocator bufferAllocator) { in setDefaultBufferAllocator() argument
217 defaultBufferAllocator = bufferAllocator; in setDefaultBufferAllocator()
229 void setBufferAllocator(BufferAllocator bufferAllocator) { in setBufferAllocator() argument
235 this.bufferAllocator = bufferAllocator; in setBufferAllocator()
1066 if (bufferAllocator != null) {
1067 allocatedBuffer = bufferAllocator.allocateDirectBuffer(len);
1128 if (bufferAllocator != null) {
1129 allocatedBuffer = bufferAllocator.allocateDirectBuffer(len);
1195 if (bufferAllocator != null) {
[all …]
DConscryptEngineSocket.java61 private BufferAllocator bufferAllocator = ConscryptEngine.getDefaultBufferAllocator(); field in ConscryptEngineSocket
499 void setBufferAllocator(BufferAllocator bufferAllocator) {
500 engine.setBufferAllocator(bufferAllocator);
501 this.bufferAllocator = bufferAllocator;
671 if (bufferAllocator != null) {
672 allocatedBuffer = bufferAllocator.allocateDirectBuffer(
DJava8EngineWrapper.java71 void setBufferAllocator(BufferAllocator bufferAllocator) { in setBufferAllocator() argument
72 delegate.setBufferAllocator(bufferAllocator); in setBufferAllocator()
DAbstractConscryptEngine.java31 abstract void setBufferAllocator(BufferAllocator bufferAllocator); in setBufferAllocator() argument
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiFillBufferTests.cpp66 de::SharedPtr<IBufferAllocator> bufferAllocator; member
122 …testParams.bufferAllocator->createTestBuffer(m_params.dstSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT, c… in FillBufferTestInstance()
379 params.bufferAllocator = bufferAllocators[buffersAllocationNdx]; in createFillAndUpdateBufferTests()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DAbstractServerStreamTest.java360 protected AbstractServerStreamBase(WritableBufferAllocator bufferAllocator, Sink sink, in AbstractServerStreamBase() argument
362 super(bufferAllocator, StatsTraceContext.NOOP); in AbstractServerStreamBase()