Searched refs:ringbuffer_available (Results 1 – 4 of 4) sorted by relevance
/system/bt/osi/test/ |
D | ringbuffer_test.cpp | 11 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/ |
D | ringbuffer.c | 49 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/ |
D | ringbuffer.h | 40 size_t ringbuffer_available(const ringbuffer_t *rb);
|
/system/bt/btif/src/ |
D | btif_debug_btsnoop.c | 56 while (ringbuffer_available(buffer) < (included_length + sizeof(btsnooz_header_t))) { in btsnoop_cb()
|