Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/pipe/pipe_api/src/
Dtest_pipe_fail.c71 size_t rd_byte = 0; in get_fail() local
74 zassert_equal(k_pipe_get(p, rx_data, PIPE_LEN, &rd_byte, 1, in get_fail()
76 zassert_false(rd_byte); in get_fail()
78 zassert_equal(k_pipe_get(p, rx_data, PIPE_LEN, &rd_byte, 1, in get_fail()
80 zassert_true(rd_byte < 1); in get_fail()
81 zassert_equal(k_pipe_get(p, rx_data, PIPE_LEN, &rd_byte, 1, in get_fail()
147 size_t rd_byte = 0; in ZTEST_USER() local
151 &rd_byte, 1, TIMEOUT); in ZTEST_USER()
167 size_t rd_byte = 0; in ZTEST_USER() local
174 &rd_byte, 1, TIMEOUT); in ZTEST_USER()
Dtest_pipe_contexts.c64 size_t to_rd, rd_byte = 0; in tpipe_get() local
67 for (int i = 0; i < PIPE_LEN; i += rd_byte) { in tpipe_get()
72 &rd_byte, 1, timeout), NULL); in tpipe_get()
73 zassert_true(rd_byte == to_rd || rd_byte == 1); in tpipe_get()
154 size_t to_rd, rd_byte = 0; in tpipe_get_small_size() local
157 for (int i = 0; i < PIPE_LEN; i += rd_byte) { in tpipe_get_small_size()
161 &rd_byte, 1, timeout), NULL); in tpipe_get_small_size()
169 size_t to_rd, rd_byte = 0; in tpipe_get_large_size() local
172 for (int i = 0; i < PIPE_LEN; i += rd_byte) { in tpipe_get_large_size()
177 &rd_byte, 1, timeout), NULL); in tpipe_get_large_size()
[all …]