/Zephyr-Core-3.5.0/tests/kernel/pipe/pipe_api/src/ |
D | test_pipe_fail.c | 11 #define TIMEOUT K_MSEC(100) macro 29 1, TIMEOUT), -EAGAIN, NULL); in put_fail() 32 PIPE_LEN + 1, TIMEOUT), -EINVAL, NULL); in put_fail() 79 TIMEOUT), -EAGAIN, NULL); in get_fail() 82 TIMEOUT), -EAGAIN, NULL); in get_fail() 151 &rd_byte, 1, TIMEOUT); in ZTEST_USER() 174 &rd_byte, 1, TIMEOUT); in ZTEST_USER() 198 &unreach_byte, 1, TIMEOUT); in ZTEST_USER() 219 &wt_byte, 1, TIMEOUT); in ZTEST_USER() 242 &wt_byte, 1, TIMEOUT); in ZTEST_USER() [all …]
|
/Zephyr-Core-3.5.0/tests/subsys/portability/cmsis_rtos_v1/src/ |
D | semaphore.c | 11 #define TIMEOUT 500 macro 25 tokens_available = osSemaphoreWait((osSemaphoreId)arg, TIMEOUT - 100); in thread_sema() 32 osDelay(TIMEOUT - 100); in thread_sema() 66 osDelay(TIMEOUT); in ZTEST() 72 osDelay(TIMEOUT); in ZTEST()
|
D | msgq.c | 14 #define TIMEOUT 500 macro 27 osDelay(TIMEOUT); in send_msg_thread() 53 status = osMessagePut(message_id, data, TIMEOUT/2); in send_msg_thread() 59 status = osMessagePut(message_id, data, TIMEOUT*2); in send_msg_thread() 76 evt = osMessageGet(message_id, TIMEOUT); in message_recv() 88 osDelay(TIMEOUT); in message_recv()
|
D | mutex.c | 11 #define TIMEOUT 500 macro 101 status = osMutexWait((osMutexId)arg, TIMEOUT - 100); in tThread_entry_lock_timeout() 113 osDelay(TIMEOUT - 100); in tThread_entry_lock_timeout() 118 status = osMutexWait((osMutexId)arg, TIMEOUT); in tThread_entry_lock_timeout() 141 osDelay(TIMEOUT); in ZTEST() 145 osDelay(TIMEOUT); in ZTEST()
|
D | mailq.c | 25 #define TIMEOUT 500 macro 46 osDelay(TIMEOUT); in send_thread() 90 tx_ptr = osMailAlloc(mail_id, TIMEOUT/3); in send_thread() 92 tx_ptr = osMailCAlloc(mail_id, TIMEOUT/3); in send_thread() 96 tx_ptr = osMailCAlloc(mail_id, TIMEOUT*2); in send_thread() 121 evt = osMailGet(mail_id, TIMEOUT); in mail_recv() 138 osDelay(TIMEOUT); in mail_recv()
|
D | signal.c | 14 #define TIMEOUT (100) macro 110 evt = osSignalWait(SIGNAL1, TIMEOUT); in ZTEST() 128 evt = osSignalWait(SIGNAL, TIMEOUT); in ZTEST() 142 evt = osSignalWait(0, TIMEOUT); in ZTEST() 191 evt = osSignalWait(ISR_SIGNAL, TIMEOUT); in ZTEST()
|
/Zephyr-Core-3.5.0/tests/kernel/mutex/mutex_api/src/ |
D | test_mutex_apis.c | 8 #define TIMEOUT 500 macro 45 K_MSEC(TIMEOUT - 100)) != 0, NULL); in tThread_entry_lock_timeout_fail() 52 K_MSEC(TIMEOUT + 100)) == 0, NULL); in tThread_entry_lock_timeout_pass() 69 k_msleep(TIMEOUT); in tmutex_test_lock() 85 k_msleep(TIMEOUT); in tmutex_test_lock_timeout() 87 k_msleep(TIMEOUT); in tmutex_test_lock_timeout() 100 zassert_true(k_mutex_lock(pmutex, K_MSEC(TIMEOUT)) == 0, in tmutex_test_lock_unlock() 135 k_sleep(K_MSEC(TIMEOUT)); in tThread_T1_priority_inheritance() 143 k_sleep(K_MSEC(TIMEOUT)); in tThread_T1_priority_inheritance() 173 k_sleep(K_MSEC(TIMEOUT + 100)); in tThread_lock_with_time_period() [all …]
|
/Zephyr-Core-3.5.0/tests/kernel/fifo/fifo_api/src/ |
D | test_fifo_fail.c | 9 #define TIMEOUT K_MSEC(100) macro 29 zassert_is_null(k_fifo_get(&fifo, TIMEOUT), NULL); in ZTEST()
|
/Zephyr-Core-3.5.0/tests/kernel/lifo/lifo_api/src/ |
D | test_lifo_fail.c | 9 #define TIMEOUT K_MSEC(100) macro 30 zassert_is_null(k_lifo_get(&lifo, TIMEOUT), NULL); in ZTEST()
|
/Zephyr-Core-3.5.0/tests/kernel/mem_heap/k_heap_api/src/ |
D | test_kheap.h | 7 #define TIMEOUT 2000 macro
|
D | test_kheap_api.c | 115 k_timeout_t timeout = Z_TIMEOUT_US(TIMEOUT); in ZTEST() 140 k_timeout_t timeout = Z_TIMEOUT_US(TIMEOUT); in ZTEST() 166 k_timeout_t timeout = Z_TIMEOUT_US(TIMEOUT); in ZTEST()
|
/Zephyr-Core-3.5.0/tests/kernel/mem_slab/mslab_concept/src/ |
D | test_mslab.h | 10 #define TIMEOUT K_MSEC(2000) macro
|
D | test_mslab_alloc_wait.c | 25 zassert_true(k_mem_slab_alloc(&mslab1, &block, TIMEOUT) == -EAGAIN, in tmslab_alloc_wait_timeout() 32 zassert_true(k_mem_slab_alloc(&mslab1, &block_ok, TIMEOUT) == 0); in tmslab_alloc_wait_ok()
|
/Zephyr-Core-3.5.0/tests/kernel/mem_heap/mheap_api_concept/src/ |
D | test_mheap.h | 7 #define TIMEOUT 2000 macro
|
/Zephyr-Core-3.5.0/tests/kernel/mem_slab/mslab_api/src/ |
D | test_mslab.h | 10 #define TIMEOUT 2000 macro
|
D | test_mslab_api.c | 89 err = k_mem_slab_alloc(pslab, &block_fail, K_MSEC(TIMEOUT)); in tmslab_alloc_timeout() 97 zassert_true(k_uptime_delta(&tms) >= TIMEOUT); in tmslab_alloc_timeout() 101 zassert_true(k_uptime_delta(&tms) < TIMEOUT); in tmslab_alloc_timeout() 132 zassert_equal(k_mem_slab_alloc(pslab, &block_fail, K_MSEC(TIMEOUT)), in tmslab_used_get()
|
/Zephyr-Core-3.5.0/tests/bluetooth/controller/ctrl_conn_update/src/ |
D | main.c | 51 #define TIMEOUT 10U /* multiple of 10 ms (min 10, max 3200) */ macro 58 .timeout = TIMEOUT, 65 .timeout = TIMEOUT, 80 .timeout = TIMEOUT, 94 .timeout = TIMEOUT - 1, 107 .timeout = TIMEOUT - 1, 123 .timeout = TIMEOUT + 1U, /* differentiate parameter */ 139 .timeout = TIMEOUT + 1U, /* differentiate parameter */ 157 .timeout = TIMEOUT + 1U, /* differentiate parameter */ 258 err = ull_cp_conn_update(&conn, INTVL_MIN, INTVL_MAX, LATENCY, TIMEOUT, NULL); in ZTEST() [all …]
|
/Zephyr-Core-3.5.0/tests/kernel/msgq/msgq_api/src/ |
D | test_msgq.h | 16 #define TIMEOUT K_MSEC(TIMEOUT_MS) macro
|
D | test_msgq_fail.c | 23 ret = k_msgq_put(q, (void *)&data[0], TIMEOUT); in put_fail() 38 ret = k_msgq_get(q, &rx_data, TIMEOUT); in get_fail()
|
/Zephyr-Core-3.5.0/tests/kernel/mem_slab/mslab_threadsafe/src/ |
D | test_mslab_threadsafe.c | 14 #define TIMEOUT K_MSEC(200) macro 51 ret = k_mem_slab_alloc(slab, &block[i], TIMEOUT); in tmslab_api()
|
/Zephyr-Core-3.5.0/tests/kernel/mbox/mbox_api/src/ |
D | test_mbox_api.c | 9 #define TIMEOUT K_MSEC(100) macro 159 k_mbox_put(pmbox, &mmsg, TIMEOUT); in tmbox_put() 297 zassert_true(k_mbox_get(pmbox, &mmsg, NULL, TIMEOUT) == -EAGAIN, in tmbox_get() 342 zassert_true(k_mbox_get(pmbox, &mmsg, NULL, TIMEOUT) == -EAGAIN, in tmbox_get() 346 zassert_true(k_mbox_get(pmbox, &mmsg, NULL, TIMEOUT) == 0, in tmbox_get() 357 zassert_true(k_mbox_get(pmbox, &mmsg, NULL, TIMEOUT) == 0, in tmbox_get() 362 (pmbox, &mmsg, NULL, TIMEOUT) == 0, NULL); in tmbox_get() 367 (pmbox, &mmsg, NULL, TIMEOUT) == 0, NULL); in tmbox_get()
|
/Zephyr-Core-3.5.0/tests/kernel/stack/stack/src/ |
D | test_stack_fail.c | 11 #define TIMEOUT K_MSEC(100) macro 27 zassert_equal(k_stack_pop(rx_data_stack, &rx_data, TIMEOUT), -EAGAIN); in stack_pop_fail()
|
/Zephyr-Core-3.5.0/tests/kernel/queue/src/ |
D | test_queue_fail.c | 9 #define TIMEOUT K_MSEC(100) macro 30 zassert_is_null(k_queue_get(&queue, TIMEOUT), NULL); in ZTEST()
|
/Zephyr-Core-3.5.0/tests/drivers/i2s/i2s_api/src/ |
D | i2s_api_test.h | 18 #define TIMEOUT 2000 macro
|
/Zephyr-Core-3.5.0/tests/kernel/msgq/msgq_usage/src/ |
D | main.c | 15 #define TIMEOUT K_MSEC(100) macro 228 ret = k_msgq_get(&client_msgq, service_data, TIMEOUT); in client_entry() 240 ret = k_msgq_get(&client_msgq, service_data, TIMEOUT); in client_entry()
|