Home
last modified time | relevance | path

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

/xnu-8792.41.9/osfmk/arm64/
H A Dplatform_tests.c1191 T_EXPECT(apiakey_hi != 0 && apiakey_lo != 0, NULL); in arm64_ropjop_test()
1199 T_EXPECT(apibkey_hi != 0 && apibkey_lo != 0, NULL); in arm64_ropjop_test()
1205 T_EXPECT(kva_signed != (uint64_t)&config_rop_enabled, NULL); in arm64_ropjop_test()
1211 T_EXPECT(kva_authed == (uint64_t)&config_rop_enabled, NULL); in arm64_ropjop_test()
1224 T_EXPECT((kva_authed & auth_fail_mask) == authib_fail, NULL); in arm64_ropjop_test()
1550T_EXPECT(rorgn_begin_va <= ro_test_va && ro_test_va < rorgn_end_va, "Expect ro_test_va to be insid… in ctrr_test_cpu()
1551T_EXPECT((nx_test_va < rorgn_begin_va) ^ (nx_test_va >= rorgn_end_va), "Expect nx_test_va to be ou… in ctrr_test_cpu()
1555 T_EXPECT(ro_pn && nx_pn, "Expect ro page number and nx page number to be non zero"); in ctrr_test_cpu()
1561 T_EXPECT(~prot & ARM_TTE_VALID, "Expect ctrr_test_page to be unmapped"); in ctrr_test_cpu()
1566 T_EXPECT(kr == KERN_SUCCESS, "Expect pmap_enter of RW mapping to succeed"); in ctrr_test_cpu()
[all …]
/xnu-8792.41.9/pexpert/gen/
H A Dbootargs.c249 T_EXPECT(found, "Should find argument"); in parse_boot_arg_test()
255 T_EXPECT(!found, "Should not find argument"); in parse_boot_arg_test()
294 T_EXPECT(found, "Should find argument"); in parse_boot_arg_test()
300 T_EXPECT(!found, "Should not find argument"); in parse_boot_arg_test()
/xnu-8792.41.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.h236 #define T_EXPECT(expr, msg, ...) do {\ macro
247 T_EXPECT(expr, msg, ## __VA_ARGS__);\