|
enum | TypedArrayType {
Int8Array
, UInt8Array
, Int16Array
, UInt16Array
,
Int32Array
, UInt32Array
, UInt8ClampedArray
, Float32Array
,
Float64Array
, NTypedArrayTypes
} |
enum | AtomicModifyOps {
AtomicAdd
, AtomicAnd
, AtomicExchange
, AtomicOr
,
AtomicSub
, AtomicXor
, NAtomicModifyOps
} |
enum | CoercionProblem { InsufficientAnnotation
, InvalidListType
} |
enum | TypeHint { PREFERREDTYPE_HINT
, NUMBER_HINT
, STRING_HINT
} |
enum | PropertyFlag {
Attr_Data = 0
, Attr_Accessor = 0x1
, Attr_NotWritable = 0x2
, Attr_NotEnumerable = 0x4
,
Attr_NotConfigurable = 0x8
, Attr_ReadOnly = Attr_NotWritable|Attr_NotEnumerable|Attr_NotConfigurable
, Attr_ReadOnly_ButConfigurable = Attr_NotWritable|Attr_NotEnumerable
, Attr_Invalid = 0xff
} |
enum | UnwindOpcode : UINT8 {
UWOP_PUSH_NONVOL = 0
, UWOP_ALLOC_LARGE
, UWOP_ALLOC_SMALL
, UWOP_SET_FPREG
,
UWOP_SAVE_NONVOL
, UWOP_SAVE_NONVOL_FAR
, UWOP_SAVE_XMM128 = 8
, UWOP_SAVE_XMM128_FAR
,
UWOP_PUSH_MACHFRAME
, UWOP_PUSH_NONVOL = 0
, UWOP_ALLOC_LARGE
, UWOP_ALLOC_SMALL
,
UWOP_SET_FPREG
, UWOP_SAVE_NONVOL
, UWOP_SAVE_NONVOL_FAR
, UWOP_SAVE_XMM128 = 8
,
UWOP_SAVE_XMM128_FAR
, UWOP_PUSH_MACHFRAME
} |
enum | Register : UINT8 {
RAX = 0
, RCX
, RDX
, RBX
,
RSP
, RBP
, RSI
, RDI
,
NONE = 15
, RAX = 0
, RCX
, RDX
,
RBX
, RSP
, RBP
, RSI
,
RDI
, NONE = 15
} |
enum class | GeneratorState {
Undefined
, SuspendedStart
, SuspendedYield
, Executing
,
Completed
} |
enum | IteratorKind { KeyIteratorKind
, ValueIteratorKind
, KeyValueIteratorKind
} |
enum | { MinSlotsGCLimit = QV4::Chunk::AvailableSlots*16
, GCOverallocation = 200
, MinSlotsGCLimit = QV4::Chunk::AvailableSlots*16
, GCOverallocation = 200
} |
enum | StackDefaults : qsizetype {
DefaultSafetyMargin = 128 * 1024
, PlatformStackSize = 512 * 1024
, PlatformSafetyMargin = DefaultSafetyMargin
, DefaultSafetyMargin = 128 * 1024
,
PlatformStackSize = 512 * 1024
, PlatformSafetyMargin = DefaultSafetyMargin
} |
enum class | ObjectLiteralArgument { Value
, Method
, Getter
, Setter
} |
enum | UnwindOpcode : UINT8 {
UWOP_PUSH_NONVOL = 0
, UWOP_ALLOC_LARGE
, UWOP_ALLOC_SMALL
, UWOP_SET_FPREG
,
UWOP_SAVE_NONVOL
, UWOP_SAVE_NONVOL_FAR
, UWOP_SAVE_XMM128 = 8
, UWOP_SAVE_XMM128_FAR
,
UWOP_PUSH_MACHFRAME
, UWOP_PUSH_NONVOL = 0
, UWOP_ALLOC_LARGE
, UWOP_ALLOC_SMALL
,
UWOP_SET_FPREG
, UWOP_SAVE_NONVOL
, UWOP_SAVE_NONVOL_FAR
, UWOP_SAVE_XMM128 = 8
,
UWOP_SAVE_XMM128_FAR
, UWOP_PUSH_MACHFRAME
} |
enum | Register : UINT8 {
RAX = 0
, RCX
, RDX
, RBX
,
RSP
, RBP
, RSI
, RDI
,
NONE = 15
, RAX = 0
, RCX
, RDX
,
RBX
, RSP
, RBP
, RSI
,
RDI
, NONE = 15
} |
enum | { MinSlotsGCLimit = QV4::Chunk::AvailableSlots*16
, GCOverallocation = 200
, MinSlotsGCLimit = QV4::Chunk::AvailableSlots*16
, GCOverallocation = 200
} |
enum | StackDefaults : qsizetype {
DefaultSafetyMargin = 128 * 1024
, PlatformStackSize = 512 * 1024
, PlatformSafetyMargin = DefaultSafetyMargin
, DefaultSafetyMargin = 128 * 1024
,
PlatformStackSize = 512 * 1024
, PlatformSafetyMargin = DefaultSafetyMargin
} |
|
| Q_DECLARE_OPERATORS_FOR_FLAGS (ExecutionEngine::DiskCacheOptions) |
template<typename RandomAccessIterator, typename LessThan> |
void | sortHelper (RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) |
template<> |
ReturnedValue | value_convert< Object > (ExecutionEngine *e, const Value &v) |
ReturnedValue | checkedResult (QV4::ExecutionEngine *v4, ReturnedValue result) |
template<> |
ReturnedValue | value_convert< String > (ExecutionEngine *e, const Value &v) |
template<typename Args> |
CallData * | callDatafromJS (const Scope &scope, const Args *args, const FunctionObject *f) |
void | populateJSCallArguments (ExecutionEngine *v4, JSCallArguments &jsCall, int argc, void **args, const QMetaType *types) |
template<typename Callable> |
ReturnedValue | convertAndCall (ExecutionEngine *engine, const Function::AOTCompiledFunction *aotFunction, const Value *thisObject, const Value *argv, int argc, Callable call) |
template<typename Callable> |
bool | convertAndCall (ExecutionEngine *engine, QObject *thisObject, void **a, const QMetaType *types, int argc, Callable call) |
ReturnedValue | coerce (ExecutionEngine *engine, const Value &value, const QQmlType &qmlType, bool isList) |
QObject * | coerceQObject (const Value &value, const QQmlType &qmlType) |
Q_QML_EXPORT void | warnAboutCoercionToVoid (ExecutionEngine *engine, const Value &value, CoercionProblem problem) |
ReturnedValue | coerceListType (ExecutionEngine *engine, const Value &value, const QQmlType &qmlType) |
template<typename Callable> |
ReturnedValue | coerceAndCall (ExecutionEngine *engine, const Function::JSTypedFunction *typedFunction, const CompiledData::Function *compiledFunction, const Value *argv, int argc, Callable call) |
void | coerce (ExecutionEngine *engine, QMetaType fromType, const void *from, QMetaType toType, void *to) |
template<typename TypedFunction, typename Callable> |
void | coerceAndCall (ExecutionEngine *engine, const TypedFunction *typedFunction, void **argv, const QMetaType *types, int argc, Callable call) |
| Q_STATIC_ASSERT (std::is_standard_layout< FunctionData >::value) |
| Q_STATIC_ASSERT (sizeof(CppStackFrame)==sizeof(JSTypesStackFrame)) |
| Q_STATIC_ASSERT (std::is_standard_layout_v< CppStackFrame >) |
| Q_STATIC_ASSERT (std::is_standard_layout_v< JSTypesStackFrame >) |
| Q_STATIC_ASSERT (std::is_standard_layout_v< MetaTypesStackFrame >) |
template<> |
bool | ReferenceObject::readReference< Heap::DateObject > (Heap::DateObject *ref) |
template<> |
bool | ReferenceObject::writeBack< Heap::DateObject > (Heap::DateObject *ref, int internalIndex) |
template<typename T> |
int | qYouForgotTheQ_MANAGED_Macro (T, T) |
template<typename T1, typename T2> |
void | qYouForgotTheQ_MANAGED_Macro (T1, T2) |
bool | hasExceptionOrIsInterrupted (ExecutionEngine *engine) |
| Q_STATIC_ASSERT (std::is_trivial_v< Value >) |
| Q_STATIC_ASSERT (sizeof(Value)==sizeof(StaticValue)) |
template<typename T> |
ReturnedValue | value_convert (ExecutionEngine *e, const Value &v) |
| Q_STATIC_ASSERT (offsetof(ValueArray< 0 >, values)==8) |
static QString | toString (QV4::ReturnedValue v) |
static void | dumpConstantTable (const StaticValue *constants, uint count) |
static ReturnedValue | doCall (QV4::Function *self, const QV4::Value *thisObject, const QV4::Value *argv, int argc, QV4::ExecutionContext *context) |
static bool | isSpecificType (const CompiledData::ParameterType &type) |
| Q_STATIC_ASSERT (std::is_standard_layout< EngineBase >::value) |
| Q_STATIC_ASSERT (offsetof(EngineBase, currentStackFrame)==0) |
| Q_STATIC_ASSERT (offsetof(EngineBase, jsStackTop)==offsetof(EngineBase, currentStackFrame)+QT_POINTER_SIZE) |
| Q_STATIC_ASSERT (offsetof(EngineBase, hasException)==offsetof(EngineBase, jsStackTop)+QT_POINTER_SIZE) |
| Q_STATIC_ASSERT (offsetof(EngineBase, memoryManager)==offsetof(EngineBase, hasException)+8) |
| Q_STATIC_ASSERT (offsetof(EngineBase, isInterrupted)+sizeof(EngineBase::isInterrupted)<=offsetof(EngineBase, hasException)+4) |
| Q_STATIC_ASSERT (offsetof(EngineBase, globalObject) % QT_POINTER_SIZE==0) |
void | generateFunctionTable (Function *function, JSC::MacroAssemblerCodeRef *codeRef) |
void | destroyFunctionTable (Function *function, JSC::MacroAssemblerCodeRef *codeRef) |
size_t | exceptionHandlerSize () |
bool | operator== (const ObjectItem &a, const ObjectItem &b) |
size_t | qHash (const ObjectItem &i, size_t seed=0) |
| Q_STATIC_ASSERT (std::is_standard_layout< Lookup >::value) |
void | setupQObjectLookup (Lookup *lookup, const QQmlData *ddata, const QQmlPropertyData *propertyData) |
void | setupQObjectLookup (Lookup *lookup, const QQmlData *ddata, const QQmlPropertyData *propertyData, const Object *self) |
void | setupQObjectLookup (Lookup *lookup, const QQmlData *ddata, const QQmlPropertyData *propertyData, const Object *self, const Object *qmlType) |
template<typename QObjectMethod = Heap::QObjectMethod> |
void | setupQObjectMethodLookup (Lookup *lookup, const QQmlData *ddata, const QQmlPropertyData *propertyData, const Object *self, QObjectMethod *method) |
bool | qualifiesForMethodLookup (const QQmlPropertyData *propertyData) |
void | markIfPastMarkWeakValues (ExecutionEngine *engine, ReturnedValue rv) |
bool | canConvert (const QQmlPropertyCache *fromMo, const QQmlPropertyCache *toMo) |
| DEFINE_OBJECT_VTABLE (QMetaObjectWrapper) |
static std::pair< QObject *, int > | extractQtSignal (const Value &value) |
static Heap::ReferenceObject::Flags | referenceFlags (ExecutionEngine *v4, const QQmlPropertyData &property) |
static ReturnedValue | loadProperty (ExecutionEngine *v4, Heap::Object *wrapper, QObject *object, const QQmlPropertyData &property) |
static OptionalReturnedValue | getDestroyOrToStringMethod (ExecutionEngine *v4, String *name, Heap::Object *qobj, bool *hasProperty=nullptr) |
static OptionalReturnedValue | getPropertyFromImports (ExecutionEngine *v4, String *name, const QQmlRefPointer< QQmlContextData > &qmlContext, QObject *qobj, bool *hasProperty=nullptr) |
static void | markChildQObjectsRecursively (QObject *parent, MarkStack *markStack) |
| DEFINE_OBJECT_VTABLE (QObjectWrapper) |
static ReturnedValue | CallMethod (const QQmlObjectOrGadget &object, int index, QMetaType returnType, int argCount, const QMetaType *argTypes, ExecutionEngine *engine, CallData *callArgs, QMetaObject::Call callType=QMetaObject::InvokeMetaMethod) |
template<typename Retrieve> |
int | MatchVariant (QMetaType conversionMetaType, Retrieve &&retrieve) |
static int | MatchScore (const Value &actual, QMetaType conversionMetaType) |
static int | numDefinedArguments (CallData *callArgs) |
static bool | requiresStrictArguments (const QQmlObjectOrGadget &object) |
static bool | ExactMatch (QMetaType passed, QMetaType required, const void *data) |
| DEFINE_OBJECT_VTABLE (QObjectMethod) |
| DEFINE_OBJECT_VTABLE (QmlSignalHandler) |
size_t | qHash (const RegExpCacheKey &key, size_t seed=0) noexcept |
template<typename T> |
bool | qtTypeInherits (const QMetaObject *mo) |
static QV4::Lookup * | runtimeLookup (Function *f, uint i) |
static QV4::ReturnedValue | doInstanceof (ExecutionEngine *engine, const Value &lval, const Value &rval) |
static Heap::String * | convert_to_string_add (ExecutionEngine *engine, Value value) |
static Q_NEVER_INLINE ReturnedValue | getElementIntFallback (ExecutionEngine *engine, const Value &object, uint idx) |
static Q_NEVER_INLINE ReturnedValue | getElementFallback (ExecutionEngine *engine, const Value &object, const Value &index) |
static Q_NEVER_INLINE bool | setElementFallback (ExecutionEngine *engine, const Value &object, const Value &index, const Value &value) |
static Object * | getSuperBase (Scope &scope) |
static ReturnedValue | throwPropertyIsNotAFunctionTypeError (ExecutionEngine *engine, Value *thisObject, const QString &propertyName) |
static CallArgs | createSpreadArguments (Scope &scope, Value *argv, int argc) |
template<typename Operation> |
static const void * | symbol () |
| DEFINE_OBJECT_VTABLE (Sequence) |
static ReturnedValue | doGetIndexed (Heap::Sequence *p, qsizetype index) |
static void * | createVariantData (QMetaType type, QVariant *variant) |
static const void * | retrieveVariantData (QMetaType type, const QVariant *variant) |
static void | generateWarning (QV4::ExecutionEngine *v4, const QString &description) |
static qsizetype | sizeInline (const Heap::Sequence *p) |
template<typename Action> |
void | convertAndDo (const QVariant &item, const QMetaType v, Action action) |
static void | appendInline (Heap::Sequence *p, const QVariant &item) |
static void | appendDefaultConstructedInline (Heap::Sequence *p, qsizetype num) |
static void | replaceInline (Heap::Sequence *p, qsizetype index, const QVariant &item) |
static void | removeLastInline (Heap::Sequence *p, qsizetype num) |
bool | convertToIterable (QMetaType metaType, void *data, QV4::Object *sequence) |
static Heap::Sequence * | resolveHeapSequence (const Sequence *sequence, QMetaType typeHint) |
| DEFINE_OBJECT_VTABLE (VariantAssociationObject) |
QString | binary (quintptr) |
static void | increaseFreedCountForClass (const char *className) |
static void | freeHugeChunk (ChunkAllocator *chunkAllocator, const HugeItemAllocator::HugeChunk &c, ClassDestroyStatsCallback classCountPtr) |
static size_t | dumpBins (BlockAllocator *b, const char *title) |
static void | logStepTiming (GCStateMachine *that, quint64 timing) |
static GCState | executeWithLoggingIfEnabled (GCStateMachine *that, GCStateInfo &stateInfo) |
template<typename Size> |
static void * | incrementStackPointer (void *base, Size amount) |
template<typename Size> |
static void * | decrementStackPointer (void *base, Size amount) |
static StackProperties | createStackProperties (void *base, qsizetype size=PlatformStackSize) |
StackProperties | stackPropertiesGeneric (qsizetype stackSize=0) |
StackProperties | stackProperties () |
static Heap::ReferenceObject::Flags | referenceFlags (const QMetaObject *metaObject, int index) |
static void | doStaticReadCall (const QMetaObject *metaObject, Heap::QQmlValueTypeWrapper *valueTypeWrapper, int index, void **args) |
| DEFINE_OBJECT_VTABLE (NamedNodeMap) |
| DEFINE_OBJECT_VTABLE (NodeList) |
| DEFINE_OBJECT_VTABLE (NodePrototype) |
| DEFINE_OBJECT_VTABLE (Node) |
| DEFINE_OBJECT_VTABLE (ModelObject) |
| Q_STATIC_ASSERT (std::is_standard_layout< CallData >::value) |
| Q_STATIC_ASSERT (offsetof(CallData, function)==CallData::Function *sizeof(StaticValue)) |
| Q_STATIC_ASSERT (offsetof(CallData, context)==CallData::Context *sizeof(StaticValue)) |
| Q_STATIC_ASSERT (offsetof(CallData, accumulator)==CallData::Accumulator *sizeof(StaticValue)) |
| Q_STATIC_ASSERT (offsetof(CallData, thisObject)==CallData::This *sizeof(StaticValue)) |
| Q_STATIC_ASSERT (offsetof(CallData, newTarget)==CallData::NewTarget *sizeof(StaticValue)) |
| Q_STATIC_ASSERT (offsetof(CallData, _argc)==CallData::Argc *sizeof(StaticValue)) |
| Q_STATIC_ASSERT (offsetof(CallData, args)==6 *sizeof(StaticValue)) |
| Q_STATIC_ASSERT (std::is_trivial_v< StaticValue >) |
uint | charToUInt (const QChar *ch) |
uint | charToUInt (const char *ch) |
template<typename T> |
uint | stringToArrayIndex (const T *ch, const T *end) |
uint | stringToArrayIndex (const QString &str) |
static QMLJS_READONLY ReturnedValue | add_int32 (int a, int b) |
static QMLJS_READONLY ReturnedValue | sub_int32 (int a, int b) |
static QMLJS_READONLY ReturnedValue | mul_int32 (int a, int b) |
template<class Class> |
constexpr VTable::CallWithMetaTypes | vtableMetaTypesCallEntry () |
template<class Class> |
constexpr VTable::Call | vtableJsTypesCallEntry () |
| Q_STATIC_ASSERT (std::is_trivial_v< QV4QPointer< QObject > >) |
| Q_STATIC_ASSERT (sizeof(Chunk)==Chunk::ChunkSize) |
| Q_STATIC_ASSERT ((1<< Chunk::ChunkShift)==Chunk::ChunkSize) |
| Q_STATIC_ASSERT (1<< Chunk::SlotSizeShift==Chunk::SlotSize) |
| Q_STATIC_ASSERT (sizeof(HeapItem)==Chunk::SlotSize) |
| Q_STATIC_ASSERT (QT_POINTER_SIZE *8==Chunk::Bits) |
| Q_STATIC_ASSERT ((1<< Chunk::BitShift)==Chunk::Bits) |
const void * | currentStackPointer () |
Q_ALWAYS_INLINE void | fence () |