Home | History | Annotate | Download | only in wtf

Lines Matching refs:old_ptr

3493 void* fastRealloc(void* old_ptr, size_t new_size)
3495 if (old_ptr == NULL) {
3499 free(old_ptr);
3504 const PageID p = reinterpret_cast<uintptr_t>(old_ptr) >> kPageShift;
3525 memcpy(new_ptr, old_ptr, ((old_size < new_size) ? old_size : new_size));
3527 // that we already know the sizeclass of old_ptr. The benefit
3529 do_free(old_ptr);
3532 return old_ptr;