Home
last modified time | relevance | path

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

/external/grpc-grpc/test/core/transport/chttp2/
Dhpack_table_test.cc138 assert_index(&tbl, 1 + GRPC_CHTTP2_LAST_STATIC_ENTRY, key, value); in test_many_additions()
144 assert_index(&tbl, 2 + GRPC_CHTTP2_LAST_STATIC_ENTRY, key, value); in test_many_additions()
190 GPR_ASSERT(r.index == 2 + GRPC_CHTTP2_LAST_STATIC_ENTRY); in test_find()
194 GPR_ASSERT(r.index == 3 + GRPC_CHTTP2_LAST_STATIC_ENTRY); in test_find()
198 GPR_ASSERT(r.index == 1 + GRPC_CHTTP2_LAST_STATIC_ENTRY); in test_find()
202 GPR_ASSERT(r.index == 1 + GRPC_CHTTP2_LAST_STATIC_ENTRY); in test_find()
247 GPR_ASSERT(r.index == 1 + GRPC_CHTTP2_LAST_STATIC_ENTRY); in test_find()
251 GPR_ASSERT(r.index == 2 + GRPC_CHTTP2_LAST_STATIC_ENTRY); in test_find()
259 GPR_ASSERT(r.index == i + 1 + GRPC_CHTTP2_LAST_STATIC_ENTRY); in test_find()
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dhpack_table.cc183 for (i = 1; i <= GRPC_CHTTP2_LAST_STATIC_ENTRY; i++) { in grpc_chttp2_hptbl_init()
193 for (i = 0; i < GRPC_CHTTP2_LAST_STATIC_ENTRY; i++) { in grpc_chttp2_hptbl_destroy()
205 if (tbl_index <= GRPC_CHTTP2_LAST_STATIC_ENTRY) { in grpc_chttp2_hptbl_lookup()
209 tbl_index -= (GRPC_CHTTP2_LAST_STATIC_ENTRY + 1); in grpc_chttp2_hptbl_lookup()
350 for (i = 0; i < GRPC_CHTTP2_LAST_STATIC_ENTRY; i++) { in grpc_chttp2_hptbl_find()
361 GRPC_CHTTP2_LAST_STATIC_ENTRY); in grpc_chttp2_hptbl_find()
Dhpack_table.h31 #define GRPC_CHTTP2_LAST_STATIC_ENTRY 61 macro
69 grpc_mdelem static_ents[GRPC_CHTTP2_LAST_STATIC_ENTRY];
Dhpack_encoder.cc452 return 1 + GRPC_CHTTP2_LAST_STATIC_ENTRY + c->tail_remote_index + in dynidx()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/
Dhpack_table.h33 #define GRPC_CHTTP2_LAST_STATIC_ENTRY 61 macro
109 if (index <= GRPC_CHTTP2_LAST_STATIC_ENTRY) { in grpc_chttp2_hptbl_lookup()
133 if (index < GRPC_CHTTP2_LAST_STATIC_ENTRY) { in grpc_chttp2_get_static_hpack_table_index()
Dhpack_table.cc52 tbl_index -= (GRPC_CHTTP2_LAST_STATIC_ENTRY + 1); in lookup_dynamic_index()
202 for (i = 0; i < GRPC_CHTTP2_LAST_STATIC_ENTRY; i++) { in grpc_chttp2_hptbl_find()
213 GRPC_CHTTP2_LAST_STATIC_ENTRY); in grpc_chttp2_hptbl_find()
Dhpack_encoder.cc627 return 1 + GRPC_CHTTP2_LAST_STATIC_ENTRY + c->tail_remote_index + in dynidx()
874 ->StaticIndex()) < GRPC_CHTTP2_LAST_STATIC_ENTRY) { in grpc_chttp2_encode_header()
888 ->StaticIndex()) < GRPC_CHTTP2_LAST_STATIC_ENTRY) { in grpc_chttp2_encode_header()