Lines Matching refs:malloc
23 #include <malloc/malloc.h>
28 #include <malloc.h>
109 // The following code tests the system implementation of malloc() thus no need
113 // The Mavericks malloc library changed in a way which breaks the tricks used
130 buf = malloc(std::numeric_limits<size_t>::max() - (2 * PAGE_SIZE) - 1);
144 // On 64 bit Macs, the malloc system automatically abort()s on heap corruption
148 // AddressSanitizer replaces malloc() and prints a different error message on
151 "was not malloc\\(\\)-ed");
229 value_ = malloc(test_size_);
273 // This tests that the run-time symbol resolution is overriding malloc for
405 // UncheckedMalloc() and UncheckedCalloc() work as regular malloc()/calloc()
410 // The Mavericks malloc library changed in a way which breaks the tricks used
412 // 32-bit. The 64-bit malloc library works as desired without tricks.
426 // The Mavericks malloc library changed in a way which breaks the tricks used
428 // 32-bit. The 64-bit malloc library works as desired without tricks.