Home
last modified time | relevance | path

Searched refs:unused_bytes (Results 1 – 7 of 7) sorted by relevance

/external/grpc-grpc/src/core/tsi/
Dfake_transport_security.cc492 unsigned char* unused_bytes; member
528 *bytes = result->unused_bytes; in fake_handshaker_result_get_unused_bytes()
535 gpr_free(result->unused_bytes); in fake_handshaker_result_destroy()
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()
558 result->unused_bytes = in fake_handshaker_result_create()
560 memcpy(result->unused_bytes, unused_bytes, unused_bytes_size); in fake_handshaker_result_create()
715 const unsigned char* unused_bytes = nullptr; in fake_handshaker_next() local
718 unused_bytes = received_bytes + consumed_bytes_size; in fake_handshaker_next()
722 result = fake_handshaker_result_create(unused_bytes, unused_bytes_size, in fake_handshaker_next()
Dssl_transport_security.cc120 unsigned char* unused_bytes; member
1114 *bytes = impl->unused_bytes; in ssl_handshaker_result_get_unused_bytes()
1123 gpr_free(impl->unused_bytes); in ssl_handshaker_result_destroy()
1136 tsi_ssl_handshaker* handshaker, const unsigned char* unused_bytes, in ssl_handshaker_result_create() argument
1139 (unused_bytes_size > 0 && unused_bytes == nullptr)) { in ssl_handshaker_result_create()
1151 result->unused_bytes = in ssl_handshaker_result_create()
1153 memcpy(result->unused_bytes, unused_bytes, unused_bytes_size); in ssl_handshaker_result_create()
1288 const unsigned char* unused_bytes = in ssl_handshaker_next() local
1290 status = ssl_handshaker_result_create(impl, unused_bytes, unused_bytes_size, in ssl_handshaker_next()
/external/perfetto/include/perfetto/protozero/
Dscattered_heap_buffer.h51 size_t unused_bytes() const { return unused_bytes_; } in unused_bytes() function
52 void set_unused_bytes(size_t unused_bytes) { in set_unused_bytes() argument
54 unused_bytes_ = unused_bytes; in set_unused_bytes()
/external/brotli/c/dec/
Dbit_reader.h223 uint32_t unused_bytes = BrotliGetAvailableBits(br) >> 3; in BrotliBitReaderUnload() local
224 uint32_t unused_bits = unused_bytes << 3; in BrotliBitReaderUnload()
225 br->avail_in += unused_bytes; in BrotliBitReaderUnload()
226 br->next_in -= unused_bytes; in BrotliBitReaderUnload()
/external/grpc-grpc/src/core/tsi/alts/handshaker/
Dalts_tsi_handshaker.cc63 unsigned char* unused_bytes; member
171 *bytes = result->unused_bytes; in handshaker_result_get_unused_bytes()
185 gpr_free(result->unused_bytes); in handshaker_result_destroy()
397 result->unused_bytes = in set_unused_bytes()
399 memcpy(result->unused_bytes, in set_unused_bytes()
/external/grpc-grpc/test/core/tsi/alts/handshaker/
Dalts_tsi_handshaker_test.cc205 const unsigned char* unused_bytes = nullptr; in on_client_start_success_cb() local
207 GPR_ASSERT(tsi_handshaker_result_get_unused_bytes(result, &unused_bytes, in on_client_start_success_cb()
232 const unsigned char* unused_bytes = nullptr; in on_server_start_success_cb() local
234 GPR_ASSERT(tsi_handshaker_result_get_unused_bytes(result, &unused_bytes, in on_server_start_success_cb()
/external/grpc-grpc/src/core/lib/security/transport/
Dsecurity_handshaker.cc179 const unsigned char* unused_bytes = nullptr; in on_peer_checked_inner() local
182 h->handshaker_result, &unused_bytes, &unused_bytes_size); in on_peer_checked_inner()
186 grpc_slice_from_copied_buffer((char*)unused_bytes, unused_bytes_size); in on_peer_checked_inner()