![]() |
Qt 6.x
The Qt SDK
|
#include <qv4executableallocator_p.h>
Collaboration diagram for QV4::ExecutableAllocator:Classes | |
| struct | Allocation |
| struct | ChunkOfPages |
Public Member Functions | |
| ExecutableAllocator () | |
| ~ExecutableAllocator () | |
| Allocation * | allocate (size_t size) |
| void | free (Allocation *allocation) |
| int | freeAllocationCount () const |
| int | chunkCount () const |
| ChunkOfPages * | chunkForAllocation (Allocation *allocation) const |
Definition at line 34 of file qv4executableallocator_p.h.
|
default |
| ExecutableAllocator::~ExecutableAllocator | ( | ) |
Definition at line 126 of file qv4executableallocator.cpp.
References allocation, and qDeleteAll().
Here is the call graph for this function:| ExecutableAllocator::Allocation * ExecutableAllocator::allocate | ( | size_t | size | ) |
Definition at line 137 of file qv4executableallocator.cpp.
References allocation, QV4::exceptionHandlerSize(), QV4::ExecutableAllocator::ChunkOfPages::firstAllocation, it, QV4::ExecutableAllocator::ChunkOfPages::pages, and Q_ASSERT.
Here is the call graph for this function:
|
inline |
Definition at line 83 of file qv4executableallocator_p.h.
| ExecutableAllocator::ChunkOfPages * ExecutableAllocator::chunkForAllocation | ( | Allocation * | allocation | ) | const |
Definition at line 208 of file qv4executableallocator.cpp.
References allocation, and it.
| void ExecutableAllocator::free | ( | Allocation * | allocation | ) |
Definition at line 178 of file qv4executableallocator.cpp.
References allocation, QV4::ExecutableAllocator::ChunkOfPages::contains(), QV4::ExecutableAllocator::ChunkOfPages::firstAllocation, it, and Q_ASSERT.
Referenced by QV4::ExecutableAllocator::Allocation::deallocate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 82 of file qv4executableallocator_p.h.