Home
last modified time | relevance | path

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

/third_party/grpc/src/core/tsi/
Dfake_transport_security.cc489 unsigned char* unused_bytes; member
530 *bytes = result->unused_bytes; in fake_handshaker_result_get_unused_bytes()
537 gpr_free(result->unused_bytes); in fake_handshaker_result_destroy()
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()
560 result->unused_bytes = in fake_handshaker_result_create()
562 memcpy(result->unused_bytes, unused_bytes, unused_bytes_size); in fake_handshaker_result_create()
719 const unsigned char* unused_bytes = nullptr; in fake_handshaker_next() local
722 unused_bytes = received_bytes + consumed_bytes_size; in fake_handshaker_next()
726 result = fake_handshaker_result_create(unused_bytes, unused_bytes_size, in fake_handshaker_next()
Dssl_transport_security.cc125 unsigned char* unused_bytes; member
1343 *bytes = impl->unused_bytes; in ssl_handshaker_result_get_unused_bytes()
1352 gpr_free(impl->unused_bytes); in ssl_handshaker_result_destroy()
1365 tsi_ssl_handshaker* handshaker, unsigned char* unused_bytes, in ssl_handshaker_result_create() argument
1368 (unused_bytes_size > 0 && unused_bytes == nullptr)) { in ssl_handshaker_result_create()
1380 result->unused_bytes = unused_bytes; in ssl_handshaker_result_create()
1547 unsigned char* unused_bytes = nullptr; in ssl_handshaker_next() local
1549 status = ssl_bytes_remaining(impl, &unused_bytes, &unused_bytes_size); in ssl_handshaker_next()
1553 gpr_free(unused_bytes); in ssl_handshaker_next()
1556 status = ssl_handshaker_result_create(impl, unused_bytes, unused_bytes_size, in ssl_handshaker_next()
/third_party/skia/third_party/externals/brotli/c/dec/
Dbit_reader.h224 uint32_t unused_bytes = BrotliGetAvailableBits(br) >> 3; in BrotliBitReaderUnload() local
225 uint32_t unused_bits = unused_bytes << 3; in BrotliBitReaderUnload()
226 br->avail_in += unused_bytes; in BrotliBitReaderUnload()
227 br->next_in -= unused_bytes; in BrotliBitReaderUnload()
/third_party/node/deps/brotli/c/dec/
Dbit_reader.h224 uint32_t unused_bytes = BrotliGetAvailableBits(br) >> 3; in BrotliBitReaderUnload() local
225 uint32_t unused_bits = unused_bytes << 3; in BrotliBitReaderUnload()
226 br->avail_in += unused_bytes; in BrotliBitReaderUnload()
227 br->next_in -= unused_bytes; in BrotliBitReaderUnload()
/third_party/grpc/src/core/tsi/alts/handshaker/
Dalts_tsi_handshaker.cc77 unsigned char* unused_bytes; member
228 *bytes = result->unused_bytes; in handshaker_result_get_unused_bytes()
242 gpr_free(result->unused_bytes); in handshaker_result_destroy()
660 sresult->unused_bytes = in alts_tsi_handshaker_result_set_unused_bytes()
662 memcpy(sresult->unused_bytes, in alts_tsi_handshaker_result_set_unused_bytes()
/third_party/grpc/src/core/lib/security/transport/
Dsecurity_handshaker.cc236 const unsigned char* unused_bytes = nullptr; in OnPeerCheckedInner() local
239 handshaker_result_, &unused_bytes, &unused_bytes_size); in OnPeerCheckedInner()
243 reinterpret_cast<const char*>(unused_bytes), unused_bytes_size); in OnPeerCheckedInner()
/third_party/grpc/test/core/tsi/alts/handshaker/
Dalts_tsi_handshaker_test.cc247 const unsigned char* unused_bytes = nullptr; in on_client_start_success_cb() local
249 GPR_ASSERT(tsi_handshaker_result_get_unused_bytes(result, &unused_bytes, in on_client_start_success_cb()
274 const unsigned char* unused_bytes = nullptr; in on_server_start_success_cb() local
276 GPR_ASSERT(tsi_handshaker_result_get_unused_bytes(result, &unused_bytes, in on_server_start_success_cb()