Home
last modified time | relevance | path

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

/xnu-12377.1.9/osfmk/arm64/
H A Dplatform_tests.c1172 T_EXPECT(apiakey_hi != 0 && apiakey_lo != 0, NULL); in arm64_ropjop_test()
1180 T_EXPECT(apibkey_hi != 0 && apibkey_lo != 0, NULL); in arm64_ropjop_test()
1186 T_EXPECT(kva_signed != (uint64_t)&config_rop_enabled, NULL); in arm64_ropjop_test()
1192 T_EXPECT(kva_authed == (uint64_t)&config_rop_enabled, NULL); in arm64_ropjop_test()
1205 T_EXPECT((kva_authed & auth_fail_mask) == authib_fail, NULL); in arm64_ropjop_test()
1561 T_EXPECT(rorgn_begin != 0, "Expect rorgn_begin to be set when CTRR enabled"); in ctrr_test_cpu()
1567T_EXPECT(rorgn_begin <= ro_test_pa && ro_test_pa <= rorgn_end, "Expect ro_test_pa to be inside the… in ctrr_test_cpu()
1568T_EXPECT((nx_test_pa < rorgn_begin) ^ (nx_test_pa > rorgn_end), "Expect nx_test_pa to be outside t… in ctrr_test_cpu()
1590 T_EXPECT(ro_pn && nx_pn, "Expect ro page number and nx page number to be non zero"); in ctrr_test_cpu()
1597 T_EXPECT(~prot & ARM_TTE_VALID, "Expect ctrr_test_page to be unmapped"); in ctrr_test_cpu()
[all …]
/xnu-12377.1.9/pexpert/gen/
H A Dbootargs.c261 T_EXPECT(found, "Should find argument"); in parse_boot_arg_test()
267 T_EXPECT(!found, "Should not find argument"); in parse_boot_arg_test()
306 T_EXPECT(found, "Should find argument"); in parse_boot_arg_test()
312 T_EXPECT(!found, "Should not find argument"); in parse_boot_arg_test()
/xnu-12377.1.9/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__);\