Helios Engine
A modular ECS based data-oriented C++23 game engine framework
Loading...
Searching...
No Matches
global_alloc.cpp File Reference
#include <helios/memory/details/profile.hpp>
#include <cstddef>
#include <cstdlib>
#include <new>

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{global_alloc.cpp}

Macros

#define HELIOS_GLOBAL_ALLOC_KEEP

Functions

void * anonymous_namespace{global_alloc.cpp}::RawAlloc (size_t size) noexcept
void * anonymous_namespace{global_alloc.cpp}::RawAlignedAlloc (size_t size, std::align_val_t alignment) noexcept
void anonymous_namespace{global_alloc.cpp}::RawFree (void *ptr) noexcept
void anonymous_namespace{global_alloc.cpp}::RawAlignedFree (void *ptr) noexcept
void anonymous_namespace{global_alloc.cpp}::ProfileAlloc (const void *ptr, size_t size) noexcept
void anonymous_namespace{global_alloc.cpp}::ProfileFree (const void *ptr) noexcept
HELIOS_GLOBAL_ALLOC_KEEP void * operator new (size_t size)
HELIOS_GLOBAL_ALLOC_KEEP void * operator new[] (size_t size)
HELIOS_GLOBAL_ALLOC_KEEP void * operator new (size_t size, const std::nothrow_t &) noexcept
HELIOS_GLOBAL_ALLOC_KEEP void * operator new[] (size_t size, const std::nothrow_t &) noexcept
HELIOS_GLOBAL_ALLOC_KEEP void operator delete (void *ptr) noexcept
HELIOS_GLOBAL_ALLOC_KEEP void operator delete[] (void *ptr) noexcept
HELIOS_GLOBAL_ALLOC_KEEP void operator delete (void *ptr, size_t) noexcept
HELIOS_GLOBAL_ALLOC_KEEP void operator delete[] (void *ptr, size_t) noexcept
HELIOS_GLOBAL_ALLOC_KEEP void operator delete (void *ptr, const std::nothrow_t &) noexcept
HELIOS_GLOBAL_ALLOC_KEEP void operator delete[] (void *ptr, const std::nothrow_t &) noexcept
HELIOS_GLOBAL_ALLOC_KEEP void * operator new (size_t size, std::align_val_t alignment)
HELIOS_GLOBAL_ALLOC_KEEP void * operator new[] (size_t size, std::align_val_t alignment)
HELIOS_GLOBAL_ALLOC_KEEP void * operator new (size_t size, std::align_val_t alignment, const std::nothrow_t &) noexcept
HELIOS_GLOBAL_ALLOC_KEEP void * operator new[] (size_t size, std::align_val_t alignment, const std::nothrow_t &) noexcept
HELIOS_GLOBAL_ALLOC_KEEP void operator delete (void *ptr, std::align_val_t) noexcept
HELIOS_GLOBAL_ALLOC_KEEP void operator delete[] (void *ptr, std::align_val_t alignment) noexcept
HELIOS_GLOBAL_ALLOC_KEEP void operator delete (void *ptr, size_t, std::align_val_t alignment) noexcept
HELIOS_GLOBAL_ALLOC_KEEP void operator delete[] (void *ptr, size_t size, std::align_val_t alignment) noexcept

Macro Definition Documentation

◆ HELIOS_GLOBAL_ALLOC_KEEP

#define HELIOS_GLOBAL_ALLOC_KEEP

Definition at line 41 of file global_alloc.cpp.

Function Documentation

◆ operator delete() [1/5]

HELIOS_GLOBAL_ALLOC_KEEP void operator delete ( void * ptr)
noexcept

Definition at line 157 of file global_alloc.cpp.

◆ operator delete() [2/5]

HELIOS_GLOBAL_ALLOC_KEEP void operator delete ( void * ptr,
const std::nothrow_t &  )
noexcept

Definition at line 178 of file global_alloc.cpp.

◆ operator delete() [3/5]

HELIOS_GLOBAL_ALLOC_KEEP void operator delete ( void * ptr,
size_t  )
noexcept

Definition at line 170 of file global_alloc.cpp.

◆ operator delete() [4/5]

HELIOS_GLOBAL_ALLOC_KEEP void operator delete ( void * ptr,
size_t ,
std::align_val_t alignment )
noexcept

Definition at line 235 of file global_alloc.cpp.

◆ operator delete() [5/5]

HELIOS_GLOBAL_ALLOC_KEEP void operator delete ( void * ptr,
std::align_val_t  )
noexcept

Definition at line 220 of file global_alloc.cpp.

◆ operator delete[]() [1/5]

HELIOS_GLOBAL_ALLOC_KEEP void operator delete[] ( void * ptr)
noexcept

Definition at line 166 of file global_alloc.cpp.

◆ operator delete[]() [2/5]

HELIOS_GLOBAL_ALLOC_KEEP void operator delete[] ( void * ptr,
const std::nothrow_t &  )
noexcept

Definition at line 183 of file global_alloc.cpp.

◆ operator delete[]() [3/5]

HELIOS_GLOBAL_ALLOC_KEEP void operator delete[] ( void * ptr,
size_t size,
std::align_val_t alignment )
noexcept

Definition at line 240 of file global_alloc.cpp.

◆ operator delete[]() [4/5]

HELIOS_GLOBAL_ALLOC_KEEP void operator delete[] ( void * ptr,
size_t  )
noexcept

Definition at line 174 of file global_alloc.cpp.

◆ operator delete[]() [5/5]

HELIOS_GLOBAL_ALLOC_KEEP void operator delete[] ( void * ptr,
std::align_val_t alignment )
noexcept

Definition at line 230 of file global_alloc.cpp.

◆ operator new() [1/4]

HELIOS_GLOBAL_ALLOC_KEEP void * operator new ( size_t size)

Definition at line 129 of file global_alloc.cpp.

◆ operator new() [2/4]

HELIOS_GLOBAL_ALLOC_KEEP void * operator new ( size_t size,
const std::nothrow_t &  )
noexcept

Definition at line 143 of file global_alloc.cpp.

◆ operator new() [3/4]

HELIOS_GLOBAL_ALLOC_KEEP void * operator new ( size_t size,
std::align_val_t alignment )

Definition at line 188 of file global_alloc.cpp.

◆ operator new() [4/4]

HELIOS_GLOBAL_ALLOC_KEEP void * operator new ( size_t size,
std::align_val_t alignment,
const std::nothrow_t &  )
noexcept

Definition at line 204 of file global_alloc.cpp.

◆ operator new[]() [1/4]

HELIOS_GLOBAL_ALLOC_KEEP void * operator new[] ( size_t size)

Definition at line 139 of file global_alloc.cpp.

◆ operator new[]() [2/4]

HELIOS_GLOBAL_ALLOC_KEEP void * operator new[] ( size_t size,
const std::nothrow_t &  )
noexcept

Definition at line 152 of file global_alloc.cpp.

◆ operator new[]() [3/4]

HELIOS_GLOBAL_ALLOC_KEEP void * operator new[] ( size_t size,
std::align_val_t alignment )

Definition at line 199 of file global_alloc.cpp.

◆ operator new[]() [4/4]

HELIOS_GLOBAL_ALLOC_KEEP void * operator new[] ( size_t size,
std::align_val_t alignment,
const std::nothrow_t &  )
noexcept

Definition at line 214 of file global_alloc.cpp.