Searched refs:oldSize (Results 1 - 5 of 5) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/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 | 268 int oldSize, newSize; local 280 oldSize = sizeof(dictEntry) * capacity; 282 bcopy(dictionary, newDict, oldSize); 283 bzero(&newDict[capacity], newSize - oldSize); 285 ACCUMSIZE(newSize - oldSize); 286 kfree(dictionary, oldSize);
|
H A D | OSMetaClass.cpp | 273 int oldSize = sStalled->capacity * sizeof(OSMetaClass *); local 274 int newSize = oldSize 285 memmove(sStalled->classes, oldStalled, oldSize); 286 kfree(oldStalled, oldSize); 287 ACCUMSIZE(newSize - oldSize);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | kern_sysctl.c | 414 size_t *oldSize, 423 return sysctl_rdint(oldBuf, oldSize, newBuf, 441 size_t *oldSize, 469 return sysctl_rdint(oldBuf, oldSize, newBuf, 526 size_t *oldSize, 536 if (oldSize) { 539 if (*oldSize < len) 545 *oldSize = len - 1; 410 sysctl_affinity( int *name, u_int namelen, user_addr_t oldBuf, size_t *oldSize, user_addr_t newBuf, __unused size_t newSize, proc_t cur_proc) argument 437 sysctl_translate( int *name, u_int namelen, user_addr_t oldBuf, size_t *oldSize, user_addr_t newBuf, __unused size_t newSize, proc_t cur_proc) argument 522 sysctl_exec_archhandler_ppc( __unused int *name, __unused u_int namelen, user_addr_t oldBuf, size_t *oldSize, user_addr_t newBuf, size_t newSize, proc_t p) argument
|
Completed in 86 milliseconds