Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CFX_V8ArrayBufferAllocator Class Referencefinal

#include <cfx_v8_array_buffer_allocator.h>

+ Inheritance diagram for CFX_V8ArrayBufferAllocator:
+ Collaboration diagram for CFX_V8ArrayBufferAllocator:

Public Member Functions

 CFX_V8ArrayBufferAllocator ()
 
 CFX_V8ArrayBufferAllocator (const CFX_V8ArrayBufferAllocator &)=delete
 
 CFX_V8ArrayBufferAllocator (CFX_V8ArrayBufferAllocator &&)=delete
 
 ~CFX_V8ArrayBufferAllocator () override
 
voidAllocate (size_t length) override
 
voidAllocateUninitialized (size_t length) override
 
void Free (void *data, size_t length) override
 

Static Public Attributes

static const size_t kMaxAllowedBytes = 0x10000000
 

Detailed Description

Definition at line 16 of file cfx_v8_array_buffer_allocator.h.

Constructor & Destructor Documentation

◆ CFX_V8ArrayBufferAllocator() [1/3]

CFX_V8ArrayBufferAllocator::CFX_V8ArrayBufferAllocator ( )
default

Referenced by FXJS_GetIsolate().

+ Here is the caller graph for this function:

◆ CFX_V8ArrayBufferAllocator() [2/3]

CFX_V8ArrayBufferAllocator::CFX_V8ArrayBufferAllocator ( const CFX_V8ArrayBufferAllocator & )
delete

◆ CFX_V8ArrayBufferAllocator() [3/3]

CFX_V8ArrayBufferAllocator::CFX_V8ArrayBufferAllocator ( CFX_V8ArrayBufferAllocator && )
delete

◆ ~CFX_V8ArrayBufferAllocator()

CFX_V8ArrayBufferAllocator::~CFX_V8ArrayBufferAllocator ( )
overridedefault

Member Function Documentation

◆ Allocate()

void * CFX_V8ArrayBufferAllocator::Allocate ( size_t length)
override

Definition at line 19 of file cfx_v8_array_buffer_allocator.cpp.

◆ AllocateUninitialized()

void * CFX_V8ArrayBufferAllocator::AllocateUninitialized ( size_t length)
override

Definition at line 32 of file cfx_v8_array_buffer_allocator.cpp.

◆ Free()

void CFX_V8ArrayBufferAllocator::Free ( void * data,
size_t length )
override

Definition at line 45 of file cfx_v8_array_buffer_allocator.cpp.

References FX_ArrayBufferFree().

+ Here is the call graph for this function:

Member Data Documentation

◆ kMaxAllowedBytes

const size_t CFX_V8ArrayBufferAllocator::kMaxAllowedBytes = 0x10000000
static

Definition at line 18 of file cfx_v8_array_buffer_allocator.h.


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