| /xnu-11215/tests/bounded_ptr_src/ |
| H A D | arith.add_assign.cpp | 43 test_bounded_ptr<QualT> ptr(array.begin(), array.begin(), array.end()); in tests() local 49 test_bounded_ptr<QualT> ptr(array.begin(), array.begin(), array.end()); in tests() local 55 test_bounded_ptr<QualT> ptr(array.begin(), array.begin(), array.end()); in tests() local 61 test_bounded_ptr<QualT> ptr(array.begin(), array.begin(), array.end()); in tests() local 67 test_bounded_ptr<QualT> ptr(array.begin(), array.begin(), array.end()); in tests() local 85 test_bounded_ptr<QualT> ptr(array.end(), array.begin(), array.end()); in tests() local 91 test_bounded_ptr<QualT> ptr(array.end(), array.begin(), array.end()); in tests() local 97 test_bounded_ptr<QualT> ptr(array.end(), array.begin(), array.end()); in tests() local 103 test_bounded_ptr<QualT> ptr(array.end(), array.begin(), array.end()); in tests() local 109 test_bounded_ptr<QualT> ptr(array.end(), array.begin(), array.end()); in tests() local [all …]
|
| H A D | arith.subtract_assign.cpp | 40 test_bounded_ptr<QualT> ptr(array.end(), array.begin(), array.end()); in tests() local 46 test_bounded_ptr<QualT> ptr(array.end(), array.begin(), array.end()); in tests() local 52 test_bounded_ptr<QualT> ptr(array.end(), array.begin(), array.end()); in tests() local 58 test_bounded_ptr<QualT> ptr(array.end(), array.begin(), array.end()); in tests() local 64 test_bounded_ptr<QualT> ptr(array.end(), array.begin(), array.end()); in tests() local 70 test_bounded_ptr<QualT> ptr(array.end(), array.begin(), array.end()); in tests() local 82 test_bounded_ptr<QualT> ptr(array.begin(), array.begin(), array.end()); in tests() local 88 test_bounded_ptr<QualT> ptr(array.begin(), array.begin(), array.end()); in tests() local 94 test_bounded_ptr<QualT> ptr(array.begin(), array.begin(), array.end()); in tests() local 100 test_bounded_ptr<QualT> ptr(array.begin(), array.begin(), array.end()); in tests() local [all …]
|
| H A D | unsafe_discard_bounds.cpp | 42 test_bounded_ptr<QualT> const ptr(array.begin() + 0, array.begin(), array.end()); in tests() local 51 test_bounded_ptr<QualT> const ptr(array.begin() + 1, array.begin(), array.end()); in tests() local 60 test_bounded_ptr<QualT> const ptr(array.begin() + 2, array.begin(), array.end()); in tests() local 69 test_bounded_ptr<QualT> const ptr(array.begin() + 4, array.begin(), array.end()); in tests() local 78 test_bounded_ptr<QualT> const ptr(array.end(), array.begin(), array.end()); in tests() local 87 test_bounded_ptr<QualT> ptr(array.end() - 1, array.begin(), array.end() - 2); in tests() local 96 test_bounded_ptr<QualT> ptr(array.begin() + 1, array.begin(), array.end()); in tests() local 105 test_bounded_ptr<QualT> ptr(array.begin(), array.begin() + 1, array.end()); in tests() local 112 test_bounded_ptr<QualT> const ptr(nullptr, nullptr, nullptr); in tests() local 130 libkern::bounded_ptr<QualT, tracking_policy> ptr(base, base, base + 1); in tests() local
|
| H A D | discard_bounds.cpp | 39 test_bounded_ptr<QualT> const ptr(array.begin() + 0, array.begin(), array.end()); in tests() local 48 test_bounded_ptr<QualT> const ptr(array.begin() + 1, array.begin(), array.end()); in tests() local 57 test_bounded_ptr<QualT> const ptr(array.begin() + 2, array.begin(), array.end()); in tests() local 66 test_bounded_ptr<QualT> const ptr(array.begin() + 4, array.begin(), array.end()); in tests() local 76 libkern::bounded_ptr<QualT, tracking_policy> ptr(array.begin() + 1, array.begin(), array.end()); in tests() local 89 libkern::bounded_ptr<QualT, tracking_policy> ptr(array.end() - 1, array.begin(), array.end() - 2); in tests() local 99 libkern::bounded_ptr<QualT, tracking_policy> ptr(array.begin(), array.begin() + 1, array.end()); in tests() local 111 …libkern::bounded_ptr<QualT, tracking_policy> ptr(reinterpret_cast<QualT*>(just_off), array.begin()… in tests() local
|
| H A D | deref.cpp | 47 test_bounded_ptr<QualT> ptr(array.begin() + 0, array.begin(), array.end()); in tests() local 60 test_bounded_ptr<QualT> ptr(array.begin() + 1, array.begin(), array.end()); in tests() local 73 test_bounded_ptr<QualT> ptr(array.begin() + 2, array.begin(), array.end()); in tests() local 86 test_bounded_ptr<QualT> ptr(array.begin() + 4, array.begin(), array.end()); in tests() local 101 libkern::bounded_ptr<QualT, tracking_policy> ptr(array.begin() + 1, array.begin(), array.end()); in tests() local 115 libkern::bounded_ptr<QualT, tracking_policy> ptr(array.end() - 1, array.begin(), array.end() - 2); in tests() local 130 libkern::bounded_ptr<QualT, tracking_policy> ptr(array.begin(), array.begin() + 1, array.end()); in tests() local 147 …libkern::bounded_ptr<QualT, tracking_policy> ptr(reinterpret_cast<QualT*>(just_off), array.begin()… in tests() local
|
| H A D | arith.add.cpp | 33 test_bounded_ptr<QualT> const ptr(array.begin(), array.begin(), array.end()); in tests() local 67 test_bounded_ptr<QualT> const ptr(array.end(), array.begin(), array.end()); in tests() local 97 test_bounded_ptr<QualT> const ptr(array.begin() + 1, array.begin(), array.end()); in tests() local 105 test_bounded_ptr<QualT> const ptr(array.begin(), array.begin(), array.end()); in tests() local 110 test_bounded_ptr<QualT> const ptr(array.begin(), array.begin(), array.end()); in tests() local 115 test_bounded_ptr<QualT> const ptr(array.begin() + 3, array.begin(), array.end()); in tests() local
|
| H A D | subscript.cpp | 47 test_bounded_ptr<QualT> ptr(array.begin() + 0, array.begin(), array.end()); in tests() local 68 test_bounded_ptr<QualT> ptr(array.begin() + 1, array.begin(), array.end()); in tests() local 89 test_bounded_ptr<QualT> ptr(array.begin() + 2, array.begin(), array.end()); in tests() local 110 test_bounded_ptr<QualT> ptr(array.begin() + 4, array.begin(), array.end()); in tests() local 131 test_bounded_ptr<QualT> ptr(array.end(), array.begin(), array.end()); in tests() local 154 libkern::bounded_ptr<QualT, tracking_policy> ptr(array.end() - 1, array.begin(), array.end() - 2); in tests() local 181 libkern::bounded_ptr<QualT, tracking_policy> ptr(array.begin() + 1, array.begin(), array.end()); in tests() local 212 …libkern::bounded_ptr<QualT, tracking_policy> ptr(array.begin(), array.begin() + 1, array.end() - 1… in tests() local
|
| H A D | compare.equal.nullptr.cpp | 39 test_bounded_ptr<QualT> const ptr(&t, &t, &t + 1); in tests() local 46 test_bounded_ptr<QualT> const ptr = nullptr; in tests() local 55 libkern::bounded_ptr<QualT, non_default_policy> const ptr = nullptr; in tests() local
|
| H A D | arith.subtract.cpp | 31 test_bounded_ptr<QualT> const ptr(array.end(), array.begin(), array.end()); in tests() local 65 test_bounded_ptr<QualT> const ptr(array.begin(), array.begin(), array.end()); in tests() local 95 test_bounded_ptr<QualT> const ptr(array.begin() + 4, array.begin(), array.end()); in tests() local
|
| /xnu-11215/tests/intrusive_shared_ptr_src/ |
| H A D | reset.retain.cpp | 23 tracked_shared_ptr<T> ptr(&obj1, libkern::retain); in tests() local 33 tracked_shared_ptr<T> ptr(&obj1, libkern::retain); in tests() local 43 tracked_shared_ptr<T> ptr = nullptr; in tests() local 53 tracked_shared_ptr<T> ptr = nullptr; in tests() local 64 tracked_shared_ptr<T> ptr(&obj1, libkern::retain); in tests() local 76 tracked_shared_ptr<T> ptr; in tests() local
|
| H A D | reset.no_retain.cpp | 23 tracked_shared_ptr<T> ptr(&obj1, libkern::retain); in tests() local 33 tracked_shared_ptr<T> ptr = nullptr; in tests() local 43 tracked_shared_ptr<T> ptr(&obj1, libkern::retain); in tests() local 53 tracked_shared_ptr<T> ptr = nullptr; in tests() local 63 tracked_shared_ptr<T> ptr; in tests() local
|
| H A D | abi.size_alignment.cpp | 14 test_shared_ptr<int> ptr; member 18 int* ptr; member 29 test_shared_ptr<int> ptr; member 34 int* ptr; member 45 test_shared_ptr<int> ptr; member 51 int* ptr; member 64 test_shared_ptr<int> ptr; member 71 int* ptr; member 84 test_shared_ptr<int> ptr; member 91 int* ptr; member [all …]
|
| H A D | ctor.default.cpp | 18 libkern::intrusive_shared_ptr<T, test_policy> ptr; in tests() local 22 libkern::intrusive_shared_ptr<T, test_policy> ptr{}; in tests() local 26 …libkern::intrusive_shared_ptr<T, test_policy> ptr = libkern::intrusive_shared_ptr<T, test_policy>(… in tests() local 30 libkern::intrusive_shared_ptr<T, test_policy> ptr = {}; in tests() local
|
| H A D | ctor.nullptr.cpp | 18 libkern::intrusive_shared_ptr<T, test_policy> ptr = nullptr; in tests() local 22 libkern::intrusive_shared_ptr<T, test_policy> ptr{nullptr}; in tests() local 26 libkern::intrusive_shared_ptr<T, test_policy> ptr(nullptr); in tests() local
|
| H A D | reset.cpp | 22 tracked_shared_ptr<T> ptr(&obj, libkern::retain); in tests() local 32 tracked_shared_ptr<T> ptr = nullptr; in tests() local 42 tracked_shared_ptr<T> ptr(&obj, libkern::retain); in tests() local
|
| H A D | dtor.cpp | 19 libkern::intrusive_shared_ptr<T, test_policy> ptr(&obj, libkern::no_retain); variable 31 libkern::intrusive_shared_ptr<T, test_policy> ptr = nullptr; variable
|
| H A D | ctor.ptr.retain.cpp | 21 libkern::intrusive_shared_ptr<TQual, test_policy> ptr(&obj, libkern::retain); in tests() local 27 libkern::intrusive_shared_ptr<TQual, test_policy> ptr{&obj, libkern::retain}; in tests() local
|
| /xnu-11215/osfmk/vm/ |
| H A D | lz4.h | 107 load2(const void * ptr) in load2() 112 load4(const void * ptr) in load4() 117 load8(const void * ptr) in load8() 122 load16(const void * ptr) in load16() 127 load32(const void * ptr) in load32() 132 load64(const void * ptr) in load64() 139 store2(void * ptr, uint16_t data) in store2() 144 store4(void * ptr, uint32_t data) in store4() 149 store8(void * ptr, uint64_t data) in store8() 154 store16(void * ptr, vector_uchar16 data) in store16() [all …]
|
| /xnu-11215/tests/bounded_array_ref_src/ |
| H A D | ctor.bounded_ptr.cpp | 34 test_bounded_ptr<T> ptr(&array[0], begin, end); in tests() local 51 test_bounded_ptr<T> ptr(&array[0], begin, end); in tests() local 66 test_bounded_ptr<T> ptr(&array[3], begin, end); in tests() local 75 test_bounded_ptr<T> ptr(&array[0], begin, end); in tests() local 81 test_bounded_ptr<T> ptr = nullptr; in tests() local 87 test_bounded_ptr<T> ptr(end, begin, end); in tests() local 93 test_bounded_ptr<T> ptr(begin, begin, end); in tests() local
|
| H A D | ctor.raw_ptr.cpp | 32 T* ptr = &array[0]; in tests() local 49 T* ptr = &array[0]; in tests() local 64 T* ptr = &array[3]; in tests() local 73 T* ptr = &array[0]; in tests() local 79 T* ptr = nullptr; in tests() local 85 T* ptr = &array[5]; in tests() local 91 T* ptr = &array[0]; in tests() local
|
| /xnu-11215/libkern/libkern/ |
| H A D | mkext.h | 174 #define MKEXT2_GET_ENTRY_COMPSIZE(ptr) MKEXT_SWAP((ptr)->compressed_size) argument 175 #define MKEXT2_GET_ENTRY_FULLSIZE(ptr) MKEXT_SWAP((ptr)->full_size) argument 176 #define MKEXT2_GET_ENTRY_DATA(ptr) ((ptr)->data) argument 219 #define MKEXT1_ENTRY_CAST(ptr) ((mkext_file *)(ptr)) argument 220 #define MKEXT1_GET_ENTRY_OFFSET(ptr) (MKEXT_SWAP(MKEXT1_ENTRY_CAST(ptr)->offset)) argument 221 #define MKEXT1_GET_ENTRY_COMPSIZE(ptr) (MKEXT_SWAP(MKEXT1_ENTRY_CAST(ptr)->compsize)) argument 222 #define MKEXT1_GET_ENTRY_FULLSIZE(ptr) (MKEXT_SWAP(MKEXT1_ENTRY_CAST(ptr)->realsize)) argument 223 #define MKEXT1_GET_ENTRY_MODTIME(ptr) ((time_t)MKEXT_SWAP(MKEXT1_ENTRY_CAST(ptr)->modifiedsecs)) argument 224 #define MKEXT1_ENTRY_EXISTS(ptr) (MKEXT1_GET_ENTRY_OFFSET(ptr) || \ argument
|
| /xnu-11215/libkern/libkern/c++/ |
| H A D | OSSharedPtr.h | 127 OSStaticPtrCast(OSSharedPtr<From> const& ptr) noexcept in OSStaticPtrCast() 134 OSStaticPtrCast(OSSharedPtr<From>&& ptr) noexcept in OSStaticPtrCast() 141 OSConstPtrCast(OSSharedPtr<From> const& ptr) noexcept in OSConstPtrCast() 148 OSConstPtrCast(OSSharedPtr<From>&& ptr) noexcept in OSConstPtrCast()
|
| /xnu-11215/libkern/ |
| H A D | ptrauth_utils.c | 41 ptrauth_utils_sign_blob_generic(__unused const void * ptr, __unused size_t len_bytes, __unused uint… in ptrauth_utils_sign_blob_generic() 57 ptrauth_utils_auth_blob_generic(const void * ptr, size_t len_bytes, uint64_t data, int flags, ptrau… in ptrauth_utils_auth_blob_generic() 80 ptrauth_utils_auth_blob_generic(__unused const void * ptr, __unused size_t len_bytes, __unused uint… in ptrauth_utils_auth_blob_generic()
|
| /xnu-11215/osfmk/kern/ |
| H A D | smr.h | 72 #define smr_unsafe_load(ptr) \ argument 81 #define smr_entered_load(ptr) \ argument 90 #define smr_entered_load_assert(ptr, smr) ({ \ argument 102 #define smr_entered_load_acquire(ptr) \ argument 135 #define smr_serialized_load(ptr) \ argument 144 #define smr_init_store(ptr, value) \ argument 153 #define smr_clear_store(ptr) \ argument 184 #define smr_serialized_store(ptr, value) \ argument 244 #define smr_serialized_swap(ptr, value) \ argument 255 #define smr_unserialized_load(ptr) \ argument [all …]
|
| /xnu-11215/iokit/IOKit/ |
| H A D | IOLib.h | 91 #define IOKIT_TYPE_IS_COMPATIBLE_PTR(ptr, type) \ argument 95 #define IOKIT_TYPE_ASSERT_COMPATIBLE_POINTER(ptr, type) \ argument 325 #define IODeleteData(ptr, type, count) ({ \ argument 437 #define IODelete_3(ptr, e_ty, count) ({ \ argument 452 #define IODelete_3(ptr, e_ty, count) \ argument 455 #define IODelete_4(ptr, h_ty, e_ty, count) \ argument 458 #define IOSafeDeleteNULL_3(ptr, e_ty, count) ({ \ argument 463 #define IOSafeDeleteNULL_4(ptr, h_ty, e_ty, count) ({ \ argument 753 #define IOFREETYPE_ASSERT_COMPATIBLE_POINTER(ptr, type) \ argument 758 #define IOFREETYPE_ASSERT_COMPATIBLE_POINTER(ptr, type) do {} while (0) argument [all …]
|