Searched refs:test_pipe (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/tests/subsys/modem/modem_pipe/src/ |
D | main.c | 171 static struct modem_pipe *test_pipe; variable 183 __ASSERT(pipe == test_pipe, "Incorrect pipe provided with callback"); in modem_pipe_fake_handler() 213 test_pipe = modem_backend_fake_init(&test_backend); in modem_backend_fake_setup() 220 modem_pipe_attach(test_pipe, modem_pipe_fake_handler, &test_user_data); in modem_backend_fake_before() 226 __ASSERT(modem_pipe_close(test_pipe, K_SECONDS(10)) == 0, "Failed to close pipe"); in modem_backend_fake_after() 227 modem_pipe_release(test_pipe); in modem_backend_fake_after() 233 zassert_ok(modem_pipe_open(test_pipe, K_SECONDS(10)), "Failed to open pipe"); in test_pipe_open() 244 zassert_ok(modem_pipe_open(test_pipe, K_SECONDS(10)), "Failed to re-open pipe"); in test_pipe_reopen() 253 zassert_ok(modem_pipe_close(test_pipe, K_SECONDS(10)), "Failed to close pipe"); in test_pipe_close() 262 zassert_ok(modem_pipe_close(test_pipe, K_SECONDS(10)), "Failed to re-close pipe"); in test_pipe_reclose() [all …]
|
/Zephyr-latest/tests/kernel/pipe/pipe/src/ |
D | test_pipe.c | 13 K_PIPE_DEFINE(test_pipe, 256, 4); 153 return_value = k_pipe_put(&test_pipe, &tx_buffer, in pipe_put_single() 190 return_value = k_pipe_get(&test_pipe, &rx_buffer, in pipe_get_single() 227 return_value = k_pipe_put(&test_pipe, &tx_buffer, in pipe_put_multiple() 268 return_value = k_pipe_get(&test_pipe, &rx_buffer, in pipe_get_multiple() 303 return_value = k_pipe_put(&test_pipe, &tx_buffer, in pipe_put_forever_wait() 319 return_value = k_pipe_put(&test_pipe, &tx_buffer, in pipe_put_forever_wait() 332 return_value = k_pipe_put(&test_pipe, &tx_buffer, in pipe_put_forever_wait() 356 return_value = k_pipe_get(&test_pipe, &rx_buffer, in pipe_get_forever_wait() 369 return_value = k_pipe_get(&test_pipe, &rx_buffer, in pipe_get_forever_wait() [all …]
|
D | main.c | 9 extern struct k_pipe test_pipe; 18 &test_pipe, &small_pipe, &put_sem, &get_sem, in pipe_setup()
|
/Zephyr-latest/tests/subsys/modem/modem_pipelink/src/ |
D | main.c | 24 static struct modem_pipe test_pipe; variable 57 modem_pipelink_init(test_pipelink, &test_pipe); in test_setup()
|