![]() |
Qt 6.x
The Qt SDK
|
#include <qv4staticvalue_p.h>
Public Types | |
enum class | TagBit { SpecialNegative = 0b10000000000000000000 << 12 , SpecialQNaN = 0b00000000000010000000 << 12 , Special = 0b00000000000001000000 << 12 , IntCompat = 0b00000000000000100000 << 12 , Unmanaged = 0b00000000000000010000 << 12 , IntOrBool = 0b00000000000000001000 << 12 , Number = 0b00000000000000000100 << 12 } |
enum | Type { Managed_Type = 0 , Double_Type = 1 , Undefined_Type = 2 , Empty_Type = quint32(TagBit::Unmanaged) , Null_Type = Empty_Type | quint32(TagBit::IntCompat) , Boolean_Type = Null_Type | quint32(TagBit::IntOrBool) , Integer_Type = Boolean_Type | quint32(TagBit::Number) } |
enum | { Tag_Shift = 32 , IsIntegerConvertible_Shift = 48 , IsIntegerConvertible_Value = 3 , IsIntegerOrBool_Shift = 47 , IsIntegerOrBool_Value = 7 } |
enum class | QuickType : quint32 { Managed = Managed_Type , Empty = Empty_Type , Null = Null_Type , Boolean = Boolean_Type , Integer = Integer_Type , PlusInf = quint32(TagBit::Number) | quint32(TagBit::Special) | quint32(TagBit::Unmanaged) , MinusInf = PlusInf | quint32(TagBit::SpecialNegative) , NaN = PlusInf | quint32(TagBit::SpecialQNaN) , MinusNaN = NaN | quint32(TagBit::SpecialNegative) } |
enum | { QT_Empty = Empty_Type , QT_Null = Null_Type , QT_Bool = Boolean_Type , QT_Int = Integer_Type , QuickType_Shift = Tag_Shift } |
using | HeapBasePtr = Heap::Base * |
using | ValueTypeInternal = QuickType |
Static Public Member Functions | |
static int | valueOffset () |
static int | tagOffset () |
static constexpr quint64 | tagValue (quint32 tag, quint32 value) |
static constexpr quint64 | tagBitMask (TagBit bit) |
static bool | integerCompatible (StaticValue a, StaticValue b) |
static bool | bothDouble (StaticValue a, StaticValue b) |
static QV4_NEARLY_ALWAYS_INLINE bool | isInt32 (double d) |
static constexpr StaticValue | fromReturnedValue (ReturnedValue val) |
static constexpr StaticValue | emptyValue () |
static constexpr StaticValue | fromBoolean (bool b) |
static constexpr StaticValue | fromInt32 (int i) |
static constexpr StaticValue | undefinedValue () |
static constexpr StaticValue | nullValue () |
static StaticValue | fromDouble (double d) |
static StaticValue | fromUInt32 (uint i) |
static double | toInteger (double d) |
static int | toInt32 (double d) |
static unsigned int | toUInt32 (double d) |
Public Attributes | |
quint64 | _val |
Definition at line 44 of file qv4staticvalue_p.h.
using QV4::StaticValue::HeapBasePtr = Heap::Base * |
Definition at line 46 of file qv4staticvalue_p.h.
Definition at line 247 of file qv4staticvalue_p.h.
anonymous enum |
Enumerator | |
---|---|
Tag_Shift | |
IsIntegerConvertible_Shift | |
IsIntegerConvertible_Value | |
IsIntegerOrBool_Shift | |
IsIntegerOrBool_Value |
Definition at line 190 of file qv4staticvalue_p.h.
anonymous enum |
Enumerator | |
---|---|
QT_Empty | |
QT_Null | |
QT_Bool | |
QT_Int | |
QuickType_Shift |
Definition at line 248 of file qv4staticvalue_p.h.
|
strong |
Enumerator | |
---|---|
Managed | |
Empty | |
Null | |
Boolean | |
Integer | |
PlusInf | |
MinusInf | |
NaN | |
MinusNaN |
Definition at line 228 of file qv4staticvalue_p.h.
|
strong |
Enumerator | |
---|---|
SpecialNegative | |
SpecialQNaN | |
Special | |
IntCompat | |
Unmanaged | |
IntOrBool | |
Number |
Definition at line 160 of file qv4staticvalue_p.h.
Enumerator | |
---|---|
Managed_Type | |
Double_Type | |
Undefined_Type | |
Empty_Type | |
Null_Type | |
Boolean_Type | |
Integer_Type |
Definition at line 178 of file qv4staticvalue_p.h.
|
default |
|
inlineconstexpr |
Definition at line 49 of file qv4staticvalue_p.h.
|
inline |
Definition at line 400 of file qv4staticvalue_p.h.
References doubleValue(), int_32(), Integer, and tag().
Referenced by QV4::Runtime::CompareGreaterThan::call(), QV4::Runtime::CompareLessThan::call(), QV4::Runtime::CompareGreaterEqual::call(), QV4::Runtime::CompareLessEqual::call(), ListModel::set(), ListModel::set(), and thisNumber().
|
inlineconstexpr |
Definition at line 452 of file qv4staticvalue_p.h.
References _val.
Referenced by QV4::Encode::Encode(), QV4::Encode::Encode(), QV4::Encode::Encode(), QV4::add_int32(), QV4::RuntimeHelpers::addHelper(), QQmlDelayedCallQueue::addUniquelyAndExecuteLater(), QV4::CallData::argument(), QV4::Heap::Base::asReturnedValue(), QJSValuePrivate::asReturnedValue(), QV4::RegExpObject::builtinExec(), QV4::Runtime::CompareGreaterThan::call(), QV4::Runtime::CompareLessThan::call(), QV4::Runtime::CompareGreaterEqual::call(), QV4::Runtime::CompareLessEqual::call(), QV4::Runtime::CompareEqual::call(), QV4::Runtime::CreateUnmappedArgumentsObject::call(), QV4::Runtime::PushWithContext::call(), QV4::Runtime::LoadElement::call(), QV4::Runtime::As::call(), QV4::Runtime::PushBlockContext::call(), QV4::Runtime::PushCatchContext::call(), QV4::QObjectMethod::callInternal(), QV4::ExecutionEngine::catchException(), QV4::Value::convertedToNumber(), QV4::QMetaObjectWrapper::create(), QV4::QmlListWrapper::create(), QV4::QmlListWrapper::create(), QV4::QmlListWrapper::create(), QV4::Heap::DECLARE_EXPORTED_HEAP_OBJECT(), QV4::Heap::DECLARE_HEAP_OBJECT(), QV4::EvalFunction::evalCall(), QV4::RegExpPrototype::execFirstMatch(), QV4::ExecutionEngine::fromData(), QV4::SimpleArrayData::get(), QV4::SparseArrayData::get(), QV4::ESTable::get(), QV4::Lookup::getterIndexed(), QV4::Lookup::getterProto(), QV4::Lookup::getterProtoTwoClasses(), QV4::ExecutionEngine::global(), QV4::Lookup::globalGetterProto(), QQuickContext2DStyle::gradient_proto_addColorStop(), QV4::QObjectSlotDispatcher::impl(), QV4::Moth::VME::interpret(), QV4::QQmlContextWrapper::lookupType(), QV4::RegExpPrototype::method_get_input(), QV4::ArrayPrototype::method_get_species(), QV4::ErrorObject::method_get_stack(), QQuickJSContext2DPrototype::method_isPointInPath(), QV4::IteratorPrototype::method_iterator(), QV4::ObjectPrototype::method_preventExtensions(), QV4::ArrayPrototype::method_reduce(), QV4::IntrinsicTypedArrayPrototype::method_reduce(), QV4::ArrayPrototype::method_reduceRight(), QV4::IntrinsicTypedArrayPrototype::method_reduceRight(), QQuickJSContext2DPrototype::method_reset(), QQuickJSContext2DPrototype::method_restore(), QV4::ObjectPrototype::method_setPrototypeOf(), QV4::ArrayPrototype::method_sort(), QV4::PropertyListPrototype::method_sort(), QV4::SymbolPrototype::method_symbolToPrimitive(), QV4::StringPrototype::method_toString(), QV4::VariantPrototype::method_valueOf(), QV4::mul_int32(), QV4::ExecutionContext::newCallContext(), QV4::Encode::null(), QQmlV4Function::operator[](), QQuickStackView::pop(), QV4::SimpleArrayData::pop_front(), QV4::Lookup::primitiveGetterProto(), QQuickStackView::push(), qmlsqldatabase_rows_index(), QQmlVMEMetaObject::readVarProperty(), QV4::ExecutionEngine::registerNativeModule(), QQuickStackView::replace(), QV4::QQmlContextWrapper::resolveQmlContextPropertyLookupGetter(), QV4::HeapValue< o >::set(), QV4::PropertyIndex::set(), QV4::JSTypesStackFrame::setupJSFrame(), QV4::sub_int32(), thisNumberValue(), QJSManagedValue::toJSValue(), toVariant(), QV4::Encode::undefined(), QV4::ScriptFunction::virtualCallAsConstructor(), QV4::ProxyObject::virtualGet(), QV4::QmlListWrapper::virtualGet(), QV4::QQmlTypeWrapper::virtualGet(), QV4::QQmlScopedEnumWrapper::virtualGet(), QV4::NamedNodeMap::virtualGet(), QV4::NodeList::virtualGet(), QQmlDelegateModelGroupChangeArray::virtualGet(), QV4::QQmlTypeWrapper::virtualResolveLookupGetter(), and QQmlVMEMetaObject::vmeMethod().
|
inline |
Definition at line 248 of file qv4value_p.h.
Referenced by QV4::Runtime::PushWithContext::call(), QV4::CallMethod(), and QQmlJavaScriptExpression::evaluate().
|
inline |
Definition at line 254 of file qv4value_p.h.
|
inline |
Definition at line 406 of file qv4staticvalue_p.h.
References int_32().
Referenced by QJSValuePrivate::encode(), QV4::QQmlXMLHttpRequestCtor::method_open(), QQmlVMEMetaObject::readPropertyAsBool(), ListModel::set(), ListModel::set(), QJSManagedValue::toPrimitive(), QJSManagedValue::toVariant(), and value().
|
inlinestatic |
Definition at line 339 of file qv4staticvalue_p.h.
|
inline |
Definition at line 451 of file qv4staticvalue_p.h.
References _val.
Referenced by QV4::Heap::DECLARE_EXPORTED_HEAP_OBJECT(), and QV4::PropertyIndex::set().
|
inline |
Definition at line 358 of file qv4staticvalue_p.h.
References _val, d, EncodeMask, isDouble(), and Q_ASSERT.
Referenced by QV4::Value::asArrayLength(), asDouble(), QV4::CompiledData::CompilationUnit::bindingValueAsNumber(), QV4::Runtime::CompareEqual::call(), compareEqualInt(), QJSValuePrivate::encode(), isInt32(), QQmlVMEMetaObject::readPropertyAsDouble(), QV4::Value::sameValue(), QV4::Value::sameValueZero(), QV4::ESTable::set(), toBoolean(), toInt32(), QV4::Value::toNumber(), QJSManagedValue::toPrimitive(), and QJSManagedValue::toVariant().
|
inlinestaticconstexpr |
Definition at line 455 of file qv4staticvalue_p.h.
References Empty, and tagValue().
Referenced by QV4::Compiler::Codegen::pushArgs(), QV4::Compiler::Codegen::visit(), and QV4::Compiler::Codegen::visit().
|
inlinestaticconstexpr |
Definition at line 456 of file qv4staticvalue_p.h.
References Boolean, and tagValue().
|
inlinestatic |
Definition at line 461 of file qv4staticvalue_p.h.
References d.
Referenced by QV4::Encode::Encode(), QV4::add_int32(), QV4::mul_int32(), and QV4::sub_int32().
|
inlinestaticconstexpr |
Definition at line 457 of file qv4staticvalue_p.h.
References i, Integer, and tagValue().
Referenced by QV4::add_int32(), QV4::mul_int32(), and QV4::sub_int32().
|
inlinestaticconstexpr |
Definition at line 453 of file qv4staticvalue_p.h.
Referenced by QV4::Compiler::Codegen::binopHelper(), QQmlJSCodeGenerator::generate_LoadConst(), QQmlJSCodeGenerator::generate_MoveConst(), QV4::Compiler::Codegen::jumpBinop(), QV4::Compiler::Codegen::Reference::loadInAccumulator(), QV4::CompiledData::CompilationUnit::setUnitData(), and QV4::Compiler::Codegen::unop().
|
inlinestatic |
Definition at line 468 of file qv4staticvalue_p.h.
Referenced by QV4::Encode::Encode().
|
inlineconstexpr |
Definition at line 145 of file qv4staticvalue_p.h.
References value().
Referenced by QV4::PersistentValueStorage::allocate(), QV4::SparseArrayData::allocate(), QV4::CallData::argc(), QV4::Value::asArrayLength(), asDouble(), booleanValue(), QV4::Runtime::CompareEqual::call(), QV4::Runtime::TailCall::call(), compareEqualInt(), integerValue(), isPositiveInt(), QV4::Value::sameValue(), QV4::Value::sameValueZero(), toBoolean(), toInt32(), QV4::Value::toNumber(), and QV4::Value::toPropertyKey().
|
inline |
Definition at line 330 of file qv4staticvalue_p.h.
References _val, isEmpty(), IsIntegerConvertible_Shift, IsIntegerConvertible_Value, and Q_ASSERT.
Referenced by QV4::Moth::VME::interpret(), toBoolean(), QV4::Value::toUInt16(), and tryIntegerConversion().
|
inlinestatic |
Definition at line 335 of file qv4staticvalue_p.h.
|
inline |
Definition at line 410 of file qv4staticvalue_p.h.
References int_32().
Referenced by QV4::Runtime::CompareGreaterThan::call(), QV4::Runtime::CompareLessThan::call(), QV4::Runtime::CompareGreaterEqual::call(), QV4::Runtime::CompareLessEqual::call(), QJSValuePrivate::encode(), QV4::MathObject::method_abs(), QQmlVMEMetaObject::readPropertyAsInt(), QJSManagedValue::toPrimitive(), QV4::Value::toUInt16(), and QJSManagedValue::toVariant().
|
inline |
Definition at line 284 of file qv4staticvalue_p.h.
References Boolean, and tag().
Referenced by QV4::MatchScore(), QV4::PromiseCtor::method_all(), QV4::PromisePrototype::method_catch(), QV4::PromiseCtor::method_race(), QV4::ObjectPrototype::method_toString(), QJSManagedValue::prototype(), QQmlVMEMetaObject::readPropertyAsBool(), ListModel::set(), ListModel::set(), QJSManagedValue::toPrimitive(), QJSManagedValue::toVariant(), QJSManagedValue::type(), and value().
|
inline |
Definition at line 289 of file qv4staticvalue_p.h.
References _val, DoubleDiscriminator, and DoubleMask.
Referenced by QV4::Value::convertedToNumber(), doubleValue(), isInt32(), QV4::PromiseCtor::method_all(), QV4::PromisePrototype::method_catch(), QV4::PromiseCtor::method_race(), QQmlVMEMetaObject::readPropertyAsDouble(), QV4::Value::sameValue(), QV4::Value::sameValueZero(), QV4::ESTable::set(), setDouble(), and QV4::Value::toNumber().
|
inline |
Definition at line 282 of file qv4staticvalue_p.h.
Referenced by QV4::Runtime::CreateClass::call(), QV4::Property::completed(), QV4::SimpleArrayData::del(), QV4::Property::fullyPopulated(), integerCompatible(), QV4::SimpleArrayData::pop_front(), QV4::SimpleArrayData::truncate(), and QV4::DefaultClassConstructorFunction::virtualCallAsConstructor().
|
inline |
Definition at line 382 of file qv4staticvalue_p.h.
References d, doubleValue(), Integer, isDouble(), isInt32(), setInt_32(), and tag().
Referenced by isInt32(), QQuickStackView::pop(), QQuickStackView::push(), QQmlVMEMetaObject::readPropertyAsInt(), QQuickStackView::replace(), and QV4::Encode::smallestNumber().
|
inlinestatic |
Definition at line 395 of file qv4staticvalue_p.h.
|
inline |
Definition at line 285 of file qv4staticvalue_p.h.
References Integer, and tag().
Referenced by QV4::SparseArrayData::allocate(), QV4::CallData::argc(), QV4::Value::asArrayLength(), QV4::Runtime::CompareGreaterThan::call(), QV4::Runtime::CompareLessThan::call(), QV4::Runtime::CompareGreaterEqual::call(), QV4::Runtime::CompareLessEqual::call(), QV4::Value::convertedToNumber(), QJSManagedValue::isInteger(), isPositiveInt(), QV4::MathObject::method_abs(), QV4::PromiseCtor::method_all(), QV4::PromisePrototype::method_catch(), QV4::QQmlLocaleData::method_get_formattedDataSize(), QV4::StringPrototype::method_includes(), QV4::PromiseCtor::method_race(), QV4::ArrayData::realloc(), QV4::Value::sameValue(), QV4::Value::sameValueZero(), QV4::Value::toNumber(), QJSManagedValue::toPrimitive(), QV4::Value::toPropertyKey(), and QJSManagedValue::toVariant().
|
inline |
Definition at line 323 of file qv4staticvalue_p.h.
References _val, IsIntegerOrBool_Shift, and IsIntegerOrBool_Value.
|
inline |
Definition at line 318 of file qv4staticvalue_p.h.
References isManagedOrUndefined(), and isUndefined().
Referenced by QV4::Value::as(), QV4::Value::sameValue(), QV4::Value::sameValueZero(), QV4::Value::toQString(), QV4::Value::toQString(), and QV4::Value::toQStringNoThrow().
|
inline |
Definition at line 315 of file qv4staticvalue_p.h.
References _val, and ManagedMask.
Referenced by compareEqualInt(), isManaged(), and toBoolean().
|
inline |
Definition at line 343 of file qv4staticvalue_p.h.
References MinusNaN, NaN, and tag().
Referenced by QV4::Runtime::CompareEqual::call(), and setDouble().
|
inline |
Definition at line 283 of file qv4staticvalue_p.h.
Referenced by QV4::Runtime::CompareEqual::call(), QV4::Runtime::CreateClass::call(), QV4::WeakSetCtor::construct(), getThisString(), QQmlDelegateModelPrivate::insert(), QJSManagedValue::isNull(), isNullOrUndefined(), QV4::MatchScore(), QQmlVMEMetaObject::metaCall(), QV4::ObjectPrototype::method_set_proto(), QV4::ObjectPrototype::method_setPrototypeOf(), QV4::Reflect::method_setPrototypeOf(), QV4::ObjectPrototype::method_toString(), QQuickStackView::replace(), ListModel::set(), QJSManagedValue::toPrimitive(), QJSManagedValue::toVariant(), QV4::ObjectCtor::virtualCall(), QV4::ObjectCtor::virtualCallAsConstructor(), and QV4::ProxyObject::virtualGetPrototypeOf().
|
inline |
Definition at line 286 of file qv4staticvalue_p.h.
References isNull(), and isUndefined().
Referenced by QV4::Runtime::CompareEqual::call(), QV4::WeakMapCtor::construct(), QJSManagedValue::equals(), QQmlJavaScriptExpression::evaluate(), QJSManagedValue::hasOwnProperty(), QJSManagedValue::hasOwnProperty(), QJSManagedValue::hasProperty(), QJSManagedValue::hasProperty(), QV4::Moth::VME::interpret(), QV4::FunctionPrototype::method_apply(), QV4::StringPrototype::method_iterator(), QV4::StringPrototype::method_match(), QV4::StringPrototype::method_padEnd(), QV4::StringPrototype::method_padStart(), QJSManagedValue::property(), QJSManagedValue::property(), ListModel::set(), ListModel::set(), QJSManagedValue::setProperty(), QV4::ProxyFunctionObject::virtualCall(), QV4::ProxyFunctionObject::virtualCallAsConstructor(), QV4::ProxyObject::virtualDefineOwnProperty(), QV4::ProxyObject::virtualDeleteProperty(), QV4::ProxyObject::virtualGet(), QV4::ProxyObject::virtualGetOwnProperty(), QV4::ProxyObject::virtualGetPrototypeOf(), QV4::ProxyObject::virtualHasProperty(), QV4::ProxyObject::virtualIsExtensible(), QV4::ProxyObject::virtualPreventExtensions(), QV4::ProxyObject::virtualPut(), and QV4::ProxyObject::virtualSetPrototypeOf().
|
inline |
Definition at line 302 of file qv4staticvalue_p.h.
References _val, NumberDiscriminator, and NumberMask.
Referenced by QV4::Value::asArrayLength(), QV4::Runtime::CompareGreaterThan::call(), QV4::Runtime::CompareLessThan::call(), QV4::Runtime::CompareGreaterEqual::call(), QV4::Runtime::CompareLessEqual::call(), QV4::MatchScore(), QV4::QQmlLocaleData::method_get_formattedDataSize(), QV4::StringPrototype::method_includes(), QV4::JsonObject::method_stringify(), QV4::DatePrototype::method_toJSON(), QV4::ObjectPrototype::method_toString(), QJSManagedValue::prototype(), ListModel::set(), ListModel::set(), thisNumber(), thisNumberValue(), QJSManagedValue::toPrimitive(), QJSManagedValue::toVariant(), QJSManagedValue::type(), and QV4::ArrayCtor::virtualCallAsConstructor().
|
inline |
Definition at line 354 of file qv4staticvalue_p.h.
References int_32(), and isInteger().
|
inline |
Definition at line 287 of file qv4staticvalue_p.h.
References _val.
Referenced by QV4::Runtime::CompareEqual::call(), compareEqualInt(), QV4::WeakSetCtor::construct(), QV4::convertAndCall(), QV4::doInstanceof(), doWriteProperties(), getThisString(), QV4::QObjectSlotDispatcher::impl(), QQmlComponent::incubateObject(), QQmlComponentPrivate::initializeObjectWithInitialProperties(), QV4::Object::isConcatSpreadable(), isManaged(), isNullOrUndefined(), QJSValue::isUndefined(), QV4::IntrinsicTypedArrayPrototype::method_copyWithin(), QV4::ObjectPrototype::method_defineGetter(), QV4::ObjectPrototype::method_defineSetter(), QV4::QObjectWrapper::method_disconnect(), QV4::IntrinsicTypedArrayPrototype::method_fill(), QV4::IntrinsicTypedArrayPrototype::method_includes(), QV4::ArrayPrototype::method_join(), QV4::StringPrototype::method_padEnd(), QV4::StringPrototype::method_padStart(), QV4::StringPrototype::method_slice(), QV4::IntrinsicTypedArrayPrototype::method_slice(), QV4::PropertyListPrototype::method_sort(), QV4::StringPrototype::method_split(), QV4::IntrinsicTypedArrayPrototype::method_subarray(), QV4::NumberPrototype::method_toExponential(), QV4::ObjectPrototype::method_toString(), QV4::Object::setProtoFromNewTarget(), QQuick3DLoader::setSource(), QV4::SharedArrayBufferPrototype::slice(), QV4::ArrayData::sort(), QV4::Object::speciesConstructor(), QJSManagedValue::strictlyEquals(), QV4::throwPropertyIsNotAFunctionTypeError(), QJSManagedValue::toPrimitive(), QJSManagedValue::toVariant(), type(), QJSManagedValue::type(), QV4::ObjectCtor::virtualCall(), QV4::DefaultClassConstructorFunction::virtualCallAsConstructor(), QV4::SharedArrayBufferCtor::virtualCallAsConstructor(), QV4::DataViewCtor::virtualCallAsConstructor(), QV4::ObjectCtor::virtualCallAsConstructor(), QV4::RegExpCtor::virtualCallAsConstructor(), QV4::TypedArrayCtor::virtualCallAsConstructor(), QV4::ProxyObject::virtualGet(), QV4::ProxyObject::virtualGetOwnProperty(), QV4::ProxyObject::virtualOwnPropertyKeys(), and QV4::ProxyObject::virtualPut().
|
inlinestaticconstexpr |
Definition at line 459 of file qv4staticvalue_p.h.
References Null, and tagValue().
Referenced by QV4::Encode::null().
|
inline |
Definition at line 241 of file qv4value_p.h.
StaticValue & QV4::StaticValue::operator= | ( | const Value & | ) |
|
inline |
Definition at line 234 of file qv4value_p.h.
References _val.
|
inline |
Definition at line 51 of file qv4staticvalue_p.h.
References _val.
|
inline |
Definition at line 279 of file qv4staticvalue_p.h.
References _val, and QuickType_Shift.
Referenced by QV4::Runtime::CompareEqual::call(), and compareEqualInt().
|
inlineconstexpr |
Definition at line 129 of file qv4staticvalue_p.h.
References _val.
Referenced by QV4::Scoped< T >::asReturnedValue(), and QV4::StringCtor::method_raw().
|
inlineconstexpr |
Definition at line 128 of file qv4staticvalue_p.h.
References _val.
|
inline |
Definition at line 366 of file qv4staticvalue_p.h.
References _val, d, EncodeMask, isDouble(), isNaN(), NaN, Q_ASSERT, qt_is_nan(), and Tag_Shift.
|
inlineconstexpr |
Definition at line 155 of file qv4staticvalue_p.h.
References Empty, and setTagValue().
Referenced by QV4::ArrayData::realloc().
|
inlineconstexpr |
Definition at line 149 of file qv4staticvalue_p.h.
References i, Integer, and setTagValue().
Referenced by isInt32(), and QV4::CallData::setArgc().
|
inlineconstexpr |
Definition at line 130 of file qv4staticvalue_p.h.
References _val.
Referenced by QV4::Scoped< T >::Scoped(), QV4::Scoped< T >::Scoped(), QV4::ScopedValue::ScopedValue(), QV4::ScopedValue::ScopedValue(), QV4::ScopedValue::ScopedValue(), QV4::IntrinsicTypedArrayPrototype::method_set(), QV4::ScopedValue::operator=(), and QV4::TypedArrayCtor::virtualCallAsConstructor().
|
inlineconstexpr |
Definition at line 143 of file qv4staticvalue_p.h.
References setTagValue(), tag(), and value().
|
inlineconstexpr |
Definition at line 140 of file qv4staticvalue_p.h.
References _val, tag(), Tag_Shift, and value().
Referenced by setEmpty(), setInt_32(), setTag(), and tryIntegerConversion().
|
inlineconstexpr |
Definition at line 142 of file qv4staticvalue_p.h.
References _val, and Tag_Shift.
Referenced by asDouble(), isBoolean(), isEmpty(), isInt32(), isInteger(), isNaN(), isNull(), setTag(), setTagValue(), tagValue(), and type().
Definition at line 176 of file qv4staticvalue_p.h.
References Tag_Shift.
Referenced by type().
|
inlinestatic |
Definition at line 134 of file qv4staticvalue_p.h.
|
inlinestaticconstexpr |
Definition at line 139 of file qv4staticvalue_p.h.
References tag(), Tag_Shift, and value().
Referenced by emptyValue(), fromBoolean(), fromInt32(), and nullValue().
|
inline |
Definition at line 421 of file qv4staticvalue_p.h.
References d, doubleValue(), int_32(), integerCompatible(), and isManagedOrUndefined().
|
inline |
Definition at line 433 of file qv4staticvalue_p.h.
References Boolean_Type, Double_Type, doubleValue(), Empty_Type, int_32(), Integer_Type, Managed_Type, Null_Type, type(), and Undefined_Type.
Referenced by QV4::Compiler::Codegen::binopHelper(), QV4::Compiler::Codegen::Reference::loadInAccumulator(), and toUInt32().
|
inlinestatic |
Definition at line 488 of file qv4staticvalue_p.h.
References d.
|
inlinestatic |
Definition at line 479 of file qv4staticvalue_p.h.
References d.
|
inlinestatic |
|
inline |
Definition at line 414 of file qv4staticvalue_p.h.
References Integer, integerCompatible(), setTagValue(), and value().
|
inline |
Definition at line 256 of file qv4staticvalue_p.h.
References _val, Boolean_Type, Double_Type, DoubleDiscriminator, DoubleMask, Empty_Type, Integer_Type, isUndefined(), Managed_Type, Null_Type, Q_ASSERT, ret, tag(), tagBitMask(), Undefined_Type, and Unmanaged.
Referenced by QV4::Runtime::As::call(), QJSValuePrivate::encode(), QV4::TypedArrayPrototype::init(), instanceOfQObject(), QV4::QQmlTypeWrapper::lookupSingletonMethod(), QV4::ExecutionContext::newBlockContext(), QV4::numDefinedArguments(), QV4::ArrayData::sort(), toInt32(), QV4::TypedArrayCtor::virtualCallAsConstructor(), QV4::QQmlScopedEnumWrapper::virtualGet(), and QV4::QQmlTypeWrapper::virtualInstanceOf().
|
inline |
Definition at line 153 of file qv4staticvalue_p.h.
References value().
|
inlinestaticconstexpr |
Definition at line 458 of file qv4staticvalue_p.h.
Referenced by QV4::CallData::argument(), QV4::PropertyKey::invalid(), and QV4::Encode::undefined().
|
inlineconstexpr |
Definition at line 141 of file qv4staticvalue_p.h.
References _val.
Referenced by Collector::collect(), QV4::SparseArrayData::del(), int_32(), QV4::IntrinsicTypedArrayPrototype::method_indexOf(), QV4::IntrinsicTypedArrayPrototype::method_join(), QV4::IntrinsicTypedArrayPrototype::method_lastIndexOf(), QQuickJSContext2D::method_set_fillRule(), QQuickJSContext2D::method_set_fillStyle(), QQuickJSContext2D::method_set_strokeStyle(), setTag(), setTagValue(), tagValue(), tryIntegerConversion(), uint_32(), QV4::StringCtor::virtualCallAsConstructor(), QV4::QQmlTypeWrapper::virtualGet(), QV4::ArgumentsObject::virtualGetOwnProperty(), QV4::Module::virtualGetOwnProperty(), QV4::StringObject::virtualGetOwnProperty(), QV4::UrlSearchParamsObject::virtualGetOwnProperty(), QV4::Sequence::virtualPut(), and QV4::QQmlTypeWrapper::virtualResolveLookupGetter().
|
inlinestatic |
Definition at line 133 of file qv4staticvalue_p.h.
quint64 QV4::StaticValue::_val |
Definition at line 126 of file qv4staticvalue_p.h.
Referenced by asReturnedValue(), data_ptr(), doubleValue(), QV4::Value::fromStaticValue(), integerCompatible(), isDouble(), isIntOrBool(), isManagedOrUndefined(), isNumber(), isUndefined(), QV4::Value::operator=(), QV4::Value::operator=(), operator=(), operator=(), quickType(), rawValue(), rawValueRef(), QV4::Value::sameValue(), QV4::Value::sameValueZero(), setDouble(), setRawValue(), setTagValue(), tag(), type(), and value().
|
staticconstexpr |
Definition at line 222 of file qv4staticvalue_p.h.
Referenced by isDouble(), and type().
|
staticconstexpr |
Definition at line 215 of file qv4staticvalue_p.h.
Referenced by isDouble(), and type().
|
staticconstexpr |
Definition at line 220 of file qv4staticvalue_p.h.
Referenced by doubleValue(), and setDouble().
|
staticconstexpr |
Definition at line 208 of file qv4staticvalue_p.h.
|
staticconstexpr |
Definition at line 218 of file qv4staticvalue_p.h.
|
staticconstexpr |
Definition at line 217 of file qv4staticvalue_p.h.
|
staticconstexpr |
Definition at line 212 of file qv4staticvalue_p.h.
|
staticconstexpr |
Definition at line 214 of file qv4staticvalue_p.h.
Referenced by isManagedOrUndefined().
|
staticconstexpr |
Definition at line 224 of file qv4staticvalue_p.h.
Referenced by isNumber().
|
staticconstexpr |
Definition at line 216 of file qv4staticvalue_p.h.
Referenced by isNumber().
|
staticconstexpr |
Definition at line 210 of file qv4staticvalue_p.h.
|
staticconstexpr |
Definition at line 211 of file qv4staticvalue_p.h.