Home
last modified time | relevance | path

Searched refs:first_ent (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/
Dhpack_table.cc42 GRPC_MDELEM_UNREF(tbl->ents[(tbl->first_ent + i) % tbl->cap_entries]); in grpc_chttp2_hptbl_destroy()
55 (tbl->num_ents - 1u - tbl_index + tbl->first_ent) % tbl->cap_entries; in lookup_dynamic_index()
78 grpc_mdelem first_ent = tbl->ents[tbl->first_ent]; in evict1() local
79 size_t elem_bytes = GRPC_SLICE_LENGTH(GRPC_MDKEY(first_ent)) + in evict1()
80 GRPC_SLICE_LENGTH(GRPC_MDVALUE(first_ent)) + in evict1()
84 tbl->first_ent = ((tbl->first_ent + 1) % tbl->cap_entries); in evict1()
86 GRPC_MDELEM_UNREF(first_ent); in evict1()
95 ents[i] = tbl->ents[(tbl->first_ent + i) % tbl->cap_entries]; in rebuild_ents()
100 tbl->first_ent = 0; in rebuild_ents()
187 tbl->ents[(tbl->first_ent + tbl->num_ents) % tbl->cap_entries] = in grpc_chttp2_hptbl_add()
[all …]
Dhpack_table.h68 uint32_t first_ent = 0; member
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dhpack_table.cc197 GRPC_MDELEM_UNREF(tbl->ents[(tbl->first_ent + i) % tbl->cap_entries]); in grpc_chttp2_hptbl_destroy()
212 (tbl->num_ents - 1u - tbl_index + tbl->first_ent) % tbl->cap_entries; in grpc_chttp2_hptbl_lookup()
221 grpc_mdelem first_ent = tbl->ents[tbl->first_ent]; in evict1() local
222 size_t elem_bytes = GRPC_SLICE_LENGTH(GRPC_MDKEY(first_ent)) + in evict1()
223 GRPC_SLICE_LENGTH(GRPC_MDVALUE(first_ent)) + in evict1()
227 tbl->first_ent = ((tbl->first_ent + 1) % tbl->cap_entries); in evict1()
229 GRPC_MDELEM_UNREF(first_ent); in evict1()
238 ents[i] = tbl->ents[(tbl->first_ent + i) % tbl->cap_entries]; in rebuild_ents()
243 tbl->first_ent = 0; in rebuild_ents()
335 tbl->ents[(tbl->first_ent + tbl->num_ents) % tbl->cap_entries] = in grpc_chttp2_hptbl_add()
[all …]
Dhpack_table.h50 uint32_t first_ent; member