Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/tsi/alts/zero_copy_frame_protector/
Dalts_zero_copy_grpc_protector.cc58 uint32_t parsed_frame_size; member
189 if (protector->parsed_frame_size == 0) { in alts_zero_copy_grpc_protector_unprotect()
192 &protector->parsed_frame_size)) { in alts_zero_copy_grpc_protector_unprotect()
197 if (protector->protected_sb.length < protector->parsed_frame_size) break; in alts_zero_copy_grpc_protector_unprotect()
200 if (protector->protected_sb.length == protector->parsed_frame_size) { in alts_zero_copy_grpc_protector_unprotect()
206 protector->parsed_frame_size, in alts_zero_copy_grpc_protector_unprotect()
212 protector->parsed_frame_size = 0; in alts_zero_copy_grpc_protector_unprotect()
285 impl->parsed_frame_size = 0; in alts_zero_copy_grpc_protector_create()
/external/grpc-grpc/src/core/tsi/
Dfake_transport_security.cc85 size_t parsed_frame_size; member
448 if (impl->parsed_frame_size == 0) { in fake_zero_copy_grpc_protector_unprotect()
449 impl->parsed_frame_size = read_frame_size(&impl->protected_sb); in fake_zero_copy_grpc_protector_unprotect()
450 if (impl->parsed_frame_size <= 4) { in fake_zero_copy_grpc_protector_unprotect()
456 if (impl->protected_sb.length < impl->parsed_frame_size) break; in fake_zero_copy_grpc_protector_unprotect()
463 impl->parsed_frame_size - TSI_FAKE_FRAME_HEADER_SIZE, in fake_zero_copy_grpc_protector_unprotect()
465 impl->parsed_frame_size = 0; in fake_zero_copy_grpc_protector_unprotect()
785 impl->parsed_frame_size = 0; in tsi_create_fake_zero_copy_grpc_protector()