Home
last modified time | relevance | path

Searched refs:T_EXPECT (Results 1 – 4 of 4) sorted by relevance

/xnu-8020.101.4/osfmk/arm64/
H A Dplatform_tests.c1190 T_EXPECT(apiakey_hi != 0 && apiakey_lo != 0, NULL); in arm64_ropjop_test()
1198 T_EXPECT(apibkey_hi != 0 && apibkey_lo != 0, NULL); in arm64_ropjop_test()
1204 T_EXPECT(kva_signed != (uint64_t)&config_rop_enabled, NULL); in arm64_ropjop_test()
1210 T_EXPECT(kva_authed == (uint64_t)&config_rop_enabled, NULL); in arm64_ropjop_test()
1223 T_EXPECT((kva_authed & auth_fail_mask) == authib_fail, NULL); in arm64_ropjop_test()
1549T_EXPECT(rorgn_begin_va <= ro_test_va && ro_test_va < rorgn_end_va, "Expect ro_test_va to be insid… in ctrr_test_cpu()
1550T_EXPECT((nx_test_va < rorgn_begin_va) ^ (nx_test_va >= rorgn_end_va), "Expect nx_test_va to be ou… in ctrr_test_cpu()
1554 T_EXPECT(ro_pn && nx_pn, "Expect ro page number and nx page number to be non zero"); in ctrr_test_cpu()
1560 T_EXPECT(~prot & ARM_TTE_VALID, "Expect ctrr_test_page to be unmapped"); in ctrr_test_cpu()
1565 T_EXPECT(kr == KERN_SUCCESS, "Expect pmap_enter of RW mapping to succeed"); in ctrr_test_cpu()
[all …]
/xnu-8020.101.4/osfmk/tests/
H A Dvfp_state_test.c228 T_EXPECT((retval == KERN_SUCCESS), "thread %d started", i); in vfp_state_test()
236 T_EXPECT((vfp_state_test_args[i].result == 0), "thread %d finished", i); in vfp_state_test()
H A DREADME.md75 ## What is the difference between T_EXPECT and T_ASSERT macros?
78 * T_EXPECT will just report failure of that test case, but will continue to run further test code.
H A Dktest.h236 #define T_EXPECT(expr, msg, ...) do {\ macro
247 T_EXPECT(expr, msg, ## __VA_ARGS__);\