Lines Matching refs:stream
33 assert_int_equal(audio_stream_get_avail_bytes(&buf->stream), 0); in test_audio_buffer_write_fill_10_bytes_and_write_5()
34 assert_int_equal(audio_stream_get_free_bytes(&buf->stream), 10); in test_audio_buffer_write_fill_10_bytes_and_write_5()
35 assert_ptr_equal(buf->stream.w_ptr, buf->stream.r_ptr); in test_audio_buffer_write_fill_10_bytes_and_write_5()
43 ptr = audio_stream_write_frag(&buf->stream, i, sizeof(uint8_t)); in test_audio_buffer_write_fill_10_bytes_and_write_5()
48 assert_int_equal(audio_stream_get_avail_bytes(&buf->stream), sizeof(bytes)); in test_audio_buffer_write_fill_10_bytes_and_write_5()
49 assert_int_equal(audio_stream_get_free_bytes(&buf->stream), 0); in test_audio_buffer_write_fill_10_bytes_and_write_5()
50 assert_ptr_equal(buf->stream.w_ptr, buf->stream.r_ptr); in test_audio_buffer_write_fill_10_bytes_and_write_5()
55 ptr = audio_stream_write_frag(&buf->stream, i, sizeof(uint8_t)); in test_audio_buffer_write_fill_10_bytes_and_write_5()
63 assert_int_equal(audio_stream_get_avail_bytes(&buf->stream), 10); in test_audio_buffer_write_fill_10_bytes_and_write_5()
64 assert_int_equal(audio_stream_get_free_bytes(&buf->stream), 0); in test_audio_buffer_write_fill_10_bytes_and_write_5()
65 assert_ptr_equal(buf->stream.w_ptr, buf->stream.r_ptr); in test_audio_buffer_write_fill_10_bytes_and_write_5()
67 ptr = audio_stream_read_frag(&buf->stream, i, sizeof(uint8_t)); in test_audio_buffer_write_fill_10_bytes_and_write_5()
72 ptr = audio_stream_read_frag(&buf->stream, i, sizeof(uint8_t)); in test_audio_buffer_write_fill_10_bytes_and_write_5()