FastLED 3.9.15
Loading...
Searching...
No Matches
allocator.cpp.hpp File Reference
#include "platforms/is_platform.h"
#include "fl/stl/allocator.h"
#include "fl/stl/int.h"
#include "fl/stl/singleton.h"
#include "fl/stl/cstddef.h"
#include "fl/stl/cstdlib.h"
#include "fl/stl/string.h"
#include "fl/stl/cstring.h"
#include "fl/stl/compiler_control.h"
+ Include dependency graph for allocator.cpp.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fl::detail::anonymous_namespace{allocator.cpp.hpp}::SlabRegistryEntry
 

Namespaces

namespace  fl
 Base definition for an LED controller.
 
namespace  fl::anonymous_namespace{allocator.cpp.hpp}
 
namespace  fl::detail
 Compile-time linker keep-alive hook for a single fl::Bus.
 
namespace  fl::detail::anonymous_namespace{allocator.cpp.hpp}
 

Functions

void * fl::anonymous_namespace{allocator.cpp.hpp}::DefaultAlloc (fl::size size)
 
void fl::anonymous_namespace{allocator.cpp.hpp}::DefaultFree (void *ptr)
 
void fl::Free (void *ptr)
 
void * fl::Malloc (fl::size size)
 
void * fl::PSRamAllocate (fl::size size, bool zero)
 
void fl::PSRamDeallocate (void *ptr)
 
void fl::SetPSRamAllocator (void *(*alloc)(fl::size), void(*free)(void *))
 
void * fl::detail::slab_allocator_registry_get (fl::size block_size, fl::size slab_size)
 
void fl::detail::slab_allocator_registry_set (fl::size block_size, fl::size slab_size, void *allocator)
 

Variables

void *(* fl::anonymous_namespace{allocator.cpp.hpp}::Alloc )(fl::size) = DefaultAlloc
 
template<typename Allocator>
constexpr bool fl::allocator_traits< Allocator >::has_allocate_at_least_v
 
template<typename Allocator>
constexpr bool fl::allocator_traits< Allocator >::has_reallocate_v
 
void(* fl::anonymous_namespace{allocator.cpp.hpp}::Dealloc )(void *) = DefaultFree
 
static SlabRegistryEntry fl::detail::anonymous_namespace{allocator.cpp.hpp}::slab_registry [SLAB_REGISTRY_MAX]
 
static int fl::detail::anonymous_namespace{allocator.cpp.hpp}::slab_registry_count = 0
 
static constexpr int fl::detail::anonymous_namespace{allocator.cpp.hpp}::SLAB_REGISTRY_MAX = 64
 

Class Documentation

◆ fl::detail::anonymous_namespace{allocator.cpp.hpp}::SlabRegistryEntry

struct fl::detail::anonymous_namespace{allocator.cpp.hpp}::SlabRegistryEntry
Class Members
void * allocator
size block_size
size slab_size