Home
last modified time | relevance | path

Searched refs:ring_buffer (Results 1 – 18 of 18) sorted by relevance

/hardware/google/aemu/base/include/aemu/base/
Dring_buffer.h30 struct ring_buffer { struct
47 void ring_buffer_init(struct ring_buffer* r); argument
52 struct ring_buffer* r, const void* data, uint32_t step_size, uint32_t steps);
54 struct ring_buffer* r, void* data, uint32_t step_size, uint32_t steps);
59 struct ring_buffer* r, uint32_t step_size, uint32_t steps);
61 struct ring_buffer* r, uint32_t step_size, uint32_t steps);
77 struct ring_buffer* ring;
89 struct ring_buffer* r,
101 struct ring_buffer* r,
105 struct ring_buffer* r,
[all …]
/hardware/google/gfxstream/guest/android-emu/aemu/base/
Dring_buffer.h29 struct ring_buffer { struct
47 void ring_buffer_init(struct ring_buffer* r); argument
52 struct ring_buffer* r, const void* data, uint32_t step_size, uint32_t steps);
54 struct ring_buffer* r, void* data, uint32_t step_size, uint32_t steps);
59 struct ring_buffer* r, uint32_t step_size, uint32_t steps);
61 struct ring_buffer* r, uint32_t step_size, uint32_t steps);
77 struct ring_buffer* ring;
89 struct ring_buffer* r,
101 struct ring_buffer* r,
105 struct ring_buffer* r,
[all …]
Dring_buffer.c53 void ring_buffer_init(struct ring_buffer* r) { in ring_buffer_init()
69 bool ring_buffer_can_write(const struct ring_buffer* r, uint32_t bytes) { in ring_buffer_can_write()
75 bool ring_buffer_can_read(const struct ring_buffer* r, uint32_t bytes) { in ring_buffer_can_read()
82 struct ring_buffer* r, const void* data, uint32_t step_size, uint32_t steps) { in ring_buffer_write()
121 struct ring_buffer* r, void* data, uint32_t step_size, uint32_t steps) { in ring_buffer_read()
160 struct ring_buffer* r, uint32_t step_size, uint32_t steps) { in ring_buffer_advance_write()
177 struct ring_buffer* r, uint32_t step_size, uint32_t steps) { in ring_buffer_advance_read()
207 struct ring_buffer* r, in ring_buffer_view_init()
240 const struct ring_buffer* r, in ring_buffer_view_can_write()
250 const struct ring_buffer* r, in ring_buffer_view_can_read()
[all …]
Dmeson.build13 'ring_buffer.c',
/hardware/google/aemu/base/
Dring_buffer.cpp39 void ring_buffer_init(struct ring_buffer* r) { in ring_buffer_init()
55 bool ring_buffer_can_write(const struct ring_buffer* r, uint32_t bytes) { in ring_buffer_can_write()
61 bool ring_buffer_can_read(const struct ring_buffer* r, uint32_t bytes) { in ring_buffer_can_read()
68 struct ring_buffer* r, const void* data, uint32_t step_size, uint32_t steps) { in ring_buffer_write()
107 struct ring_buffer* r, void* data, uint32_t step_size, uint32_t steps) { in ring_buffer_read()
146 struct ring_buffer* r, uint32_t step_size, uint32_t steps) { in ring_buffer_advance_write()
163 struct ring_buffer* r, uint32_t step_size, uint32_t steps) { in ring_buffer_advance_read()
193 struct ring_buffer* r, in ring_buffer_view_init()
226 const struct ring_buffer* r, in ring_buffer_view_can_write()
236 const struct ring_buffer* r, in ring_buffer_view_can_read()
[all …]
Dring_buffer_unittest.cpp33 TEST(ring_buffer, Init) { in TEST() argument
34 ring_buffer r; in TEST()
42 TEST(ring_buffer, ProduceConsume) { in TEST() argument
60 ring_buffer r; in TEST()
101 static void writeTest(ring_buffer* r, const uint8_t* data, size_t stepSize, size_t numSteps) { in writeTest()
128 static void readTest(ring_buffer* r, uint8_t* data, size_t stepSize, size_t numSteps) { in readTest()
158 TEST(ring_buffer, ProduceConsumeMultiThread) { in TEST() argument
176 ring_buffer r; in TEST()
196 TEST(ring_buffer, DISABLED_ProduceConsumeMultiThreadVaryingStepSize) { in TEST() argument
221 ring_buffer r; in TEST()
[all …]
DAndroid.bp30 "ring_buffer.cpp",
DBUILD.bazel74 "ring_buffer.cpp",
DCMakeLists.txt35 ring_buffer.cpp
/hardware/google/gfxstream/guest/GoldfishAddressSpace/include/
Daddress_space_graphics_types.h120 struct ring_buffer* to_host;
139 reinterpret_cast<struct ring_buffer*>( in asg_context_create()
143 reinterpret_cast<struct ring_buffer*>( in asg_context_create()
147 reinterpret_cast<struct ring_buffer*>( in asg_context_create()
/hardware/google/aemu/host-common/include/host-common/
Daddress_space_graphics_types.h120 struct ring_buffer* to_host;
139 reinterpret_cast<struct ring_buffer*>( in asg_context_create()
143 reinterpret_cast<struct ring_buffer*>( in asg_context_create()
147 reinterpret_cast<struct ring_buffer*>( in asg_context_create()
/hardware/google/aemu/build-config/gfxstream/
DCMakeLists.txt22 ring_buffer.cpp
/hardware/google/gfxstream/guest/android-emu/
DAndroid.bp97 "aemu/base/ring_buffer.c",
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/
DAndroid.bp119 "ring_buffer.cpp",
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/
DAndroid.bp129 "ring_buffer.cpp",
/hardware/interfaces/wifi/1.0/vts/functional/
Dwifi_chip_hidl_test.cpp253 for (const auto& ring_buffer : status_and_ring_buffer_status.second) { in TEST_P() local
254 EXPECT_LT(0u, ring_buffer.ringName.size()); in TEST_P()
/hardware/interfaces/wifi/aidl/vts/functional/
Dwifi_chip_aidl_test.cpp472 for (const auto& ring_buffer : ring_buffer_status) { in TEST_P() local
473 EXPECT_NE(ring_buffer.ringName.size(), 0); in TEST_P()
/hardware/google/gfxstream/guest/
DBUILD.gn200 "android-emu/aemu/base/ring_buffer.c",