Searched refs:dynamicTable (Results 1 – 7 of 7) sorted by relevance
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
D | Hpack.java | 122 Header[] dynamicTable = new Header[8]; field in Hpack.Reader 124 int nextHeaderIndex = dynamicTable.length - 1; 163 Arrays.fill(dynamicTable, null); in clearDynamicTable() 164 nextHeaderIndex = dynamicTable.length - 1; in clearDynamicTable() 174 for (int j = dynamicTable.length - 1; j >= nextHeaderIndex && bytesToRecover > 0; j--) { in evictToRecoverBytes() 175 bytesToRecover -= dynamicTable[j].hpackSize; in evictToRecoverBytes() 176 dynamicTableByteCount -= dynamicTable[j].hpackSize; in evictToRecoverBytes() 180 System.arraycopy(dynamicTable, nextHeaderIndex + 1, dynamicTable, in evictToRecoverBytes() 232 if (dynamicTableIndex < 0 || dynamicTableIndex > dynamicTable.length - 1) { in readIndexedHeader() 235 headerList.add(dynamicTable[dynamicTableIndex]); in readIndexedHeader() [all …]
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/ |
D | Hpack.java | 123 Header[] dynamicTable = new Header[8]; field in Hpack.Reader 125 int nextHeaderIndex = dynamicTable.length - 1; 164 Arrays.fill(dynamicTable, null); in clearDynamicTable() 165 nextHeaderIndex = dynamicTable.length - 1; in clearDynamicTable() 175 for (int j = dynamicTable.length - 1; j >= nextHeaderIndex && bytesToRecover > 0; j--) { in evictToRecoverBytes() 176 bytesToRecover -= dynamicTable[j].hpackSize; in evictToRecoverBytes() 177 dynamicTableByteCount -= dynamicTable[j].hpackSize; in evictToRecoverBytes() 181 System.arraycopy(dynamicTable, nextHeaderIndex + 1, dynamicTable, in evictToRecoverBytes() 233 if (dynamicTableIndex < 0 || dynamicTableIndex > dynamicTable.length - 1) { in readIndexedHeader() 236 headerList.add(dynamicTable[dynamicTableIndex]); in readIndexedHeader() [all …]
|
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/framed/ |
D | Hpack.java | 127 …io.grpc.okhttp.internal.framed.Header[] dynamicTable = new io.grpc.okhttp.internal.framed.Header[8… field in Hpack.Reader 129 int nextDynamicTableIndex = dynamicTable.length - 1; 167 Arrays.fill(dynamicTable, null); in clearDynamicTable() 168 nextDynamicTableIndex = dynamicTable.length - 1; in clearDynamicTable() 178 … for (int j = dynamicTable.length - 1; j >= nextDynamicTableIndex && bytesToRecover > 0; j--) { in evictToRecoverBytes() 179 bytesToRecover -= dynamicTable[j].hpackSize; in evictToRecoverBytes() 180 dynamicTableByteCount -= dynamicTable[j].hpackSize; in evictToRecoverBytes() 184 System.arraycopy(dynamicTable, nextDynamicTableIndex + 1, dynamicTable, in evictToRecoverBytes() 236 if (dynamicTableIndex < 0 || dynamicTableIndex > dynamicTable.length - 1) { in readIndexedHeader() 239 headerList.add(dynamicTable[dynamicTableIndex]); in readIndexedHeader() [all …]
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | HpackTest.java | 112 Header entry = hpackReader.dynamicTable[headerTableLength() - 1]; in testEviction() 115 entry = hpackReader.dynamicTable[headerTableLength() - 2]; in testEviction() 161 Header entry = hpackReader.dynamicTable[headerTableLength() - 1]; in huffmanDecodingSupported() 181 Header entry = hpackReader.dynamicTable[headerTableLength() - 1]; in readLiteralHeaderFieldWithIndexing() 265 assertEquals(null, hpackReader.dynamicTable[headerTableLength() - 1]); in staticHeaderIsNotCopiedIntoTheIndexedTable() 399 Header entry = hpackReader.dynamicTable[headerTableLength() - 1]; in checkReadFirstRequestWithoutHuffman() 432 Header entry = hpackReader.dynamicTable[headerTableLength() - 2]; in checkReadSecondRequestWithoutHuffman() 436 entry = hpackReader.dynamicTable[headerTableLength() - 1]; in checkReadSecondRequestWithoutHuffman() 471 Header entry = hpackReader.dynamicTable[headerTableLength() - 3]; in checkReadThirdRequestWithoutHuffman() 475 entry = hpackReader.dynamicTable[headerTableLength() - 2]; in checkReadThirdRequestWithoutHuffman() [all …]
|
/external/grpc-grpc-java/okhttp/third_party/okhttp/test/java/io/grpc/okhttp/internal/framed/ |
D | HpackTest.java | 140 Header entry = hpackReader.dynamicTable[headerTableLength() - 1]; in testEviction() 143 entry = hpackReader.dynamicTable[headerTableLength() - 2]; in testEviction() 189 Header entry = hpackReader.dynamicTable[headerTableLength() - 1]; in huffmanDecodingSupported() 209 Header entry = hpackReader.dynamicTable[headerTableLength() - 1]; in readLiteralHeaderFieldWithIndexing() 293 assertEquals(null, hpackReader.dynamicTable[headerTableLength() - 1]); in staticHeaderIsNotCopiedIntoTheIndexedTable() 427 Header entry = hpackReader.dynamicTable[headerTableLength() - 1]; in checkReadFirstRequestWithoutHuffman() 460 Header entry = hpackReader.dynamicTable[headerTableLength() - 2]; in checkReadSecondRequestWithoutHuffman() 464 entry = hpackReader.dynamicTable[headerTableLength() - 1]; in checkReadSecondRequestWithoutHuffman() 499 Header entry = hpackReader.dynamicTable[headerTableLength() - 3]; in checkReadThirdRequestWithoutHuffman() 503 entry = hpackReader.dynamicTable[headerTableLength() - 2]; in checkReadThirdRequestWithoutHuffman() [all …]
|
/external/syzkaller/vendor/golang.org/x/net/http2/hpack/ |
D | hpack.go | 80 dynTab dynamicTable 157 type dynamicTable struct { struct 165 func (dt *dynamicTable) setMaxSize(v uint32) { argument 170 func (dt *dynamicTable) add(f HeaderField) { argument 177 func (dt *dynamicTable) evict() { argument
|
D | encode.go | 17 dynTab dynamicTable
|