Searched refs:unused_bytes_size (Results 1 – 5 of 5) sorted by relevance
/third_party/grpc/src/core/tsi/ |
D | fake_transport_security.cc | 490 size_t unused_bytes_size; member 529 *bytes_size = result->unused_bytes_size; in fake_handshaker_result_get_unused_bytes() 550 const unsigned char* unused_bytes, size_t unused_bytes_size, in fake_handshaker_result_create() argument 552 if ((unused_bytes_size > 0 && unused_bytes == nullptr) || in fake_handshaker_result_create() 559 if (unused_bytes_size > 0) { in fake_handshaker_result_create() 561 static_cast<unsigned char*>(gpr_malloc(unused_bytes_size)); in fake_handshaker_result_create() 562 memcpy(result->unused_bytes, unused_bytes, unused_bytes_size); in fake_handshaker_result_create() 564 result->unused_bytes_size = unused_bytes_size; in fake_handshaker_result_create() 720 size_t unused_bytes_size = received_bytes_size - consumed_bytes_size; in fake_handshaker_next() local 721 if (unused_bytes_size > 0) { in fake_handshaker_next() [all …]
|
D | ssl_transport_security.cc | 126 size_t unused_bytes_size; member 1342 *bytes_size = impl->unused_bytes_size; in ssl_handshaker_result_get_unused_bytes() 1366 size_t unused_bytes_size, tsi_handshaker_result** handshaker_result) { in ssl_handshaker_result_create() argument 1368 (unused_bytes_size > 0 && unused_bytes == nullptr)) { in ssl_handshaker_result_create() 1381 result->unused_bytes_size = unused_bytes_size; in ssl_handshaker_result_create() 1548 size_t unused_bytes_size = 0; in ssl_handshaker_next() local 1549 status = ssl_bytes_remaining(impl, &unused_bytes, &unused_bytes_size); in ssl_handshaker_next() 1551 if (unused_bytes_size > received_bytes_size) { in ssl_handshaker_next() 1556 status = ssl_handshaker_result_create(impl, unused_bytes, unused_bytes_size, in ssl_handshaker_next()
|
/third_party/grpc/src/core/tsi/alts/handshaker/ |
D | alts_tsi_handshaker.cc | 78 size_t unused_bytes_size; member 229 *bytes_size = result->unused_bytes_size; in handshaker_result_get_unused_bytes() 659 sresult->unused_bytes_size = GRPC_SLICE_LENGTH(*recv_bytes) - bytes_consumed; in alts_tsi_handshaker_result_set_unused_bytes() 661 static_cast<unsigned char*>(gpr_zalloc(sresult->unused_bytes_size)); in alts_tsi_handshaker_result_set_unused_bytes() 664 sresult->unused_bytes_size); in alts_tsi_handshaker_result_set_unused_bytes()
|
/third_party/grpc/src/core/lib/security/transport/ |
D | security_handshaker.cc | 237 size_t unused_bytes_size = 0; in OnPeerCheckedInner() local 239 handshaker_result_, &unused_bytes, &unused_bytes_size); in OnPeerCheckedInner() 241 if (unused_bytes_size > 0) { in OnPeerCheckedInner() 243 reinterpret_cast<const char*>(unused_bytes), unused_bytes_size); in OnPeerCheckedInner()
|
/third_party/grpc/test/core/tsi/alts/handshaker/ |
D | alts_tsi_handshaker_test.cc | 248 size_t unused_bytes_size = 0; in on_client_start_success_cb() local 250 &unused_bytes_size) == in on_client_start_success_cb() 275 size_t unused_bytes_size = 0; in on_server_start_success_cb() local 277 &unused_bytes_size) == in on_server_start_success_cb()
|