Home
last modified time | relevance | path

Searched refs:hpackReader (Results 1 – 7 of 7) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHpackTest.java34 private Hpack.Reader hpackReader; field in HpackTest
39 hpackReader = newReader(bytesIn); in reset()
56 hpackReader.readHeaders(); in largeHeaderValue()
58 assertEquals(0, hpackReader.headerCount); in largeHeaderValue()
60 assertEquals(headerBlock, hpackReader.getAndResetHeaderList()); in largeHeaderValue()
75 hpackReader.headerTableSizeSetting(1); in tooLargeToHPackIsStillEmitted()
76 hpackReader.readHeaders(); in tooLargeToHPackIsStillEmitted()
78 assertEquals(0, hpackReader.headerCount); in tooLargeToHPackIsStillEmitted()
80 assertEquals(headerEntries("custom-key", "custom-header"), hpackReader.getAndResetHeaderList()); in tooLargeToHPackIsStillEmitted()
107 hpackReader.headerTableSizeSetting(110); in testEviction()
[all …]
DHttp2ConnectionTest.java149 assertEquals(0, frameReader.hpackReader.maxDynamicTableByteCount());
/external/grpc-grpc-java/okhttp/third_party/okhttp/test/java/io/grpc/okhttp/internal/framed/
DHpackTest.java46 private Hpack.Reader hpackReader; field in HpackTest
51 hpackReader = newReader(bytesIn); in reset()
68 hpackReader.readHeaders(); in largeHeaderValue()
70 assertEquals(0, hpackReader.dynamicTableHeaderCount); in largeHeaderValue()
72 assertEquals(headerBlock, hpackReader.getAndResetHeaderList()); in largeHeaderValue()
87 hpackReader.headerTableSizeSetting(1); in tooLargeToHPackIsStillEmitted()
88 hpackReader.readHeaders(); in tooLargeToHPackIsStillEmitted()
90 assertEquals(0, hpackReader.dynamicTableHeaderCount); in tooLargeToHPackIsStillEmitted()
92 assertEquals(headerEntries("custom-key", "custom-header"), hpackReader.getAndResetHeaderList()); in tooLargeToHPackIsStillEmitted()
105 hpackReader.readHeaders(); in setMaxDynamicTableToZeroDoesNotClearHeaderList()
[all …]
/external/okhttp/okhttp-hpacktests/src/test/java/com/squareup/okhttp/internal/spdy/
DHpackDecodeTestBase.java54 private final Hpack.Reader hpackReader = new Hpack.Reader(4096, bytesIn); field in HpackDecodeTestBase
73 hpackReader.readHeaders(); in testDecoder()
75 hpackReader.getAndResetHeaderList()); in testDecoder()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/
DHttp2.java95 final Hpack.Reader hpackReader; field in Http2.Reader
101 this.hpackReader = new Hpack.Reader(headerTableSize, continuation); in Reader()
214 hpackReader.readHeaders(); in readHeaderBlock()
215 return hpackReader.getAndResetHeaderList(); in readHeaderBlock()
307 hpackReader.headerTableSizeSetting(settings.getHeaderTableSize()); in readSettings()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DHttp2.java93 final Hpack.Reader hpackReader; field in Http2.Reader
99 this.hpackReader = new Hpack.Reader(headerTableSize, continuation); in Reader()
212 hpackReader.readHeaders(); in readHeaderBlock()
213 return hpackReader.getAndResetHeaderList(); in readHeaderBlock()
305 hpackReader.headerTableSizeSetting(settings.getHeaderTableSize()); in readSettings()
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/framed/
DHttp2.java98 final Hpack.Reader hpackReader; field in Http2.Reader
104 this.hpackReader = new Hpack.Reader(headerTableSize, continuation); in Reader()
217 hpackReader.readHeaders(); in readHeaderBlock()
218 return hpackReader.getAndResetHeaderList(); in readHeaderBlock()
311 hpackReader.headerTableSizeSetting(settings.getHeaderTableSize()); in readSettings()