Home
last modified time | relevance | path

Searched refs:available_at_end (Results 1 – 2 of 2) sorted by relevance

/hardware/google/gfxstream/guest/android-emu/aemu/base/
Dring_buffer.c93 uint32_t available_at_end = in ring_buffer_write() local
96 if (step_size > available_at_end) { in ring_buffer_write()
97 uint32_t remaining = step_size - available_at_end; in ring_buffer_write()
101 available_at_end); in ring_buffer_write()
103 &r->buf[get_ring_pos(r->write_pos + available_at_end)], in ring_buffer_write()
104 data_bytes + i * step_size + available_at_end, in ring_buffer_write()
132 uint32_t available_at_end = in ring_buffer_read() local
135 if (step_size > available_at_end) { in ring_buffer_read()
136 uint32_t remaining = step_size - available_at_end; in ring_buffer_read()
140 available_at_end); in ring_buffer_read()
[all …]
/hardware/google/aemu/base/
Dring_buffer.cpp79 uint32_t available_at_end = in ring_buffer_write() local
82 if (step_size > available_at_end) { in ring_buffer_write()
83 uint32_t remaining = step_size - available_at_end; in ring_buffer_write()
87 available_at_end); in ring_buffer_write()
89 &r->buf[get_ring_pos(r->write_pos + available_at_end)], in ring_buffer_write()
90 data_bytes + i * step_size + available_at_end, in ring_buffer_write()
118 uint32_t available_at_end = in ring_buffer_read() local
121 if (step_size > available_at_end) { in ring_buffer_read()
122 uint32_t remaining = step_size - available_at_end; in ring_buffer_read()
126 available_at_end); in ring_buffer_read()
[all …]