| /xnu-11215/tests/intrusive_shared_ptr_src/ |
| H A D | reset.no_retain.cpp | 19 T obj2{2}; in tests() local 25 ptr.reset(&obj2, libkern::no_retain); in tests() 28 CHECK(ptr.get() == &obj2); in tests() 35 ptr.reset(&obj2, libkern::no_retain); in tests() 38 CHECK(ptr.get() == &obj2); in tests() 65 CHECK(ptr.reset(&obj2, libkern::no_retain)); in tests()
|
| H A D | reset.retain.cpp | 19 T obj2{2}; in tests() local 25 ptr.reset(&obj2, libkern::retain); in tests() 28 CHECK(ptr.get() == &obj2); in tests() 45 ptr.reset(&obj2, libkern::retain); in tests() 48 CHECK(ptr.get() == &obj2); in tests() 78 CHECK(ptr.reset(&obj2, libkern::retain)); in tests()
|
| H A D | compare.equal.cpp | 44 T obj2{2}; in tests() local 48 test_shared_ptr<TQual> const b(&obj2, libkern::no_retain); in tests() 60 test_shared_ptr<TQual> const b(&obj2, libkern::no_retain); in tests()
|
| H A D | compare.equal.raw.cpp | 50 T obj2{2}; in tests() local 54 TQual* b = &obj2; in tests() 66 TQual* b = &obj2; in tests()
|
| H A D | swap.cpp | 17 T obj2{2}; in tests() local 22 tracked_shared_ptr<T> b(&obj2, libkern::retain); in tests() 53 tracked_shared_ptr<T> b(&obj2, libkern::retain); in tests()
|
| H A D | assign.copy.cpp | 32 Stored obj2{2}; in tests() local 37 tracked_shared_ptr<To> to(&obj2, libkern::retain); in tests() 63 tracked_shared_ptr<To> to(&obj2, libkern::retain); in tests()
|
| H A D | assign.move.cpp | 33 Stored obj2{2}; in tests() local 38 tracked_shared_ptr<To> to(&obj2, libkern::retain); in tests() 64 tracked_shared_ptr<To> to(&obj2, libkern::retain); in tests()
|
| /xnu-11215/libkern/c++/ |
| H A D | OSSet.cpp | 317 const OSMetaClassBase *obj2; in isEqualTo() local 333 obj2 = members->getObject(i); in isEqualTo() 334 if (!obj1 || !obj2) { in isEqualTo() 338 if (!obj1->isEqualTo(obj2)) { in isEqualTo()
|
| H A D | OSOrderedSet.cpp | 102 const OSMetaClassBase * obj2, in OSOrderedSetBlockToFunc() argument 107 return ordering(obj1, obj2); in OSOrderedSetBlockToFunc() 264 #define ORDER(obj1, obj2) \ argument 265 (ordering ? ((*ordering)( (const OSObject *) obj1, (const OSObject *) obj2, orderingRef)) : 0)
|
| H A D | OSDictionary.cpp | 595 const OSMetaClassBase * obj2; in setObject() local 616 obj2 = srcDict->getObject(aKey); in setObject() 617 if (!obj1 || !obj2) { in setObject() 622 if (!obj1->isEqualTo(obj2)) { in setObject()
|
| /xnu-11215/libkern/libkern/c++/ |
| H A D | OSOrderedSet.h | 124 const OSMetaClassBase * obj2, 128 const OSMetaClassBase * obj2);
|
| /xnu-11215/iokit/Exclaves/ |
| H A D | Exclaves.cpp | 521 OSObject *obj2 = ref->exclave_interrupts->getObject(irqKey); in IOExclaveTestSignalInterrupt() local 522 if (!obj2) { in IOExclaveTestSignalInterrupt() 528 IOInterruptEventSource *ies = OSDynamicCast(IOInterruptEventSource, obj2); in IOExclaveTestSignalInterrupt()
|
| /xnu-11215/osfmk/tests/ |
| H A D | kernel_tests.c | 1969 struct obj_cached *obj = NULL, *obj2 = NULL; in get_obj_cache() local 2069 obj2 = find_id_in_cache(obj_id, info); in get_obj_cache() 2070 assert(obj == obj2); in get_obj_cache() 2085 struct obj_cached *obj = NULL, *obj2 = NULL; in put_obj_cache() local 2129 obj2 = find_id_in_cache(obj_id, info); in put_obj_cache() 2130 assert(obj == obj2); in put_obj_cache()
|
| /xnu-11215/osfmk/vm/ |
| H A D | vm_tests.c | 853 vm_object_t obj1, obj2, obj3, obj4; in vm_test_map_copy_adjust_to_target() local 872 obj2 = vm_object_allocate(0x100000); in vm_test_map_copy_adjust_to_target() 955 assert(os_ref_get_count_raw(&obj2->ref_count) == 1); in vm_test_map_copy_adjust_to_target() 960 vm_object_deallocate(obj2); in vm_test_map_copy_adjust_to_target()
|
| H A D | vm_map.c | 3170 vm_object_t obj2; in vm_map_enter() local 3172 obj2 = VME_OBJECT(entry); in vm_map_enter() 3173 if ((obj2 == VM_OBJECT_NULL || obj2->internal) && in vm_map_enter()
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOService.cpp | 3657 const _IOServiceNotifier * obj2 = (const _IOServiceNotifier *) inObj2; in IONotifyOrdering() local 3666 if (obj2) { in IONotifyOrdering() 3667 val2 = obj2->priority; in IONotifyOrdering() 3716 const OSObject * obj2 = (const OSObject *) inObj2; in IOServiceOrdering() local 3727 if (obj2) { in IOServiceOrdering() 3728 val2 = IOServiceObjectOrder( obj2, ref ); in IOServiceOrdering()
|