Home
last modified time | relevance | path

Searched refs:newArray (Results 1 – 4 of 4) sorted by relevance

/xnu-11215/libkern/c++/
H A DOSArray.cpp207 ArraySharedPtrType *newArray; in ensureCapacity() local
223 newArray = kreallocp_type_container(ArrayPtrType, array, in ensureCapacity()
225 if (newArray) { in ensureCapacity()
227 array = newArray; in ensureCapacity()
498 OSSharedPtr<OSArray> newArray; in copyCollection() local
515 newArray = OSArray::withArray(this); in copyCollection()
516 if (!newArray) { in copyCollection()
521 cycleDict->setObject((const OSSymbol *) this, newArray.get()); in copyCollection()
527 newArray->array[i].get()))); in copyCollection()
535 newArray->replaceObject(i, newColl.get()); in copyCollection()
[all …]
H A DOSOrderedSet.cpp162 _Element *newArray; in ensureCapacity() local
176 newArray = kreallocp_type_container(_Element, array, in ensureCapacity()
178 if (newArray) { in ensureCapacity()
180 array = newArray; in ensureCapacity()
H A DOSSerializeBinary.cpp365 OSArray * newArray; in OSUnserializeBinary() local
429 o = NULL; newDict = NULL; newArray = NULL; newSet = NULL; in OSUnserializeBinary()
438 o = newArray = OSArray::withCapacity(len); in OSUnserializeBinary()
593 array = newArray; in OSUnserializeBinary()
/xnu-11215/iokit/Kernel/
H A DIOService.cpp8782 IOInterruptAccountingReporter * newArray = NULL; in addInterruptStatistics() local
8838 newArray = IONew(IOInterruptAccountingReporter, newArraySize); in addInterruptStatistics()
8840 assert(newArray); in addInterruptStatistics()
8846 bzero(newArray, newArraySize * sizeof(*newArray)); in addInterruptStatistics()
8847 …memcpy(newArray, reserved->interruptStatisticsArray, reserved->interruptStatisticsArrayCount * siz… in addInterruptStatistics()
8849 reserved->interruptStatisticsArray = newArray; in addInterruptStatistics()