Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/tsi/
Dfake_transport_security.cc178 const unsigned char* bytes_cursor = incoming_bytes; in tsi_fake_frame_decode() local
191 memcpy(frame->data + frame->offset, bytes_cursor, available_size); in tsi_fake_frame_decode()
192 bytes_cursor += available_size; in tsi_fake_frame_decode()
194 *incoming_bytes_size = static_cast<size_t>(bytes_cursor - incoming_bytes); in tsi_fake_frame_decode()
197 memcpy(frame->data + frame->offset, bytes_cursor, to_read_size); in tsi_fake_frame_decode()
198 bytes_cursor += to_read_size; in tsi_fake_frame_decode()
207 memcpy(frame->data + frame->offset, bytes_cursor, available_size); in tsi_fake_frame_decode()
209 bytes_cursor += available_size; in tsi_fake_frame_decode()
210 *incoming_bytes_size = static_cast<size_t>(bytes_cursor - incoming_bytes); in tsi_fake_frame_decode()
213 memcpy(frame->data + frame->offset, bytes_cursor, to_read_size); in tsi_fake_frame_decode()
[all …]