Home
last modified time | relevance | path

Searched refs:elem_bytes (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/
Dhpack_table.cc79 size_t elem_bytes = GRPC_SLICE_LENGTH(GRPC_MDKEY(first_ent)) + in evict1() local
82 GPR_ASSERT(elem_bytes <= tbl->mem_used); in evict1()
83 tbl->mem_used -= static_cast<uint32_t>(elem_bytes); in evict1()
150 size_t elem_bytes = GRPC_SLICE_LENGTH(GRPC_MDKEY(md)) + in grpc_chttp2_hptbl_add() local
164 if (elem_bytes > tbl->current_table_bytes) { in grpc_chttp2_hptbl_add()
181 while (elem_bytes > in grpc_chttp2_hptbl_add()
192 tbl->mem_used += static_cast<uint32_t>(elem_bytes); in grpc_chttp2_hptbl_add()
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dhpack_table.cc222 size_t elem_bytes = GRPC_SLICE_LENGTH(GRPC_MDKEY(first_ent)) + in evict1() local
225 GPR_ASSERT(elem_bytes <= tbl->mem_used); in evict1()
226 tbl->mem_used -= static_cast<uint32_t>(elem_bytes); in evict1()
295 size_t elem_bytes = GRPC_SLICE_LENGTH(GRPC_MDKEY(md)) + in grpc_chttp2_hptbl_add() local
312 if (elem_bytes > tbl->current_table_bytes) { in grpc_chttp2_hptbl_add()
329 while (elem_bytes > in grpc_chttp2_hptbl_add()
340 tbl->mem_used += static_cast<uint32_t>(elem_bytes); in grpc_chttp2_hptbl_add()