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>.
Loading...
Searching...
No Matches
QV4::Heap::Base Struct Reference

#include <qv4heap_p.h>

+ Inheritance diagram for QV4::Heap::Base:
+ Collaboration diagram for QV4::Heap::Base:

Public Member Functions

voidoperator new (size_t)=delete
 
ReturnedValue asReturnedValue () const
 
void mark (QV4::MarkStack *markStack)
 
bool isMarked () const
 
void setMarkBit ()
 
bool inUse () const
 
voidoperator new (size_t, Managed *m)
 
voidoperator 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
 

Detailed Description

Definition at line 58 of file qv4heap_p.h.

Member Function Documentation

◆ _checkIsDestroyed()

Q_ALWAYS_INLINE void QV4::Heap::Base::_checkIsDestroyed ( )
inline

Definition at line 124 of file qv4heap_p.h.

◆ _checkIsInitialized()

Q_ALWAYS_INLINE void QV4::Heap::Base::_checkIsInitialized ( )
inline

Definition at line 123 of file qv4heap_p.h.

Referenced by QV4::ComplexString::d().

+ Here is the caller graph for this function:

◆ _setDestroyed()

Q_ALWAYS_INLINE void QV4::Heap::Base::_setDestroyed ( )
inline

Definition at line 126 of file qv4heap_p.h.

◆ _setInitialized()

Q_ALWAYS_INLINE void QV4::Heap::Base::_setInitialized ( )
inline

Definition at line 125 of file qv4heap_p.h.

◆ asReturnedValue()

ReturnedValue Base::asReturnedValue ( ) const
inline

◆ destroy()

void QV4::Heap::Base::destroy ( )
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().

+ Here is the caller graph for this function:

◆ init()

void QV4::Heap::Base::init ( )
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().

+ Here is the caller graph for this function:

◆ inUse()

bool QV4::Heap::Base::inUse ( ) const
inline

Definition at line 81 of file qv4heap_p.h.

References Q_ASSERT.

Referenced by mark().

+ Here is the caller graph for this function:

◆ isMarked()

bool QV4::Heap::Base::isMarked ( ) const
inline

Definition at line 68 of file qv4heap_p.h.

References Q_ASSERT.

Referenced by QV4::Heap::InternalClass::destroy(), and QV4::IdentifierTable::sweep().

+ Here is the caller graph for this function:

◆ mark()

void Base::mark ( QV4::MarkStack * markStack)
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ markObjects()

void Base::markObjects ( Base * b,
MarkStack * stack )
inlinestatic

Definition at line 486 of file qv4internalclass_p.h.

◆ operator delete()

void QV4::Heap::Base::operator delete ( void * ,
Base *  )
inline

Definition at line 90 of file qv4heap_p.h.

◆ operator new() [1/3]

void * QV4::Heap::Base::operator new ( size_t )
delete

◆ operator new() [2/3]

void * QV4::Heap::Base::operator new ( size_t ,
Base * m )
inline

Definition at line 89 of file qv4heap_p.h.

◆ operator new() [3/3]

void * QV4::Heap::Base::operator new ( size_t ,
Managed * m )
inline

Definition at line 88 of file qv4heap_p.h.

◆ setMarkBit()

void QV4::Heap::Base::setMarkBit ( )
inline

Definition at line 74 of file qv4heap_p.h.

References Q_ASSERT.

Member Data Documentation

◆ internalClass


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