Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/tests/subsys/portability/cmsis_rtos_v2/src/
Dtimer.c44 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()
Devent_flags.c71 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()
Dthread_flags.c91 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()
Dthread_apis.c116 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/
Dtimer.c43 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()
Dsignal.c74 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 …]
Dthread_instance.c28 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()
Dthread_apis.c133 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/
Dmain.c35 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/
Dlog_parser.py138 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/
Dlog_cache.h21 typedef bool (*log_cache_cmp_func_t)(uintptr_t id0, uintptr_t id1);
Dlog_mgmt.c58 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/
Dmain.c666 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()