/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/ |
D | Http2.java | 370 private int maxFrameSize; field in Http2.Writer 378 this.maxFrameSize = INITIAL_MAX_FRAME_SIZE; in Writer() 388 this.maxFrameSize = peerSettings.getMaxFrameSize(maxFrameSize); in ackSettings() 433 int length = (int) Math.min(maxFrameSize - 4, byteCount); in pushPromise() 448 int length = (int) Math.min(maxFrameSize, byteCount); in headers() 460 int length = (int) Math.min(maxFrameSize, byteCount); in writeContinuationFrames() 481 return maxFrameSize; in maxDataLength() 570 if (length > maxFrameSize) { in frameHeader() 571 throw illegalArgument("FRAME_SIZE_ERROR length > %d: %d", maxFrameSize, length); in frameHeader()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
D | Http2.java | 368 private int maxFrameSize; field in Http2.Writer 376 this.maxFrameSize = INITIAL_MAX_FRAME_SIZE; in Writer() 386 this.maxFrameSize = peerSettings.getMaxFrameSize(maxFrameSize); in ackSettings() 431 int length = (int) Math.min(maxFrameSize - 4, byteCount); in pushPromise() 446 int length = (int) Math.min(maxFrameSize, byteCount); in headers() 458 int length = (int) Math.min(maxFrameSize, byteCount); in writeContinuationFrames() 479 return maxFrameSize; in maxDataLength() 568 if (length > maxFrameSize) { in frameHeader() 569 throw illegalArgument("FRAME_SIZE_ERROR length > %d: %d", maxFrameSize, length); in frameHeader()
|
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/framed/ |
D | Http2.java | 374 private int maxFrameSize; field in Http2.Writer 382 this.maxFrameSize = INITIAL_MAX_FRAME_SIZE; in Writer() 392 this.maxFrameSize = peerSettings.getMaxFrameSize(maxFrameSize); in ackSettings() 437 int length = (int) Math.min(maxFrameSize - 4, byteCount); in pushPromise() 452 int length = (int) Math.min(maxFrameSize, byteCount); in headers() 464 int length = (int) Math.min(maxFrameSize, byteCount); in writeContinuationFrames() 485 return maxFrameSize; in maxDataLength() 574 if (length > maxFrameSize) { in frameHeader() 575 throw illegalArgument("FRAME_SIZE_ERROR length > %d: %d", maxFrameSize, length); in frameHeader()
|
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/ |
D | AltsFraming.java | 120 Producer(int maxFrameSize) { in Producer() argument 121 buffer = ByteBuffer.allocate(maxFrameSize); in Producer() 123 Preconditions.checkArgument(maxFrameSize > getFramePrefixLength() + getFrameSuffixLength()); in Producer()
|
D | NettyTsiHandshaker.java | 137 TsiFrameProtector createFrameProtector(int maxFrameSize, ByteBufAllocator alloc) { in createFrameProtector() argument 139 return internalHandshaker.createFrameProtector(maxFrameSize, alloc); in createFrameProtector()
|
D | AltsTsiHandshaker.java | 175 public TsiFrameProtector createFrameProtector(int maxFrameSize, ByteBufAllocator alloc) { in createFrameProtector() argument 181 return new AltsTsiFrameProtector(maxFrameSize, new AltsChannelCrypter(key, isClient), alloc); in createFrameProtector()
|
D | TsiHandshaker.java | 99 TsiFrameProtector createFrameProtector(int maxFrameSize, ByteBufAllocator alloc); in createFrameProtector() argument
|
/external/syzkaller/vendor/golang.org/x/net/http2/ |
D | write.go | 160 const maxFrameSize = 16384 165 if len(frag) > maxFrameSize { 166 frag = frag[:maxFrameSize]
|
D | writesched.go | 112 if wr.stream.sc.maxFrameSize < allowed { 113 allowed = wr.stream.sc.maxFrameSize
|
D | transport.go | 175 maxFrameSize uint32 member 538 maxFrameSize: 16 << 10, // spec default 676 size := cc.maxFrameSize 837 werr := cc.writeHeaders(cs.ID, endStream, int(cc.maxFrameSize), hdrs) 993 func (cc *ClientConn) writeHeaders(streamID uint32, endStream bool, maxFrameSize int, hdrs []byte) … 997 if len(chunk) > maxFrameSize { 998 chunk = chunk[:maxFrameSize] 1116 maxFrameSize := int(cc.maxFrameSize) 1125 err = cc.writeHeaders(cs.ID, true, maxFrameSize, trls) 1159 if take > int32(cc.maxFrameSize) { [all …]
|
D | frame.go | 400 maxFrameSize = 1<<24 - 1 const 441 fr.SetMaxReadFrameSize(maxFrameSize) 450 if v > maxFrameSize { 451 v = maxFrameSize
|
D | server.go | 152 if v := s.MaxReadFrameSize; v >= minMaxFrameSize && v <= maxFrameSize { 349 maxFrameSize: initialMaxFrameSize, 481 maxFrameSize int32 member 1517 sc.maxFrameSize = int32(s.Val) // the maximum valid s.Val is < 2^31
|
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/ |
D | FakeTsiHandshaker.java | 216 public TsiFrameProtector createFrameProtector(int maxFrameSize, ByteBufAllocator alloc) { in createFrameProtector() argument 221 return new AltsTsiFrameProtector(maxFrameSize, new AltsChannelCrypter(key, isClient), alloc); in createFrameProtector()
|
D | AltsProtocolNegotiatorTest.java | 471 public TsiFrameProtector createFrameProtector(int maxFrameSize, ByteBufAllocator alloc) { in createFrameProtector() argument 473 new InterceptingProtector(delegate.createFrameProtector(maxFrameSize, alloc)); in createFrameProtector()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | MessageFramerTest.java | 401 ByteWritableBuffer(int maxFrameSize) { 402 data = new byte[maxFrameSize];
|