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
QV4::ExecutableAllocator Class Reference

#include <qv4executableallocator_p.h>

Collaboration diagram for QV4::ExecutableAllocator:

Classes

struct  Allocation
struct  ChunkOfPages

Public Member Functions

 ExecutableAllocator ()
 ~ExecutableAllocator ()
Allocationallocate (size_t size)
void free (Allocation *allocation)
int freeAllocationCount () const
int chunkCount () const
ChunkOfPageschunkForAllocation (Allocation *allocation) const

Detailed Description

Definition at line 35 of file qv4executableallocator_p.h.

Constructor & Destructor Documentation

◆ ExecutableAllocator()

ExecutableAllocator::ExecutableAllocator ( )
default

◆ ~ExecutableAllocator()

ExecutableAllocator::~ExecutableAllocator ( )

Definition at line 127 of file qv4executableallocator.cpp.

Member Function Documentation

◆ allocate()

ExecutableAllocator::Allocation * ExecutableAllocator::allocate ( size_t size)

Definition at line 138 of file qv4executableallocator.cpp.

◆ chunkCount()

int QV4::ExecutableAllocator::chunkCount ( ) const
inline

Definition at line 84 of file qv4executableallocator_p.h.

◆ chunkForAllocation()

ExecutableAllocator::ChunkOfPages * ExecutableAllocator::chunkForAllocation ( Allocation * allocation) const

Definition at line 209 of file qv4executableallocator.cpp.

◆ free()

void ExecutableAllocator::free ( Allocation * allocation)

Definition at line 179 of file qv4executableallocator.cpp.

◆ freeAllocationCount()

int QV4::ExecutableAllocator::freeAllocationCount ( ) const
inline

Definition at line 83 of file qv4executableallocator_p.h.


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