Home
last modified time | relevance | path

Searched refs:ring_buffer_calc_shift (Results 1 – 5 of 5) sorted by relevance

/hardware/google/aemu/base/
Dring_buffer_unittest.cpp297 EXPECT_EQ(0, ring_buffer_calc_shift(1)); in TEST()
298 EXPECT_EQ(1, ring_buffer_calc_shift(2)); in TEST()
299 EXPECT_EQ(1, ring_buffer_calc_shift(3)); in TEST()
300 EXPECT_EQ(2, ring_buffer_calc_shift(4)); in TEST()
301 EXPECT_EQ(2, ring_buffer_calc_shift(5)); in TEST()
302 EXPECT_EQ(2, ring_buffer_calc_shift(6)); in TEST()
303 EXPECT_EQ(2, ring_buffer_calc_shift(7)); in TEST()
304 EXPECT_EQ(3, ring_buffer_calc_shift(8)); in TEST()
Dring_buffer.cpp179 uint32_t ring_buffer_calc_shift(uint32_t size) { in ring_buffer_calc_shift() function
198 uint32_t shift = ring_buffer_calc_shift(size); in ring_buffer_view_init()
212 uint32_t shift = ring_buffer_calc_shift(size); in ring_buffer_init_view_only()
/hardware/google/gfxstream/guest/android-emu/aemu/base/
Dring_buffer.c193 uint32_t ring_buffer_calc_shift(uint32_t size) { in ring_buffer_calc_shift() function
212 uint32_t shift = ring_buffer_calc_shift(size); in ring_buffer_view_init()
226 uint32_t shift = ring_buffer_calc_shift(size); in ring_buffer_init_view_only()
Dring_buffer.h83 uint32_t ring_buffer_calc_shift(uint32_t size);
/hardware/google/aemu/base/include/aemu/base/
Dring_buffer.h83 uint32_t ring_buffer_calc_shift(uint32_t size);