Lines Matching refs:events
45 uint32_t events; in entry_extra1() local
47 events = k_event_wait_all(&sync_event, 0x33, true, K_FOREVER); in entry_extra1()
49 k_event_post(&test_event, events); in entry_extra1()
54 uint32_t events; in entry_extra2() local
56 events = k_event_wait(&sync_event, 0x3300, true, K_FOREVER); in entry_extra2()
58 k_event_post(&test_event, events); in entry_extra2()
72 zassert_true(init_event.events == 0); in ZTEST()
263 zassert_true(test_event.events == 0x123); in test_reset_on_receive()
276 zassert_true(test_event.events == 0x248); in test_reset_on_receive()
289 zassert_true(test_event.events == 0x248021); in test_reset_on_receive()
302 zassert_true(test_event.events == 0x123456); in test_reset_on_receive()
311 uint32_t events; in test_wake_multiple_threads() local
325 events = k_event_wait_all(&test_event, 0x333, false, SHORT_TIMEOUT); in test_wake_multiple_threads()
327 zassert_true(events == 0x333); in test_wake_multiple_threads()
339 uint32_t events; in ZTEST() local
343 zassert_true(deliver_event.events == 0); in ZTEST()
350 events = 0xAAAA; in ZTEST()
351 k_event_post(&deliver_event, events); in ZTEST()
352 zassert_true(deliver_event.events == events); in ZTEST()
354 events |= 0x55555ABC; in ZTEST()
355 k_event_post(&deliver_event, events); in ZTEST()
356 zassert_true(deliver_event.events == events); in ZTEST()
358 events = 0xAAAA0000; in ZTEST()
359 k_event_set(&deliver_event, events); in ZTEST()
360 zassert_true(deliver_event.events == events); in ZTEST()