Home
last modified time | relevance | path

Searched refs:bytes_to_copy (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/bluetooth/hci/
Dhci_packetizer.cc67 size_t bytes_to_copy = std::min(bytes_remaining_, bytes_available); in OnDataReady() local
69 buffer.begin() + *offset + bytes_to_copy); in OnDataReady()
70 bytes_remaining_ -= bytes_to_copy; in OnDataReady()
71 bytes_available -= bytes_to_copy; in OnDataReady()
72 *offset += bytes_to_copy; in OnDataReady()
89 size_t bytes_to_copy = std::min(bytes_remaining_, bytes_available); in OnDataReady() local
91 buffer.begin() + *offset + bytes_to_copy); in OnDataReady()
92 bytes_remaining_ -= bytes_to_copy; in OnDataReady()
93 *offset += bytes_to_copy; in OnDataReady()
/hardware/nxp/secure_element/snxxx/libese-teq1/nxp-ese/utils/
Dringbuffer.cpp94 const size_t bytes_to_copy = (offset + length > ringbuffer_size(rb)) in ringbuffer_peek() local
98 for (size_t copied = 0; copied < bytes_to_copy; ++copied) { in ringbuffer_peek()
103 return bytes_to_copy; in ringbuffer_peek()
/hardware/nxp/secure_element/pn8x/libese-spi/p73/utils/
Dringbuffer.cpp94 const size_t bytes_to_copy = (offset + length > ringbuffer_size(rb)) in ringbuffer_peek() local
98 for (size_t copied = 0; copied < bytes_to_copy; ++copied) { in ringbuffer_peek()
103 return bytes_to_copy; in ringbuffer_peek()
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dtinyexr.h3762 int bytes_to_copy = (int)MZ_MIN( in tdefl_flush_block() local
3765 bytes_to_copy); in tdefl_flush_block()
3766 d->m_out_buf_ofs += bytes_to_copy; in tdefl_flush_block()
3767 if ((n -= bytes_to_copy) != 0) { in tdefl_flush_block()
3768 d->m_output_flush_ofs = bytes_to_copy; in tdefl_flush_block()