| /xnu-11215/tests/bounded_ptr_src/ |
| H A D | ctor.nullptr.cpp | 22 _assert(p == nullptr); in tests() 26 _assert(p == nullptr); in tests() 30 _assert(p == nullptr); in tests() 34 _assert(p == nullptr); in tests() 40 f(nullptr); in tests() 46 _assert(p == nullptr); in tests() 50 _assert(p == nullptr); in tests() 54 _assert(p == nullptr); in tests() 58 _assert(p == nullptr); in tests() 70 _assert(p == nullptr); in tests() [all …]
|
| H A D | compare.equal.nullptr.cpp | 40 _assert(!(ptr == nullptr)); in tests() 41 _assert(!(nullptr == ptr)); in tests() 42 _assert(ptr != nullptr); in tests() 43 _assert(nullptr != ptr); in tests() 47 _assert(ptr == nullptr); in tests() 48 _assert(nullptr == ptr); in tests() 49 _assert(!(ptr != nullptr)); in tests() 50 _assert(!(nullptr != ptr)); in tests() 56 _assert(ptr == nullptr); in tests() 57 _assert(nullptr == ptr); in tests() [all …]
|
| H A D | assign.nullptr.cpp | 25 _assert(p != nullptr); in tests() 26 test_bounded_ptr<TQual>& ref = (p = nullptr); in tests() 28 _assert(p == nullptr); in tests() 34 _assert(p != nullptr); in tests() 37 _assert(p == nullptr); in tests() 43 _assert(p != nullptr); in tests() 46 _assert(p == nullptr); in tests()
|
| /xnu-11215/tests/safe_allocation_src/ |
| H A D | compare.equal.nullptr.cpp | 28 CHECK(!(array == nullptr)); in tests() 29 CHECK(!(nullptr == array)); in tests() 30 CHECK(array != nullptr); in tests() 31 CHECK(nullptr != array); in tests() 34 test_safe_allocation<T> const array = nullptr; in tests() 35 CHECK(array == nullptr); in tests() 36 CHECK(nullptr == array); in tests() 37 CHECK(!(array != nullptr)); in tests() 38 CHECK(!(nullptr != array)); in tests()
|
| H A D | ctor.nullptr.cpp | 19 test_safe_allocation<T> array(nullptr); in tests() 20 CHECK(array.data() == nullptr); in tests() 25 test_safe_allocation<T> array{nullptr}; in tests() 26 CHECK(array.data() == nullptr); in tests() 31 test_safe_allocation<T> array = nullptr; in tests() 32 CHECK(array.data() == nullptr); in tests() 38 CHECK(array.data() == nullptr); in tests() 42 f(nullptr); in tests()
|
| H A D | assign.move.cpp | 32 CHECK(from.data() == nullptr); in tests() 48 tracked_safe_allocation<T> from = nullptr; in tests() 55 CHECK(to.data() == nullptr); in tests() 57 CHECK(from.data() == nullptr); in tests() 76 tracked_safe_allocation<T> to = nullptr; in tests() 83 CHECK(from.data() == nullptr); in tests() 99 tracked_safe_allocation<T> from = nullptr; in tests() 101 tracked_safe_allocation<T> to = nullptr; in tests() 106 CHECK(to.data() == nullptr); in tests() 108 CHECK(from.data() == nullptr); in tests()
|
| H A D | swap.cpp | 39 tracked_safe_allocation<T> b = nullptr; in tests() 47 CHECK(a.data() == nullptr); in tests() 55 tracked_safe_allocation<T> a = nullptr; in tests() 65 CHECK(b.data() == nullptr); in tests() 72 tracked_safe_allocation<T> a = nullptr; in tests() 73 tracked_safe_allocation<T> b = nullptr; in tests() 80 CHECK(a.data() == nullptr); in tests() 81 CHECK(b.data() == nullptr); in tests()
|
| H A D | assign.nullptr.cpp | 23 tracked_safe_allocation<T>& ref = (array = nullptr); in tests() 25 CHECK(array.data() == nullptr); in tests() 32 tracked_safe_allocation<T> array = nullptr; in tests() 35 tracked_safe_allocation<T>& ref = (array = nullptr); in tests() 37 CHECK(array.data() == nullptr); in tests()
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOWorkloadConfig.cpp | 260 if (typeStr == nullptr) { in parseWorkIntervalType() 337 if (flags == nullptr) { in parseFlags() 346 if (flag == nullptr) { in parseFlags() 382 if (phases == nullptr) { in parsePhases() 394 if (dict == nullptr) { in parsePhases() 454 if (root == nullptr) { in parseRoot() 549 if (flag == nullptr) { in parseWorkloadIDConfigurationFlags() 615 if (dict == nullptr) { in IOParseWorkloadConfig() 670 if (dict == nullptr) { in IOUnparseWorkloadConfig() 773 if (root == nullptr || phaseStr == nullptr || in IOUnparseWorkloadConfig() [all …]
|
| H A D | IONVRAM.cpp | 348 {0, &UUID_NULL, nullptr, nullptr} 502 if (varGuid == nullptr || variableName == nullptr || destGuid == nullptr) { in translateGUID() 546 if (varGuid == nullptr || varName == nullptr || veChecked == nullptr) { in verifyVarEntitlement() 558 while ((entry != nullptr) && (entry->varName != nullptr)) { in verifyVarEntitlement() 752 if (iter == nullptr) { in dumpDict() 1070 if (dict == nullptr) { in serializeProperties() 1076 if (iter == nullptr) { in serializeProperties() 1110 return nullptr; in copyProperty() 1142 if (dict == nullptr) { in setProperties() 1148 if (iter == nullptr) { in setProperties() [all …]
|
| H A D | IOPerfControl.cpp | 33 if (shared == nullptr) { in init() 133 shared = nullptr; in init() 183 if (coal != nullptr) { in accountResources() 269 if (coal != nullptr) { in deallocateToken() 279 return nullptr; in getEntryForToken() 405 .work_data = nullptr, in workSubmit() 438 .work_data = nullptr, in workSubmitAndBegin() 558 coal = nullptr; in reset() 577 return nullptr; in copyWorkContext() 582 return nullptr; in copyWorkContext() [all …]
|
| /xnu-11215/tests/bounded_array_ref_src/ |
| H A D | compare.equal.nullptr.cpp | 30 CHECK(!(view == nullptr)); in tests() 31 CHECK(!(nullptr == view)); in tests() 32 CHECK(view != nullptr); in tests() 33 CHECK(nullptr != view); in tests() 37 CHECK(view == nullptr); in tests() 38 CHECK(nullptr == view); in tests() 39 CHECK(!(view != nullptr)); in tests() 40 CHECK(!(nullptr != view)); in tests()
|
| /xnu-11215/libkern/libkern/c++/ |
| H A D | safe_allocation.h | 217 data_ = nullptr; 235 data_ = nullptr; 260 other.data_ = nullptr; 271 if (data_ != nullptr) { 274 data_ = nullptr; 303 other.data_ = nullptr; 319 if (data_ != nullptr) { 352 if (data_ == nullptr) { 470 return !(x == nullptr); 477 return x == nullptr; [all …]
|
| H A D | intrusive_shared_ptr.h | 156 if (ptr_ != nullptr) { 182 if (ptr_ != nullptr) { 199 if (ptr_ != nullptr) { 210 other.ptr_ = nullptr; 225 other.ptr_ = nullptr; 291 other.ptr_ = nullptr; 313 other.ptr_ = nullptr; 355 if (ptr_ != nullptr) { 358 ptr_ = nullptr; 395 if (old != nullptr) { [all …]
|
| /xnu-11215/iokit/DriverKit/ |
| H A D | safe_allocation.h | 217 data_ = nullptr; 235 data_ = nullptr; 260 other.data_ = nullptr; 271 if (data_ != nullptr) { 274 data_ = nullptr; 303 other.data_ = nullptr; 319 if (data_ != nullptr) { 352 if (data_ == nullptr) { 470 return !(x == nullptr); 477 return x == nullptr; [all …]
|
| /xnu-11215/tests/intrusive_shared_ptr_src/ |
| H A D | ctor.nullptr.cpp | 18 libkern::intrusive_shared_ptr<T, test_policy> ptr = nullptr; in tests() 19 CHECK(ptr.get() == nullptr); in tests() 22 libkern::intrusive_shared_ptr<T, test_policy> ptr{nullptr}; in tests() 23 CHECK(ptr.get() == nullptr); in tests() 26 libkern::intrusive_shared_ptr<T, test_policy> ptr(nullptr); in tests() 27 CHECK(ptr.get() == nullptr); in tests()
|
| H A D | swap.cpp | 38 tracked_shared_ptr<T> b = nullptr; in tests() 46 CHECK(a.get() == nullptr); in tests() 52 tracked_shared_ptr<T> a = nullptr; in tests() 62 CHECK(b.get() == nullptr); in tests() 67 tracked_shared_ptr<T> a = nullptr; in tests() 68 tracked_shared_ptr<T> b = nullptr; in tests() 75 CHECK(a.get() == nullptr); in tests() 76 CHECK(b.get() == nullptr); in tests()
|
| H A D | reset.no_retain.cpp | 33 tracked_shared_ptr<T> ptr = nullptr; in tests() 45 ptr.reset(nullptr, libkern::no_retain); in tests() 48 CHECK(ptr.get() == nullptr); in tests() 53 tracked_shared_ptr<T> ptr = nullptr; in tests() 55 ptr.reset(nullptr, libkern::no_retain); in tests() 58 CHECK(ptr.get() == nullptr); in tests() 69 CHECK(ptr2.get() == nullptr); in tests()
|
| H A D | assign.move.cpp | 44 CHECK(from.get() == nullptr); in tests() 51 tracked_shared_ptr<To> to = nullptr; in tests() 57 CHECK(from.get() == nullptr); in tests() 63 tracked_shared_ptr<From> from = nullptr; in tests() 70 CHECK(from.get() == nullptr); in tests() 71 CHECK(to.get() == nullptr); in tests() 76 tracked_shared_ptr<From> from = nullptr; in tests() 77 tracked_shared_ptr<To> to = nullptr; in tests() 83 CHECK(from.get() == nullptr); in tests() 84 CHECK(to.get() == nullptr); in tests()
|
| H A D | cast.const.cpp | 39 CHECK(from.get() == nullptr); in tests() 44 tracked_shared_ptr<From> const from = nullptr; in tests() 49 CHECK(to.get() == nullptr); in tests() 50 CHECK(from.get() == nullptr); in tests() 53 tracked_shared_ptr<From> from = nullptr; in tests() 58 CHECK(to.get() == nullptr); in tests() 59 CHECK(from.get() == nullptr); in tests()
|
| H A D | reset.retain.cpp | 35 ptr.reset(nullptr, libkern::retain); in tests() 38 CHECK(ptr.get() == nullptr); in tests() 43 tracked_shared_ptr<T> ptr = nullptr; in tests() 53 tracked_shared_ptr<T> ptr = nullptr; in tests() 55 ptr.reset(nullptr, libkern::retain); in tests() 58 CHECK(ptr.get() == nullptr); in tests() 82 CHECK(ptr2.get() == nullptr); in tests()
|
| H A D | cast.reinterpret.cpp | 43 CHECK(from.get() == nullptr); in tests() 48 tracked_shared_ptr<From> const from = nullptr; in tests() 53 CHECK(to.get() == nullptr); in tests() 54 CHECK(from.get() == nullptr); in tests() 57 tracked_shared_ptr<From> from = nullptr; in tests() 62 CHECK(to.get() == nullptr); in tests() 63 CHECK(from.get() == nullptr); in tests()
|
| H A D | cast.static.cpp | 48 CHECK(from.get() == nullptr); in tests() 53 tracked_shared_ptr<From> const from = nullptr; in tests() 58 CHECK(to.get() == nullptr); in tests() 59 CHECK(from.get() == nullptr); in tests() 62 tracked_shared_ptr<From> from = nullptr; in tests() 67 CHECK(to.get() == nullptr); in tests() 68 CHECK(from.get() == nullptr); in tests()
|
| /xnu-11215/libkern/coreanalytics/ |
| H A D | coreanalytics_shim.cpp | 51 OSSharedPtr<IOService> service = nullptr; in core_analytics_family_match() 61 return nullptr; in core_analytics_family_match() 87 OSSharedPtr<OSObject> field = nullptr; in serialize_event_field() 109 field = nullptr; in serialize_event_field() 118 assert(*key != nullptr); in serialize_event_field() 120 return nullptr; in serialize_event_field() 131 serialized_event->case_event_name = nullptr; in core_analytics_serialize_event() 132 serialized_event->case_event = nullptr; in core_analytics_serialize_event() 133 OSSharedPtr<OSDictionary> dict = nullptr; in core_analytics_serialize_event()
|
| /xnu-11215/iokit/IOKit/perfcontrol/ |
| H A D | IOPerfControl.h | 91 virtual uint64_t workSubmit(IOService *device, WorkSubmitArgs *args = nullptr); 118 virtual uint64_t workSubmitAndBegin(IOService *device, WorkSubmitArgs *submitArgs = nullptr, 119 WorkBeginArgs *beginArgs = nullptr); 128 virtual void workBegin(IOService *device, uint64_t token, WorkBeginArgs *args = nullptr); 154 …virtual void workEnd(IOService *device, uint64_t token, WorkEndArgs *args = nullptr, bool done = t… 176 …bmitAndBeginWithContext(IOService *device, OSObject *context, WorkSubmitArgs *submitArgs = nullptr, 177 WorkBeginArgs *beginArgs = nullptr); 189 bool workSubmitWithContext(IOService *device, OSObject *context, WorkSubmitArgs *args = nullptr); 200 void workBeginWithContext(IOService *device, OSObject *context, WorkBeginArgs *args = nullptr); 214 …void workEndWithContext(IOService *device, OSObject *context, WorkEndArgs *args = nullptr, bool do… [all …]
|