Lines Matching refs:instance
649 static Allocator instance(LINKER_INITIALIZED);
652 return instance.allocator;
680 instance.Initialize(options);
684 instance.ReInitialize(options);
688 instance.GetOptions(options);
692 return instance.FindHeapChunkByAddress(addr);
696 instance.CommitBack(this);
700 instance.PrintStats();
705 return instance.Allocate(size, alignment, stack, alloc_type, true);
709 instance.Deallocate(ptr, 0, stack, alloc_type);
714 instance.Deallocate(ptr, size, stack, alloc_type);
718 return instance.Allocate(size, 8, stack, FROM_MALLOC, true);
722 return instance.Calloc(nmemb, size, stack);
727 return instance.Allocate(size, 8, stack, FROM_MALLOC, true);
729 instance.Deallocate(p, 0, stack, FROM_MALLOC);
732 return instance.Reallocate(p, size, stack);
736 return instance.Allocate(size, GetPageSizeCached(), stack, FROM_MALLOC, true);
746 return instance.Allocate(size, PageSize, stack, FROM_MALLOC, true);
751 void *ptr = instance.Allocate(size, alignment, stack, FROM_MALLOC, true);
759 uptr usable_size = instance.AllocationSize(reinterpret_cast<uptr>(ptr));
768 return instance.AllocationSize(reinterpret_cast<uptr>(ptr));
772 instance.ForceLock();
776 instance.ForceUnlock();
780 instance.allocator.SetRssLimitIsExceeded(exceeded);
802 __asan::AsanChunk *m = __asan::instance.GetAsanChunkByAddrFastLocked(addr);
816 __asan::AsanChunk *m = __asan::instance.GetAsanChunkByAddrFastLocked(chunk);
856 __asan::AsanChunk *m = __asan::instance.GetAsanChunkByAddr(addr);
880 return instance.AllocationSize(ptr) > 0;
886 uptr allocated_size = instance.AllocationSize(ptr);