Home
last modified time | relevance | path

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

/system/bt/osi/test/
Dringbuffer_test.cpp11 EXPECT_EQ((size_t)4096, ringbuffer_available(rb)); in TEST()
22 EXPECT_EQ((size_t)6, ringbuffer_available(rb)); in TEST()
27 EXPECT_EQ((size_t)6, ringbuffer_available(rb)); in TEST()
43 EXPECT_EQ((size_t)0, ringbuffer_available(rb)); in TEST()
48 EXPECT_EQ((size_t)0, ringbuffer_available(rb)); in TEST()
53 EXPECT_EQ((size_t)0, ringbuffer_available(rb)); in TEST()
63 EXPECT_EQ((size_t)16, ringbuffer_available(rb)); in TEST()
71 EXPECT_EQ((size_t)8, ringbuffer_available(rb)); in TEST()
76 EXPECT_EQ((size_t)3, ringbuffer_available(rb)); in TEST()
88 EXPECT_EQ((size_t)11, ringbuffer_available(rb)); in TEST()
[all …]
/system/bt/osi/src/
Dringbuffer.c49 size_t ringbuffer_available(const ringbuffer_t *rb) { in ringbuffer_available() function
63 if (length > ringbuffer_available(rb)) in ringbuffer_insert()
64 length = ringbuffer_available(rb); in ringbuffer_insert()
/system/bt/osi/include/
Dringbuffer.h40 size_t ringbuffer_available(const ringbuffer_t *rb);
/system/bt/btif/src/
Dbtif_debug_btsnoop.c56 while (ringbuffer_available(buffer) < (included_length + sizeof(btsnooz_header_t))) { in btsnoop_cb()