Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qv4mmdefs_p.h>
Public Member Functions | |
operator Heap::Base * () | |
template<typename T > | |
T * | as () |
Chunk * | chunk () const |
bool | isBlack () const |
bool | isInUse () const |
void | setAllocatedSlots (size_t nSlots) |
size_t | size () const |
Public Attributes | ||
union { | ||
struct { | ||
HeapItem * next | ||
size_t availableSlots | ||
} freeData | ||
quint64 payload [Chunk::SlotSize/sizeof(quint64)] | ||
}; | ||
Definition at line 162 of file qv4mmdefs_p.h.
|
inline |
Definition at line 173 of file qv4mmdefs_p.h.
Referenced by QV4::MemoryManager::allocObjectWithMemberData().
|
inline |
Definition at line 175 of file qv4mmdefs_p.h.
References QV4::Chunk::ChunkShift.
Referenced by QV4::freeHugeChunk(), isBlack(), isInUse(), setAllocatedSlots(), and size().
|
inline |
Definition at line 179 of file qv4mmdefs_p.h.
References chunk(), and QV4::Chunk::testBit().
|
inline |
Definition at line 184 of file qv4mmdefs_p.h.
References chunk(), and QV4::Chunk::testBit().
|
inline |
Definition at line 170 of file qv4mmdefs_p.h.
|
inline |
Definition at line 190 of file qv4mmdefs_p.h.
References chunk(), QV4::Chunk::setBit(), and QV4::Chunk::setBits().
|
inline |
Definition at line 203 of file qv4mmdefs_p.h.
References chunk(), QV4::Chunk::NumSlots, Q_ASSERT, and QV4::Chunk::testBit().
union { ... } QV4::HeapItem |
size_t QV4::HeapItem::availableSlots |
Definition at line 166 of file qv4mmdefs_p.h.
struct { ... } QV4::HeapItem::freeData |
Referenced by QV4::BlockAllocator::allocate().
HeapItem* QV4::HeapItem::next |
Definition at line 165 of file qv4mmdefs_p.h.
quint64 QV4::HeapItem::payload[Chunk::SlotSize/sizeof(quint64)] |
Definition at line 168 of file qv4mmdefs_p.h.