Lines Matching full:malloc
16 #include <malloc/malloc.h>
37 #include "third_party/apple_apsl/malloc.h"
493 // === C malloc/calloc/valloc/realloc/posix_memalign ===
561 // http://opensource.apple.com/source/Libc/Libc-583/gen/malloc.c ).
609 // http://opensource.apple.com/source/Libc/Libc-583/gen/malloc.c ).
729 // === C malloc/calloc/valloc/realloc/posix_memalign ===
734 // http://opensource.apple.com/source/Libc/Libc-583/gen/malloc.c for details).
777 g_old_malloc = default_zone->malloc;
784 default_zone->malloc = oom_killer_malloc;
798 g_old_malloc_purgeable = purgeable_zone->malloc;
806 purgeable_zone->malloc = oom_killer_malloc_purgeable;
829 // batch_malloc is omitted because the default malloc zone's implementation
842 // system's malloc implementation. It's unlikely that anyone's even heard of
847 // Yes, operator new does call through to malloc, but this will catch failures
848 // that our imperfect handling of malloc cannot.