![]() |
Qt 6.x
The Qt SDK
|
#include <qv4typedarray_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) |
static ReturnedValue | method_get_length (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
static ReturnedValue | method_copyWithin (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
static ReturnedValue | method_entries (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
static ReturnedValue | method_every (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
static ReturnedValue | method_fill (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
static ReturnedValue | method_filter (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
static ReturnedValue | method_find (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
static ReturnedValue | method_findIndex (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
static ReturnedValue | method_forEach (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
static ReturnedValue | method_includes (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
static ReturnedValue | method_indexOf (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
static ReturnedValue | method_join (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
static ReturnedValue | method_keys (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
static ReturnedValue | method_lastIndexOf (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
static ReturnedValue | method_map (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
static ReturnedValue | method_reduce (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
static ReturnedValue | method_reduceRight (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
static ReturnedValue | method_reverse (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
static ReturnedValue | method_some (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
static ReturnedValue | method_values (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
static ReturnedValue | method_set (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
static ReturnedValue | method_slice (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
static ReturnedValue | method_subarray (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
static ReturnedValue | method_toLocaleString (const FunctionObject *, const Value *thisObject, const Value *argv, int argc) |
static ReturnedValue | method_get_toStringTag (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 158 of file qv4typedarray_p.h.
void IntrinsicTypedArrayPrototype::init | ( | ExecutionEngine * | engine, |
IntrinsicTypedArrayCtor * | ctor | ||
) |
Definition at line 1784 of file qv4typedarray.cpp.
References QV4::Object::addSymbolSpecies(), QV4::ExecutionEngine::arrayPrototype(), QV4::FunctionObject::createBuiltinFunction(), QV4::Object::defineAccessorProperty(), QV4::Object::defineDefaultProperty(), QV4::Object::defineReadonlyConfigurableProperty(), QV4::Object::defineReadonlyProperty(), QV4::Managed::engine(), QV4::Scope::engine, QV4::Value::fromInt32(), QV4::Object::get(), QV4::ExecutionEngine::id_length(), QV4::ExecutionEngine::id_name(), QV4::ExecutionEngine::id_prototype(), QV4::ExecutionEngine::id_toLocaleString(), QV4::ExecutionEngine::id_toString(), QV4::IntrinsicTypedArrayCtor::method_from(), QV4::method_get_length(), QV4::IntrinsicTypedArrayCtor::method_of(), QV4::ExecutionEngine::newIdentifier(), QV4::ExecutionEngine::newString(), QStringLiteral, QV4::ExecutionEngine::symbol_iterator(), and QV4::ExecutionEngine::symbol_toStringTag().
|
static |
Definition at line 638 of file qv4typedarray.cpp.
References QV4::Scoped< T >::asReturnedValue(), QV4::Scope::engine, QV4::StaticValue::isUndefined(), Q_ASSERT, QV4::ExecutionEngine::throwTypeError(), and QV4::Value::toInteger().
|
static |
Definition at line 687 of file qv4typedarray.cpp.
References QV4::Scoped< T >::asReturnedValue(), QV4::Scope::engine, QV4::KeyValueIteratorKind, QV4::ExecutionEngine::newArrayIteratorObject(), and QV4::ExecutionEngine::throwTypeError().
|
static |
Definition at line 699 of file qv4typedarray.cpp.
References QV4::Scope::alloc(), arguments, QV4::FunctionObject::call(), CHECK_EXCEPTION, QV4::Scope::engine, QV4::Value::fromDouble(), QV4::Value::isFunctionObject(), ok, THROW_TYPE_ERROR, QV4::ExecutionEngine::throwTypeError(), and QV4::Value::undefinedValue().
|
static |
Definition at line 736 of file qv4typedarray.cpp.
References QV4::Scope::engine, QV4::Value::fromDouble(), QV4::Scope::hasException(), QV4::StaticValue::isUndefined(), QV4::ExecutionEngine::throwTypeError(), QV4::Value::toInteger(), and QV4::Value::toNumber().
|
static |
Definition at line 800 of file qv4typedarray.cpp.
References QV4::Scope::alloc(), arguments, QV4::FunctionObject::call(), CHECK_EXCEPTION, QV4::Scope::engine, QV4::Value::fromDouble(), i, QV4::Value::isFunctionObject(), list, THROW_TYPE_ERROR, QV4::ExecutionEngine::throwTypeError(), QV4::Value::toBoolean(), typedArraySpeciesCreate(), QV4::Encode::undefined(), and QV4::Value::undefinedValue().
|
static |
Definition at line 848 of file qv4typedarray.cpp.
References QV4::Scope::alloc(), arguments, QV4::FunctionObject::call(), CHECK_EXCEPTION, QV4::Scope::engine, QV4::Value::fromDouble(), QV4::Value::isFunctionObject(), RETURN_UNDEFINED, THROW_TYPE_ERROR, QV4::ExecutionEngine::throwTypeError(), and QV4::Value::undefinedValue().
|
static |
Definition at line 884 of file qv4typedarray.cpp.
References QV4::Scope::alloc(), arguments, QV4::FunctionObject::call(), CHECK_EXCEPTION, QV4::Scope::engine, QV4::Value::fromDouble(), QV4::Value::isFunctionObject(), THROW_TYPE_ERROR, QV4::ExecutionEngine::throwTypeError(), and QV4::Value::undefinedValue().
|
static |
Definition at line 920 of file qv4typedarray.cpp.
References QV4::Scope::alloc(), arguments, QV4::FunctionObject::call(), QV4::Scope::engine, QV4::Value::fromDouble(), QV4::Value::isFunctionObject(), RETURN_UNDEFINED, THROW_TYPE_ERROR, QV4::ExecutionEngine::throwTypeError(), and QV4::Value::undefinedValue().
|
static |
Definition at line 589 of file qv4typedarray.cpp.
References QV4::Value::as(), and QV4::ExecutionEngine::throwTypeError().
|
static |
Definition at line 599 of file qv4typedarray.cpp.
References QV4::Value::as(), and QV4::ExecutionEngine::throwTypeError().
|
static |
Definition at line 612 of file qv4typedarray.cpp.
References QV4::Value::as(), and QV4::ExecutionEngine::throwTypeError().
|
static |
Definition at line 625 of file qv4typedarray.cpp.
References QV4::Value::as(), and QV4::ExecutionEngine::throwTypeError().
|
static |
Definition at line 1587 of file qv4typedarray.cpp.
References QV4::Value::as(), QString::fromLatin1(), and QV4::Encode::undefined().
|
static |
Definition at line 952 of file qv4typedarray.cpp.
References QV4::Scope::engine, QV4::StaticValue::isUndefined(), QV4::ExecutionEngine::throwTypeError(), and QV4::Value::toInteger().
|
static |
Definition at line 990 of file qv4typedarray.cpp.
References CHECK_EXCEPTION, QV4::Scope::engine, i, qMax(), QV4::RuntimeHelpers::strictEqual(), QV4::ExecutionEngine::throwTypeError(), QV4::Value::toInteger(), QV4::Value::undefinedValue(), and QV4::StaticValue::value().
|
static |
Definition at line 1037 of file qv4typedarray.cpp.
References argument, CHECK_EXCEPTION, QV4::Scope::engine, QV4::Value::fromDouble(), i, QV4::ExecutionEngine::newString(), QStringLiteral, QV4::ExecutionEngine::throwTypeError(), QV4::Value::toString(), QV4::Value::undefinedValue(), and QV4::StaticValue::value().
|
static |
Definition at line 1077 of file qv4typedarray.cpp.
References QV4::Scoped< T >::asReturnedValue(), QV4::Scope::engine, QV4::KeyIteratorKind, QV4::ExecutionEngine::newArrayIteratorObject(), and QV4::ExecutionEngine::throwTypeError().
|
static |
Definition at line 1090 of file qv4typedarray.cpp.
References CHECK_EXCEPTION, QV4::Scope::engine, qMin(), QV4::RuntimeHelpers::strictEqual(), QV4::ExecutionEngine::throwTypeError(), QV4::Value::toInteger(), QV4::Value::undefinedValue(), and QV4::StaticValue::value().
|
static |
Definition at line 1133 of file qv4typedarray.cpp.
References QV4::Scope::alloc(), arguments, QV4::FunctionObject::call(), CHECK_EXCEPTION, QV4::Scope::engine, QV4::Value::fromDouble(), QV4::Value::isFunctionObject(), THROW_TYPE_ERROR, QV4::ExecutionEngine::throwTypeError(), typedArraySpeciesCreate(), QV4::Encode::undefined(), and QV4::Value::undefinedValue().
|
static |
Definition at line 1169 of file qv4typedarray.cpp.
References QV4::Scope::alloc(), arguments, QV4::StaticValue::asReturnedValue(), QV4::FunctionObject::call(), CHECK_EXCEPTION, QV4::Scope::engine, QV4::Value::fromDouble(), QV4::Value::isFunctionObject(), THROW_TYPE_ERROR, and QV4::ExecutionEngine::throwTypeError().
|
static |
Definition at line 1220 of file qv4typedarray.cpp.
References QV4::Scope::alloc(), arguments, QV4::StaticValue::asReturnedValue(), QV4::FunctionObject::call(), CHECK_EXCEPTION, QV4::Scope::engine, QV4::Value::fromDouble(), QV4::Value::isFunctionObject(), THROW_TYPE_ERROR, and QV4::ExecutionEngine::throwTypeError().
|
static |
Definition at line 1276 of file qv4typedarray.cpp.
References QV4::Scoped< T >::asReturnedValue(), QV4::Scope::engine, ok, Q_ASSERT, and QV4::ExecutionEngine::throwTypeError().
|
static |
Definition at line 1351 of file qv4typedarray.cpp.
References QV4::Scope::engine, QV4::Scope::hasException(), i, QV4::ExecutionEngine::id_length(), o, QStringLiteral, read(), RETURN_RESULT, RETURN_UNDEFINED, QV4::StaticValue::setRawValue(), QV4::ExecutionEngine::throwRangeError(), QV4::ExecutionEngine::throwTypeError(), QV4::Value::toInteger(), QV4::Value::toNumber(), QV4::Value::toObject(), QV4::Encode::undefined(), and write().
|
static |
Definition at line 1450 of file qv4typedarray.cpp.
References e, QV4::Scope::engine, i, QV4::StaticValue::isUndefined(), qMax(), QV4::ExecutionEngine::throwTypeError(), QV4::Value::toInteger(), typedArraySpeciesCreate(), QV4::Encode::undefined(), and QV4::Value::undefinedValue().
|
static |
Definition at line 1303 of file qv4typedarray.cpp.
References QV4::Scope::alloc(), arguments, QV4::FunctionObject::call(), CHECK_EXCEPTION, QV4::Scope::engine, QV4::Value::fromDouble(), QV4::Value::isFunctionObject(), THROW_TYPE_ERROR, QV4::ExecutionEngine::throwTypeError(), and QV4::Value::undefinedValue().
|
static |
Definition at line 1497 of file qv4typedarray.cpp.
References QV4::Scope::alloc(), arguments, QV4::Object::arrayType(), begin(), e, QV4::Scope::engine, QV4::Scope::hasException(), QV4::StaticValue::isUndefined(), Q_ASSERT, qBound(), RETURN_UNDEFINED, QV4::ExecutionEngine::throwTypeError(), QV4::Value::toInteger(), and QV4::ExecutionEngine::typedArrayCtors.
|
static |
Definition at line 1540 of file qv4typedarray.cpp.
References QV4::Heap::Base::asReturnedValue(), QV4::Scope::engine, function, QV4::EngineBase::hasException, QV4::Scope::hasException(), QV4::ExecutionEngine::id_toLocaleString(), QV4::ExecutionEngine::newString(), Q_ASSERT, QStringLiteral, R, QV4::ExecutionEngine::throwTypeError(), QV4::StringOrSymbol::toPropertyKey(), and QV4::Encode::undefined().
|
static |
Definition at line 1339 of file qv4typedarray.cpp.
References QV4::Scoped< T >::asReturnedValue(), QV4::Scope::engine, QV4::ExecutionEngine::newArrayIteratorObject(), QV4::ExecutionEngine::throwTypeError(), and QV4::ValueIteratorKind.