Home
last modified time | relevance | path

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

/xnu-10063.141.1/osfmk/arm64/
H A Dplatform_tests.c1130 T_EXPECT(apiakey_hi != 0 && apiakey_lo != 0, NULL); in arm64_ropjop_test()
1138 T_EXPECT(apibkey_hi != 0 && apibkey_lo != 0, NULL); in arm64_ropjop_test()
1144 T_EXPECT(kva_signed != (uint64_t)&config_rop_enabled, NULL); in arm64_ropjop_test()
1150 T_EXPECT(kva_authed == (uint64_t)&config_rop_enabled, NULL); in arm64_ropjop_test()
1163 T_EXPECT((kva_authed & auth_fail_mask) == authib_fail, NULL); in arm64_ropjop_test()
1496T_EXPECT(rorgn_begin_va <= ro_test_va && ro_test_va < rorgn_end_va, "Expect ro_test_va to be insid… in ctrr_test_cpu()
1497T_EXPECT((nx_test_va < rorgn_begin_va) ^ (nx_test_va >= rorgn_end_va), "Expect nx_test_va to be ou… in ctrr_test_cpu()
1501 T_EXPECT(ro_pn && nx_pn, "Expect ro page number and nx page number to be non zero"); in ctrr_test_cpu()
1507 T_EXPECT(~prot & ARM_TTE_VALID, "Expect ctrr_test_page to be unmapped"); in ctrr_test_cpu()
1512 T_EXPECT(kr == KERN_SUCCESS, "Expect pmap_enter of RW mapping to succeed"); in ctrr_test_cpu()
[all …]
/xnu-10063.141.1/pexpert/gen/
H A Dbootargs.c260 T_EXPECT(found, "Should find argument"); in parse_boot_arg_test()
266 T_EXPECT(!found, "Should not find argument"); in parse_boot_arg_test()
305 T_EXPECT(found, "Should find argument"); in parse_boot_arg_test()
311 T_EXPECT(!found, "Should not find argument"); in parse_boot_arg_test()
/xnu-10063.141.1/osfmk/tests/
H A Dvfp_state_test.c185 T_EXPECT((retval == KERN_SUCCESS), "thread %d started", i); in vfp_state_test()
193 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.h237 #define T_EXPECT(expr, msg, ...) do {\ macro
248 T_EXPECT(expr, msg, ## __VA_ARGS__);\