Searched refs:retain (Results 1 - 25 of 32) sorted by relevance

12

/macosx-10.5.8/xnu-1228.15.4/libkern/c++/
H A DOSCollection.cpp84 obj->retain();
93 retain();
H A DOSCollectionIterator.cpp53 inColl->retain();
H A DOSSymbol.cpp464 aString->retain();
497 oldSymb->retain(); // Retain the old symbol before releasing the lock.
527 oldSymb->retain(); // Retain the old symbol before releasing the lock.
H A DOSObject.cpp158 msg = "Attempting to retain a freed object";
233 // who's retain count has gone to less than the number of collections
253 void OSObject::retain() const function in class:OSObject
H A DOSUnserialize.y136 ((OSObject *)$$)->retain();
H A DOSUnserializeXML.y172 $$->object->retain();
1055 o->object->retain();
H A DOSMetaClass.cpp338 void OSMetaClass::retain() const { } function in class:OSMetaClass
504 printf("%s: bad retain(%d)", getClassName(), instanceCount);
H A DOSUnserialize.cpp870 ((OSObject *)yyval)->retain();
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOPMinformee.cpp60 whatObject->retain();
H A DIOSyncer.cpp58 retain();
H A DIORegistryEntry.cpp265 dict->retain();
311 fPropertyTable->retain();
376 dict->retain();
393 obj->retain(); \
702 sym->retain();
722 sym->retain();
804 name->retain();
1235 where->retain();
1368 entry->retain();
1431 entry->retain();
[all...]
H A DIOTimerEventSource.cpp306 retain();
307 workLoop->retain();
H A DIODMAEventSource.cpp57 dmaController->retain();
H A DIOInterleavedMemoryDescriptor.cpp195 descriptor->retain();
H A DIOMultiMemoryDescriptor.cpp179 descriptors[index]->retain();
H A DIOService.cpp622 newTables->retain();
679 nub->retain(); // thread will release()
1491 notify->retain(); // ref'ed while in list
1626 wl->retain();
1674 victim->retain();
1713 victim->retain();
1734 retain();
1948 victim->retain();
1980 victim->retain();
2421 nextMatch->retain();
[all...]
H A DIOInterruptController.cpp445 parentController->retain();
446 parentSource->retain();
H A DIOWorkLoop.cpp440 inEvent->retain();
H A DIOUserClient.cpp171 inst->retain();
209 obj->retain();
236 obj->retain();
272 obj->retain();
339 obj->retain();
649 result->retain();
841 user->retain();
1344 obj->retain();
1772 entry->retain();
2382 theService->retain();
[all...]
H A DIOServicePM.cpp669 // the object will be holding an extra retain on itself, and cannot
947 theNub->retain();
1044 powerDriver->retain();
1096 // is the one fewer retain count held.
1307 whichObject->retain();
1585 // Drop the retain from notifyChild().
1672 // Drop the retain from notifyChild().
2887 informee->retain();
3292 theNub->retain();
3536 nub->retain();
[all...]
H A DIOMemoryDescriptor.cpp270 memDesc->retain();
535 originalMD->retain(); // Add a new reference to ourselves
2325 _memory->retain();
2985 retain();
3144 physMem->retain();
3272 mapDesc->retain();
3355 parent->retain();
H A DIOPMrootDomain.cpp1455 obj->retain();
2753 me->retain(); // thread holds extra retain
2841 service->retain();
3268 // of, and 1 retain to ourself. When we get a release with n+1 retains
/macosx-10.5.8/xnu-1228.15.4/libkern/libkern/c++/
H A DOSObject.h53 OSObject provides reference counting services using the $link retain(), $link release(), $link release(int when) and $link free() functions. The public interface to the reference counting is retain() & release(). release() is implemented as a simple call to release(1). The actual implementation of release(when) is a little subtle. If the current reference count is less than or equal to the 'when' parameter the object will call free on itself.
55 In general a subclass is expected to only override $link free(). It may also choose to override release() if the object has a circular retain count, see $link release(int when);
118 @result Current retain count
122 /*! @function retain
126 virtual void retain() const;
H A DOSMetaClass.h229 @result Current retain count
233 /*! @function retain
236 virtual void retain() const = 0;
374 /*! @function retain
376 virtual void retain() const;
560 @result Pointer to a new object with a retain count of 1. */
/macosx-10.5.8/xnu-1228.15.4/iokit/bsddev/
H A DIOKitBSDInit.cpp682 matching->retain();
879 dictionary->retain();

Completed in 201 milliseconds

12