Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/tsi/alts/frame_protector/
Dframe_handler.cc128 (reader->header_bytes_read == sizeof(reader->header_buffer) && in alts_is_frame_reader_done()
133 return sizeof(reader->header_buffer) == reader->header_bytes_read; in alts_has_read_frame_length()
149 reader->header_bytes_read = 0; in alts_reset_frame_reader()
167 if (reader->header_bytes_read != sizeof(reader->header_buffer)) { in alts_read_frame_bytes()
169 *bytes_size, sizeof(reader->header_buffer) - reader->header_bytes_read); in alts_read_frame_bytes()
170 memcpy(reader->header_buffer + reader->header_bytes_read, bytes, in alts_read_frame_bytes()
172 reader->header_bytes_read += bytes_to_write; in alts_read_frame_bytes()
176 if (reader->header_bytes_read != sizeof(reader->header_buffer)) { in alts_read_frame_bytes()
Dframe_handler.h58 size_t header_bytes_read; member
/external/grpc-grpc/test/core/tsi/alts/frame_protector/
Dframe_handler_test.cc93 return offset - handler->reader->header_bytes_read; in deframe()