Searched refs:OSArray (Results 1 - 25 of 42) sorted by relevance

12

/darwin-on-arm/xnu/libkern/libkern/c++/
H A DOSArray.h42 * This header declares the OSArray collection class.
47 * @class OSArray
50 * OSArray provides an indexed store of objects.
53 * OSArray is a container for Libkern C++ objects
68 * OSArray retains objects added to it,
70 * An OSArray also grows as necessary to accommodate new objects,
81 * OSArray provides no concurrency protection;
88 class OSArray : public OSCollection class in inherits:OSCollection
92 OSDeclareDefaultStructors(OSArray)
116 * Creates and initializes an empty OSArray
[all...]
H A DOSSet.h36 class OSArray;
90 OSArray * members;
172 * populated with the contents of an OSArray.
200 const OSArray * array,
219 * An instance of OSArray
307 * populated with the contents of an OSArray.
338 const OSArray * array,
535 * Adds the contents of an OSArray to the set.
537 * @param array The OSArray object containing the objects to be added.
556 virtual bool merge(const OSArray * arra
[all...]
H A DOSContainers.h40 #include <libkern/c++/OSArray.h>
H A DOSKext.h215 OSArray * dependencies; // kernel resource does not have any;
350 OSArray * loopStack = NULL); // priv/prot
351 virtual bool addBleedthroughDependencies(OSArray * anArray);
354 virtual OSArray * getDependencies(void);
374 OSArray * logInfoArray,
383 OSArray * personalityNames = NULL); // priv/prot
413 static OSArray * copyAllKextPersonalities(
416 static void setPrelinkedPersonalities(OSArray * personalitiesArray);
422 OSArray * personalityNames = NULL);
437 OSArray * kextIdentifier
[all...]
H A DMakefile24 OSArray.h \
/darwin-on-arm/xnu/libkern/c++/
H A DOSArray.cpp32 #include <libkern/c++/OSArray.h>
39 OSDefineMetaClassAndStructors(OSArray, OSCollection)
40 OSMetaClassDefineReservedUnused(OSArray, 0);
41 OSMetaClassDefineReservedUnused(OSArray, 1);
42 OSMetaClassDefineReservedUnused(OSArray, 2);
43 OSMetaClassDefineReservedUnused(OSArray, 3);
44 OSMetaClassDefineReservedUnused(OSArray, 4);
45 OSMetaClassDefineReservedUnused(OSArray, 5);
46 OSMetaClassDefineReservedUnused(OSArray, 6);
47 OSMetaClassDefineReservedUnused(OSArray,
[all...]
H A DOSSet.cpp31 #include <libkern/c++/OSArray.h>
55 members = OSArray::withCapacity(inCapacity);
89 bool OSSet::initWithArray(const OSArray *inArray,
131 OSSet *OSSet::withArray(const OSArray *array,
207 bool OSSet::merge(const OSArray * array)
382 OSArray *newMembers = newSet->members;
H A DOSObject.cpp31 #include <libkern/c++/OSArray.h>
262 OSArray * OSFlushObjectTrackList(void)
264 OSArray * array;
267 array = OSArray::withCapacity(16);
H A DOSCollectionIterator.cpp32 #include <libkern/c++/OSArray.h>
/darwin-on-arm/xnu/iokit/IOKit/
H A DIOCatalogue.h41 #include <libkern/c++/OSArray.h>
63 OSArray * arrayForPersonality(OSDictionary * dict);
78 bool init( OSArray * initArray );
111 bool addDrivers( OSArray * array, bool doNubMatching = true );
210 bool resetAndAddDrivers(OSArray * drivers, bool doNubMatching = true);
H A DIODeviceMemory.h63 @abstract Constructs an OSArray of IODeviceMemory instances, each describing one physical range, and a tag value.
64 @discussion This method creates IODeviceMemory instances for each physical range passed in an IODeviceMemory::InitElement array. Each element consists of a physical address, length and tag value for the IODeviceMemory. The instances are returned as a created OSArray.
67 @result Returns a created OSArray of IODeviceMemory objects, to be released by the caller, or zero on failure. */
69 static OSArray * arrayFromList(
H A DIOCPU.h63 OSArray *_cpuGroup;
96 virtual OSArray *getCPUGroup(void);
H A DIODeviceTreeSupport.h91 OSArray * IODTResolveAddressing( IORegistryEntry * regEntry,
H A DIORegistryEntry.h649 @param name The name or names to compare with as any OSCollection (eg. OSArray, OSSet, OSDictionary) of OSStrings, or a single name may be passed an OSString.
801 inline bool arrayMember( OSArray * set,
813 OSArray * getParentSetReference( const IORegistryPlane * plane )
817 OSArray * getChildSetReference( const IORegistryPlane * plane )
/darwin-on-arm/xnu/iokit/Kernel/
H A DIODeviceMemory.cpp53 OSArray * IODeviceMemory::arrayFromList(
57 OSArray * array;
61 array = OSArray::withCapacity( count );
H A DIOCatalogue.cpp90 OSArray * array;
96 array = OSDynamicCast(OSArray, OSUnserialize(gIOKernelConfigTables, &errorString));
120 OSArray * IOCatalogue::arrayForPersonality(OSDictionary * dict)
127 return ((OSArray *) personalities->getObject(sym));
133 OSArray * arr;
137 arr = (OSArray *) personalities->getObject(sym);
141 arr = OSArray::withObjects((const OSObject **)&dict, 1, 2);
150 bool IOCatalogue::init(OSArray * initArray)
201 OSArray * array;
215 array = (OSArray *) personalitie
[all...]
H A DIODeviceTreeSupport.cpp56 static OSArray * gIODTPHandles;
57 static OSArray * gIODTPHandleMap;
94 OSArray * stack;
132 gIODTPHandles = OSArray::withCapacity( 1 );
133 gIODTPHandleMap = OSArray::withCapacity( 1 );
152 stack = OSArray::withObjects( (const OSObject **) &parent, 1, 10 );
226 OSArray *
227 array = OSDynamicCast(OSArray, child->getProperty( gIOInterruptSpecifiersKey ));
609 OSArray * controllers;
610 OSArray * specifier
[all...]
H A DIORegistryEntry.cpp324 OSArray * all;
886 OSArray * stack;
926 stack = OSArray::withCapacity( getDepth( plane ));
1067 OSArray * set;
1301 inline bool IORegistryEntry::arrayMember( OSArray * set,
1322 OSArray * links;
1325 if( (links = (OSArray *)
1334 links = OSArray::withObjects( (const OSObject **) &to, 1, 1 );
1350 OSArray * links;
1353 if( (links = (OSArray *)
[all...]
H A DIOHibernateInternal.h67 class OSArray * pollers;
H A DIORangeAllocator.cpp37 #include <libkern/c++/OSArray.h>
334 OSArray * array = OSArray::withCapacity( numElements * 2 );
H A DIOServicePMPrivate.h291 // OSArray which manages responses from notified apps and clients.
292 OSArray * ResponseArray;
293 OSArray * NotifyClientArray;
306 OSArray * NotifyChildArray;
492 OSArray * responseArray;
493 OSArray * notifyClients;
H A DIOCPU.cpp301 static OSArray *gIOCPUs;
418 gIOCPUs = OSArray::withCapacity(1);
574 OSArray *IOCPU::getCPUGroup(void)
653 OSArray *controller;
654 OSArray *specifier;
663 specifier = OSArray::withCapacity(numCPUs);
672 controller = OSArray::withCapacity(numCPUs);
/darwin-on-arm/xnu/iokit/Drivers/KernelBuiltIn/ARM/AppleARMPlatform/
H A DIOCPU.h62 OSArray * _cpuGroup;
95 virtual OSArray *getCPUGroup(void);
/darwin-on-arm/xnu/iokit/Tests/
H A DTestCollections.cpp31 #include <libkern/c++/OSArray.h>
44 OSArray *array1, *array2;
47 array1 = OSArray::withCapacity(1);
60 array1 = OSArray::withCapacity(1);
88 // Check the creation of a sizable OSArray from an array of IOObjects
93 array1 = OSArray::withObjects(cache, numStrCache, numStrCache);
120 array1 = OSArray::withObjects(cache, numStrCache, numStrCache);
126 array2 = OSArray::withCapacity(1);
155 array2 = OSArray::withArray(array1, numStrCache - 1);
157 array2 = OSArray
[all...]
/darwin-on-arm/xnu/libsa/
H A Dbootstrap.cpp214 OSArray * infoDictArray = NULL; // do not release
403 infoDictArray = OSDynamicCast(OSArray,
891 OSArray * builtinExtensions = NULL; // do not release
892 OSArray * allPersonalities = NULL; // must release
919 builtinExtensions = OSDynamicCast(OSArray, parsedXML);
938 allPersonalities = OSArray::withCapacity(count * 3);

Completed in 119 milliseconds

12