Searched refs:bytes_to_copy (Results 1 – 4 of 4) sorted by relevance
75 size_t bytes_to_copy = in ConsumeWithBuffer() local77 CHECK_GT(bytes_to_copy, 0U); in ConsumeWithBuffer()79 buffer_.insert(buffer_.end(), data, data + bytes_to_copy); in ConsumeWithBuffer()91 CHECK_EQ(count, bytes_to_copy) << "Exhausted all blocks, but still have " in ConsumeWithBuffer()92 << count - bytes_to_copy << " bytes left"; in ConsumeWithBuffer()95 return bytes_to_copy; in ConsumeWithBuffer()
94 const size_t bytes_to_copy = (offset + length > ringbuffer_size(rb)) in ringbuffer_peek() local98 for (size_t copied = 0; copied < bytes_to_copy; ++copied) { in ringbuffer_peek()103 return bytes_to_copy; in ringbuffer_peek()
96 const size_t bytes_to_copy = (offset + length > ringbuffer_size(rb)) in ringbuffer_peek() local100 for (size_t copied = 0; copied < bytes_to_copy; ++copied) { in ringbuffer_peek()105 return bytes_to_copy; in ringbuffer_peek()
1963 uint32_t bytes_to_copy; in bta_dm_pinname_cback() local1972 bytes_to_copy = in bta_dm_pinname_cback()1975 bytes_to_copy); in bta_dm_pinname_cback()1997 bytes_to_copy = (p_result->length < BD_NAME_LEN) ? p_result->length in bta_dm_pinname_cback()2000 bytes_to_copy); in bta_dm_pinname_cback()