Flutter Engine
The Flutter Engine
|
#include <SkArenaAlloc.h>
Public Member Functions | |
SkArenaAllocWithReset (char *block, size_t blockSize, size_t firstHeapAllocation) | |
SkArenaAllocWithReset (size_t firstHeapAllocation) | |
void | reset () |
bool | isEmpty () |
Public Member Functions inherited from SkArenaAlloc | |
SkArenaAlloc (char *block, size_t blockSize, size_t firstHeapAllocation) | |
SkArenaAlloc (size_t firstHeapAllocation) | |
SkArenaAlloc (const SkArenaAlloc &)=delete | |
SkArenaAlloc & | operator= (const SkArenaAlloc &)=delete |
SkArenaAlloc (SkArenaAlloc &&)=delete | |
SkArenaAlloc & | operator= (SkArenaAlloc &&)=delete |
~SkArenaAlloc () | |
template<typename Ctor > | |
auto | make (Ctor &&ctor) -> decltype(ctor(nullptr)) |
template<typename T , typename... Args> | |
T * | make (Args &&... args) |
template<typename T > | |
T * | make () |
template<typename T > | |
T * | makeArrayDefault (size_t count) |
template<typename T > | |
T * | makeArray (size_t count) |
template<typename T , typename Initializer > | |
T * | makeInitializedArray (size_t count, Initializer initializer) |
void * | makeBytesAlignedTo (size_t size, size_t align) |
Additional Inherited Members | |
Protected Types inherited from SkArenaAlloc | |
using | FooterAction = char *(char *) |
Protected Member Functions inherited from SkArenaAlloc | |
char * | cursor () |
char * | end () |
Definition at line 307 of file SkArenaAlloc.h.
SkArenaAllocWithReset::SkArenaAllocWithReset | ( | char * | block, |
size_t | blockSize, | ||
size_t | firstHeapAllocation | ||
) |
Definition at line 146 of file SkArenaAlloc.cpp.
|
inlineexplicit |
Definition at line 311 of file SkArenaAlloc.h.
bool SkArenaAllocWithReset::isEmpty | ( | ) |
Definition at line 162 of file SkArenaAlloc.cpp.
void SkArenaAllocWithReset::reset | ( | ) |
Definition at line 154 of file SkArenaAlloc.cpp.