Lines Matching refs:Instance
524 static Allocator Instance(LINKER_INITIALIZED);
527 return Instance.BackendAllocator; in getAllocator()
531 Instance.init(Options); in initAllocator()
535 Instance.drainQuarantine(); in drainQuarantine()
539 return Instance.allocate(Size, Allocator::MinAlignment, Type); in scudoMalloc()
543 Instance.deallocate(Ptr, 0, Type); in scudoFree()
547 Instance.deallocate(Ptr, Size, Type); in scudoSizedFree()
552 return Instance.allocate(Size, Allocator::MinAlignment, FromMalloc); in scudoRealloc()
554 Instance.deallocate(Ptr, 0, FromMalloc); in scudoRealloc()
557 return Instance.reallocate(Ptr, Size); in scudoRealloc()
561 return Instance.calloc(NMemB, Size); in scudoCalloc()
565 return Instance.allocate(Size, GetPageSizeCached(), FromMemalign); in scudoValloc()
569 return Instance.allocate(Size, Alignment, FromMemalign); in scudoMemalign()
579 return Instance.allocate(Size, PageSize, FromMemalign); in scudoPvalloc()
583 *MemPtr = Instance.allocate(Size, Alignment, FromMemalign); in scudoPosixMemalign()
592 return Instance.allocate(Size, Alignment, FromMalloc); in scudoAlignedAlloc()
596 return Instance.getUsableSize(Ptr); in scudoMallocUsableSize()
630 return Instance.getUsableSize(p) != 0; in __sanitizer_get_ownership()
634 return Instance.getUsableSize(p); in __sanitizer_get_allocated_size()