Lines Matching refs:Realloc
443 // Change the size of the realloc, remaining inside the same bucket.
451 // Change the size of the realloc, switching buckets.
454 // Check that the realloc copied correctly.
459 // source of the realloc. The condition can be detected by a trashing of
464 // The realloc moved. To check that the old allocation was freed, we can
471 // Downsize the realloc.
479 // Upsize the realloc to outside the partition.
487 // Upsize and downsize the realloc, remaining outside the partition.
499 // Downsize the realloc to inside the partition.
660 // Test the realloc() contract.
661 TEST(PartitionAllocTest, Realloc)
665 // realloc(0, size) should be equivalent to malloc().
669 // realloc(ptr, 0) should be equivalent to free().
674 // Test that growing an allocation with realloc() copies everything from the
689 // Test that shrinking an allocation with realloc() also copies everything