Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/
Dhpack_table.h50 struct grpc_chttp2_hptbl { struct
60 grpc_chttp2_hptbl() { in grpc_chttp2_hptbl() argument
89 void grpc_chttp2_hptbl_destroy(grpc_chttp2_hptbl* tbl); argument
90 void grpc_chttp2_hptbl_set_max_bytes(grpc_chttp2_hptbl* tbl,
92 grpc_error* grpc_chttp2_hptbl_set_current_table_size(grpc_chttp2_hptbl* tbl,
96 grpc_mdelem grpc_chttp2_hptbl_lookup_dynamic_index(const grpc_chttp2_hptbl* tbl,
99 const grpc_chttp2_hptbl* tbl, uint32_t tbl_index);
101 inline grpc_mdelem grpc_chttp2_hptbl_lookup(const grpc_chttp2_hptbl* tbl, in grpc_chttp2_hptbl_lookup()
120 grpc_error* grpc_chttp2_hptbl_add(grpc_chttp2_hptbl* tbl,
146 const grpc_chttp2_hptbl* tbl, grpc_mdelem md);
Dhpack_table.cc39 void grpc_chttp2_hptbl_destroy(grpc_chttp2_hptbl* tbl) { in grpc_chttp2_hptbl_destroy()
49 static grpc_mdelem lookup_dynamic_index(const grpc_chttp2_hptbl* tbl, in lookup_dynamic_index()
66 grpc_mdelem grpc_chttp2_hptbl_lookup_dynamic_index(const grpc_chttp2_hptbl* tbl, in grpc_chttp2_hptbl_lookup_dynamic_index()
72 const grpc_chttp2_hptbl* tbl, uint32_t tbl_index) { in grpc_chttp2_hptbl_lookup_ref_dynamic_index()
77 static void evict1(grpc_chttp2_hptbl* tbl) { in evict1()
89 static void rebuild_ents(grpc_chttp2_hptbl* tbl, uint32_t new_cap) { in rebuild_ents()
103 void grpc_chttp2_hptbl_set_max_bytes(grpc_chttp2_hptbl* tbl, in grpc_chttp2_hptbl_set_max_bytes()
117 grpc_error* grpc_chttp2_hptbl_set_current_table_size(grpc_chttp2_hptbl* tbl, in grpc_chttp2_hptbl_set_current_table_size()
136 tbl->max_entries = grpc_chttp2_hptbl::entries_for_bytes(bytes); in grpc_chttp2_hptbl_set_current_table_size()
148 grpc_error* grpc_chttp2_hptbl_add(grpc_chttp2_hptbl* tbl, grpc_mdelem md) { in grpc_chttp2_hptbl_add()
[all …]
Dhpack_parser.h98 grpc_chttp2_hptbl table;
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dhpack_table.h70 } grpc_chttp2_hptbl; typedef
73 void grpc_chttp2_hptbl_init(grpc_chttp2_hptbl* tbl);
74 void grpc_chttp2_hptbl_destroy(grpc_chttp2_hptbl* tbl);
75 void grpc_chttp2_hptbl_set_max_bytes(grpc_chttp2_hptbl* tbl,
77 grpc_error* grpc_chttp2_hptbl_set_current_table_size(grpc_chttp2_hptbl* tbl,
81 grpc_mdelem grpc_chttp2_hptbl_lookup(const grpc_chttp2_hptbl* tbl,
84 grpc_error* grpc_chttp2_hptbl_add(grpc_chttp2_hptbl* tbl,
102 const grpc_chttp2_hptbl* tbl, grpc_mdelem md);
Dhpack_table.cc172 void grpc_chttp2_hptbl_init(grpc_chttp2_hptbl* tbl) { in grpc_chttp2_hptbl_init()
191 void grpc_chttp2_hptbl_destroy(grpc_chttp2_hptbl* tbl) { in grpc_chttp2_hptbl_destroy()
202 grpc_mdelem grpc_chttp2_hptbl_lookup(const grpc_chttp2_hptbl* tbl, in grpc_chttp2_hptbl_lookup()
220 static void evict1(grpc_chttp2_hptbl* tbl) { in evict1()
232 static void rebuild_ents(grpc_chttp2_hptbl* tbl, uint32_t new_cap) { in rebuild_ents()
246 void grpc_chttp2_hptbl_set_max_bytes(grpc_chttp2_hptbl* tbl, in grpc_chttp2_hptbl_set_max_bytes()
260 grpc_error* grpc_chttp2_hptbl_set_current_table_size(grpc_chttp2_hptbl* tbl, in grpc_chttp2_hptbl_set_current_table_size()
293 grpc_error* grpc_chttp2_hptbl_add(grpc_chttp2_hptbl* tbl, grpc_mdelem md) { in grpc_chttp2_hptbl_add()
345 const grpc_chttp2_hptbl* tbl, grpc_mdelem md) { in grpc_chttp2_hptbl_find()
Dhpack_parser.h91 grpc_chttp2_hptbl table;
/external/grpc-grpc/test/core/transport/chttp2/
Dhpack_table_test.cc35 static void assert_str(const grpc_chttp2_hptbl* tbl, grpc_slice mdstr, in assert_str()
40 static void assert_index(const grpc_chttp2_hptbl* tbl, uint32_t idx, in assert_index()
49 grpc_chttp2_hptbl tbl; in test_static_lookup()
120 grpc_chttp2_hptbl tbl; in test_many_additions()
153 static grpc_chttp2_hptbl_find_result find_simple(grpc_chttp2_hptbl* tbl, in find_simple()
167 grpc_chttp2_hptbl tbl; in test_find()