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 <qv4heap_p.h>
Public Member Functions | |
void * | operator new (size_t)=delete |
ReturnedValue | asReturnedValue () const |
void | mark (QV4::MarkStack *markStack) |
bool | isMarked () const |
void | setMarkBit () |
bool | inUse () const |
void * | operator new (size_t, Managed *m) |
void * | operator new (size_t, Base *m) |
void | operator delete (void *, Base *) |
void | init () |
void | destroy () |
Q_ALWAYS_INLINE void | _checkIsInitialized () |
Q_ALWAYS_INLINE void | _checkIsDestroyed () |
Q_ALWAYS_INLINE void | _setInitialized () |
Q_ALWAYS_INLINE void | _setDestroyed () |
Static Public Member Functions | |
static void | markObjects (Base *, MarkStack *) |
Public Attributes | |
Pointer< InternalClass *, 0 > | internalClass |
Definition at line 58 of file qv4heap_p.h.
|
inline |
Definition at line 124 of file qv4heap_p.h.
|
inline |
Definition at line 123 of file qv4heap_p.h.
Referenced by QV4::ComplexString::d().
|
inline |
Definition at line 126 of file qv4heap_p.h.
|
inline |
Definition at line 125 of file qv4heap_p.h.
|
inline |
Definition at line 342 of file qv4value_p.h.
References QV4::Value::fromHeapObject().
Referenced by QuickTestUtil::callerFile(), QJSValuePrivate::convertToReturnedValue(), QV4::ErrorObject::create(), QV4::ErrorObject::create(), QQmlLocaleValueType::formattedDataSize(), QV4::ExecutionEngine::fromData(), QV4::JsonObject::fromJsonValue(), QV4::getElementIntFallback(), QQmlPrivate::AOTCompiledContext::jsMetaType(), QV4::loadProperty(), QV4::SymbolCtor::method_for(), QV4::StringCtor::method_fromCodePoint(), QV4::RegExpPrototype::method_get_flags(), QV4::RegExpPrototype::method_get_lastMatch_n(), QV4::RegExpPrototype::method_get_lastParen(), QV4::RegExpPrototype::method_get_source(), QV4::SymbolCtor::method_keyFor(), QV4::StringPrototype::method_normalize(), QV4::StringPrototype::method_padEnd(), QV4::StringPrototype::method_padStart(), QV4::StringCtor::method_raw(), QV4::RegExpPrototype::method_replace(), QV4::ArrayPrototype::method_toLocaleString(), QV4::IntrinsicTypedArrayPrototype::method_toLocaleString(), QV4::ErrorPrototype::method_toString(), QV4::SymbolPrototype::method_toString(), QuickTestUtil::typeName(), QV4::StringCtor::virtualCall(), and QV4::DateCtor::virtualCall().
|
inline |
Definition at line 93 of file qv4heap_p.h.
Referenced by QV4::Heap::InternalClass::destroy(), QV4::Heap::RegExp::destroy(), and QV4::Heap::StringOrSymbol::destroy().
|
inline |
Definition at line 92 of file qv4heap_p.h.
Referenced by QV4::Heap::DECLARE_EXPORTED_HEAP_OBJECT(), QV4::Heap::DECLARE_HEAP_OBJECT(), QV4::Heap::InternalClass::init(), QV4::Heap::RegExp::init(), and QV4::Heap::InternalClass::init().
|
inline |
Definition at line 81 of file qv4heap_p.h.
References Q_ASSERT.
Referenced by mark().
|
inline |
Definition at line 68 of file qv4heap_p.h.
References Q_ASSERT.
Referenced by QV4::Heap::InternalClass::destroy(), and QV4::IdentifierTable::sweep().
|
inline |
Definition at line 138 of file qv4heap_p.h.
References QV4::Chunk::bitForIndex(), QV4::Chunk::bitmapIndex(), inUse(), QV4::MarkStack::push(), Q_ASSERT, QV4::Chunk::realBase(), and QV4::Chunk::testBit().
Referenced by QV4::Heap::InternalClass::markObjects(), and QV4::Heap::String::markObjects().
Definition at line 486 of file qv4internalclass_p.h.
Definition at line 90 of file qv4heap_p.h.
|
delete |
Definition at line 89 of file qv4heap_p.h.
Definition at line 88 of file qv4heap_p.h.
|
inline |
Definition at line 74 of file qv4heap_p.h.
References Q_ASSERT.
Pointer<InternalClass *, 0> QV4::Heap::Base::internalClass |
Definition at line 63 of file qv4heap_p.h.
Referenced by QV4::Heap::InternalClass::addMember(), QV4::Runtime::CompareEqual::call(), QV4::Heap::InternalClass::changeMember(), QV4::Chunk::freeAll(), freeze_recursive(), QV4::Heap::Symbol::init(), QV4::Heap::InternalClass::init(), QV4::StringPrototype::init(), QV4::Heap::InternalClass::init(), QV4::Heap::InternalClass::removeMember(), and QV4::Object::virtualResolveLookupSetter().