reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
496 void *NewPtr = allocate(NewSize, MinAlignment, FromMalloc); 498 memcpy(NewPtr, OldPtr, (NewSize < OldSize) ? NewSize : OldSize); 498 memcpy(NewPtr, OldPtr, (NewSize < OldSize) ? NewSize : OldSize); 520 if (NewSize <= UsableSize && 521 (UsableSize - NewSize) < (SizeClassMap::kMaxSize / 2)) { 524 OldHeader.ClassId ? NewSize : UsableSize - NewSize; 524 OldHeader.ClassId ? NewSize : UsableSize - NewSize; 530 void *NewPtr = allocate(NewSize, MinAlignment, FromMalloc); 534 memcpy(NewPtr, OldPtr, Min(NewSize, UsableSize));