Searched refs:size_stream (Results 1 – 3 of 3) sorted by relevance
/external/grpc-grpc/src/core/tsi/alts/handshaker/ |
D | transport_security_common_api.cc | 65 pb_ostream_t size_stream; in grpc_gcp_rpc_protocol_versions_encode_length() local 66 memset(&size_stream, 0, sizeof(pb_ostream_t)); in grpc_gcp_rpc_protocol_versions_encode_length() 67 if (!pb_encode(&size_stream, grpc_gcp_RpcProtocolVersions_fields, versions)) { in grpc_gcp_rpc_protocol_versions_encode_length() 68 gpr_log(GPR_ERROR, "nanopb error: %s", PB_GET_ERROR(&size_stream)); in grpc_gcp_rpc_protocol_versions_encode_length() 71 return size_stream.bytes_written; in grpc_gcp_rpc_protocol_versions_encode_length()
|
D | alts_handshaker_service_api.cc | 442 pb_ostream_t size_stream; in grpc_gcp_handshaker_req_encode() local 443 memset(&size_stream, 0, sizeof(pb_ostream_t)); in grpc_gcp_handshaker_req_encode() 444 if (!pb_encode(&size_stream, grpc_gcp_HandshakerReq_fields, req)) { in grpc_gcp_handshaker_req_encode() 445 gpr_log(GPR_ERROR, "nanopb error: %s", PB_GET_ERROR(&size_stream)); in grpc_gcp_handshaker_req_encode() 448 size_t encoded_length = size_stream.bytes_written; in grpc_gcp_handshaker_req_encode()
|
/external/grpc-grpc/test/core/tsi/alts/handshaker/ |
D | alts_handshaker_service_api_test_lib.cc | 286 pb_ostream_t size_stream; in grpc_gcp_handshaker_resp_encode() local 287 memset(&size_stream, 0, sizeof(pb_ostream_t)); in grpc_gcp_handshaker_resp_encode() 288 if (!pb_encode(&size_stream, grpc_gcp_HandshakerResp_fields, resp)) { in grpc_gcp_handshaker_resp_encode() 289 gpr_log(GPR_ERROR, "nanopb error: %s", PB_GET_ERROR(&size_stream)); in grpc_gcp_handshaker_resp_encode() 292 size_t encoded_length = size_stream.bytes_written; in grpc_gcp_handshaker_resp_encode() 297 gpr_log(GPR_ERROR, "nanopb error: %s", PB_GET_ERROR(&size_stream)); in grpc_gcp_handshaker_resp_encode()
|