/Zephyr-latest/tests/kernel/msgq/msgq_api/src/ |
D | test_msgq_fail.c | 8 static ZTEST_BMEM char __aligned(4) tbuffer[MSG_SIZE * MSGQ_LEN]; 53 k_msgq_init(&msgq, tbuffer, MSG_SIZE, MSGQ_LEN); in ZTEST() 68 zassert_false(k_msgq_alloc_init(q, MSG_SIZE, MSGQ_LEN)); in ZTEST_USER() 79 k_msgq_init(&msgq, tbuffer, MSG_SIZE, MSGQ_LEN); in ZTEST() 94 zassert_false(k_msgq_alloc_init(q, MSG_SIZE, MSGQ_LEN)); in ZTEST_USER()
|
D | test_msgq_contexts.c | 10 K_MSGQ_DEFINE(kmsgq, MSG_SIZE, MSGQ_LEN, 4); 11 K_MSGQ_DEFINE(kmsgq_test_alloc, MSG_SIZE, MSGQ_LEN, 4); 20 static ZTEST_BMEM char __aligned(4) tbuffer[MSG_SIZE * MSGQ_LEN]; 21 static ZTEST_DMEM char __aligned(4) tbuffer1[MSG_SIZE]; 258 k_msgq_init(&msgq, tbuffer, MSG_SIZE, MSGQ_LEN); in ZTEST() 275 k_msgq_init(&msgq, tbuffer, MSG_SIZE, 2); in ZTEST() 302 zassert_false(k_msgq_alloc_init(q, MSG_SIZE, MSGQ_LEN)); in ZTEST_USER() 320 zassert_false(k_msgq_alloc_init(q, MSG_SIZE, 1)); in ZTEST_USER() 337 k_msgq_init(&stack_msgq, tbuffer, MSG_SIZE, MSGQ_LEN); in ZTEST() 351 k_msgq_init(&msgq1, tbuffer1, MSG_SIZE, 1); in ZTEST() [all …]
|
D | test_msgq_attrs.c | 9 static ZTEST_BMEM char __aligned(4) tbuffer[MSG_SIZE * MSGQ_LEN]; 51 k_msgq_init(&msgq, tbuffer, MSG_SIZE, MSGQ_LEN); in ZTEST() 68 zassert_false(k_msgq_alloc_init(q, MSG_SIZE, MSGQ_LEN)); in ZTEST_USER()
|
D | test_msgq_purge.c | 12 static ZTEST_BMEM char __aligned(4) tbuffer[MSG_SIZE * MSGQ_LEN]; 60 k_msgq_init(&msgq, tbuffer, MSG_SIZE, MSGQ_LEN); in ZTEST() 76 zassert_false(k_msgq_alloc_init(q, MSG_SIZE, MSGQ_LEN)); in ZTEST_USER()
|
D | test_msgq.h | 18 #define MSG_SIZE 4 macro
|
/Zephyr-latest/samples/drivers/uart/echo_bot/src/ |
D | main.c | 16 #define MSG_SIZE 32 macro 19 K_MSGQ_DEFINE(uart_msgq, MSG_SIZE, 10, 4); 24 static char rx_buf[MSG_SIZE]; 75 char tx_buf[MSG_SIZE]; in main()
|
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disconnect/common/ |
D | sync.c | 20 #define MSG_SIZE 1 macro 42 uint8_t sync_msg[MSG_SIZE] = { get_device_nbr() }; in backchannel_sync_send() 50 uint8_t sync_msg[MSG_SIZE]; in backchannel_sync_wait()
|
/Zephyr-latest/tests/bsim/babblekit/src/ |
D | sync.c | 19 #define MSG_SIZE 1 macro 42 uint8_t sync_msg[MSG_SIZE] = { get_device_nbr() }; in bk_sync_send() 50 uint8_t sync_msg[MSG_SIZE]; in bk_sync_wait()
|
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/caching/src/ |
D | common.c | 24 #define MSG_SIZE 1 macro 43 uint8_t sync_msg[MSG_SIZE] = { get_device_nbr() }; in backchannel_sync_send() 51 uint8_t sync_msg[MSG_SIZE]; in backchannel_sync_wait()
|
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/legacy/src/ |
D | bs_bt_utils.c | 31 #define MSG_SIZE 1 macro 49 uint8_t sync_msg[MSG_SIZE] = { get_device_nbr() }; in backchannel_sync_send() 57 uint8_t sync_msg[MSG_SIZE]; in backchannel_sync_wait()
|
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/central/src/ |
D | bs_bt_utils.c | 14 #define MSG_SIZE 1 macro 47 uint8_t sync_msg[MSG_SIZE] = {get_device_nbr()}; in backchannel_sync_send() 54 uint8_t sync_msg[MSG_SIZE]; in backchannel_sync_wait()
|
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/settings/src/ |
D | main.c | 147 #define MSG_SIZE 1 macro 151 uint8_t sync_msg[MSG_SIZE] = { get_device_nbr() }; in backchannel_sync_send() 159 uint8_t sync_msg[MSG_SIZE]; in backchannel_sync_wait()
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/eatt/src/ |
D | common.c | 181 #define MSG_SIZE 1 macro 200 uint8_t sync_msg[MSG_SIZE] = { get_device_nbr() }; in backchannel_sync_send() 208 uint8_t sync_msg[MSG_SIZE]; in backchannel_sync_wait()
|
/Zephyr-latest/samples/subsys/logging/logger/src/ |
D | main.c | 178 #define MSG_SIZE (sizeof(struct log_msg) + 2 * sizeof(void *) + sizeof(int)) in performance_showcase() macro 184 (CONFIG_LOG_BUFFER_SIZE / MSG_SIZE)); in performance_showcase()
|
/Zephyr-latest/tests/kernel/workq/work_queue/src/ |
D | main.c | 76 #define MSG_SIZE 16U macro 86 char msgq_buf[1][MSG_SIZE]; 745 char msg[MSG_SIZE] = { 0 }; in msg_provider_thread() 752 char msg[MSG_SIZE]; in triggered_from_msgq_work_handler() 770 MSG_SIZE, 1U); in test_triggered_from_msgq_init()
|