Searched refs:unused_bytes_size (Results 1 – 5 of 5) sorted by relevance
/external/grpc-grpc/src/core/tsi/ |
D | fake_transport_security.cc | 493 size_t unused_bytes_size; member 527 *bytes_size = result->unused_bytes_size; in fake_handshaker_result_get_unused_bytes() 548 const unsigned char* unused_bytes, size_t unused_bytes_size, in fake_handshaker_result_create() argument 550 if ((unused_bytes_size > 0 && unused_bytes == nullptr) || in fake_handshaker_result_create() 557 if (unused_bytes_size > 0) { in fake_handshaker_result_create() 559 static_cast<unsigned char*>(gpr_malloc(unused_bytes_size)); in fake_handshaker_result_create() 560 memcpy(result->unused_bytes, unused_bytes, unused_bytes_size); in fake_handshaker_result_create() 562 result->unused_bytes_size = unused_bytes_size; in fake_handshaker_result_create() 716 size_t unused_bytes_size = received_bytes_size - consumed_bytes_size; in fake_handshaker_next() local 717 if (unused_bytes_size > 0) { in fake_handshaker_next() [all …]
|
D | ssl_transport_security.cc | 121 size_t unused_bytes_size; member 1113 *bytes_size = impl->unused_bytes_size; in ssl_handshaker_result_get_unused_bytes() 1137 size_t unused_bytes_size, tsi_handshaker_result** handshaker_result) { in ssl_handshaker_result_create() argument 1139 (unused_bytes_size > 0 && unused_bytes == nullptr)) { in ssl_handshaker_result_create() 1150 if (unused_bytes_size > 0) { in ssl_handshaker_result_create() 1152 static_cast<unsigned char*>(gpr_malloc(unused_bytes_size)); in ssl_handshaker_result_create() 1153 memcpy(result->unused_bytes, unused_bytes, unused_bytes_size); in ssl_handshaker_result_create() 1155 result->unused_bytes_size = unused_bytes_size; in ssl_handshaker_result_create() 1287 size_t unused_bytes_size = received_bytes_size - bytes_consumed; in ssl_handshaker_next() local 1289 unused_bytes_size == 0 ? nullptr : received_bytes + bytes_consumed; in ssl_handshaker_next() [all …]
|
/external/grpc-grpc/src/core/tsi/alts/handshaker/ |
D | alts_tsi_handshaker.cc | 64 size_t unused_bytes_size; member 172 *bytes_size = result->unused_bytes_size; in handshaker_result_get_unused_bytes() 396 result->unused_bytes_size = GRPC_SLICE_LENGTH(*recv_bytes) - bytes_consumed; in set_unused_bytes() 398 static_cast<unsigned char*>(gpr_zalloc(result->unused_bytes_size)); in set_unused_bytes() 401 result->unused_bytes_size); in set_unused_bytes()
|
/external/grpc-grpc/src/core/lib/security/transport/ |
D | security_handshaker.cc | 180 size_t unused_bytes_size = 0; in on_peer_checked_inner() local 182 h->handshaker_result, &unused_bytes, &unused_bytes_size); in on_peer_checked_inner() 184 if (unused_bytes_size > 0) { in on_peer_checked_inner() 186 grpc_slice_from_copied_buffer((char*)unused_bytes, unused_bytes_size); in on_peer_checked_inner()
|
/external/grpc-grpc/test/core/tsi/alts/handshaker/ |
D | alts_tsi_handshaker_test.cc | 206 size_t unused_bytes_size = 0; in on_client_start_success_cb() local 208 &unused_bytes_size) == in on_client_start_success_cb() 233 size_t unused_bytes_size = 0; in on_server_start_success_cb() local 235 &unused_bytes_size) == in on_server_start_success_cb()
|