Home
last modified time | relevance | path

Searched refs:withCapacity (Results 1 – 25 of 64) sorted by relevance

123

/xnu-11215/iokit/Kernel/
H A DIOWorkloadConfig.cpp581 OSSharedPtr<OSArray> idTableFlags = OSArray::withCapacity(1); in unparseWorkloadIDConfigurationFlags()
664 serialize = OSSerialize::withCapacity(1); in IOUnparseWorkloadConfig()
669 dict = OSDictionary::withCapacity(1); in IOUnparseWorkloadConfig()
674 idTable = OSDictionary::withCapacity(1); in IOUnparseWorkloadConfig()
682 OSSharedPtr<OSDictionary> idDict = OSDictionary::withCapacity(1); in IOUnparseWorkloadConfig()
688 OSSharedPtr<OSDictionary> phase = OSDictionary::withCapacity(1); in IOUnparseWorkloadConfig()
696 OSSharedPtr<OSDictionary> phaseData = OSDictionary::withCapacity(1); in IOUnparseWorkloadConfig()
728 OSSharedPtr<OSArray> flags = OSArray::withCapacity(2); in IOUnparseWorkloadConfig()
770 OSSharedPtr<OSDictionary> root = OSDictionary::withCapacity(1); in IOUnparseWorkloadConfig()
811 OSSharedPtr<OSDictionary> plist = OSDictionary::withCapacity(1); in IOUnparseWorkloadConfig()
H A DIOCatalogue.cpp179 personalities = OSDictionary::withCapacity(32); in init()
225 set = OSOrderedSet::withCapacity( 1, IOServiceOrdering, in findDrivers()
271 set = OSOrderedSet::withCapacity( 1, IOServiceOrdering, in findDrivers()
310 set = OSOrderedSet::withCapacity(10, IOServiceOrdering, in exchangeDrivers()
426 set = OSOrderedSet::withCapacity( 10, IOServiceOrdering, in addDrivers()
514 set = OSOrderedSet::withCapacity(10,
984 dict = OSDictionary::withCapacity(1); in terminateDriversForModule()
1046 set = OSOrderedSet::withCapacity(10, IOServiceOrdering, in startMatching()
1094 set = OSOrderedSet::withCapacity(10, IOServiceOrdering, in startMatching()
1122 servicesToTerminate = OSArray::withCapacity(1); in startMatching()
[all …]
H A DIOReporter.cpp217 _channelNames = OSArray::withCapacity(1); in init()
992 channelIDs = OSArray::withCapacity((unsigned)_nChannels); in copyChannelIDs()
1038 channelLegendArray = OSArray::withCapacity(chCnt); in legendWith()
1041 tmpChannelArray = OSArray::withCapacity(3); in legendWith()
1070 channelInfoDict = OSDictionary::withCapacity(1); in legendWith()
1081 legendEntry = OSDictionary::withCapacity(1); in legendWith()
1106 channelIDsArray = OSArray::withCapacity(channelCount); in legendWith()
1107 channelNamesArray = OSArray::withCapacity(channelCount); in legendWith()
H A DPassthruInterruptController.cpp69 OSArray *specifier = OSArray::withCapacity(1); in setCPUInterruptProperties()
76 OSArray *controller = OSArray::withCapacity(1); in setCPUInterruptProperties()
H A DIODeviceMemory.cpp64 array = OSArray::withCapacity( count ); in arrayFromList()
H A DIODeviceTreeSupport.cpp166 gIODTPHandles = OSArray::withCapacity( 1 ); in IODeviceTreeAlloc()
167 gIODTPHandleMap = OSArray::withCapacity( 1 ); in IODeviceTreeAlloc()
263 gIODTSharedInterrupts = OSDictionary::withCapacity(4); in IODeviceTreeAlloc()
264 allInts = OSDictionary::withCapacity(4); in IODeviceTreeAlloc()
825 mapped = OSArray::withCapacity( 1 ); in IODTMapInterruptsSharing()
826 controllers = OSArray::withCapacity( 1 ); in IODTMapInterruptsSharing()
1045 result = OSSet::withCapacity( 3 ); in IODTFindMatchingEntries()
1404 array = OSArray::withCapacity( 1 ); in IODTResolveAddressing()
H A DIOService.cpp2154 copyArray = OSArray::withCapacity(1); in applyToInterestNotifiers()
4011 kexts = OSSet::withCapacity(1); in probeCandidates()
5067 set = OSSet::withCapacity( 1 ); in addNeededResource()
5727 leaves = OSOrderedSet::withCapacity(4); in waitQuietWithOptions()
6315 set = OSOrderedSet::withCapacity( 1, in setNotification()
6725 willSend = OSArray::withCapacity(8); in copyNotifiers()
6765 table = OSDictionary::withCapacity( 2 ); in serviceMatching()
6824 table = OSDictionary::withCapacity( 2 ); in nameMatching()
6947 table = OSDictionary::withCapacity( 2 ); in propertyMatching()
6984 table = OSDictionary::withCapacity( 2 ); in registryEntryIDMatching()
[all …]
H A DIOCPU.cpp74 gIOCPUs = OSArray::withCapacity(1); in IOCPUInitialize()
660 specifier = OSArray::withCapacity(numSources); in setCPUInterruptProperties()
668 controller = OSArray::withCapacity(numSources); in setCPUInterruptProperties()
/xnu-11215/iokit/Tests/
H A DTestCollections.cpp48 array1 = OSArray::withCapacity(1); in testArray()
64 array1 = OSArray::withCapacity(1); in testArray()
134 array2 = OSArray::withCapacity(1); in testArray()
199 array2 = OSArray::withCapacity(1); in testArray()
302 set1 = OSSet::withCapacity(1); in testSet()
318 set1 = OSSet::withCapacity(1); in testSet()
440 set1 = OSSet::withCapacity(numStrCache); in testSet()
518 dict1 = OSDictionary::withCapacity(1); in testDictionary()
534 dict1 = OSDictionary::withCapacity(1); in testDictionary()
676 dict1 = OSDictionary::withCapacity(1); in testDictionary()
[all …]
H A DTests.cpp852 OSSharedPtr<OSArray> array = OSArray::withCapacity(8); in OSCollectionTest()
894 dict = OSDictionary::withCapacity(4); in OSCollectionTest()
1045 static OSSharedPtr<OSArraySubclass> withCapacity(unsigned int inCapacity);
1052 OSArraySubclass::withCapacity(unsigned int inCapacity) in withCapacity() function in OSArraySubclass
1095 OSSharedPtr<OSArray> array = OSArray::withCapacity(0); in OSCollectionIteratorTests()
1579 OSSharedPtr<OSDictionary> dict = OSDictionary::withCapacity(0); in IOUserNotificationTestThread()
1788 value = OSDictionary::withCapacity(4); in IOServiceStateNotificationTests()
1798 OSSharedPtr<OSArray> array = OSArray::withCapacity(4); in IOServiceStateNotificationTests()
1807 OSSharedPtr<OSSerialize> s = OSSerialize::withCapacity(4096); in IOServiceStateNotificationTests()
1824 OSSharedPtr<OSSerialize> s = OSSerialize::withCapacity(4096); in IOServiceStateNotificationTests()
[all …]
H A DTestContainers.cpp130 test1 = OSData::withCapacity(DATA_SIZE_1); in testData()
142 test1 = OSData::withCapacity(DATA_SIZE_1); in testData()
159 test1 = OSData::withCapacity(DATA_SIZE_1); in testData()
208 test1 = OSData::withCapacity(DATA_SIZE_4); in testData()
/xnu-11215/libkern/c++/Tests/TestSerialization/test2/
H A Dtest2_main.cpp137 OSSerialize *s = OSSerialize::withCapacity(5); in test2_start()
152 OSSerialize *s2 = OSSerialize::withCapacity(5); in test2_start()
/xnu-11215/libkern/c++/
H A DOSSet.cpp63 members = OSArray::withCapacity(inCapacity); in initWithCapacity()
122 OSSet::withCapacity(unsigned int capacity) in withCapacity() function in OSSet
430 ourCycleDict = OSDictionary::withCapacity(16); in copyCollection()
443 newSet = OSSet::withCapacity(members->capacity); in copyCollection()
H A DOSOrderedSet.cpp88 withCapacity(unsigned int capacity, in withCapacity() function in OSOrderedSet
112 OSOrderedSet::withCapacity(unsigned int capacity, OSOrderBlock ordering) in withCapacity() function in OSOrderedSet
468 ourCycleDict = OSDictionary::withCapacity(16); in copyCollection()
483 newSet = OSOrderedSet::withCapacity(capacity, ordering, orderingRef); in copyCollection()
H A DOSUnserialize.y537 OSDictionary *d = OSDictionary::withCapacity(count); in buildOSDictionary()
574 OSArray *a = OSArray::withCapacity(count); in buildOSArray()
614 d = OSData::withCapacity(0); in buildOSData()
662 tags = OSDictionary::withCapacity(128); in OSUnserialize()
H A DOSSerializeBinary.cpp59 me = OSSerialize::withCapacity(inCapacity); in binaryWithCapacity()
108 indexData = OSData::withCapacity(256); in setIndexed()
433 o = newDict = OSDictionary::withCapacity(len); in OSUnserializeBinary()
438 o = newArray = OSArray::withCapacity(len); in OSUnserializeBinary()
443 o = newSet = OSSet::withCapacity(len); in OSUnserializeBinary()
H A DOSSerialize.cpp209 tags = OSArray::withCapacity(256); in initWithCapacity()
244 OSSerialize::withCapacity(unsigned int inCapacity) in withCapacity() function in OSSerialize
H A DOSArray.cpp125 OSArray::withCapacity(unsigned int capacity) in withCapacity() function in OSArray
501 ourCycleDict = OSDictionary::withCapacity(16); in copyCollection()
/xnu-11215/libkern/libkern/c++/
H A DOSOrderedSet.h190 static OSPtr<OSOrderedSet> withCapacity(
195 static OSPtr<OSOrderedSet> withCapacity(
H A DOSSet.h143 static OSPtr<OSSet> withCapacity(unsigned int capacity);
H A DOSArray.h151 static OSPtr<OSArray> withCapacity(unsigned int capacity);
/xnu-11215/libkern/c++/Tests/TestSerialization/test1/
H A Dtest1_main.cpp77 OSSerialize *s = OSSerialize::withCapacity(5); in test1_start()
/xnu-11215/iokit/IOKit/
H A DIOInterleavedMemoryDescriptor.h63 static OSPtr<IOInterleavedMemoryDescriptor> withCapacity( IOByteCount capacity,
H A DIODataQueue.h100 static OSPtr<IODataQueue> withCapacity(UInt32 size __xnu_data_size);
H A DIOSharedDataQueue.h91 static OSPtr<IOSharedDataQueue> withCapacity(UInt32 size __xnu_data_size);

123