![]() |
Qt 6.x
The Qt SDK
|
#include <qv4internalclass_p.h>
Classes | |
struct | Entry |
Public Member Functions | |
PropertyHash () | |
PropertyHash (const PropertyHash &other) | |
~PropertyHash () | |
PropertyHash & | operator= (const PropertyHash &other) |
void | addEntry (const Entry &entry, int classSize) |
Entry * | lookup (PropertyKey identifier) const |
void | detach (bool grow, int classSize) |
Public Attributes | |
PropertyHashData * | d |
Definition at line 39 of file qv4internalclass_p.h.
|
inline |
Definition at line 73 of file qv4internalclass_p.h.
References d.
|
inline |
Definition at line 78 of file qv4internalclass_p.h.
References d, other(), and QV4::PropertyHashData::refCount.
|
inline |
Definition at line 84 of file qv4internalclass_p.h.
References d, and QV4::PropertyHashData::refCount.
Referenced by QV4::Heap::InternalClass::destroy().
Definition at line 27 of file qv4internalclass.cpp.
References QV4::PropertyHashData::alloc, d, detach(), QV4::PropertyHashData::entries, grow(), QV4::PropertyHash::Entry::identifier, QV4::PropertyKey::isValid(), and QV4::PropertyHashData::size.
Referenced by QV4::Heap::addDummyEntry().
void QV4::PropertyHash::detach | ( | bool | grow, |
int | classSize | ||
) |
Definition at line 44 of file qv4internalclass.cpp.
References QV4::PropertyHashData::alloc, d, e, QV4::PropertyHashData::entries, grow(), i, QV4::PropertyHash::Entry::identifier, QV4::PropertyKey::isValid(), QV4::PropertyHashData::numBits, QV4::PropertyHashData::refCount, and QV4::PropertyHashData::size.
Referenced by addEntry().
|
inline |
Definition at line 101 of file qv4internalclass_p.h.
References QV4::PropertyHashData::alloc, d, QV4::PropertyHashData::entries, QV4::PropertyKey::id(), QV4::PropertyHash::Entry::identifier, QV4::PropertyKey::isValid(), and Q_ASSERT.
Referenced by QV4::Heap::InternalClass::find(), QV4::Heap::InternalClass::findEntry(), QV4::Heap::InternalClass::findValueOrGetter(), QV4::Heap::InternalClass::findValueOrSetter(), QV4::Heap::InternalClass::indexOfValueOrGetter(), and QV4::Heap::InternalClass::verifyIndex().
|
inline |
Definition at line 90 of file qv4internalclass_p.h.
References d, other(), and QV4::PropertyHashData::refCount.
PropertyHashData* QV4::PropertyHash::d |
Definition at line 47 of file qv4internalclass_p.h.
Referenced by PropertyHash(), PropertyHash(), ~PropertyHash(), addEntry(), detach(), lookup(), and operator=().