| /xnu-11215/tests/bounded_ptr_src/ |
| H A D | unsafe_discard_bounds.cpp | 43 QualT* raw = ptr.unsafe_discard_bounds(); in tests() local 44 _assert(raw == &array[0]); in tests() 52 QualT* raw = ptr.unsafe_discard_bounds(); in tests() local 53 _assert(raw == &array[1]); in tests() 62 _assert(raw == &array[2]); in tests() 71 _assert(raw == &array[4]); in tests() 80 _assert(raw == array.end()); in tests() 89 _assert(raw == &array[4]); in tests() 98 _assert(raw == &array[1]); in tests() 107 _assert(raw == &array[0]); in tests() [all …]
|
| H A D | discard_bounds.cpp | 40 QualT* raw = ptr.discard_bounds(); in tests() local 41 _assert(raw == &array[0]); in tests() 49 QualT* raw = ptr.discard_bounds(); in tests() local 50 _assert(raw == &array[1]); in tests() 58 QualT* raw = ptr.discard_bounds(); in tests() local 59 _assert(raw == &array[2]); in tests() 67 QualT* raw = ptr.discard_bounds(); in tests() local 68 _assert(raw == &array[4]); in tests()
|
| /xnu-11215/pexpert/pexpert/arm/ |
| H A D | pl011.h | 11 uint32_t raw; member 22 uint32_t raw; member 32 uint32_t raw; member 47 uint32_t raw; member 54 uint32_t raw; member 61 uint32_t raw; member 68 uint32_t raw; member 81 uint32_t raw; member 100 uint32_t raw; member 108 uint32_t raw; member [all …]
|
| H A D | apple_uart_regs.h | 10 uint32_t raw; member 37 uint32_t raw; member 50 uint32_t raw; member 64 uint32_t raw; member 75 uint32_t raw; member 92 uint32_t raw; member 101 uint32_t raw; member 109 uint32_t raw; member
|
| /xnu-11215/pexpert/arm/ |
| H A D | pe_serial.c | 213 ucon_t ucon = { .raw = 0 }; in apple_uart_init() 221 ulcon_t ulcon = { .raw = 0 }; in apple_uart_init() 230 ufcon_t ufcon = { .raw = 0 }; in apple_uart_init() 344 ubrdiv_t ubrdiv = { .raw = 0 }; in apple_uart_set_baud_rate() 644 const uartfr_t uartfr = { .raw = pl011_registers->uartfr.raw }; in pl011_uart_transmit_ready() 652 pl011_registers->uartdr.raw = uartdr.raw; in pl011_uart_transmit_data() 658 const uartfr_t uartfr = { .raw = pl011_registers->uartfr.raw }; in pl011_uart_receive_ready() 665 const uartdr_t uartdr = { .raw = pl011_registers->uartdr.raw }; in pl011_uart_receive_data() 677 pl011_registers->uartcr.raw = uartcr.raw; in pl011_uart_init() 686 pl011_registers->uartlcr_h.raw = uartlcr_h.raw; in pl011_uart_init() [all …]
|
| /xnu-11215/libkern/libkern/c++/ |
| H A D | OSSharedPtr.h | 89 Destination* raw = OSDynamicCast(Destination, source.get()); in OSDynamicPtrCast() local 90 if (raw == nullptr) { in OSDynamicPtrCast() 93 OSSharedPtr<Destination> dest(raw, OSRetain); in OSDynamicPtrCast() 102 Destination* raw = OSDynamicCast(Destination, source.get()); in OSDynamicPtrCast() local 103 if (raw == nullptr) { in OSDynamicPtrCast() 106 OSSharedPtr<Destination> dest(raw, OSNoRetain); in OSDynamicPtrCast() 116 Destination* raw = OSDynamicCast(Destination, source.get()); in OSDynamicPtrCast() local 117 if (raw == nullptr) { in OSDynamicPtrCast() 120 OSTaggedSharedPtr<Destination, Tag> dest(raw, OSRetain); in OSDynamicPtrCast()
|
| H A D | OSPtr.h | 59 (which would return shared pointers where you expect raw \
|
| /xnu-11215/bsd/kern/ |
| H A D | kdebug_common.c | 200 kdbip[i].kd_list_head.raw = KDS_PTR_NULL; in create_buffers() 201 kdbip[i].kd_list_tail.raw = KDS_PTR_NULL; in create_buffers() 243 kd_ctrl_page->kds_free_list.raw = KDS_PTR_NULL; in delete_buffers() 273 if (kdbp->kd_list_tail.raw != KDS_PTR_NULL) { in allocate_storage_unit() 308 if (kdbp_try->kd_list_head.raw == KDS_PTR_NULL) { in allocate_storage_unit() 353 if (kdbp_vict->kd_list_head.raw != KDS_PTR_NULL) { in allocate_storage_unit() 372 kdsp_actual->kds_next.raw = KDS_PTR_NULL; in allocate_storage_unit() 380 if (kdbp->kd_list_head.raw == KDS_PTR_NULL) { in allocate_storage_unit() 401 kdsp.raw = kdsp_raw; in release_storage_unit() 405 if (kdsp.raw == kdbp->kd_list_head.raw) { in release_storage_unit() [all …]
|
| H A D | kdebug_triage.c | 30 .kds_free_list = { .raw = KDS_PTR_NULL },
|
| /xnu-11215/tests/intrusive_shared_ptr_src/ |
| H A D | get.cpp | 37 T* raw = ptr.get(); in tests() local 38 CHECK(raw == &obj); in tests() 39 CHECK(ptr.get() == raw); // ptr didn't change in tests()
|
| H A D | detach.cpp | 22 T* raw = ptr.detach(); in tests() local 23 CHECK(raw == &obj); in tests()
|
| /xnu-11215/bsd/tests/ |
| H A D | ptrauth_data_tests_sysctl.c | 55 decl raw = *(decl *)(uintptr_t)&(ptr); \ 58 if (cmp != raw) { \ 59 …test: %s (%s) (discr=%s) is not signed as expected (%p vs %p)\n", #decl, #ptr, #discr, raw, cmp); \
|
| /xnu-11215/osfmk/tests/ |
| H A D | ptrauth_data_tests.c | 55 decl raw = *(decl *)&(ptr); \ 58 if (cmp != raw) { \ 59 …test: %s (%s) (discr=%s) is not signed as expected (%p vs %p)\n", #decl, #ptr, #discr, raw, cmp); \
|
| /xnu-11215/tools/lldbmacros/core/ |
| H A D | standard.py | 142 def converter(cls, name, raw=False): argument 144 cls._CONVERTERS[name] = (fn, raw) 266 fn, raw = self._CONVERTERS.get(transform, (None, False)) 267 if not raw and is_sbval: 284 @SBValueFormatter.converter("c_str", raw=True)
|
| /xnu-11215/osfmk/arm64/ |
| H A D | platform_tests.c | 2046 uint64_t raw; in _cpsrctx_do_test() member 2090 _cpsrctx_exec(ctx.raw); in _cpsrctx_do_test() 2120 _cosprctx_exec(uint64_t raw) in _cosprctx_exec() argument 2133 _cfprctx_exec(uint64_t raw) in _cfprctx_exec() argument 2136 __asm__ volatile ("CFP RCTX, %0" :: "r" (raw)); in _cfprctx_exec() 2145 _cpprctx_exec(uint64_t raw) in _cpprctx_exec() argument 2148 __asm__ volatile ("CPP RCTX, %0" :: "r" (raw)); in _cpprctx_exec() 2157 _dvprctx_exec(uint64_t raw) in _dvprctx_exec() argument 2160 __asm__ volatile ("DVP RCTX, %0" :: "r" (raw)); in _dvprctx_exec() 2181 uint64_t raw; in _specres_do_test_std() member [all …]
|
| /xnu-11215/tools/lldbmacros/tests/lldb_tests/ |
| H A D | test_scripted_process.py | 178 self.assertEqual(mock.raw, 0x001fffff) 182 self.assertEqual(mock.raw, 0xffe00000) 184 mock.raw = 0xffdffffe
|
| /xnu-11215/tools/trace/ |
| H A D | ios_trace_ipc.sh | 10 ofile=${1:-ipc.raw}
|
| H A D | parse_ipc_trace.py | 732 if not args.raw or len(args.raw) < 1: 738 for rawfile in args.raw: 758 …derr.write("Failure to convert raw trace file '{:s}'\ncmd: '{:s}'\n".format(args.raw[0].name, cmd))
|
| /xnu-11215/bsd/sys/ |
| H A D | kdebug_common.h | 70 uint32_t raw; member
|
| /xnu-11215/osfmk/kern/ |
| H A D | thread_policy.c | 2504 uintptr_t* raw = (uintptr_t*)(void*)&thread->requested_policy; in threquested_0() local 2506 return raw[0]; in threquested_0() 2515 uintptr_t* raw = (uintptr_t*)(void*)&thread->requested_policy; in threquested_1() 2516 return raw[1]; in threquested_1() 2525 uintptr_t* raw = (uintptr_t*)(void*)&thread->effective_policy; in theffective_0() local 2526 return raw[0]; in theffective_0() 2535 uintptr_t* raw = (uintptr_t*)(void*)&thread->effective_policy; in theffective_1() 2536 return raw[1]; in theffective_1()
|
| H A D | task_policy.c | 2359 uintptr_t* raw = (uintptr_t*)&task->requested_policy; in trequested_0() local 2361 return raw[0]; in trequested_0() 2371 uintptr_t* raw = (uintptr_t*)(&task->requested_policy); in trequested_1() 2372 return raw[1]; in trequested_1() 2379 uintptr_t* raw = (uintptr_t*)&task->effective_policy; in teffective_0() local 2381 return raw[0]; in teffective_0() 2391 uintptr_t* raw = (uintptr_t*)(&task->effective_policy); in teffective_1() 2392 return raw[1]; in teffective_1()
|
| H A D | exclaves_memory.c | 188 .raw = SPTM_RETYPE_PARAMS_NULL in exclaves_memory_alloc()
|
| /xnu-11215/bsd/netinet/ |
| H A D | in_proto.c | 360 SYSCTL_NODE(_net_inet, IPPROTO_RAW, raw,
|
| H A D | ip_icmp.c | 505 goto raw; in icmp_input() 806 raw: in icmp_input()
|
| /xnu-11215/bsd/skywalk/packet/ |
| H A D | pbufpool.c | 540 bool raw, struct skmem_obj **blist) in pp_metadata_construct() argument 559 if (raw) { in pp_metadata_construct() 661 pp_metadata_destruct(kqum, pp, raw); in pp_metadata_construct() 766 struct kern_pbufpool *pp, bool raw, struct skmem_obj **blist_def, in pp_metadata_destruct_common() argument 894 if (raw) { in pp_metadata_destruct_common() 955 bool raw) in pp_metadata_destruct() argument 960 pp_metadata_destruct_common(kqum, pp, raw, &blist_def, &blist_nocache_def, in pp_metadata_destruct()
|