Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/pipe/pipe_api/src/
Dtest_pipe_contexts.c64 size_t to_rd, rd_byte = 0; in tpipe_get() local
69 to_rd = (PIPE_LEN - i) >= BYTES_TO_READ ? in tpipe_get()
71 zassert_false(k_pipe_get(ppipe, &rx_data[i], to_rd, 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
159 to_rd = 15; in tpipe_get_small_size()
160 zassert_false(k_pipe_get(ppipe, &rx_data[i], to_rd, in tpipe_get_small_size()
169 size_t to_rd, rd_byte = 0; in tpipe_get_large_size() local
174 to_rd = (PIPE_LEN - i) >= 128 ? in tpipe_get_large_size()
176 zassert_false(k_pipe_get(ppipe, &rx_data[i], to_rd, in tpipe_get_large_size()