Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SkSTArenaAllocWithReset< InlineStorageSize > Class Template Reference

#include <SkArenaAlloc.h>

Inheritance diagram for SkSTArenaAllocWithReset< InlineStorageSize >:
SkArenaAllocWithReset SkArenaAlloc

Public Member Functions

 SkSTArenaAllocWithReset (size_t firstHeapAllocation=InlineStorageSize)
 
 ~SkSTArenaAllocWithReset ()
 
- Public Member Functions inherited from SkArenaAllocWithReset
 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
 
SkArenaAllocoperator= (const SkArenaAlloc &)=delete
 
 SkArenaAlloc (SkArenaAlloc &&)=delete
 
SkArenaAllocoperator= (SkArenaAlloc &&)=delete
 
 ~SkArenaAlloc ()
 
template<typename Ctor >
auto make (Ctor &&ctor) -> decltype(ctor(nullptr))
 
template<typename T , typename... Args>
Tmake (Args &&... args)
 
template<typename T >
Tmake ()
 
template<typename T >
TmakeArrayDefault (size_t count)
 
template<typename T >
TmakeArray (size_t count)
 
template<typename T , typename Initializer >
TmakeInitializedArray (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 ()
 

Detailed Description

template<size_t InlineStorageSize>
class SkSTArenaAllocWithReset< InlineStorageSize >

Definition at line 344 of file SkArenaAlloc.h.

Constructor & Destructor Documentation

◆ SkSTArenaAllocWithReset()

template<size_t InlineStorageSize>
SkSTArenaAllocWithReset< InlineStorageSize >::SkSTArenaAllocWithReset ( size_t  firstHeapAllocation = InlineStorageSize)
inlineexplicit

Definition at line 347 of file SkArenaAlloc.h.

348 : SkArenaAllocWithReset{this->data(), this->size(), firstHeapAllocation} {}
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot data
Definition switches.h:41
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
Definition switches.h:259

◆ ~SkSTArenaAllocWithReset()

template<size_t InlineStorageSize>
SkSTArenaAllocWithReset< InlineStorageSize >::~SkSTArenaAllocWithReset ( )
inline

Definition at line 350 of file SkArenaAlloc.h.

350 {
351 // Be sure to unpoison the memory that is probably on the stack.
352 sk_asan_unpoison_memory_region(this->data(), this->size());
353 }
static void sk_asan_unpoison_memory_region(void const volatile *addr, size_t size)
Definition SkASAN.h:41

The documentation for this class was generated from the following file: