Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/zero_copy_frame_protector/
Dalts_zero_copy_grpc_protector.cc51 alts_grpc_record_protocol* record_protocol; member
114 alts_grpc_record_protocol** record_protocol) { in create_alts_grpc_record_protocol() argument
115 if (key == nullptr || record_protocol == nullptr) { in create_alts_grpc_record_protocol()
136 enable_extra_copy, record_protocol) in create_alts_grpc_record_protocol()
139 record_protocol); in create_alts_grpc_record_protocol()
165 protector->record_protocol, &protector->unprotected_staging_sb, in alts_zero_copy_grpc_protector_protect()
172 protector->record_protocol, unprotected_slices, protected_slices); in alts_zero_copy_grpc_protector_protect()
228 alts_grpc_record_protocol_destroy(protector->record_protocol); in alts_zero_copy_grpc_protector_destroy()
271 /*is_protect=*/true, enable_extra_copy, &impl->record_protocol); in alts_zero_copy_grpc_protector_create()
289 impl->record_protocol, max_protected_frame_size_to_set); in alts_zero_copy_grpc_protector_create()
[all …]
/external/grpc-grpc/src/core/tsi/alts/zero_copy_frame_protector/
Dalts_zero_copy_grpc_protector.cc51 alts_grpc_record_protocol* record_protocol; member
114 alts_grpc_record_protocol** record_protocol) { in create_alts_grpc_record_protocol() argument
115 if (key == nullptr || record_protocol == nullptr) { in create_alts_grpc_record_protocol()
136 enable_extra_copy, record_protocol) in create_alts_grpc_record_protocol()
139 record_protocol); in create_alts_grpc_record_protocol()
165 protector->record_protocol, &protector->unprotected_staging_sb, in alts_zero_copy_grpc_protector_protect()
172 protector->record_protocol, unprotected_slices, protected_slices); in alts_zero_copy_grpc_protector_protect()
228 alts_grpc_record_protocol_destroy(protector->record_protocol); in alts_zero_copy_grpc_protector_destroy()
261 /*is_protect=*/true, enable_extra_copy, &impl->record_protocol); in alts_zero_copy_grpc_protector_create()
279 impl->record_protocol, max_protected_frame_size_to_set); in alts_zero_copy_grpc_protector_create()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/cpp/common/
Dalts_context.cc38 upb_strview record_protocol = grpc_gcp_AltsContext_record_protocol(ctx); in AltsContext() local
39 if (record_protocol.data != nullptr && record_protocol.size > 0) { in AltsContext()
40 record_protocol_ = std::string(record_protocol.data, record_protocol.size); in AltsContext()
104 std::string AltsContext::record_protocol() const { return record_protocol_; } in record_protocol() function in grpc::experimental::AltsContext
/external/grpc-grpc/src/core/tsi/alts/handshaker/
Dalts_handshaker_service_api.cc158 const char* record_protocol) { in grpc_gcp_handshaker_req_add_record_protocol() argument
159 if (req == nullptr || record_protocol == nullptr || !req->has_client_start) { in grpc_gcp_handshaker_req_add_record_protocol()
165 grpc_slice* slice = create_slice(record_protocol, strlen(record_protocol)); in grpc_gcp_handshaker_req_add_record_protocol()
376 const char* record_protocol) { in grpc_gcp_handshaker_req_param_add_record_protocol() argument
377 if (req == nullptr || record_protocol == nullptr || !req->has_server_start) { in grpc_gcp_handshaker_req_param_add_record_protocol()
385 grpc_slice* slice = create_slice(record_protocol, strlen(record_protocol)); in grpc_gcp_handshaker_req_param_add_record_protocol()
475 destroy_slice(static_cast<grpc_slice*>(resp->result.record_protocol.arg)); in grpc_gcp_handshaker_resp_destroy()
507 resp->result.record_protocol.funcs.decode = decode_string_or_bytes_cb; in grpc_gcp_handshaker_resp_decode()
Daltscontext.pb.c14 …PB_FIELD( 2, STRING , OPTIONAL, CALLBACK, OTHER, grpc_gcp_AltsContext, record_protocol, applicat…
15 … 3, UENUM , OPTIONAL, STATIC , OTHER, grpc_gcp_AltsContext, security_level, record_protocol, 0),
Dalts_handshaker_service_api.h128 const char* record_protocol);
241 const char* record_protocol);
Daltscontext.pb.h20 pb_callback_t record_protocol; member
Dhandshaker.pb.c74 …PB_FIELD( 2, STRING , OPTIONAL, CALLBACK, OTHER, grpc_gcp_HandshakerResult, record_protocol, app…
75 … 3, BYTES , OPTIONAL, CALLBACK, OTHER, grpc_gcp_HandshakerResult, key_data, record_protocol, 0),
Dhandshaker.pb.h65 pb_callback_t record_protocol; member
/external/grpc-grpc/test/core/tsi/alts/handshaker/
Dalts_handshaker_client_test.cc180 grpc_slice* record_protocol = (grpc_slice*)data; in check_client_start_success() local
184 GPR_ASSERT(memcmp(GRPC_SLICE_START_PTR(*record_protocol), in check_client_start_success()
186 GRPC_SLICE_LENGTH(*record_protocol)) == 0); in check_client_start_success()
229 grpc_slice* record_protocol = (grpc_slice*)data; in check_server_start_success() local
230 GPR_ASSERT(memcmp(GRPC_SLICE_START_PTR(*record_protocol), in check_server_start_success()
232 GRPC_SLICE_LENGTH(*record_protocol)) == 0); in check_server_start_success()
Dalts_handshaker_service_api_test_lib.cc86 grpc_gcp_handshaker_resp* resp, const char* record_protocol) { in grpc_gcp_handshaker_resp_set_record_protocol() argument
87 if (resp == nullptr || record_protocol == nullptr) { in grpc_gcp_handshaker_resp_set_record_protocol()
94 grpc_slice* slice = create_slice(record_protocol, strlen(record_protocol)); in grpc_gcp_handshaker_resp_set_record_protocol()
95 resp->result.record_protocol.arg = slice; in grpc_gcp_handshaker_resp_set_record_protocol()
96 resp->result.record_protocol.funcs.encode = encode_string_or_bytes_cb; in grpc_gcp_handshaker_resp_set_record_protocol()
592 slice_equals(static_cast<grpc_slice*>(l_result->record_protocol.arg), in grpc_gcp_handshaker_resp_result_equals()
593 static_cast<grpc_slice*>(r_result->record_protocol.arg)); in grpc_gcp_handshaker_resp_result_equals()
Dalts_handshaker_service_api_test_lib.h54 grpc_gcp_handshaker_resp* resp, const char* record_protocol);
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/security/
Dalts_context.h49 std::string record_protocol() const;
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/security/
Dalts_context.h49 std::string record_protocol() const;
/external/grpc-grpc/src/core/tsi/alts/handshaker/proto/
Daltscontext.proto28 string record_protocol = 2; field
Dhandshaker.proto163 string record_protocol = 2; field
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/handshaker/proto/
Daltscontext.proto28 string record_protocol = 2; field
Dhandshaker.proto163 string record_protocol = 2; field
/external/grpc-grpc-java/alts/src/main/proto/grpc/gcp/
Daltscontext.proto28 string record_protocol = 2; field
Dhandshaker.proto163 string record_protocol = 2; field
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/handshaker/
Dalts_tsi_handshaker.cc292 upb_strview record_protocol = in alts_tsi_handshaker_result_create() local
294 if (record_protocol.size == 0) { in alts_tsi_handshaker_result_create()
328 grpc_gcp_AltsContext_set_record_protocol(context, record_protocol); in alts_tsi_handshaker_result_create()
/external/rust/crates/grpcio-sys/grpc/src/proto/grpc/gcp/
Daltscontext.proto34 string record_protocol = 2; field
Dhandshaker.proto179 string record_protocol = 2; field
/external/grpc-grpc/test/core/tsi/alts/fake_handshaker/
Dhandshaker.proto163 string record_protocol = 2; field