Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/
Dhpack_table.cc41 for (i = 0; i < tbl->num_ents; i++) { in grpc_chttp2_hptbl_destroy()
53 if (tbl_index < tbl->num_ents) { in lookup_dynamic_index()
55 (tbl->num_ents - 1u - tbl_index + tbl->first_ent) % tbl->cap_entries; in lookup_dynamic_index()
85 tbl->num_ents--; in evict1()
94 for (i = 0; i < tbl->num_ents; i++) { in rebuild_ents()
174 while (tbl->num_ents) { in grpc_chttp2_hptbl_add()
187 tbl->ents[(tbl->first_ent + tbl->num_ents) % tbl->cap_entries] = in grpc_chttp2_hptbl_add()
191 tbl->num_ents++; in grpc_chttp2_hptbl_add()
211 for (i = 0; i < tbl->num_ents; i++) { in grpc_chttp2_hptbl_find()
212 uint32_t idx = static_cast<uint32_t>(tbl->num_ents - i + in grpc_chttp2_hptbl_find()
Dhpack_table.h70 uint32_t num_ents = 0; member
Dhpack_parser.cc771 GRPC_ERROR_INT_SIZE, static_cast<intptr_t>(p->table.num_ents)); in on_invalid_hpack_idx()
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dhpack_table.cc196 for (i = 0; i < tbl->num_ents; i++) { in grpc_chttp2_hptbl_destroy()
210 if (tbl_index < tbl->num_ents) { in grpc_chttp2_hptbl_lookup()
212 (tbl->num_ents - 1u - tbl_index + tbl->first_ent) % tbl->cap_entries; in grpc_chttp2_hptbl_lookup()
228 tbl->num_ents--; in evict1()
237 for (i = 0; i < tbl->num_ents; i++) { in rebuild_ents()
322 while (tbl->num_ents) { in grpc_chttp2_hptbl_add()
335 tbl->ents[(tbl->first_ent + tbl->num_ents) % tbl->cap_entries] = in grpc_chttp2_hptbl_add()
339 tbl->num_ents++; in grpc_chttp2_hptbl_add()
359 for (i = 0; i < tbl->num_ents; i++) { in grpc_chttp2_hptbl_find()
360 uint32_t idx = static_cast<uint32_t>(tbl->num_ents - i + in grpc_chttp2_hptbl_find()
Dhpack_table.h52 uint32_t num_ents; member
Dhpack_parser.cc763 GRPC_ERROR_INT_SIZE, static_cast<intptr_t>(p->table.num_ents)); in finish_indexed_field()
1512 GRPC_ERROR_INT_SIZE, static_cast<intptr_t>(p->table.num_ents)); in is_binary_indexed_header()
/external/grpc-grpc/test/core/transport/chttp2/
Dhpack_table_test.cc254 for (i = 0; i < tbl.num_ents; i++) { in test_find()