/external/grpc-grpc/src/core/tsi/ |
D | fake_transport_security.cc | 492 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()
|
D | ssl_transport_security.cc | 120 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/rust/crates/grpcio-sys/grpc/src/core/tsi/ |
D | fake_transport_security.cc | 498 unsigned char* unused_bytes; member 539 *bytes = result->unused_bytes; in fake_handshaker_result_get_unused_bytes() 546 gpr_free(result->unused_bytes); in fake_handshaker_result_destroy() 559 const unsigned char* unused_bytes, size_t unused_bytes_size, in fake_handshaker_result_create() argument 561 if ((unused_bytes_size > 0 && unused_bytes == nullptr) || in fake_handshaker_result_create() 569 result->unused_bytes = in fake_handshaker_result_create() 571 memcpy(result->unused_bytes, unused_bytes, unused_bytes_size); in fake_handshaker_result_create() 728 const unsigned char* unused_bytes = nullptr; in fake_handshaker_next() local 731 unused_bytes = received_bytes + consumed_bytes_size; in fake_handshaker_next() 735 result = fake_handshaker_result_create(unused_bytes, unused_bytes_size, in fake_handshaker_next()
|
D | ssl_transport_security.cc | 125 unsigned char* unused_bytes; member 1356 *bytes = impl->unused_bytes; in ssl_handshaker_result_get_unused_bytes() 1365 gpr_free(impl->unused_bytes); in ssl_handshaker_result_destroy() 1378 tsi_ssl_handshaker* handshaker, unsigned char* unused_bytes, in ssl_handshaker_result_create() argument 1381 (unused_bytes_size > 0 && unused_bytes == nullptr)) { in ssl_handshaker_result_create() 1393 result->unused_bytes = unused_bytes; in ssl_handshaker_result_create() 1560 unsigned char* unused_bytes = nullptr; in ssl_handshaker_next() local 1562 status = ssl_bytes_remaining(impl, &unused_bytes, &unused_bytes_size); in ssl_handshaker_next() 1566 gpr_free(unused_bytes); in ssl_handshaker_next() 1569 status = ssl_handshaker_result_create(impl, unused_bytes, unused_bytes_size, in ssl_handshaker_next()
|
/external/webrtc/modules/rtp_rtcp/source/ |
D | rtp_dependency_descriptor_extension_unittest.cc | 60 const uint8_t* unused_bytes = buffer + value_size; in TEST() local 61 size_t num_unused_bytes = buffer + sizeof(buffer) - unused_bytes; in TEST() 63 EXPECT_THAT(rtc::MakeArrayView(unused_bytes, num_unused_bytes), Each(0)); in TEST()
|
/external/perfetto/include/perfetto/protozero/ |
D | scattered_heap_buffer.h | 54 size_t unused_bytes() const { return unused_bytes_; } in unused_bytes() function 55 void set_unused_bytes(size_t unused_bytes) { in set_unused_bytes() argument 57 unused_bytes_ = unused_bytes; in set_unused_bytes()
|
/external/brotli/c/dec/ |
D | bit_reader.h | 224 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()
|
/external/cronet/third_party/brotli/dec/ |
D | bit_reader.h | 234 uint32_t unused_bytes = BrotliGetAvailableBits(br) >> 3; in BrotliBitReaderUnload() local 235 uint32_t unused_bits = unused_bytes << 3; in BrotliBitReaderUnload() 236 br->avail_in += unused_bytes; in BrotliBitReaderUnload() 237 br->next_in -= unused_bytes; in BrotliBitReaderUnload()
|
/external/grpc-grpc/src/core/tsi/alts/handshaker/ |
D | alts_tsi_handshaker.cc | 63 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/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/handshaker/ |
D | alts_tsi_handshaker.cc | 77 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() 661 sresult->unused_bytes = in alts_tsi_handshaker_result_set_unused_bytes() 663 memcpy(sresult->unused_bytes, in alts_tsi_handshaker_result_set_unused_bytes()
|
/external/AFLplusplus/src/ |
D | afl-fuzz-python.c | 169 PyObject *unused_bytes = PyByteArray_FromStringAndSize("OHAI", 4); in init_py_module() local 170 if (!unused_bytes) { FATAL("allocation failed!"); } in init_py_module() 171 if (PyObject_GetBuffer(unused_bytes, &py->post_process_buf, PyBUF_SIMPLE) == in init_py_module() 178 Py_DECREF(unused_bytes); in init_py_module()
|
/external/grpc-grpc/test/core/tsi/alts/handshaker/ |
D | alts_tsi_handshaker_test.cc | 205 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/ |
D | security_handshaker.cc | 179 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()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/transport/ |
D | security_handshaker.cc | 262 const unsigned char* unused_bytes = nullptr; in OnPeerCheckedInner() local 265 handshaker_result_, &unused_bytes, &unused_bytes_size); in OnPeerCheckedInner() 269 reinterpret_cast<const char*>(unused_bytes), unused_bytes_size); in OnPeerCheckedInner()
|
/external/perfetto/src/protozero/ |
D | scattered_heap_buffer.cc | 82 stitched_size += slice.size() - slice.unused_bytes(); in StitchSlices()
|