Home
last modified time | relevance | path

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

/third_party/grpc/src/core/ext/transport/chttp2/transport/
Dhpack_encoder.cc536 const uint32_t len_pfx = type == EmitLitHdrType::INC_IDX in emit_lithdr() local
543 GPR_DEBUG_ASSERT(len_pfx + len_val_len < GRPC_SLICE_INLINED_SIZE); in emit_lithdr()
546 len_pfx + len_val_len + (value.insert_null_before_wire_value ? 1 : 0)); in emit_lithdr()
549 GRPC_CHTTP2_WRITE_VARINT(key_index, 2, 0x40, data, len_pfx); in emit_lithdr()
552 GRPC_CHTTP2_WRITE_VARINT(key_index, 4, 0x00, data, len_pfx); in emit_lithdr()
555 GRPC_CHTTP2_WRITE_VARINT(len_val, 1, value.huffman_prefix, &data[len_pfx], in emit_lithdr()
558 data[len_pfx + len_val_len] = 0; in emit_lithdr()