FastLED 3.9.15
Loading...
Searching...
No Matches
allocator.h File Reference
#include <stdlib.h>
#include <string.h>
#include "fl/inplacenew.h"
#include "fl/memfill.h"
#include "fl/type_traits.h"
#include "fl/unused.h"
#include "fl/bit_cast.h"
#include "fl/stdint.h"
#include "fl/bitset.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

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_slab< T, SLAB_SIZE >
 
struct  fl::allocator_slab< T, SLAB_SIZE >::rebind< U >
 
class  fl::PSRamAllocator< T >
 
class  fl::SlabAllocator< T, SLAB_SIZE >
 
struct  fl::SlabAllocator< T, SLAB_SIZE >::Slab
 

Namespaces

namespace  fl
 IMPORTANT!
 

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 *))
 

Class Documentation

◆ 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_slab::rebind

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