FastLED 3.9.15
Loading...
Searching...
No Matches
allocator.h File Reference
#include "fl/stl/cstddef.h"
#include "fl/stl/cstring.h"
#include "fl/stl/type_traits.h"
#include "fl/stl/compiler_control.h"
#include "fl/stl/bit_cast.h"
#include "fl/stl/stdint.h"
#include "fl/stl/bitset.h"
#include "fl/stl/malloc.h"
#include "fl/stl/align.h"
#include "fl/stl/noexcept.h"
#include "fl/stl/static_assert.h"
+ Include dependency graph for allocator.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fl::allocation_result< Pointer, SizeType >
 
class  fl::allocator< T >
 
struct  fl::allocator< T >::rebind< U >
 
class  fl::allocator_inlined< T, N, BaseAllocator >
 
struct  fl::allocator_inlined< T, N, BaseAllocator >::InlinedStorage
 
struct  fl::allocator_inlined< T, N, BaseAllocator >::rebind< U >
 
class  fl::allocator_psram< T >
 
struct  fl::allocator_psram< T >::rebind< U >
 
class  fl::allocator_realloc< T >
 
struct  fl::allocator_realloc< T >::rebind< U >
 
class  fl::allocator_slab< T, SLAB_SIZE >
 
struct  fl::allocator_slab< T, SLAB_SIZE >::rebind< U >
 
struct  fl::allocator_traits< Allocator >
 
struct  fl::allocator_traits< Allocator >::has_allocate_at_least< A, typename >
 
struct  fl::allocator_traits< Allocator >::has_allocate_at_least< A, decltype((void) fl::declval< A >().allocate_at_least(fl::declval< typename A::size_type >()))>
 
struct  fl::allocator_traits< Allocator >::has_reallocate< A, typename >
 
struct  fl::allocator_traits< Allocator >::has_reallocate< A, decltype((void) fl::declval< A >().reallocate(fl::declval< typename A::pointer >(), fl::declval< typename A::size_type >(), fl::declval< typename A::size_type >()))>
 
class  fl::PSRamAllocator< T >
 
struct  fl::PSRamDeleter< T >
 
class  fl::SlabAllocator< T, SLAB_SIZE >
 
struct  fl::SlabAllocator< T, SLAB_SIZE >::Slab
 

Namespaces

namespace  fl
 Base definition for an LED controller.
 
namespace  fl::detail
 Compile-time linker keep-alive hook for a single fl::Bus.
 

Macros

#define FASTLED_DEFAULT_SLAB_SIZE   8
 

Typedefs

template<typename T, fl::size N>
using fl::allocator_inlined_psram = allocator_inlined<T, N, fl::allocator_psram<T>>
 
template<typename T, fl::size N>
using fl::allocator_inlined_slab = allocator_inlined<T, N, fl::allocator_slab<T>>
 
template<typename T, fl::size N, fl::size SLAB_SIZE = 8>
using fl::allocator_inlined_slab_psram = allocator_inlined<T, N, fl::allocator_slab<T, SLAB_SIZE>>
 

Functions

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)
 

Class Documentation

◆ fl::allocation_result

struct fl::allocation_result
Class Members
SizeType count
Pointer ptr

◆ fl::allocator::rebind

struct fl::allocator::rebind
Class Members
typedef allocator< U > other allocator<U>

◆ fl::allocator_inlined::rebind

struct fl::allocator_inlined::rebind
Class Members
typedef other > other allocator_inlined<U, N, typename BaseAllocator::template rebind<U>::other>

◆ fl::allocator_psram::rebind

struct fl::allocator_psram::rebind
Class Members
typedef allocator_psram< U > other allocator_psram<U>

◆ fl::allocator_realloc::rebind

struct fl::allocator_realloc::rebind
Class Members
typedef allocator_realloc< U > other allocator_realloc<U>

◆ fl::allocator_slab::rebind

struct fl::allocator_slab::rebind
Class Members
typedef typename value, allocator_slab< char, SLAB_SIZE >, allocator_slab< U, SLAB_SIZE > >::type other