Home
last modified time | relevance | path

Searched refs:WritableBuffer (Results 1 – 25 of 28) sorted by relevance

12

/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DOkHttpWritableBufferAllocatorTest.java21 import io.grpc.internal.WritableBuffer;
43 WritableBuffer buffer = allocator().allocate(4096); in testCapacity()
50 WritableBuffer buffer = allocator().allocate(1024 * 1025); in testInitialCapacityHasMaximum()
57 WritableBuffer buffer = allocator().allocate(4097); in testIsExactBelowMaxCapacity()
DOkHttpWritableBufferTest.java19 import io.grpc.internal.WritableBuffer;
40 protected WritableBuffer buffer() { in buffer()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyWritableBufferAllocatorTest.java21 import io.grpc.internal.WritableBuffer;
45 WritableBuffer buffer = allocator().allocate(100); in testCapacityHasMinimum()
52 WritableBuffer buffer = allocator().allocate(9000); in testCapacityIsExactAboveMinimum()
60 WritableBuffer buffer = allocator().allocate(1024 * 1025); in testCapacityIsCappedAtMaximum()
DNettyWritableBufferTest.java19 import io.grpc.internal.WritableBuffer;
47 protected WritableBuffer buffer() { in buffer()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DMessageFramer.java61 @Nullable WritableBuffer frame, in deliverFrame()
74 private WritableBuffer buffer;
240 WritableBuffer writeableHeader = bufferAllocator.allocate(HEADER_LENGTH); in writeBufferChain()
255 List<WritableBuffer> bufferList = bufferChain.bufferList; in writeBufferChain()
348 WritableBuffer buf = buffer; in commitToSink()
384 private final List<WritableBuffer> bufferList = new ArrayList<>();
385 private WritableBuffer current;
427 for (WritableBuffer writableBuffer : bufferList) { in readableBytes()
DWritableBufferAllocator.java29 WritableBuffer allocate(int capacityHint); in allocate()
DWritableBuffer.java24 public interface WritableBuffer { interface
DAbstractServerStream.java53 void writeFrame(@Nullable WritableBuffer frame, boolean flush, int numMessages); in writeFrame()
119 WritableBuffer frame, boolean endOfStream, boolean flush, int numMessages) { in deliverFrame()
DAbstractClientStream.java77 @Nullable WritableBuffer frame, boolean endOfStream, boolean flush, int numMessages); in writeFrame()
182 WritableBuffer frame, boolean endOfStream, boolean flush, int numMessages) { in deliverFrame()
/external/grpc-grpc-java/cronet/src/test/java/io/grpc/cronet/
DCronetWritableBufferAllocatorTest.java21 import io.grpc.internal.WritableBuffer;
32 WritableBuffer buffer = allocator.allocate(1000); in testAllocate()
40 WritableBuffer buffer = allocator.allocate(1024 * 1024 * 1024); in testAllocateLargeBuffer()
/external/grpc-grpc-java/cronet/src/main/java/io/grpc/cronet/
DCronetWritableBufferAllocator.java19 import io.grpc.internal.WritableBuffer;
37 public WritableBuffer allocate(int capacityHint) { in allocate()
DCronetWritableBuffer.java20 import io.grpc.internal.WritableBuffer;
23 class CronetWritableBuffer implements WritableBuffer {
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpWritableBufferAllocator.java19 import io.grpc.internal.WritableBuffer;
47 public WritableBuffer allocate(int capacityHint) { in allocate()
DOkHttpWritableBuffer.java19 import io.grpc.internal.WritableBuffer;
22 class OkHttpWritableBuffer implements WritableBuffer {
DOkHttpClientStream.java32 import io.grpc.internal.WritableBuffer;
150 WritableBuffer frame, boolean endOfStream, boolean flush, int numMessages) { in writeFrame()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DWritableBufferAllocatorTestBase.java35 WritableBuffer buffer1 = allocator().allocate(100); in testBuffersAreDifferent()
36 WritableBuffer buffer2 = allocator().allocate(100); in testBuffersAreDifferent()
DMessageFramerTest.java332 WritableBuffer frame, boolean endOfStream, boolean flush, int numMessages) {
356 private static WritableBuffer toWriteBuffer(byte[] data) {
360 private static WritableBuffer toWriteBufferWithMinSize(byte[] data, int minFrameSize) {
397 static class ByteWritableBuffer implements WritableBuffer {
465 public WritableBuffer allocate(int capacityHint) {
DAbstractServerStreamTest.java62 public WritableBuffer allocate(int capacityHint) {
274 .writeFrame(any(WritableBuffer.class), any(Boolean.class), any(Integer.class)); in writeMessage_ignoreIfFramerClosed()
284 verify(sink).writeFrame(any(WritableBuffer.class), eq(true), eq(1)); in writeMessage()
DByteWritableBufferTest.java32 protected WritableBuffer buffer() { in buffer()
DWritableBufferTestBase.java36 protected abstract WritableBuffer buffer(); in buffer()
DAbstractClientStreamTest.java94 public WritableBuffer allocate(int capacityHint) {
399 any(WritableBuffer.class), any(Boolean.class), any(Boolean.class), any(Integer.class)); in getRequest()
521 WritableBuffer frame, boolean endOfStream, boolean flush, int numMessages) {} in writeFrame()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyWritableBufferAllocator.java19 import io.grpc.internal.WritableBuffer;
49 public WritableBuffer allocate(int capacityHint) { in allocate()
DNettyWritableBuffer.java19 import io.grpc.internal.WritableBuffer;
25 class NettyWritableBuffer implements WritableBuffer {
DNettyServerStream.java28 import io.grpc.internal.WritableBuffer;
116 public void writeFrame(WritableBuffer frame, boolean flush, final int numMessages) { in writeFrame()
DNettyClientStream.java36 import io.grpc.internal.WritableBuffer;
161 WritableBuffer frame, boolean endOfStream, boolean flush, final int numMessages) { in writeFrame()

12