Home
last modified time | relevance | path

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

/Zephyr-latest/tests/lib/spsc_pbuf/src/
Dmain.c31 struct spsc_pbuf *ib; in test_spsc_pbuf_flags() local
40 ib = spsc_pbuf_init(memory_area, sizeof(memory_area), flags); in test_spsc_pbuf_flags()
41 zassert_equal_ptr(ib, memory_area, NULL); in test_spsc_pbuf_flags()
42 zassert_equal(spsc_pbuf_capacity(ib), capacity); in test_spsc_pbuf_flags()
45 rlen = spsc_pbuf_write(ib, rbuf, 0); in test_spsc_pbuf_flags()
47 rlen = spsc_pbuf_write(ib, rbuf, SPSC_PBUF_MAX_LEN); in test_spsc_pbuf_flags()
51 rlen = spsc_pbuf_write(ib, rbuf, sizeof(rbuf)); in test_spsc_pbuf_flags()
55 rlen = spsc_pbuf_read(ib, rbuf, sizeof(rbuf)); in test_spsc_pbuf_flags()
59 wlen = spsc_pbuf_write(ib, message, sizeof(message)); in test_spsc_pbuf_flags()
62 rlen = spsc_pbuf_read(ib, rbuf, sizeof(rbuf)); in test_spsc_pbuf_flags()
[all …]