Searched refs:OSObject (Results 1 - 25 of 121) sorted by relevance

12345

/macosx-10.5.8/xnu-1228.15.4/libkern/libkern/c++/
H A DOSObject.h42 @class OSObject : OSMetaClassBase
53 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.
61 class OSObject : public OSMetaClassBase class in inherits:OSMetaClassBase
63 OSDeclareAbstractStructors(OSObject)
85 @result OSObject::init Always returns true, but subclasses will return false on init failure.
95 <br>2> The implementation is OSObject::free() { delete this; } so do not call super::free() until just before you return.
101 @discussion Never attempt to delete an object that inherits from OSObject directly use $link release().
110 @abstract Allocator for all objects that inherit from OSObject
155 OSMetaClassDeclareReservedUnused(OSObject, 0);
156 OSMetaClassDeclareReservedUnused(OSObject,
[all...]
H A DOSUnserialize.h35 class OSObject;
44 extern OSObject* OSUnserializeXML(const char *buffer, OSString **errorString = 0);
47 extern OSObject* OSUnserialize(const char *buffer, OSString **errorString = 0);
H A DOSIterator.h38 #include <libkern/c++/OSObject.h>
46 class OSIterator : public OSObject
67 virtual OSObject *getNextObject() = 0;
H A DOSCollection.h33 #include <libkern/c++/OSObject.h>
41 OSCollection is the abstract super class for all OSObject derived collections and provides the necessary interfaces for managing storage space and iteration through a collection.
43 class OSCollection : public OSObject
85 virtual bool getNextObjectForIterator(void *iterator, OSObject **ret) const = 0;
192 OSObject *obj = getObject(i);
H A DOSDictionary.h77 virtual bool getNextObjectForIterator(void *iterator, OSObject **ret) const;
96 static OSDictionary *withObjects(const OSObject *objects[],
109 static OSDictionary *withObjects(const OSObject *objects[],
139 virtual bool initWithObjects(const OSObject *objects[],
152 virtual bool initWithObjects(const OSObject *objects[],
270 virtual OSObject *getObject(const OSSymbol *aKey) const;
277 virtual OSObject *getObject(const OSString *aKey) const;
284 virtual OSObject *getObject(const char *aKey) const;
H A DOSArray.h70 virtual bool getNextObjectForIterator(void *iterator, OSObject **ret) const;
88 static OSArray *withObjects(const OSObject *objects[],
116 virtual bool initWithObjects(const OSObject *objects[],
234 virtual OSObject *getObject(unsigned int index) const;
240 virtual OSObject *getLastObject() const;
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOCommand.cpp41 #define super OSObject
42 OSDefineMetaClassAndStructors(IOCommand, OSObject);
H A DIOPMinformee.cpp30 #define super OSObject
32 OSDefineMetaClassAndStructors(IOPMinformee, OSObject)
H A DIOPMPowerStateQueue.h69 virtual bool init(OSObject *owner, Action action = 0);
72 static IOPMPowerStateQueue *PMPowerStateQueue(OSObject *owner);
/macosx-10.5.8/xnu-1228.15.4/libkern/c++/
H A DOSObject.cpp28 /* OSObject.cpp created by gvdl on Fri 1998-11-17 */
30 #include <libkern/c++/OSObject.h>
53 // OSDefineMetaClassAndAbstractStructors(OSObject, 0);
55 OSObject::MetaClass OSObject::gMetaClass;
56 const OSMetaClass * const OSObject::metaClass = &OSObject::gMetaClass;
57 const OSMetaClass * const OSObject::superClass = 0;
60 OSObject::OSObject() { retainCoun function in class:OSObject
61 OSObject::OSObject(const OSMetaClass *) { retainCount = 1; } function in class:OSObject
[all...]
H A DOSIterator.cpp37 OSDefineMetaClassAndAbstractStructors(OSIterator, OSObject)
H A DOSCollection.cpp37 #define super OSObject
39 OSDefineMetaClassAndAbstractStructors(OSCollection, OSObject)
82 OSObject *obj = cycleDict->getObject((const OSSymbol *) this);
H A DOSBoolean.cpp35 #define super OSObject
37 OSDefineMetaClassAndStructors(OSBoolean, OSObject)
59 gOSBooleanTrue->OSObject::free();
68 gOSBooleanFalse->OSObject::free();
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/
H A DIONotifier.h38 #include <libkern/c++/OSObject.h>
40 /*! @class IONotifier : public OSObject
44 class IONotifier : public OSObject
H A DIOCommand.h57 #include <libkern/c++/OSObject.h>
69 class IOCommand : public OSObject
H A DIOPMEventSource.h51 typedef void (*Action)(OSObject *owner, unsigned long state);
54 static IOPMEventSource *PMEventSource(OSObject *owner, Action action);
56 virtual bool init(OSObject *owner, Action action);
H A DIOCommandQueue.h50 (OSObject *, void *field0, void *field1, void *field2, void *field3);
70 static IOCommandQueue *commandQueue(OSObject *inOwner,
74 virtual bool init(OSObject *inOwner,
90 virtual int performAndFlush(OSObject *target = 0,
H A DIOEventSource.h41 #include <libkern/c++/OSObject.h>
54 @class IOEventSource : public OSObject
81 class IOEventSource : public OSObject
97 typedef void (*Action)(OSObject *owner, ...);
109 OSObject *owner;
138 of the action callout. Owner will generally be an OSObject it doesn't have to
150 virtual bool init(OSObject *owner, IOEventSource::Action action = 0);
H A DIOFilterInterruptEventSource.h63 typedef bool (*Filter)(OSObject *, IOFilterInterruptEventSource *);
71 virtual bool init(OSObject *inOwner,
77 interruptEventSource(OSObject *inOwner,
105 filterInterruptEventSource(OSObject *owner,
120 virtual bool init(OSObject *owner,
H A DIOSyncer.h31 #include <libkern/c++/OSObject.h>
37 class IOSyncer : public OSObject
H A DIORegistryEntry.h58 /*! @class IORegistryEntry : public OSObject
63 class IORegistryEntry : public OSObject
95 virtual OSObject * copyProperty( const char * aKey,
110 virtual OSObject * copyProperty( const OSString * aKey,
125 virtual OSObject * copyProperty( const OSSymbol * aKey,
165 typedef IOReturn (*Action)(OSObject *target,
179 virtual IOReturn runPropertyAction(Action action, OSObject *target,
271 virtual bool setProperty(const OSSymbol * aKey, OSObject * anObject);
280 virtual bool setProperty(const OSString * aKey, OSObject * anObject);
289 virtual bool setProperty(const char * aKey, OSObject * anObjec
[all...]
H A DIOConditionLock.h35 #include <libkern/c++/OSObject.h>
41 class IOConditionLock : public OSObject
H A DIODataQueue.h32 #include <libkern/c++/OSObject.h>
45 * @class IODataQueue : public OSObject
57 class IODataQueue : public OSObject
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/pwr_mgt/
H A DIOPMPowerSourceList.h28 #include <libkern/c++/OSObject.h>
33 class IOPMPowerSourceList : public OSObject
H A DIOPMinformeeList.h28 #include <libkern/c++/OSObject.h>
35 class IOPMinformeeList : public OSObject

Completed in 112 milliseconds

12345