Home
last modified time | relevance | path

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

/external/grpc-grpc/test/core/tsi/alts/handshaker/
Dalts_tsi_handshaker_test.cc181 size_t bytes_to_send_size, in check_must_not_be_called() argument
188 size_t bytes_to_send_size, in on_client_start_success_cb() argument
192 GPR_ASSERT(bytes_to_send_size == strlen(ALTS_TSI_HANDSHAKER_TEST_OUT_FRAME)); in on_client_start_success_cb()
194 bytes_to_send_size) == 0); in on_client_start_success_cb()
215 size_t bytes_to_send_size, in on_server_start_success_cb() argument
219 GPR_ASSERT(bytes_to_send_size == strlen(ALTS_TSI_HANDSHAKER_TEST_OUT_FRAME)); in on_server_start_success_cb()
221 bytes_to_send_size) == 0); in on_server_start_success_cb()
242 size_t bytes_to_send_size, in on_client_next_success_cb() argument
246 GPR_ASSERT(bytes_to_send_size == strlen(ALTS_TSI_HANDSHAKER_TEST_OUT_FRAME)); in on_client_next_success_cb()
248 bytes_to_send_size) == 0); in on_client_next_success_cb()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/transport/
Dsecurity_handshaker.cc65 size_t bytes_to_send_size, tsi_handshaker_result* handshaker_result);
77 size_t bytes_to_send_size, tsi_handshaker_result* handshaker_result);
287 size_t bytes_to_send_size, tsi_handshaker_result* handshaker_result) { in OnHandshakeNextDoneLocked() argument
295 GPR_ASSERT(bytes_to_send_size == 0); in OnHandshakeNextDoneLocked()
314 if (bytes_to_send_size > 0) { in OnHandshakeNextDoneLocked()
317 reinterpret_cast<const char*>(bytes_to_send), bytes_to_send_size); in OnHandshakeNextDoneLocked()
345 size_t bytes_to_send_size, tsi_handshaker_result* handshaker_result) { in OnHandshakeNextDoneGrpcWrapper() argument
350 result, bytes_to_send, bytes_to_send_size, handshaker_result); in OnHandshakeNextDoneGrpcWrapper()
362 size_t bytes_to_send_size = 0; in DoHandshakerNextLocked() local
366 &bytes_to_send_size, &hs_result, &OnHandshakeNextDoneGrpcWrapper, this); in DoHandshakerNextLocked()
[all …]
/external/grpc-grpc/src/core/lib/security/transport/
Dsecurity_handshaker.cc232 const unsigned char* bytes_to_send, size_t bytes_to_send_size, in on_handshake_next_done_locked() argument
241 GPR_ASSERT(bytes_to_send_size == 0); in on_handshake_next_done_locked()
255 if (bytes_to_send_size > 0) { in on_handshake_next_done_locked()
258 reinterpret_cast<const char*>(bytes_to_send), bytes_to_send_size); in on_handshake_next_done_locked()
276 size_t bytes_to_send_size, tsi_handshaker_result* handshaker_result) { in on_handshake_next_done_grpc_wrapper() argument
283 h, result, bytes_to_send, bytes_to_send_size, handshaker_result); in on_handshake_next_done_grpc_wrapper()
298 size_t bytes_to_send_size = 0; in do_handshaker_next_locked() local
302 &bytes_to_send_size, &handshaker_result, in do_handshaker_next_locked()
312 bytes_to_send_size, handshaker_result); in do_handshaker_next_locked()
/external/grpc-grpc/test/core/tsi/
Dtransport_security_test_lib.cc293 size_t bytes_to_send_size, in on_handshake_next_done() argument
302 GPR_ASSERT(bytes_to_send_size == 0); in on_handshake_next_done()
319 if (bytes_to_send_size > 0) { in on_handshake_next_done()
320 send_bytes_to_peer(fixture->channel, bytes_to_send, bytes_to_send_size, in on_handshake_next_done()
333 size_t bytes_to_send_size, tsi_handshaker_result* handshaker_result) { in on_handshake_next_done_wrapper() argument
336 bytes_to_send_size, handshaker_result); in on_handshake_next_done_wrapper()
362 size_t bytes_to_send_size = 0; in do_handshaker_next() local
375 &bytes_to_send_size, &handshaker_result, in do_handshaker_next()
379 result, args, bytes_to_send, bytes_to_send_size, handshaker_result); in do_handshaker_next()
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/handshaker/
Dalts_handshaker_client.cc50 size_t bytes_to_send_size; member
176 r->bytes_to_send_size, r->result); in maybe_complete_tsi_next()
183 size_t bytes_to_send_size, in handle_response_done() argument
189 p->bytes_to_send_size = bytes_to_send_size; in handle_response_done()
253 size_t bytes_to_send_size = 0; in alts_handshaker_client_handle_response() local
255 bytes_to_send_size = out_frames.size; in alts_handshaker_client_handle_response()
256 while (bytes_to_send_size > client->buffer_size) { in alts_handshaker_client_handle_response()
261 memcpy(client->buffer, out_frames.data, bytes_to_send_size); in alts_handshaker_client_handle_response()
293 bytes_to_send, bytes_to_send_size, result); in alts_handshaker_client_handle_response()
Dalts_tsi_handshaker.cc560 size_t* bytes_to_send_size, tsi_handshaker_result** result, in handshaker_next_dedicated() argument
564 bytes_to_send, bytes_to_send_size, result, cb, in handshaker_next_dedicated()
/external/grpc-grpc/src/core/tsi/alts/handshaker/
Dalts_tsi_handshaker.cc240 size_t* bytes_to_send_size, tsi_handshaker_result** result, in handshaker_next() argument
448 size_t bytes_to_send_size = 0; in alts_tsi_handshaker_handle_response() local
450 bytes_to_send_size = GRPC_SLICE_LENGTH(*slice); in alts_tsi_handshaker_handle_response()
451 while (bytes_to_send_size > handshaker->buffer_size) { in alts_tsi_handshaker_handle_response()
457 bytes_to_send_size); in alts_tsi_handshaker_handle_response()
476 bytes_to_send_size, result); in alts_tsi_handshaker_handle_response()
/external/grpc-grpc/src/core/tsi/
Dtransport_security_interface.h419 size_t bytes_to_send_size, tsi_handshaker_result* handshaker_result);
443 size_t* bytes_to_send_size, tsi_handshaker_result** handshaker_result,
Dlocal_transport_security.cc162 size_t* bytes_to_send_size, tsi_handshaker_result** result, in handshaker_next() argument
173 *bytes_to_send_size = 0; in handshaker_next()
Dtransport_security.h73 size_t* bytes_to_send_size,
Dtransport_security.cc203 size_t* bytes_to_send_size, tsi_handshaker_result** handshaker_result, in tsi_handshaker_next() argument
210 bytes_to_send, bytes_to_send_size, in tsi_handshaker_next()
Dfake_transport_security.cc671 size_t* bytes_to_send_size, tsi_handshaker_result** handshaker_result, in fake_handshaker_next() argument
675 bytes_to_send == nullptr || bytes_to_send_size == nullptr || in fake_handshaker_next()
708 *bytes_to_send_size = offset; in fake_handshaker_next()
Dssl_transport_security.cc1250 size_t* bytes_to_send_size, tsi_handshaker_result** handshaker_result, in ssl_handshaker_next() argument
1254 bytes_to_send == nullptr || bytes_to_send_size == nullptr || in ssl_handshaker_next()
1282 *bytes_to_send_size = offset; in ssl_handshaker_next()
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/
Dtransport_security_interface.h436 size_t bytes_to_send_size, tsi_handshaker_result* handshaker_result);
460 size_t* bytes_to_send_size, tsi_handshaker_result** handshaker_result,
Dlocal_transport_security.cc166 size_t* bytes_to_send_size, tsi_handshaker_result** result, in handshaker_next() argument
177 *bytes_to_send_size = 0; in handshaker_next()
Dtransport_security.h72 size_t* bytes_to_send_size,
Dtransport_security.cc218 size_t* bytes_to_send_size, tsi_handshaker_result** handshaker_result, in tsi_handshaker_next() argument
225 bytes_to_send, bytes_to_send_size, in tsi_handshaker_next()
Dfake_transport_security.cc675 size_t* bytes_to_send_size, tsi_handshaker_result** handshaker_result, in fake_handshaker_next() argument
679 bytes_to_send == nullptr || bytes_to_send_size == nullptr || in fake_handshaker_next()
712 *bytes_to_send_size = offset; in fake_handshaker_next()
Dssl_transport_security.cc1509 size_t* bytes_to_send_size, tsi_handshaker_result** handshaker_result, in ssl_handshaker_next() argument
1513 bytes_to_send == nullptr || bytes_to_send_size == nullptr || in ssl_handshaker_next()
1541 *bytes_to_send_size = offset; in ssl_handshaker_next()