![]() |
Qt 6.x
The Qt SDK
|
#include <qv4arraydata_p.h>
Static Public Member Functions | |
static Heap::ArrayData * | reallocate (Object *o, uint n, bool enforceAttributes) |
static ReturnedValue | get (const Heap::ArrayData *d, uint index) |
static bool | put (Object *o, uint index, const Value &value) |
static bool | putArray (Object *o, uint index, const Value *values, uint n) |
static bool | del (Object *o, uint index) |
static void | setAttribute (Object *o, uint index, PropertyAttributes attrs) |
static void | push_front (Object *o, const Value *values, uint n) |
static ReturnedValue | pop_front (Object *o) |
static uint | truncate (Object *o, uint newLen) |
static uint | length (const Heap::ArrayData *d) |
![]() | |
static void | ensureAttributes (Object *o) |
static void | realloc (Object *o, Type newType, uint alloc, bool enforceAttributes) |
static void | sort (ExecutionEngine *engine, Object *thisObject, const Value &comparefn, uint dataLen) |
static uint | append (Object *obj, ArrayObject *otherObj, uint n) |
static void | insert (Object *o, uint index, const Value *v, bool isAccessor=false) |
![]() | |
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 184 of file qv4arraydata_p.h.
Definition at line 190 of file qv4arraydata_p.h.
References d.
Definition at line 204 of file qv4arraydata.cpp.
References QV4::Attr_Data, QV4::ArrayData::attrs(), QV4::Heap::SimpleArrayData::data(), QV4::Value::emptyValue(), QV4::PropertyAttributes::isConfigurable(), QV4::StaticValue::isEmpty(), o, and QV4::Heap::SimpleArrayData::setData().
|
static |
Definition at line 182 of file qv4arraydata.cpp.
References QV4::StaticValue::asReturnedValue(), d, QV4::Heap::SimpleArrayData::data(), and QV4::Value::emptyValue().
|
inline |
Definition at line 192 of file qv4arraydata_p.h.
References d.
|
inline |
Definition at line 193 of file qv4arraydata_p.h.
References d.
|
static |
Definition at line 279 of file qv4arraydata.cpp.
References d.
Definition at line 189 of file qv4arraydata_p.h.
References d.
|
static |
Definition at line 247 of file qv4arraydata.cpp.
References QV4::ArrayData::alloc(), QV4::StaticValue::asReturnedValue(), QV4::ArrayData::attrs(), QV4::Heap::SimpleArrayData::data(), QV4::StaticValue::isEmpty(), o, Q_ASSERT, and QV4::Encode::undefined().
Definition at line 226 of file qv4arraydata.cpp.
References QV4::ArrayData::alloc(), QV4::ArrayData::attrs(), i, o, Q_ASSERT, QV4::ArrayData::realloc(), and QV4::Heap::SimpleArrayData::setData().
Definition at line 190 of file qv4arraydata.cpp.
References QV4::Attr_Data, QV4::ArrayData::attrs(), QV4::PropertyAttributes::isAccessor(), o, Q_ASSERT, and QV4::Heap::SimpleArrayData::setData().
Definition at line 284 of file qv4arraydata.cpp.
References QV4::ArrayData::alloc(), e, QV4::Value::emptyValue(), i, o, qMax(), reallocate(), and QV4::Heap::SimpleArrayData::setData().
Definition at line 168 of file qv4arraydata.cpp.
References o, and QV4::ArrayData::realloc().
Referenced by putArray().
|
static |
Definition at line 221 of file qv4arraydata.cpp.
References QV4::ArrayData::attrs(), and o.
Definition at line 260 of file qv4arraydata.cpp.
References QV4::ArrayData::attrs(), QV4::Heap::SimpleArrayData::data(), QV4::PropertyAttributes::isConfigurable(), QV4::StaticValue::isEmpty(), and o.