/Zephyr-Core-3.7.0/tests/subsys/portability/cmsis_rtos_v2/src/ |
D | timer.c | 44 osTimerId_t id1; in ZTEST() local 54 id1 = osTimerNew(Timer1_Callback, osTimerOnce, &exec1, &timer_attr); in ZTEST() 55 zassert_true(id1 != NULL, "error creating one-shot timer"); in ZTEST() 57 name = osTimerGetName(id1); in ZTEST() 61 status = osTimerStop(id1); in ZTEST() 66 status = osTimerStart(id1, timerDelay); in ZTEST() 69 zassert_equal(osTimerIsRunning(id1), 1, "Error: Timer not running"); in ZTEST() 79 status = osTimerStop(id1); in ZTEST() 82 status = osTimerDelete(id1); in ZTEST()
|
D | event_flags.c | 71 osThreadId_t id1; in test_event_flags_no_wait_timeout() local 87 id1 = osThreadNew(thread1, evt_id, &thread1_attr); in test_event_flags_no_wait_timeout() 88 zassert_true(id1 != NULL, "Failed creating thread1"); in test_event_flags_no_wait_timeout() 122 osThreadId_t id1, id2; in test_event_flags_signalled() local 125 id1 = osThreadNew(thread1, evt_id, &thread1_attr); in test_event_flags_signalled() 126 zassert_true(id1 != NULL, "Failed creating thread1"); in test_event_flags_signalled()
|
D | thread_flags.c | 91 osThreadId_t id1; in ZTEST() local 94 id1 = osThreadNew(thread1, NULL, &thread1_attr); in ZTEST() 95 zassert_true(id1 != NULL, "Failed creating thread1"); in ZTEST() 97 flags = osThreadFlagsSet(id1, FLAG1); in ZTEST()
|
D | thread_apis.c | 116 osThreadId_t id1; in thread_apis_common() local 124 id1 = osThreadNew(thread1, &args, thread1_attr); in thread_apis_common() 125 zassert_true(id1 != NULL, "Failed creating thread1"); in thread_apis_common()
|
/Zephyr-Core-3.7.0/tests/subsys/portability/cmsis_rtos_v1/src/ |
D | timer.c | 43 osTimerId id1; in ZTEST() local 52 id1 = osTimerCreate(osTimer(Timer1), osTimerOnce, &exec1); in ZTEST() 53 zassert_true(id1 != NULL, "error creating one-shot timer"); in ZTEST() 56 status = osTimerStop(id1); in ZTEST() 60 status = osTimerStart(id1, timerDelay); in ZTEST() 71 status = osTimerStop(id1); in ZTEST() 74 status = osTimerDelete(id1); in ZTEST()
|
D | signal.c | 74 osThreadId id1; in ZTEST() local 77 id1 = osThreadCreate(osThread(Thread_1), osThreadGetId()); in ZTEST() 78 zassert_true(id1 != NULL, "Thread creation failed"); in ZTEST() 89 osThreadTerminate(id1); in ZTEST() 94 osThreadId id1; in ZTEST() local 98 id1 = osThreadCreate(osThread(Thread_1), osThreadGetId()); in ZTEST() 99 zassert_true(id1 != NULL, "Thread creation failed"); in ZTEST() 112 osThreadTerminate(id1); in ZTEST() 117 osThreadId id1, id2; in ZTEST() local 121 id1 = osThreadCreate(osThread(Thread_1), osThreadGetId()); in ZTEST() [all …]
|
D | thread_instance.c | 28 osThreadId id1, id2, id3, id4; in ZTEST() local 31 id1 = osThreadCreate(osThread(thread_inst_check), NULL); in ZTEST() 32 zassert_true(id1 != NULL, "Failed creating thread_inst_check"); in ZTEST()
|
D | thread_apis.c | 133 osThreadId id1; in ZTEST() local 136 id1 = osThreadCreate(osThread(thread1), NULL); in ZTEST() 137 zassert_true(id1 != NULL, "Failed creating thread1"); in ZTEST()
|
/Zephyr-Core-3.7.0/tests/subsys/logging/log_cache/src/ |
D | main.c | 35 static bool cmp(uintptr_t id0, uintptr_t id1) in cmp() argument 38 union test_ids t1 = { .raw = id1 }; in cmp() 95 union test_ids id1 = { in ZTEST() local 120 cache_get(&cache, id1.raw, &buf, false, __LINE__); in ZTEST() 134 cache_get(&cache, id1.raw, &buf, true, __LINE__); in ZTEST() 149 cache_get(&cache, id1.raw, &buf, false, __LINE__); in ZTEST()
|
/Zephyr-Core-3.7.0/scripts/coredump/coredump_parser/ |
D | log_parser.py | 138 id1, id2, hdr_ver, tgt_code, ptr_size, flags, reason = struct.unpack(LOG_HDR_STRUCT, hdr) 140 if (id1 + id2) != COREDUMP_HDR_ID: 162 del id1, id2, hdr_ver, tgt_code, ptr_size, flags, reason
|
/Zephyr-Core-3.7.0/subsys/logging/ |
D | log_cache.h | 21 typedef bool (*log_cache_cmp_func_t)(uintptr_t id0, uintptr_t id1);
|
D | log_mgmt.c | 58 static bool domain_id_cmp(uintptr_t id0, uintptr_t id1) in domain_id_cmp() argument 60 return id0 == id1; in domain_id_cmp() 63 static bool source_id_cmp(uintptr_t id0, uintptr_t id1) in source_id_cmp() argument 66 union log_source_ids s1 = { .raw = id1 }; in source_id_cmp()
|
/Zephyr-Core-3.7.0/tests/drivers/watchdog/wdt_error_cases/src/ |
D | main.c | 666 int ret, id1, id2; in ZTEST() local 678 id1 = wdt_install_timeout(wdt, &m_cfg_wdt0); in ZTEST() 679 zassert_true(id1 >= 0, "Watchdog install error, got unexpected value of %d", id1); in ZTEST() 680 TC_PRINT("Configured WDT channel %d\n", id1); in ZTEST() 693 zassert_true(id2 <= id1, in ZTEST() 696 id2, id1); in ZTEST()
|