Searched refs:max_table_size (Results 1 – 7 of 7) sorted by relevance
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/ |
D | hpack_encoder.cc | 193 if (elem_size > c->max_table_size) { in prepare_space_for_new_elem() 203 while (c->table_size + elem_size > c->max_table_size) { in prepare_space_for_new_elem() 206 GPR_ASSERT(c->table_elems < c->max_table_size); in prepare_space_for_new_elem() 445 uint32_t len = GRPC_CHTTP2_VARINT_LENGTH(c->max_table_size, 3); in emit_advertise_table_size_change() 446 GRPC_CHTTP2_WRITE_VARINT(c->max_table_size, 3, 0x20, in emit_advertise_table_size_change() 590 c->max_table_size = GRPC_CHTTP2_HPACKC_INITIAL_TABLE_SIZE; in grpc_chttp2_hpack_compressor_init() 591 c->cap_table_elems = elems_for_bytes(c->max_table_size); in grpc_chttp2_hpack_compressor_init() 615 grpc_chttp2_hpack_compressor* c, uint32_t max_table_size) { in grpc_chttp2_hpack_compressor_set_max_usable_size() argument 616 c->max_usable_size = max_table_size; in grpc_chttp2_hpack_compressor_set_max_usable_size() 618 c, GPR_MIN(c->max_table_size, max_table_size)); in grpc_chttp2_hpack_compressor_set_max_usable_size() [all …]
|
D | hpack_encoder.h | 43 uint32_t max_table_size; member 77 grpc_chttp2_hpack_compressor* c, uint32_t max_table_size); 79 grpc_chttp2_hpack_compressor* c, uint32_t max_table_size);
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/ |
D | hpack_encoder.cc | 410 if (elem_size > c->max_table_size) { in prepare_space_for_new_elem() 420 while (c->table_size + elem_size > c->max_table_size) { in prepare_space_for_new_elem() 423 GPR_ASSERT(c->table_elems < c->max_table_size); in prepare_space_for_new_elem() 602 uint32_t len = GRPC_CHTTP2_VARINT_LENGTH(c->max_table_size, 3); in emit_advertise_table_size_change() 603 GRPC_CHTTP2_WRITE_VARINT(c->max_table_size, 3, 0x20, in emit_advertise_table_size_change() 763 c->max_table_size = GRPC_CHTTP2_HPACKC_INITIAL_TABLE_SIZE; in grpc_chttp2_hpack_compressor_init() 764 c->cap_table_elems = elems_for_bytes(c->max_table_size); in grpc_chttp2_hpack_compressor_init() 784 grpc_chttp2_hpack_compressor* c, uint32_t max_table_size) { in grpc_chttp2_hpack_compressor_set_max_usable_size() argument 785 c->max_usable_size = max_table_size; in grpc_chttp2_hpack_compressor_set_max_usable_size() 787 c, GPR_MIN(c->max_table_size, max_table_size)); in grpc_chttp2_hpack_compressor_set_max_usable_size() [all …]
|
D | hpack_encoder.h | 42 uint32_t max_table_size; member 89 grpc_chttp2_hpack_compressor* c, uint32_t max_table_size); 91 grpc_chttp2_hpack_compressor* c, uint32_t max_table_size);
|
/external/crosvm/fuzz/ |
D | virtqueue_fuzzer.rs | 62 let max_table_size = MAX_QUEUE_SIZE as u64 * size_of::<virtq_desc>() as u64; localVariable 63 q.desc_table = GuestAddress(rng.gen_range(0, MEM_SIZE - max_table_size));
|
/external/brotli/c/dec/ |
D | state.c | 143 const size_t max_table_size = alphabet_size_limit + 376; in BrotliDecoderHuffmanTreeGroupInit() local 144 const size_t code_size = sizeof(HuffmanCode) * ntrees * max_table_size; in BrotliDecoderHuffmanTreeGroupInit()
|
/external/brotli/c/enc/ |
D | encode.c | 221 static size_t HashTableSize(size_t max_table_size, size_t input_size) { in HashTableSize() argument 223 while (htsize < max_table_size && htsize < input_size) { in HashTableSize() 236 const size_t max_table_size = MaxHashTableSize(quality); in GetHashTable() local 237 size_t htsize = HashTableSize(max_table_size, input_size); in GetHashTable() 239 BROTLI_DCHECK(max_table_size >= 256); in GetHashTable()
|