Lines Matching refs:pbuf_read
72 ret = pbuf_read(&pb, NULL, 0); in ZTEST()
75 ret = pbuf_read(&pb, read_buf, ret-1); in ZTEST()
78 ret = pbuf_read(&pb, read_buf, ret); in ZTEST()
84 ret = pbuf_read(&pb, NULL, 0); in ZTEST()
87 ret = pbuf_read(&pb, read_buf, ret); in ZTEST()
93 ret = pbuf_read(&pb, NULL, 0); in ZTEST()
100 ret = pbuf_read(&pb, NULL, 0); in ZTEST()
103 ret = pbuf_read(&pb, read_buf, ret); in ZTEST()
154 zassert_equal(pbuf_read(NULL, read_buf, 10), -EINVAL); in ZTEST()
166 zassert_equal(pbuf_read(&pb2, NULL, 1), 4); in ZTEST()
169 zassert_equal(pbuf_read(&pb2, read_buf, 1), -ENOMEM); in ZTEST()
172 zassert_equal(pbuf_read(&pb2, NULL, 0), 4); in ZTEST()
175 zassert_equal(pbuf_read(&pb2, read_buf, 4), 4); in ZTEST()
181 zassert_equal(pbuf_read(&pb2, read_buf, 10), 0); in ZTEST()
182 zassert_equal(pbuf_read(&pb2, read_buf, 10), 0); in ZTEST()
183 zassert_equal(pbuf_read(&pb2, read_buf, 10), 0); in ZTEST()
217 len = pbuf_read(ctx->pbuf, buf, (uint16_t)sizeof(buf)); in stress_read()