Home
last modified time | relevance | path

Searched refs:headerCount (Results 1 – 10 of 10) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHpackTest.java58 assertEquals(0, hpackReader.headerCount); in largeHeaderValue()
78 assertEquals(0, hpackReader.headerCount); in tooLargeToHPackIsStillEmitted()
110 assertEquals(2, hpackReader.headerCount); in testEviction()
129 assertEquals(1, hpackReader.headerCount); in testEviction()
146 assertEquals(256, hpackReader.headerCount); in dynamicallyGrowsBeyond64Entries()
158 assertEquals(1, hpackReader.headerCount); in huffmanDecodingSupported()
178 assertEquals(1, hpackReader.headerCount); in readLiteralHeaderFieldWithIndexing()
203 assertEquals(0, hpackReader.headerCount); in literalHeaderFieldWithoutIndexingIndexedName()
223 assertEquals(0, hpackReader.headerCount); in literalHeaderFieldWithoutIndexingNewName()
236 assertEquals(0, hpackReader.headerCount); in literalHeaderFieldNeverIndexedIndexedName()
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DHpack.java125 int headerCount = 0; field in Hpack.Reader
165 headerCount = 0; in clearDynamicTable()
177 headerCount--; in evictToRecoverBytes()
181 nextHeaderIndex + 1 + entriesToEvict, headerCount); in evictToRecoverBytes()
301 if (headerCount + 1 > dynamicTable.length) { // Need to grow the dynamic table. in insertIntoDynamicTable()
309 headerCount++; in insertIntoDynamicTable()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/
DHpack.java126 int headerCount = 0; field in Hpack.Reader
166 headerCount = 0; in clearDynamicTable()
178 headerCount--; in evictToRecoverBytes()
182 nextHeaderIndex + 1 + entriesToEvict, headerCount); in evictToRecoverBytes()
302 if (headerCount + 1 > dynamicTable.length) { // Need to grow the dynamic table. in insertIntoDynamicTable()
310 headerCount++; in insertIntoDynamicTable()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DInternalMetadata.java74 public static int headerCount(Metadata md) { in headerCount() method in InternalMetadata
75 return md.headerCount(); in headerCount()
DMetadata.java165 int headerCount() { in headerCount() method in Metadata
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
DBenchmark.java82 int headerCount; field in Benchmark
149 client, modifiers, bodyByteCount, headerCount, concurrencyLevel); in toString()
202 for (int i = 0; i < headerCount; i++) { in newResponse()
/external/grpc-grpc-java/netty/src/jmh/java/io/grpc/netty/
DOutboundHeadersBenchmark.java44 public int headerCount; field in OutboundHeadersBenchmark
68 for (int i = 0; i < headerCount; i++) { in setUp()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DMultipartBuilder.java246 for (int h = 0, headerCount = headers.size(); h < headerCount; h++) { in writeOrCountBytes()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DMultipartBuilder.java248 for (int h = 0, headerCount = headers.size(); h < headerCount; h++) { in writeOrCountBytes()
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DHeaders.java61 List<Header> okhttpHeaders = new ArrayList<>(7 + InternalMetadata.headerCount(headers)); in createRequestHeaders()