Lines Matching refs:obj
51 OSTaggedPtr<const OSMetaClassBase> obj; member
54 #define EXT_CAST(obj) \ argument
55 reinterpret_cast<OSObject *>(const_cast<OSMetaClassBase *>(obj))
195 array[i].obj.reset(); in flushCollection()
227 array[index].obj.reset(anObject, OSRetain); in setObject()
274 (i < count) && (ORDER(array[i].obj.get(), anObject) >= 0); in setObject()
296 } else if (array[i].obj == anObject) { in removeObject()
299 array[i].obj.reset(); in removeObject()
326 (i < count) && (array[i].obj != anObject); in member()
341 return const_cast<OSObject *>((const OSObject *) array[index].obj.get()); in getObject()
348 return const_cast<OSObject *>((const OSObject *) array[0].obj.get()); in getFirstObject()
358 return const_cast<OSObject *>((const OSObject *) array[count - 1].obj.get()); in getLastObject()
390 if (!array[i].obj->isEqualTo(anOrderedSet->getObject(i))) { in isEqualTo()
434 *ret = const_cast<OSObject *>((const OSObject *) array[index].obj.get()); in getNextObjectForIterator()
450 OSCollection *coll = OSDynamicCast(OSCollection, array[i].obj.get()); in setOptions()
495 OSObject *obj = EXT_CAST(array[i].obj.get()); in copyCollection() local
496 OSCollection *coll = OSDynamicCast(OSCollection, obj); in copyCollection()
500 obj = newColl.get(); // Rely on cycleDict ref for a bit in copyCollection()
506 newSet->setLastObject(obj); in copyCollection()