Searched refs:oldSize (Results 1 - 4 of 4) sorted by relevance
/darwin-on-arm/xnu/libkern/c++/ |
H A D | OSArray.cpp | 190 int oldSize, newSize; local 202 oldSize = sizeof(const OSMetaClassBase *) * capacity; 204 ACCUMSIZE(newSize - oldSize); 206 bcopy(array, newArray, oldSize); 207 bzero(&newArray[capacity], newSize - oldSize); 208 kfree(array, oldSize);
|
H A D | OSOrderedSet.cpp | 128 int oldSize, newSize; local 140 oldSize = sizeof(_Element) * capacity; 142 ACCUMSIZE(newSize - oldSize); 144 bcopy(array, newArray, oldSize); 145 bzero(&newArray[capacity], newSize - oldSize); 146 kfree(array, oldSize);
|
H A D | OSDictionary.cpp | 279 int oldSize, newSize; local 291 oldSize = sizeof(dictEntry) * capacity; 293 bcopy(dictionary, newDict, oldSize); 294 bzero(&newDict[capacity], newSize - oldSize); 296 ACCUMSIZE(newSize - oldSize); 297 kfree(dictionary, oldSize);
|
H A D | OSMetaClass.cpp | 415 int oldSize = sStalled->capacity * sizeof(OSMetaClass *); local 416 int newSize = oldSize 427 memmove(sStalled->classes, oldStalled, oldSize); 428 kfree(oldStalled, oldSize); 429 ACCUMSIZE(newSize - oldSize);
|
Completed in 26 milliseconds