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>.
|
Namespaces | |
namespace | CompiledData |
namespace | Compiler |
namespace | Debugging |
namespace | Heap |
namespace | JIT |
namespace | Moth |
namespace | Profiling |
namespace | Promise |
Typedefs | |
typedef quint64 | ReturnedValue |
typedef Scoped< String > | ScopedString |
typedef Scoped< StringOrSymbol > | ScopedStringOrSymbol |
typedef Scoped< Object > | ScopedObject |
typedef Scoped< ArrayObject > | ScopedArrayObject |
typedef Scoped< FunctionObject > | ScopedFunctionObject |
typedef Scoped< ExecutionContext > | ScopedContext |
typedef QVector< StackFrame > | StackTrace |
template<typename T , int PhantomTag> | |
using | HeapObjectWrapper = WriteBarrier::HeapObjectWrapper<T, PhantomTag> |
using | QObjectBiPointer = QBiPointer<QObject, const QObject> |
typedef uint | Bool |
using | Primitive = Value |
typedef QHash< const char *, int > | MMStatsHash |
typedef void(* | ClassDestroyStatsCallback) (const char *) |
Variables | |
static uint | markStackSize = 0 |
Definition at line 24 of file qv4runtimeapi_p.h.
typedef void(* QV4::ClassDestroyStatsCallback) (const char *) |
Definition at line 30 of file qv4mmdefs_p.h.
using QV4::HeapObjectWrapper = WriteBarrier::HeapObjectWrapper<T, PhantomTag> |
Definition at line 33 of file qv4lookup_p.h.
typedef QHash<const char*, int> QV4::MMStatsHash |
using QV4::Primitive = Value |
Definition at line 345 of file qv4value_p.h.
using QV4::QObjectBiPointer = QBiPointer<QObject, const QObject> |
Definition at line 411 of file qv4qobjectwrapper_p.h.
typedef quint64 QV4::ReturnedValue |
Definition at line 38 of file qv4staticvalue_p.h.
typedef Scoped<ArrayObject> QV4::ScopedArrayObject |
Definition at line 165 of file qv4global_p.h.
typedef Scoped<ExecutionContext> QV4::ScopedContext |
Definition at line 167 of file qv4global_p.h.
Definition at line 166 of file qv4global_p.h.
typedef Scoped<Object> QV4::ScopedObject |
Definition at line 164 of file qv4global_p.h.
typedef Scoped<String> QV4::ScopedString |
Definition at line 162 of file qv4global_p.h.
Definition at line 163 of file qv4global_p.h.
typedef QVector<StackFrame> QV4::StackTrace |
Definition at line 287 of file qv4global_p.h.
enum QV4::AtomicModifyOps |
Enumerator | |
---|---|
AtomicAdd | |
AtomicAnd | |
AtomicExchange | |
AtomicOr | |
AtomicSub | |
AtomicXor | |
NAtomicModifyOps |
Definition at line 40 of file qv4typedarray_p.h.
enum QV4::CoercionProblem |
Enumerator | |
---|---|
InsufficientAnnotation | |
InvalidListType |
Definition at line 241 of file qv4jscall_p.h.
enum QV4::GCState |
|
strong |
Enumerator | |
---|---|
Undefined | |
SuspendedStart | |
SuspendedYield | |
Executing | |
Completed |
Definition at line 25 of file qv4generatorobject_p.h.
enum QV4::IteratorKind |
Enumerator | |
---|---|
KeyIteratorKind | |
ValueIteratorKind | |
KeyValueIteratorKind |
Definition at line 25 of file qv4iterator_p.h.
|
strong |
Enumerator | |
---|---|
Value | |
Method | |
Getter | |
Setter |
Definition at line 27 of file qv4compilerglobal_p.h.
enum QV4::PropertyFlag |
Enumerator | |
---|---|
Attr_Data | |
Attr_Accessor | |
Attr_NotWritable | |
Attr_NotEnumerable | |
Attr_NotConfigurable | |
Attr_ReadOnly | |
Attr_ReadOnly_ButConfigurable | |
Attr_Invalid |
Definition at line 178 of file qv4global_p.h.
enum QV4::Register : UINT8 |
Enumerator | |
---|---|
RAX | |
RCX | |
RDX | |
RBX | |
RSP | |
RBP | |
RSI | |
RDI | |
NONE |
Definition at line 29 of file qv4functiontable_win64.cpp.
enum QV4::StackDefaults : qsizetype |
Enumerator | |
---|---|
DefaultSafetyMargin | |
PlatformStackSize | |
PlatformSafetyMargin |
Definition at line 44 of file qv4stacklimits.cpp.
enum QV4::TypedArrayType |
Enumerator | |
---|---|
Int8Array | |
UInt8Array | |
Int16Array | |
UInt16Array | |
Int32Array | |
UInt32Array | |
UInt8ClampedArray | |
Float32Array | |
Float64Array | |
NTypedArrayTypes |
Definition at line 27 of file qv4typedarray_p.h.
enum QV4::TypeHint |
Enumerator | |
---|---|
PREFERREDTYPE_HINT | |
NUMBER_HINT | |
STRING_HINT |
Definition at line 55 of file qv4runtime_p.h.
enum QV4::UnwindOpcode : UINT8 |
Enumerator | |
---|---|
UWOP_PUSH_NONVOL | |
UWOP_ALLOC_LARGE | |
UWOP_ALLOC_SMALL | |
UWOP_SET_FPREG | |
UWOP_SAVE_NONVOL | |
UWOP_SAVE_NONVOL_FAR | |
UWOP_SAVE_XMM128 | |
UWOP_SAVE_XMM128_FAR | |
UWOP_PUSH_MACHFRAME |
Definition at line 16 of file qv4functiontable_win64.cpp.
|
inlinestatic |
Definition at line 34 of file qv4math_p.h.
References QV4::StaticValue::fromDouble(), QV4::StaticValue::fromInt32(), Q_UNLIKELY, and qAddOverflow().
Referenced by QV4::Moth::VME::interpret().
CallData * QV4::callDatafromJS | ( | const Scope & | scope, |
const Args * | args, | ||
const FunctionObject * | f = nullptr ) |
Definition at line 43 of file qv4jscall_p.h.
References QV4::Scope::alloc(), args, ptr(), QV4::Encode::undefined(), and QV4::Scope::Uninitialized.
Referenced by QV4::JSCallArguments::callData(), and QV4::JSCallData::callData().
|
static |
Definition at line 1646 of file qv4qobjectwrapper.cpp.
References arg, QV4::CallData::args, args, QV4::StaticValue::asValue(), CallMethod(), engine, frame, QString::fromLatin1(), QString::number(), qWarning, QMetaMethod::Signal, and QList< T >::size().
Referenced by CallMethod().
|
inline |
Definition at line 248 of file qv4qobjectwrapper_p.h.
References canConvert().
Referenced by canConvert(), QV4::QObjectWrapper::lookupMethodGetterImpl(), and QV4::QObjectWrapper::lookupPropertyGetterImpl().
|
inline |
Definition at line 27 of file qv4stringtoarrayindex_p.h.
Definition at line 26 of file qv4stringtoarrayindex_p.h.
References ch.
Referenced by QV4::String::calculateHashValue(), and stringToArrayIndex().
|
inline |
Definition at line 307 of file qv4functionobject_p.h.
References QV4::EngineBase::hasException, and QV4::Encode::undefined().
Referenced by QV4::Runtime::CallWithReceiver::call(), QV4::Runtime::CallWithSpread::call(), QV4::Runtime::CallProperty::call(), QV4::Runtime::CallPropertyLookup::call(), QV4::Runtime::CallValue::call(), QV4::Runtime::CallName::call(), QV4::Runtime::CallGlobalLookup::call(), QV4::Runtime::CallQmlContextPropertyLookup::call(), QV4::Runtime::CallPossiblyDirectEval::call(), QV4::Runtime::TailCall::call(), QV4::EvalFunction::evalCall(), QV4::Lookup::getterAccessor(), QV4::Lookup::getterProtoAccessor(), QV4::Lookup::getterProtoAccessorTwoClasses(), QV4::Object::getValueAccessor(), QV4::Lookup::globalGetterProtoAccessor(), QV4::FunctionPrototype::method_apply(), QV4::Reflect::method_apply(), QV4::FunctionPrototype::method_call(), QV4::StringPrototype::method_match(), QV4::DatePrototype::method_toJSON(), QV4::ObjectPrototype::method_toLocaleString(), QV4::ArrayPrototype::method_toString(), QV4::Lookup::primitiveGetterAccessor(), QV4::BoundFunction::virtualCall(), and QV4::ProxyFunctionObject::virtualCall().
|
inline |
Definition at line 310 of file qv4jscall_p.h.
References QV4::Value::as(), coerceListType(), coerceQObject(), QVariant::d, QVariant::Private::data, engine, QMetaType::flags(), QQmlValueTypeProvider::heapCreateValueType(), QMetaType::id(), InsufficientAnnotation, QMetaType::isValid(), QQmlType::metaObjectForValueType(), QVariant::metaType(), QV4::Encode::null(), QMetaType::PointerToQObject, Q_ASSERT, QMetaType::QVariant, QV4::Value::stringValue(), QQmlType::typeId(), QV4::Encode::undefined(), QVariant::value(), var, warnAboutCoercionToVoid(), and wrapper().
Referenced by QV4::Runtime::As::call(), coerce(), coerceAndCall(), and coerceAndCall().
|
inline |
Definition at line 428 of file qv4jscall_p.h.
References coerce(), QMetaType::convert(), QVariant::data(), engine, QMetaType::flags(), QVariant::metaType(), QV4::ExecutionEngine::metaTypeFromJS(), QMetaType::NeedsConstruction, and QMetaType::PointerToQObject.
ReturnedValue QV4::coerceAndCall | ( | ExecutionEngine * | engine, |
const Function::JSTypedFunction * | typedFunction, | ||
const CompiledData::Function * | compiledFunction, | ||
const Value * | argv, | ||
int | argc, | ||
Callable | call ) |
Definition at line 408 of file qv4jscall_p.h.
References coerce(), engine, QV4::CompiledData::Function::formalsTable(), i, QV4::CompiledData::ParameterType::isList(), QV4::CompiledData::Function::returnType, QV4::CompiledData::Parameter::type, and QV4::Encode::undefined().
Referenced by QV4::Function::call(), QV4::QObjectMethod::callInternalWithMetaTypes(), QV4::Moth::VME::exec(), QQmlConnectionSlotDispatcher::impl(), and QV4::ArrowFunction::virtualCall().
void QV4::coerceAndCall | ( | ExecutionEngine * | engine, |
const TypedFunction * | typedFunction, | ||
void ** | argv, | ||
const QMetaType * | types, | ||
int | argc, | ||
Callable | call ) |
Definition at line 481 of file qv4jscall_p.h.
References arg, coerce(), QVariant::constData(), QMetaType::construct(), QVariant::data(), QMetaType::destruct(), engine, QMetaType::flags(), i, QVariant::metaType(), QMetaType::NeedsConstruction, QMetaType::NeedsDestruction, Q_ALLOCA_ASSIGN, Q_ALLOCA_DECLARE, Q_ALLOCA_VAR, QMetaType::sizeOf(), and variant.
|
inline |
Definition at line 250 of file qv4jscall_p.h.
References QV4::Value::as(), coerceQObject(), QV4::QmlListWrapper::create(), engine, QMetaType::flags(), QV4::SequencePrototype::fromData(), i, InvalidListType, QQmlType::isSequentialContainer(), QMetaType::isValid(), list, QQmlType::listMetaSequence(), QMetaType::PointerToQObject, QQmlType::qListTypeId(), QQmlMetaType::qmlListType(), QQmlType::typeId(), and warnAboutCoercionToVoid().
Referenced by coerce().
Definition at line 228 of file qv4jscall_p.h.
References QV4::Value::as(), o, qmlobject_can_qml_cast(), and wrapper().
Referenced by coerce(), and coerceListType().
SequenceOwnPropertyKeyIterator * QV4::containerOwnPropertyKeys | ( | const Object * | m, |
Value * | target ) |
Definition at line 366 of file qv4sequenceobject.cpp.
Referenced by QV4::Sequence::virtualOwnPropertyKeys().
|
static |
Definition at line 595 of file qv4runtime.cpp.
References convert_to_string_add(), engine, and PREFERREDTYPE_HINT.
Referenced by QV4::RuntimeHelpers::addHelper(), and convert_to_string_add().
ReturnedValue QV4::convertAndCall | ( | ExecutionEngine * | engine, |
const Function::AOTCompiledFunction * | aotFunction, | ||
const Value * | thisObject, | ||
const Value * | argv, | ||
int | argc, | ||
Callable | call ) |
Definition at line 115 of file qv4jscall_p.h.
References argument, QV4::Value::as(), QMetaType::construct(), engine, QMetaType::flags(), i, QV4::ExecutionEngine::metaTypeFromJS(), QMetaType::NeedsConstruction, QMetaType::NeedsDestruction, Q_ALLOCA_ASSIGN, Q_ALLOCA_DECLARE, Q_ALLOCA_VAR, QMetaType::sizeOf(), and QV4::Encode::undefined().
Referenced by QV4::Function::call(), QV4::FunctionObject::call(), QV4::Function::call(), QV4::QObjectMethod::callInternalWithMetaTypes(), QV4::ArrowFunction::virtualCall(), and QV4::ArrowFunction::virtualCallWithMetaTypes().
bool QV4::convertAndCall | ( | ExecutionEngine * | engine, |
QObject * | thisObject, | ||
void ** | a, | ||
const QMetaType * | types, | ||
int | argc, | ||
Callable | call ) |
Definition at line 183 of file qv4jscall_p.h.
References QMetaType::destruct(), engine, QJSEngine::globalObject(), QV4::Scope::hasException(), QV4::ExecutionEngine::metaTypeFromJS(), QV4::ExecutionEngine::toVariant(), and QV4::QObjectWrapper::wrap().
void QV4::convertAndDo | ( | const QVariant & | item, |
const QMetaType | v, | ||
Action | action ) |
Definition at line 255 of file qv4sequenceobject.cpp.
References QVariant::constData(), QVariant::convert(), and item.
Referenced by QV4::Sequence::append(), QV4::Sequence::append(), and QV4::Sequence::replace().
Definition at line 1542 of file qv4runtime.cpp.
References QV4::Scope::alloc(), arguments, createSpreadArguments(), done, QV4::Scope::engine, QV4::Scope::hasException(), i, it, QV4::EngineBase::jsStackLimit, QV4::EngineBase::jsStackTop, Q_ASSERT, and QV4::ExecutionEngine::throwRangeError().
Referenced by QV4::Runtime::CallWithSpread::call(), QV4::Runtime::ConstructWithSpread::call(), and createSpreadArguments().
|
static |
Definition at line 97 of file qv4stacklimits.cpp.
References base, incrementStackPointer(), and PlatformSafetyMargin.
Referenced by stackPropertiesGeneric().
|
inline |
Definition at line 36 of file qv4stacklimits_p.h.
|
static |
Definition at line 88 of file qv4stacklimits.cpp.
References base.
Referenced by stackPropertiesGeneric().
QV4::DEFINE_OBJECT_VTABLE | ( | ModelObject | ) |
QV4::DEFINE_OBJECT_VTABLE | ( | NamedNodeMap | ) |
QV4::DEFINE_OBJECT_VTABLE | ( | Node | ) |
QV4::DEFINE_OBJECT_VTABLE | ( | NodeList | ) |
QV4::DEFINE_OBJECT_VTABLE | ( | NodePrototype | ) |
QV4::DEFINE_OBJECT_VTABLE | ( | QMetaObjectWrapper | ) |
QV4::DEFINE_OBJECT_VTABLE | ( | QmlSignalHandler | ) |
QV4::DEFINE_OBJECT_VTABLE | ( | QObjectMethod | ) |
QV4::DEFINE_OBJECT_VTABLE | ( | QObjectWrapper | ) |
QV4::DEFINE_OBJECT_VTABLE | ( | Sequence | ) |
Definition at line 16 of file qv4functiontable_noop.cpp.
References Q_UNUSED.
Referenced by QV4::Function::~Function().
|
static |
Definition at line 43 of file qv4function.cpp.
References context, engine, QV4::Moth::VME::exec(), frame, and QV4::Value::undefinedValue().
Referenced by QV4::Function::call().
|
static |
Definition at line 25 of file qv4sequenceobject.cpp.
References QV4::Value::as(), QV4::EngineBase::currentStackFrame, QV4::Scope::engine, frame, and QV4::ExecutionEngine::fromVariant().
Referenced by QV4::Sequence::containerGetIndexed(), and QV4::SequenceOwnPropertyKeyIterator::next().
|
static |
Definition at line 334 of file qv4runtime.cpp.
References QV4::Value::as(), doInstanceof(), engine, QV4::Object::get(), and QV4::Object::instanceOf().
Referenced by QV4::Runtime::Instanceof::call(), QV4::Runtime::As::call(), and doInstanceof().
|
static |
Definition at line 292 of file qqmlvaluetypewrapper.cpp.
References args, doStaticReadCall(), metaObject(), and QMetaObject::ReadProperty.
Referenced by doStaticReadCall(), and getGadgetProperty().
|
static |
Definition at line 1198 of file qv4mm.cpp.
References Qt::hex(), i, QV4::BlockAllocator::NumBins, qDebug, SDUMP, QV4::Chunk::SlotSize, and title.
Referenced by QV4::MemoryManager::runGC(), and QV4::MemoryManager::updateUnmanagedHeapSizeGCLimit().
|
static |
Definition at line 63 of file qv4executablecompilationunit.cpp.
References d, dumpConstantTable(), i, qDebug, qSetFieldWidth(), Qt::right(), and toString().
Referenced by dumpConstantTable(), and QV4::ExecutableCompilationUnit::populate().
Definition at line 2133 of file qv4qobjectwrapper.cpp.
References ExactMatch(), QJSPrimitiveValue::metaType(), and QMetaType::UnknownType.
Referenced by ExactMatch().
size_t QV4::exceptionHandlerSize | ( | ) |
Definition at line 22 of file qv4functiontable_noop.cpp.
Referenced by QV4::ExecutableAllocator::allocate(), QV4::ExecutableAllocator::Allocation::codeStart(), and QV4::ExecutableAllocator::Allocation::exceptionHandlerSize().
Definition at line 87 of file qv4qobjectwrapper.cpp.
References engine, extractQtSignal(), function, and qMakePair().
Referenced by extractQtSignal(), QV4::QObjectWrapper::method_connect(), and QV4::QObjectWrapper::method_disconnect().
Q_ALWAYS_INLINE void QV4::fence | ( | ) |
Definition at line 125 of file qv4writebarrier_p.h.
|
static |
Definition at line 622 of file qv4mm.cpp.
References QV4::HeapItem::chunk(), QV4::Chunk::first(), QV4::ChunkAllocator::free(), freeHugeChunk(), and Q_UNLIKELY.
Referenced by QV4::HugeItemAllocator::freeAll(), freeHugeChunk(), and QV4::HugeItemAllocator::sweep().
Definition at line 10 of file qv4functiontable_noop.cpp.
References Q_UNUSED.
|
static |
Definition at line 65 of file qv4sequenceobject.cpp.
References QV4::EngineBase::currentStackFrame, engine, QV4::ExecutionEngine::qmlEngine(), QQmlError::setDescription(), and QQmlEnginePrivate::warning().
Referenced by method_set_length(), QV4::Sequence::virtualDeleteProperty(), QV4::Sequence::virtualGet(), and QV4::Sequence::virtualPut().
|
static |
Definition at line 395 of file qv4qobjectwrapper.cpp.
References getDestroyOrToStringMethod(), global, QV4::ExecutionEngine::id_destroy(), QV4::ExecutionEngine::id_toString(), and QV4::ExecutionEngine::rootContext().
Referenced by getDestroyOrToStringMethod(), and QV4::QObjectWrapper::virtualResolveLookupGetter().
|
static |
Definition at line 686 of file qv4runtime.cpp.
References engine, QV4::Scope::engine, getElementFallback(), QV4::Scope::hasException(), o, Q_ASSERT, and QStringLiteral.
Referenced by QV4::Runtime::LoadElement::call(), and getElementFallback().
|
static |
Definition at line 653 of file qv4runtime.cpp.
References QV4::Heap::Base::asReturnedValue(), engine, QV4::Scope::engine, getElementIntFallback(), QString::mid(), QV4::ExecutionEngine::newString(), o, Q_ASSERT, QStringLiteral, QString::size(), and str.
Referenced by QV4::Runtime::LoadElement::call(), and getElementIntFallback().
|
static |
Definition at line 301 of file qqmlvaluetypewrapper.cpp.
References args, QV4::QObjectMethod::create(), QList< T >::data(), date, dateTime, doStaticReadCall(), engine, QMetaType::flags(), QJSEngine::fromVariant(), getGadgetProperty(), QMetaType::id(), metaObject(), QMetaType::PointerToQObject, QMetaType::QVariant, QMetaObject::ReadProperty, referenceFlags(), QQmlMetaObject::resolveGadgetMethodOrPropertyIndex(), time, QMetaType::underlyingType(), QMetaType::UnknownType, and VALUE_TYPE_LOAD.
Referenced by getGadgetProperty(), QV4::QQmlValueTypeWrapper::lookupGetter(), QV4::QQmlValueTypeWrapperOwnPropertyKeyIterator::next(), QV4::QQmlValueTypeWrapper::virtualGet(), and QV4::QQmlValueTypeWrapper::virtualGetOwnProperty().
|
static |
Definition at line 412 of file qv4qobjectwrapper.cpp.
References getPropertyFromImports(), qmlContext(), and QV4::ExecutionEngine::typeLoader().
Referenced by getPropertyFromImports(), and QV4::QObjectWrapper::virtualResolveLookupGetter().
Definition at line 1030 of file qv4runtime.cpp.
References QV4::ExecutionContext::asCallContext(), QV4::ExecutionEngine::currentContext(), QV4::EngineBase::currentStackFrame, QV4::Scope::engine, frame, getSuperBase(), QV4::Function::isArrowFunction(), QV4::CppStackFrame::isJSTypesFrame(), QV4::CppStackFrame::isMetaTypesFrame(), QV4::Function::kind, Q_ASSERT, QStringLiteral, QV4::ExecutionEngine::throwReferenceError(), and QV4::ExecutionEngine::throwTypeError().
Referenced by QV4::Runtime::LoadSuperProperty::call(), QV4::Runtime::StoreSuperProperty::call(), and getSuperBase().
|
inline |
Definition at line 35 of file qv4scopedvalue_p.h.
References engine, and QJSEngine::isInterrupted().
Referenced by QV4::PropertyListPrototype::method_indexOf(), and QV4::PropertyListPrototype::method_lastIndexOf().
|
static |
|
static |
Definition at line 78 of file qv4stacklimits.cpp.
References base.
Referenced by createStackProperties().
|
static |
Definition at line 100 of file qv4function.cpp.
References QV4::CompiledData::Invalid.
Referenced by QV4::Function::Function().
|
static |
Definition at line 120 of file qv4qobjectwrapper.cpp.
References QV4::StaticValue::asReturnedValue(), QV4::Heap::Base::asReturnedValue(), QJSValuePrivate::convertToReturnedValue(), QV4::Scope::engine, QV4::ExecutionEngine::fromData(), QV4::JsonObject::fromJsonArray(), QV4::JsonObject::fromJsonObject(), QV4::JsonObject::fromJsonValue(), QV4::ExecutionEngine::fromVariant(), QMetaType::IsConst, QMetaType::IsQmlList, QQmlType::isSequentialContainer(), QQmlMetaType::isValueType(), QQmlType::listMetaSequence(), loadProperty(), QQmlMetaType::metaObjectForValueType(), QV4::ExecutionEngine::newArrayBuffer(), QV4::ExecutionEngine::newDateObject(), QV4::ExecutionEngine::newRegExpObject(), QV4::SequencePrototype::newSequence(), QV4::ExecutionEngine::newString(), QV4::ExecutionEngine::newVariantObject(), property, Q_ASSERT, qint8, QQmlMetaType::qmlListType(), qWarning, referenceFlags(), QMetaType::UnknownType, and wrapper().
Referenced by QV4::QObjectWrapper::getProperty(), and loadProperty().
Definition at line 1462 of file qv4qobjectwrapper.cpp.
References child, QObject::children(), markChildQObjectsRecursively(), and queue.
Referenced by markChildQObjectsRecursively(), and QV4::Heap::QObjectWrapper::markObjects().
Definition at line 1732 of file qv4qobjectwrapper.cpp.
References QV4::Value::as(), QMetaType::flags(), QMetaType::IsPointer, MatchScore(), MatchVariant(), QMetaType::PointerToQObject, qmlobject_can_cpp_cast(), and wrapper().
Referenced by MatchScore().
int QV4::MatchVariant | ( | QMetaType | conversionMetaType, |
Retrieve && | retrieve ) |
Definition at line 1707 of file qv4qobjectwrapper.cpp.
References QMetaType::canConvert(), MatchVariant(), and mo.
Referenced by MatchScore(), and MatchVariant().
|
static |
Definition at line 536 of file qv4sequenceobject.cpp.
References QV4::Value::as(), QV4::Scope::engine, qIsAtMostUintLimit(), RETURN_RESULT, THROW_TYPE_ERROR, QV4::ExecutionEngine::throwRangeError(), and QV4::Encode::undefined().
Referenced by QV4::SequencePrototype::init(), QV4::PropertyListPrototype::init(), and QV4::IntrinsicTypedArrayPrototype::init().
|
static |
Definition at line 553 of file qv4sequenceobject.cpp.
References QV4::Value::as(), QV4::Value::asArrayLength(), QV4::Scope::engine, generateWarning(), ok, Q_ASSERT, qIsAtMostSizetypeLimit(), RETURN_UNDEFINED, and THROW_TYPE_ERROR.
Referenced by QV4::SequencePrototype::init(), and QV4::PropertyListPrototype::init().
|
inlinestatic |
Definition at line 50 of file qv4math_p.h.
References QV4::StaticValue::fromDouble(), QV4::StaticValue::fromInt32(), Q_UNLIKELY, and qMulOverflow().
Referenced by QV4::Moth::VME::interpret().
|
static |
Definition at line 1909 of file qv4qobjectwrapper.cpp.
References QV4::CallData::argc(), QV4::CallData::args, numDefinedArguments(), and QV4::StaticValue::type().
Referenced by numDefinedArguments().
|
inline |
Definition at line 41 of file qv4jsonobject_p.h.
QT_BEGIN_NAMESPACE void QV4::populateJSCallArguments | ( | ExecutionEngine * | v4, |
JSCallArguments & | jsCall, | ||
int | argc, | ||
void ** | args, | ||
const QMetaType * | types ) |
Sets the arguments of JSCallData from type erased args based on type information provided by types
Definition at line 18 of file qv4jscall.cpp.
References args, and QV4::ExecutionEngine::metaTypeToJS().
QV4::Q_DECLARE_OPERATORS_FOR_FLAGS | ( | ExecutionEngine::DiskCacheOptions | ) |
QV4::Q_STATIC_ASSERT | ( | (1<< Chunk::BitShift) | = =Chunk::Bits | ) |
QV4::Q_STATIC_ASSERT | ( | (1<< Chunk::ChunkShift) | = =Chunk::ChunkSize | ) |
QV4::Q_STATIC_ASSERT | ( | 1<< Chunk::SlotSizeShift | = =Chunk::SlotSize | ) |
QV4::Q_STATIC_ASSERT | ( | offsetof(CallData, _argc) | = =CallData::Argc *sizeof(StaticValue) | ) |
QV4::Q_STATIC_ASSERT | ( | offsetof(CallData, accumulator) | = =CallData::Accumulator *sizeof(StaticValue) | ) |
QV4::Q_STATIC_ASSERT | ( | offsetof(CallData, args) | = =6 *sizeof(StaticValue) | ) |
QV4::Q_STATIC_ASSERT | ( | offsetof(CallData, context) | = =CallData::Context *sizeof(StaticValue) | ) |
QV4::Q_STATIC_ASSERT | ( | offsetof(CallData, function) | = =CallData::Function *sizeof(StaticValue) | ) |
QV4::Q_STATIC_ASSERT | ( | offsetof(CallData, newTarget) | = =CallData::NewTarget *sizeof(StaticValue) | ) |
QV4::Q_STATIC_ASSERT | ( | offsetof(CallData, thisObject) | = =CallData::This *sizeof(StaticValue) | ) |
QV4::Q_STATIC_ASSERT | ( | offsetof(EngineBase, currentStackFrame) | = =0 | ) |
QV4::Q_STATIC_ASSERT | ( | offsetof(EngineBase, globalObject) % | QT_POINTER_SIZE = =0 | ) |
QV4::Q_STATIC_ASSERT | ( | offsetof(EngineBase, hasException) | = =offsetof(EngineBase, jsStackTop)+QT_POINTER_SIZE | ) |
QV4::Q_STATIC_ASSERT | ( | offsetof(EngineBase, isInterrupted)+sizeof(EngineBase::isInterrupted)<=offsetof(EngineBase, hasException)+ | 4 | ) |
QV4::Q_STATIC_ASSERT | ( | offsetof(EngineBase, jsStackTop) | = =offsetof(EngineBase, currentStackFrame)+QT_POINTER_SIZE | ) |
QV4::Q_STATIC_ASSERT | ( | offsetof(EngineBase, memoryManager) | = =offsetof(EngineBase, hasException)+8 | ) |
QV4::Q_STATIC_ASSERT | ( | offsetof(Lookup, getter) | = =0 | ) |
QV4::Q_STATIC_ASSERT | ( | offsetof(ValueArray< 0 >, values) | = =8 | ) |
QV4::Q_STATIC_ASSERT | ( | QT_POINTER_SIZE * | 8 = =Chunk::Bits | ) |
QV4::Q_STATIC_ASSERT | ( | sizeof(Chunk) | = =Chunk::ChunkSize | ) |
QV4::Q_STATIC_ASSERT | ( | sizeof(CppStackFrame) | = =sizeof(JSTypesStackFrame) | ) |
QV4::Q_STATIC_ASSERT | ( | sizeof(HeapItem) | = =Chunk::SlotSize | ) |
QV4::Q_STATIC_ASSERT | ( | sizeof(Value) | = =sizeof(StaticValue) | ) |
QV4::Q_STATIC_ASSERT | ( | std::is_standard_layout< EngineBase >::value | ) |
QV4::Q_STATIC_ASSERT | ( | std::is_standard_layout< FunctionData >::value | ) |
QV4::Q_STATIC_ASSERT | ( | std::is_standard_layout_v< CppStackFrame > | ) |
QV4::Q_STATIC_ASSERT | ( | std::is_standard_layout_v< JSTypesStackFrame > | ) |
QV4::Q_STATIC_ASSERT | ( | std::is_standard_layout_v< MetaTypesStackFrame > | ) |
QV4::Q_STATIC_ASSERT | ( | std::is_trivial_v< QV4QPointer< QObject > > | ) |
QV4::Q_STATIC_ASSERT | ( | std::is_trivial_v< StaticValue > | ) |
QV4::Q_STATIC_ASSERT | ( | std::is_trivial_v< Value > | ) |
|
inline |
Definition at line 44 of file qv4jsonobject_p.h.
Referenced by qHash().
|
inlinenoexcept |
bool QV4::qtTypeInherits | ( | const QMetaObject * | mo | ) |
Definition at line 15 of file qv4resolvedtypereference.cpp.
References mo.
|
inline |
Definition at line 286 of file qv4lookup_p.h.
References QQmlPropertyData::isFunction(), QQmlPropertyData::isSignalHandler(), QQmlPropertyData::isVarProperty(), and QQmlPropertyData::isVMEFunction().
Referenced by QV4::QQmlTypeWrapper::virtualResolveLookupGetter().
|
inline |
Definition at line 32 of file qv4managed_p.h.
|
inline |
Definition at line 35 of file qv4managed_p.h.
|
static |
Definition at line 285 of file qqmlvaluetypewrapper.cpp.
References metaObject(), and referenceFlags().
Referenced by getGadgetProperty(), and referenceFlags().
|
static |
Definition at line 104 of file qv4qobjectwrapper.cpp.
References QV4::EngineBase::currentStackFrame, property, and referenceFlags().
Referenced by loadProperty(), and referenceFlags().
|
static |
Definition at line 1919 of file qv4qobjectwrapper.cpp.
References metaObject(), and requiresStrictArguments().
Referenced by requiresStrictArguments().
|
static |
Definition at line 187 of file qv4runtime.cpp.
References i, and runtimeLookup().
Referenced by QV4::Runtime::CallPropertyLookup::call(), QV4::Runtime::GetLookup::call(), QV4::Runtime::LoadGlobalLookup::call(), QV4::Runtime::LoadQmlContextPropertyLookup::call(), QV4::Runtime::CallGlobalLookup::call(), QV4::Runtime::CallQmlContextPropertyLookup::call(), QV4::Runtime::SetLookupStrict::call(), QV4::Runtime::SetLookupSloppy::call(), and runtimeLookup().
|
static |
Definition at line 730 of file qv4runtime.cpp.
References engine, o, QV4::Heap::SimpleArrayData::setData(), and setElementFallback().
Referenced by QV4::Runtime::StoreElement::call(), and setElementFallback().
|
inline |
Definition at line 243 of file qv4lookup_p.h.
References Q_ASSERT, QV4::Lookup::qobjectLookup, and QV4::Lookup::releasePropertyCache().
Referenced by QV4::QQmlContextWrapper::getPropertyAndBase(), QQmlPrivate::initObjectLookup(), setupQObjectLookup(), setupQObjectLookup(), QV4::QObjectWrapper::virtualResolveLookupGetter(), and QV4::QQmlTypeWrapper::virtualResolveLookupGetter().
|
inline |
Definition at line 253 of file qv4lookup_p.h.
References QV4::Lookup::qobjectLookup, and setupQObjectLookup().
|
inline |
Definition at line 262 of file qv4lookup_p.h.
References QV4::Managed::internalClass(), QV4::Lookup::qobjectLookup, and setupQObjectLookup().
|
inline |
Definition at line 272 of file qv4lookup_p.h.
References engine, method, Q_ASSERT, QV4::Lookup::qobjectMethodLookup, and QV4::Lookup::releasePropertyCache().
Referenced by QV4::QQmlContextWrapper::getPropertyAndBase(), QV4::QObjectWrapper::virtualResolveLookupGetter(), and QV4::QQmlTypeWrapper::virtualResolveLookupGetter().
void QV4::sortHelper | ( | RandomAccessIterator | start, |
RandomAccessIterator | end, | ||
LessThan | lessThan ) |
Definition at line 248 of file qv4arraydata_p.h.
References lessThan(), sortHelper(), and swap().
Referenced by QV4::PropertyListPrototype::method_sort(), QV4::ArrayData::sort(), and sortHelper().
Definition at line 46 of file qv4sequenceobject.cpp.
References compare(), and qWarning.
Referenced by QV4::Sequence::sort().
StackProperties QV4::stackProperties | ( | ) |
Definition at line 375 of file qv4stacklimits.cpp.
References stackPropertiesGeneric().
Referenced by QV4::ExecutionEngine::ExecutionEngine().
StackProperties QV4::stackPropertiesGeneric | ( | qsizetype | stackSize = 0 | ) |
Definition at line 249 of file qv4stacklimits.cpp.
References createStackProperties(), decrementStackPointer(), and qFatal.
Referenced by stackProperties().
Definition at line 53 of file qv4stringtoarrayindex_p.h.
References QString::constData(), QString::size(), str, and stringToArrayIndex().
uint QV4::stringToArrayIndex | ( | const T * | ch, |
const T * | end ) |
Definition at line 30 of file qv4stringtoarrayindex_p.h.
References ch, charToUInt(), i, qAddOverflow(), and qMulOverflow().
Referenced by QV4::String::calculateHashValue(), stringToArrayIndex(), QV4::Compiler::Codegen::visit(), and QV4::Compiler::Codegen::visit().
|
inlinestatic |
Definition at line 42 of file qv4math_p.h.
References QV4::StaticValue::fromDouble(), QV4::StaticValue::fromInt32(), Q_UNLIKELY, and qSubOverflow().
Referenced by QV4::Moth::VME::interpret().
Definition at line 2400 of file qv4runtime.cpp.
References symbol().
Referenced by QV4::ExecutionEngine::newSymbolObject(), symbol(), and toVariant().
|
static |
Definition at line 1379 of file qv4runtime.cpp.
References engine, QV4::StaticValue::isUndefined(), QStringLiteral, throwPropertyIsNotAFunctionTypeError(), and QV4::Value::toQStringNoThrow().
Referenced by QV4::Runtime::CallName::call(), QV4::Runtime::CallGlobalLookup::call(), QV4::Runtime::CallQmlContextPropertyLookup::call(), QV4::Runtime::CallPossiblyDirectEval::call(), and throwPropertyIsNotAFunctionTypeError().
|
static |
Definition at line 48 of file qv4executablecompilationunit.cpp.
Referenced by QV4::PropertyKey::isCanonicalNumericIndexString(), QV4::RegExpPrototype::method_match(), QV4::RegExpPrototype::method_replace(), QV4::RegExpPrototype::method_search(), QV4::RegExpPrototype::method_split(), QV4::NumberPrototype::method_toString(), and QV4::SymbolCtor::virtualCall().
ReturnedValue QV4::value_convert | ( | ExecutionEngine * | e, |
const Value & | v ) |
|
inline |
Definition at line 519 of file qv4object_p.h.
|
inline |
Definition at line 277 of file qv4string_p.h.
|
constexpr |
Definition at line 133 of file qv4vtable_p.h.
|
constexpr |
Definition at line 110 of file qv4vtable_p.h.
void QV4::warnAboutCoercionToVoid | ( | ExecutionEngine * | engine, |
const Value & | value, | ||
CoercionProblem | problem ) |
Definition at line 25 of file qv4jscall.cpp.
References engine, frame, InsufficientAnnotation, InvalidListType, and qCritical.
Referenced by coerce(), and coerceListType().
|
static |
Definition at line 1054 of file qv4mm.cpp.
Referenced by QV4::MarkStack::drain(), QV4::MarkStack::drain(), and QV4::MemoryManager::runGC().