Home
last modified time | relevance | path

Searched refs:OSCollection (Results 1 – 25 of 28) sorted by relevance

12

/xnu-11215/libkern/c++/
H A DOSCollection.cpp44 OSMetaClassDefineReservedUsedX86(OSCollection, 0);
46 OSMetaClassDefineReservedUnused(OSCollection, 2);
47 OSMetaClassDefineReservedUnused(OSCollection, 3);
48 OSMetaClassDefineReservedUnused(OSCollection, 4);
49 OSMetaClassDefineReservedUnused(OSCollection, 5);
50 OSMetaClassDefineReservedUnused(OSCollection, 6);
51 OSMetaClassDefineReservedUnused(OSCollection, 7);
54 OSCollection::init() in init()
66 OSCollection::haveUpdated() in haveUpdated()
90 OSSharedPtr<OSCollection>
[all …]
H A DOSOrderedSet.cpp37 #define super OSCollection
39 OSDefineMetaClassAndStructors(OSOrderedSet, OSCollection)
450 OSCollection *coll = OSDynamicCast(OSCollection, array[i].obj.get()); in setOptions()
460 OSSharedPtr<OSCollection>
464 OSSharedPtr<OSCollection> ret; in copyCollection()
496 OSCollection *coll = OSDynamicCast(OSCollection, obj); in copyCollection()
498 OSSharedPtr<OSCollection> newColl = coll->copyCollection(cycleDict); in copyCollection()
H A DOSArray.cpp42 #define super OSCollection
44 OSDefineMetaClassAndStructorsWithZone(OSArray, OSCollection,
483 OSCollection *coll = OSDynamicCast(OSCollection, array[i].get()); in setOptions()
493 OSSharedPtr<OSCollection>
497 OSSharedPtr<OSCollection> ret; in copyCollection()
524 OSCollection *coll = in copyCollection()
525 OSDynamicCast(OSCollection, static_cast<OSObject *>( in copyCollection()
530 OSSharedPtr<OSCollection> newColl = coll->copyCollection(cycleDict); in copyCollection()
H A DOSDictionary.cpp43 #define super OSCollection
45 OSDefineMetaClassAndStructorsWithZone(OSDictionary, OSCollection,
386 OSTaggedSharedPtr<const OSMetaClassBase, OSCollection> oldObject; in setObject()
467 oldEntry.key->taggedRelease(OSTypeID(OSCollection)); in removeObject()
468 oldEntry.value->taggedRelease(OSTypeID(OSCollection)); in removeObject()
590 OSDictionary::isEqualTo(const OSDictionary *srcDict, const OSCollection *keys) const in setObject()
763 OSCollection *v = OSDynamicCast(OSCollection, dictionary[i].value.get()); in setOptions()
777 OSSharedPtr<OSCollection>
781 OSSharedPtr<OSCollection> ret; in copyCollection()
809 …OSTaggedSharedPtr<OSCollection, OSCollection> coll(OSDynamicCast(OSCollection, EXT_CAST(obj)), OSN… in copyCollection()
[all …]
H A DOSSet.cpp40 #define super OSCollection
42 OSDefineMetaClassAndStructorsWithZone(OSSet, OSCollection,
422 OSSharedPtr<OSCollection>
426 OSSharedPtr<OSCollection> ret; in copyCollection()
456 OSCollection *coll = OSDynamicCast(OSCollection, obj); in copyCollection()
458 OSSharedPtr<OSCollection> newColl = coll->copyCollection(cycleDict); in copyCollection()
H A DOSObject.cpp116 if ((const void *) OSTypeID(OSCollection) == tag) { in taggedTryRetain()
175 if ((const void *) OSTypeID(OSCollection) == tag) { in taggedRelease()
443 OSCollection * col; in iterateObjects()
444 if ((col = OSDynamicCast(OSCollection, this))) { in iterateObjects()
453 OSCollection * col;
454 if ((col = OSDynamicCast(OSCollection, this))) {
H A DOSCollectionIterator.cpp43 OSCollectionIterator::initWithCollection(const OSCollection *inColl) in OSDefineMetaClassAndStructors()
58 OSCollectionIterator::withCollection(const OSCollection *inColl) in withCollection()
H A DOSMetaClass.cpp844 sAllClassesDict->setOptions(OSCollection::kSort, OSCollection::kSort); in postModLoad()
1194 OSMetaClass::removeClasses(OSCollection * metaClasses) in removeClasses()
/xnu-11215/libkern/libkern/c++/
H A DOSCollection.h37 class OSCollection; variable
39 typedef OSCollection* OSCollectionPtr;
94 class OSCollection : public OSObject
98 OSDeclareAbstractStructors(OSCollection);
504 OSMetaClassDeclareReservedUsedX86(OSCollection, 0);
506 OSMetaClassDeclareReservedUnused(OSCollection, 2);
507 OSMetaClassDeclareReservedUnused(OSCollection, 3);
508 OSMetaClassDeclareReservedUnused(OSCollection, 4);
509 OSMetaClassDeclareReservedUnused(OSCollection, 5);
510 OSMetaClassDeclareReservedUnused(OSCollection, 6);
[all …]
H A DOSCollectionIterator.h112 OSPtr<const OSCollection> collection;
177 static OSPtr<OSCollectionIterator> withCollection(const OSCollection * inColl);
196 virtual bool initWithCollection(const OSCollection * inColl);
H A DOSArray.h93 class OSArray : public OSCollection
101 typedef OSTaggedSharedPtr<const OSMetaClassBase, OSCollection> ArraySharedPtrType;
744 OSPtr<OSCollection> copyCollection(OSDictionary * cycleDict = NULL) APPLE_KEXT_OVERRIDE;
H A DOSDictionary.h119 class OSDictionary : public OSCollection
834 const OSCollection * keys) const;
945 OSPtr<OSCollection> copyCollection(OSDictionary * cycleDict = NULL) APPLE_KEXT_OVERRIDE;
H A DOSPtr.h82 class OSCollection; // Forward declare only because OSCollection.h needs OSPtr.h variable
85 using OSTaggedPtr = OSTaggedSharedPtr<T, OSCollection>;
H A DOSSet.h90 class OSSet : public OSCollection
786 OSPtr<OSCollection> copyCollection(OSDictionary *cycleDict = NULL) APPLE_KEXT_OVERRIDE;
H A DOSSerialize.h36 class OSCollection; variable
109 OSCollection * container,
H A DOSOrderedSet.h99 class OSOrderedSet : public OSCollection
779 OSPtr<OSCollection> copyCollection(OSDictionary * cycleDict = NULL) APPLE_KEXT_OVERRIDE;
H A DMakefile17 OSCollection.h \
H A DOSMetaClass.h142 class OSCollection; variable
1503 static bool removeClasses(OSCollection * metaClasses);
/xnu-11215/iokit/Tests/
H A DTests.cpp1075 static OSSharedPtr<OSCISubclass> withCollection(const OSCollection * inColl);
1081 OSCISubclass::withCollection(const OSCollection * inColl) in withCollection()
1453 OSSharedPtr<OSCollection> collection = OSStaticPtrCast<OSCollection>(dict); in OSStaticPtrCastTests()
1458 OSSharedPtr<OSCollection> collection = OSStaticPtrCast<OSCollection>(dict); in OSStaticPtrCastTests()
1465 …__assert_only OSSharedPtr<OSCollection> collection = OSStaticPtrCast<OSCollection>(os::move(dict)); in OSStaticPtrCastTests()
1471 OSSharedPtr<OSCollection> collection = OSStaticPtrCast<OSCollection>(os::move(dict)); in OSStaticPtrCastTests()
1523 OSSharedPtr<OSCollection> collection = OSDynamicPtrCast<OSCollection>(dict); in OSDynamicPtrCastTests()
1532 OSTaggedSharedPtr<OSCollection, OSCollection> taggedDict(dict.get(), OSRetain); in OSDynamicPtrCastTests()
1533 …OSTaggedSharedPtr<OSCollection, OSCollection> collection = OSDynamicPtrCast<OSCollection>(taggedDi… in OSDynamicPtrCastTests()
1537 OSTaggedSharedPtr<OSCollection, OSCollection> taggedDict(dict.get(), OSRetain); in OSDynamicPtrCastTests()
[all …]
/xnu-11215/iokit/Kernel/
H A DIORegistryEntry.cpp305 if (OSCollection::kImmutable & dict->setOptions(0, 0)) { in init()
548 OSCollection *snapshotProperties = getPropertyTable()->copyCollection(); in serializeProperties()
766 OSCollection *coll = OSDynamicCast(OSCollection, anObject); in setProperty()
771 coll->setOptions( OSCollection::kMASK, OSCollection::kImmutable ); in setProperty()
1196 OSCollection * collection; in compareNames()
1200 if ((collection = OSDynamicCast( OSCollection, names))) { in compareNames()
2126 OSCollection *coll = in attachToParent()
2127 OSDynamicCast( OSCollection, ptable->getObject( key )); in attachToParent()
2131 coll->setOptions( OSCollection::kMASK, in attachToParent()
2132 OSCollection::kImmutable ); in attachToParent()
H A DIOCatalogue.cpp180 personalities->setOptions(OSCollection::kSort, OSCollection::kSort); in init()
H A DIOUserClient.cpp239 obj->taggedRetain(OSTypeID(OSCollection)); in withObjectAndType()
282 obj->taggedRelease(OSTypeID(OSCollection)); in noMoreSendersForObject()
332 obj->taggedRelease(OSTypeID(OSCollection)); in releasePortForObject()
369 obj->taggedRelease(OSTypeID(OSCollection)); in destroyUserReferences()
375 uc->mappings->taggedRetain(OSTypeID(OSCollection)); in destroyUserReferences()
3817 OSCollection * root;
3823 OSCollection * container, in GetPropertiesEditor()
/xnu-11215/libkern/conf/
H A DMakefile.template94 OSCollection.cpo_CXXWARNFLAGS_ADD += -Wno-sign-conversion
H A Dfiles24 libkern/c++/OSCollection.cpp optional libkerncpp
/xnu-11215/iokit/IOKit/
H A DIOService.h1200 OSCollection * keys );

12