![]() |
Qt 6.x
The Qt SDK
|
#include <qv4dataview_p.h>
Static Public Member Functions | |
static ReturnedValue | method_get_buffer (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
static ReturnedValue | method_get_byteLength (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
static ReturnedValue | method_get_byteOffset (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
template<typename T > | |
static ReturnedValue | method_getChar (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
template<typename T > | |
static ReturnedValue | method_get (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
template<typename T > | |
static ReturnedValue | method_getFloat (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
template<typename T > | |
static ReturnedValue | method_setChar (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
template<typename T > | |
static ReturnedValue | method_set (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
template<typename T > | |
static ReturnedValue | method_setFloat (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
![]() | |
static ReturnedValue | getValue (const Value *thisObject, const Value &v, PropertyAttributes attrs) |
static ReturnedValue | getValueAccessor (const Value *thisObject, const Value &v, PropertyAttributes attrs) |
static ReturnedValue | checkedInstanceOf (ExecutionEngine *engine, const FunctionObject *typeObject, const Value &var) |
![]() | |
static constexpr Value | fromStaticValue (StaticValue staticValue) |
static Value | fromHeapObject (HeapBasePtr m) |
static bool | toBooleanImpl (Value val) |
static double | toNumberImpl (Value v) |
static Heap::String * | toString (ExecutionEngine *e, Value val) |
static Heap::Object * | toObject (ExecutionEngine *e, Value val) |
static constexpr Value | fromReturnedValue (ReturnedValue val) |
static double | toInteger (double d) |
static int | toInt32 (double d) |
static unsigned int | toUInt32 (double d) |
static constexpr Value | emptyValue () |
static constexpr Value | fromBoolean (bool b) |
static constexpr Value | fromInt32 (int i) |
static constexpr Value | undefinedValue () |
static constexpr Value | nullValue () |
static Value | fromDouble (double d) |
static Value | fromUInt32 (uint i) |
![]() | |
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) |
Definition at line 56 of file qv4dataview_p.h.
void DataViewPrototype::init | ( | ExecutionEngine * | engine, |
Object * | ctor | ||
) |
Definition at line 73 of file qv4dataview.cpp.
References QV4::Object::defineReadonlyConfigurableProperty(), QV4::Object::defineReadonlyProperty(), engine, QV4::Scope::engine, QV4::Value::fromInt32(), o, QStringLiteral, and QV4::ExecutionEngine::symbol_toStringTag().
|
static |
Definition at line 169 of file qv4dataview.cpp.
References QV4::Value::as(), e, false, QStringLiteral, QV4::Value::toBoolean(), toIndex(), QV4::Encode::undefined(), and QV4::Value::undefinedValue().
|
static |
Definition at line 114 of file qv4dataview.cpp.
References QV4::Value::as(), QV4::Managed::engine(), and QV4::ExecutionEngine::throwTypeError().
|
static |
Definition at line 123 of file qv4dataview.cpp.
References QV4::Value::as(), QV4::Managed::engine(), and QV4::ExecutionEngine::throwTypeError().
|
static |
Definition at line 135 of file qv4dataview.cpp.
References QV4::Value::as(), QV4::Managed::engine(), and QV4::ExecutionEngine::throwTypeError().
|
static |
Definition at line 148 of file qv4dataview.cpp.
References QV4::Value::as(), e, QStringLiteral, toIndex(), QV4::Encode::undefined(), and QV4::Value::undefinedValue().
|
static |
Definition at line 194 of file qv4dataview.cpp.
References QV4::Value::as(), d, e, false, i, Q_ASSERT, QStringLiteral, QV4::Value::toBoolean(), toIndex(), QV4::Encode::undefined(), and QV4::Value::undefinedValue().
|
static |
Definition at line 260 of file qv4dataview.cpp.
References QV4::Value::as(), e, false, QStringLiteral, RETURN_UNDEFINED, QV4::Value::toBoolean(), toIndex(), QV4::Value::toInt32(), QV4::Encode::undefined(), and QV4::Value::undefinedValue().
|
static |
Definition at line 235 of file qv4dataview.cpp.
References QV4::Value::as(), e, QStringLiteral, RETURN_UNDEFINED, toIndex(), QV4::Value::toInt32(), QV4::Encode::undefined(), and QV4::Value::undefinedValue().
|
static |
Definition at line 290 of file qv4dataview.cpp.
References QV4::Value::as(), d, e, false, i, Q_ASSERT, QStringLiteral, qt_qnan(), qToBigEndian(), qToLittleEndian(), RETURN_UNDEFINED, QV4::Value::toBoolean(), toIndex(), QV4::Value::toNumber(), QV4::Encode::undefined(), and QV4::Value::undefinedValue().