Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/tsi/
Dfake_transport_security.cc34 #define TSI_FAKE_FRAME_HEADER_SIZE 4 macro
128 GPR_ASSERT(sb != nullptr && sb->length >= TSI_FAKE_FRAME_HEADER_SIZE); in read_frame_size()
129 uint8_t frame_size_buffer[TSI_FAKE_FRAME_HEADER_SIZE]; in read_frame_size()
132 size_t remaining = TSI_FAKE_FRAME_HEADER_SIZE; in read_frame_size()
187 if (frame->offset < TSI_FAKE_FRAME_HEADER_SIZE) { in tsi_fake_frame_decode()
188 to_read_size = TSI_FAKE_FRAME_HEADER_SIZE - frame->offset; in tsi_fake_frame_decode()
244 frame->size = data_size + TSI_FAKE_FRAME_HEADER_SIZE; in tsi_fake_frame_set_data()
247 memcpy(frame->data + TSI_FAKE_FRAME_HEADER_SIZE, data, data_size); in tsi_fake_frame_set_data()
267 unsigned char frame_header[TSI_FAKE_FRAME_HEADER_SIZE]; in fake_protector_protect()
297 written_in_frame_size = TSI_FAKE_FRAME_HEADER_SIZE; in fake_protector_protect()
[all …]