Home
last modified time | relevance | path

Searched refs:received_bytes_size (Results 1 – 13 of 13) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/handshaker/
Dalts_tsi_handshaker.cc406 size_t received_bytes_size, tsi_handshaker_on_next_done_cb cb, in alts_tsi_handshaker_continue_handshaker_next() argument
449 grpc_slice slice = (received_bytes == nullptr || received_bytes_size == 0) in alts_tsi_handshaker_continue_handshaker_next()
453 received_bytes_size); in alts_tsi_handshaker_continue_handshaker_next()
477 size_t received_bytes_size; member
494 next_args->received_bytes_size, next_args->cb, next_args->user_data); in alts_tsi_handshaker_create_channel()
504 size_t received_bytes_size, const unsigned char** /*bytes_to_send*/, in handshaker_next() argument
525 args->received_bytes_size = received_bytes_size; in handshaker_next()
526 if (received_bytes_size > 0) { in handshaker_next()
528 static_cast<unsigned char*>(gpr_zalloc(received_bytes_size))); in handshaker_next()
529 memcpy(args->received_bytes.get(), received_bytes, received_bytes_size); in handshaker_next()
[all …]
/external/grpc-grpc/src/core/tsi/
Dfake_transport_security.cc670 size_t received_bytes_size, const unsigned char** bytes_to_send, in fake_handshaker_next() argument
674 if ((received_bytes_size > 0 && received_bytes == nullptr) || in fake_handshaker_next()
684 size_t consumed_bytes_size = received_bytes_size; in fake_handshaker_next()
685 if (received_bytes_size > 0) { in fake_handshaker_next()
716 size_t unused_bytes_size = received_bytes_size - consumed_bytes_size; in fake_handshaker_next()
Dtransport_security.h71 size_t received_bytes_size,
Dtransport_security_interface.h442 size_t received_bytes_size, const unsigned char** bytes_to_send,
Dtransport_security.cc202 size_t received_bytes_size, const unsigned char** bytes_to_send, in tsi_handshaker_next() argument
209 return self->vtable->next(self, received_bytes, received_bytes_size, in tsi_handshaker_next()
Dlocal_transport_security.cc161 size_t received_bytes_size, const unsigned char** bytes_to_send, in handshaker_next() argument
Dssl_transport_security.cc1249 size_t received_bytes_size, const unsigned char** bytes_to_send, in ssl_handshaker_next() argument
1253 if ((received_bytes_size > 0 && received_bytes == nullptr) || in ssl_handshaker_next()
1261 size_t bytes_consumed = received_bytes_size; in ssl_handshaker_next()
1262 if (received_bytes_size > 0) { in ssl_handshaker_next()
1287 size_t unused_bytes_size = received_bytes_size - bytes_consumed; in ssl_handshaker_next()
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/
Dfake_transport_security.cc674 size_t received_bytes_size, const unsigned char** bytes_to_send, in fake_handshaker_next() argument
678 if ((received_bytes_size > 0 && received_bytes == nullptr) || in fake_handshaker_next()
688 size_t consumed_bytes_size = received_bytes_size; in fake_handshaker_next()
689 if (received_bytes_size > 0) { in fake_handshaker_next()
720 size_t unused_bytes_size = received_bytes_size - consumed_bytes_size; in fake_handshaker_next()
Dtransport_security.h70 size_t received_bytes_size,
Dtransport_security_interface.h459 size_t received_bytes_size, const unsigned char** bytes_to_send,
Dtransport_security.cc217 size_t received_bytes_size, const unsigned char** bytes_to_send, in tsi_handshaker_next() argument
224 return self->vtable->next(self, received_bytes, received_bytes_size, in tsi_handshaker_next()
Dssl_transport_security.cc1508 size_t received_bytes_size, const unsigned char** bytes_to_send, in ssl_handshaker_next() argument
1512 if ((received_bytes_size > 0 && received_bytes == nullptr) || in ssl_handshaker_next()
1520 size_t bytes_consumed = received_bytes_size; in ssl_handshaker_next()
1521 if (received_bytes_size > 0) { in ssl_handshaker_next()
1554 if (unused_bytes_size > received_bytes_size) { in ssl_handshaker_next()
/external/grpc-grpc/src/core/tsi/alts/handshaker/
Dalts_tsi_handshaker.cc239 size_t received_bytes_size, const unsigned char** bytes_to_send, in handshaker_next() argument
260 grpc_slice slice = (received_bytes == nullptr || received_bytes_size == 0) in handshaker_next()
264 received_bytes_size); in handshaker_next()