Lines Matching defs:table
23 explicit HpackHeaderTablePeer(HpackHeaderTable* table)
24 : table_(table) {}
42 HpackHeaderTable* table() {
46 return HpackHeaderTablePeer(table());
102 static_(peer_.table()->GetByIndex(1)) {}
105 // Populate dynamic entries into the table fixture. For simplicity each
107 key_1_ = peer_.table()->TryAddEntry("key1", "value1");
108 key_2_ = peer_.table()->TryAddEntry("key2", "value2");
109 cookie_a_ = peer_.table()->TryAddEntry("cookie", "a=bb");
110 cookie_c_ = peer_.table()->TryAddEntry("cookie", "c=dd");
113 peer_.table()->SetMaxSize(peer_.table()->size());
157 return peer_.table()->IndexOf(entry);
160 return peer_.table()->IndexOf(entry);
192 peer_.table()->SetMaxSize(1); // Also evicts all fixtures.
228 peer_.table()->SetMaxSize(1); // Also evicts all fixtures.
232 // A header overflowing the header table is still emitted.
233 // The header table is empty.
256 ExpectIndexedLiteral(peer_.table()->GetByName("cookie"), "e=ff");
314 // Header table is:
331 // This cookie evicts |key1| from the header table.
332 ExpectIndexedLiteral(peer_.table()->GetByName("cookie"), "e=ff");
336 // Header table is:
370 ExpectIndexedLiteral(peer_.table()->GetByName(":authority"),
373 // Regular headers in the header table are encoded first.
375 // Regular headers not in the header table are encoded, in alphabetical order.