Lines Matching defs:obj
55 const OSMetaClassBase * obj;
59 #define EXT_CAST(obj) \
60 reinterpret_cast<OSObject *>(const_cast<OSMetaClassBase *>(obj))
161 array[i].obj->taggedRelease(OSTypeID(OSCollection));
187 array[index].obj = anObject;
216 (i < count) && (ORDER(array[i].obj, anObject) >= 0);
231 else if (array[i].obj == anObject) {
234 array[i].obj->taggedRelease(OSTypeID(OSCollection));
252 (i < count) && (array[i].obj != anObject);
267 return( const_cast<OSObject *>((const OSObject *) array[index].obj) );
273 return( const_cast<OSObject *>((const OSObject *) array[0].obj) );
281 return( const_cast<OSObject *>((const OSObject *) array[count-1].obj) );
307 if ( !array[i].obj->isEqualTo(anOrderedSet->getObject(i)) )
345 *ret = const_cast<OSObject *>((const OSObject *) array[index].obj);
360 OSCollection *coll = OSDynamicCast(OSCollection, array[i].obj);
399 OSObject *obj = EXT_CAST(array[i].obj);
400 OSCollection *coll = OSDynamicCast(OSCollection, obj);
404 obj = newColl; // Rely on cycleDict ref for a bit
410 newSet->setLastObject(obj);