Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | namespace QV4 { | - |
5 | struct ArrayData; | - |
6 | | - |
7 | struct ArrayVTable | - |
8 | { | - |
9 | VTable vTable; | - |
10 | uint type; | - |
11 | Heap::ArrayData *(*reallocate)(Object *o, uint n, bool enforceAttributes); | - |
12 | ReturnedValue (*get)(const Heap::ArrayData *d, uint index); | - |
13 | bool (*put)(Object *o, uint index, const Value &value); | - |
14 | bool (*putArray)(Object *o, uint index, const Value *values, uint n); | - |
15 | bool (*del)(Object *o, uint index); | - |
16 | void (*setAttribute)(Object *o, uint index, PropertyAttributes attrs); | - |
17 | void (*push_front)(Object *o, const Value *values, uint n); | - |
18 | ReturnedValue (*pop_front)(Object *o); | - |
19 | uint (*truncate)(Object *o, uint newLen); | - |
20 | uint (*length)(const Heap::ArrayData *d); | - |
21 | }; | - |
22 | | - |
23 | namespace Heap { | - |
24 | struct ArrayDataOffsetStruct { ushort type; ushort unused; uint offset; PropertyAttributes * attrs; SparseArray * sparse; ValueArray<0> values; }; struct ArrayDataSizeStruct : Base, ArrayDataOffsetStruct {}; struct ArrayDataData { typedef Base SuperClass; static constexpr size_t baseOffset = sizeof(ArrayDataSizeStruct) - sizeof(ArrayDataOffsetStruct); ushort type; ushort unused; uint offset; PropertyAttributes * attrs; SparseArray * sparse; ValueArray< | - |
25 | __builtin_offsetof ( | - |
26 | ArrayDataOffsetStruct | - |
27 | , | - |
28 | values | - |
29 | ) | - |
30 | + baseOffset> values; }; static_assert(bool(sizeof(ArrayDataSizeStruct) == sizeof(ArrayDataData) + ArrayDataData::baseOffset), "sizeof(ArrayDataSizeStruct) == sizeof(ArrayDataData) + ArrayDataData::baseOffset"); struct ArrayData : Base, ArrayDataData { | - |
31 | static void markObjects(Heap::Base *base, MarkStack *stack); | - |
32 | | - |
33 | enum Type { Simple = 0, Complex = 1, Sparse = 2, Custom = 3 }; | - |
34 | | - |
35 | bool isSparse() const { returnexecuted 27778575 times by 54 tests: return type == Sparse; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
type == Sparse;executed 27778575 times by 54 tests: return type == Sparse; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
} | 27778575 |
36 | | - |
37 | const ArrayVTable *vtable() const { returnexecuted 114156 times by 30 tests: return reinterpret_cast<const ArrayVTable *>(internalClass->vtable); Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickscreen
- ...
reinterpret_cast<const ArrayVTable *>(internalClass->vtable);executed 114156 times by 30 tests: return reinterpret_cast<const ArrayVTable *>(internalClass->vtable); Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickscreen
- ...
} | 114156 |
38 | | - |
39 | inline ReturnedValue get(uint i) const { | - |
40 | returnexecuted 79185 times by 17 tests: return vtable()->get(this, i); Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlapplicationengine
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickscreen
- tst_qquickvisualdatamodel
- tst_qquickwindow
vtable()->get(this, i);executed 79185 times by 17 tests: return vtable()->get(this, i); Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlapplicationengine
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickscreen
- tst_qquickvisualdatamodel
- tst_qquickwindow
| 79185 |
41 | } | - |
42 | inline bool getProperty(uint index, Property *p, PropertyAttributes *attrs); | - |
43 | inline void setProperty(EngineBase *e, uint index, const Property *p); | - |
44 | inline PropertyIndex getValueOrSetter(uint index, PropertyAttributes *attrs); | - |
45 | inline PropertyAttributes attributes(uint i) const; | - |
46 | | - |
47 | bool isEmpty(uint i) const { | - |
48 | returnexecuted 8640 times by 1 test: return get(i) == Primitive::emptyValue().asReturnedValue(); get(i) == Primitive::emptyValue().asReturnedValue();executed 8640 times by 1 test: return get(i) == Primitive::emptyValue().asReturnedValue(); | 8640 |
49 | } | - |
50 | | - |
51 | inline uint length() const { | - |
52 | returnexecuted 230 times by 6 tests: return vtable()->length(this); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_testfiltering
vtable()->length(this);executed 230 times by 6 tests: return vtable()->length(this); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_testfiltering
| 230 |
53 | } | - |
54 | | - |
55 | void setArrayData(EngineBase *e, uint index, Value newVal) { | - |
56 | values.set(e, index, newVal); | - |
57 | }executed 6685 times by 2 tests: end of block Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
| 6685 |
58 | | - |
59 | uint mappedIndex(uint index) const; | - |
60 | }; | - |
61 | static_assert(bool(std::is_trivial< ArrayData >::value), "std::is_trivial< ArrayData >::value"); | - |
62 | | - |
63 | struct SimpleArrayData : public ArrayData { | - |
64 | uint mappedIndex(uint index) const { index += offset; if (index >= values.allocTRUE | evaluated 40016 times by 4 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsonbinding
- tst_qqmlecmascript
| FALSE | evaluated 19288697 times by 57 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- ...
|
) index -= values.alloc;executed 40016 times by 4 tests: index -= values.alloc; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsonbinding
- tst_qqmlecmascript
returnexecuted 19470931 times by 57 tests: return index; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- ...
index;executed 19470931 times by 57 tests: return index; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- ...
} | 40016-19470931 |
65 | const Value &data(uint index) const { returnexecuted 18815243 times by 21 tests: return values[mappedIndex(index)]; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlprofilerservice
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
- tst_qtqmlmodules
- tst_qv4debugger
- tst_testfiltering
values[mappedIndex(index)];executed 18815243 times by 21 tests: return values[mappedIndex(index)]; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlprofilerservice
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
- tst_qtqmlmodules
- tst_qv4debugger
- tst_testfiltering
} | 18815243 |
66 | void setData(EngineBase *e, uint index, Value newVal) { | - |
67 | values.set(e, mappedIndex(index), newVal); | - |
68 | }executed 297014 times by 39 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- ...
| 297014 |
69 | | - |
70 | PropertyAttributes attributes(uint i) const { | - |
71 | returnexecuted 185693 times by 53 tests: return attrs ? attrs[i] : Attr_Data; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
attrs ? attrs[i] : Attr_Data;executed 185693 times by 53 tests: return attrs ? attrs[i] : Attr_Data; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
| 185693 |
72 | } | - |
73 | }; | - |
74 | static_assert(bool(std::is_trivial< SimpleArrayData >::value), "std::is_trivial< SimpleArrayData >::value"); | - |
75 | | - |
76 | struct SparseArrayData : public ArrayData { | - |
77 | void destroy() { | - |
78 | delete sparse; | - |
79 | ArrayData::destroy(); | - |
80 | }executed 8425 times by 2 tests: end of block Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
| 8425 |
81 | | - |
82 | uint mappedIndex(uint index) const { | - |
83 | SparseArrayNode *n = sparse->findNode(index); | - |
84 | if (!nTRUE | evaluated 27367920 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qqmlecmascript
| FALSE | evaluated 22522 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qqmlecmascript
|
) | 22522-27367920 |
85 | returnexecuted 27367068 times by 2 tests: return (0x7fffffff * 2U + 1U) ; Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
executed 27367068 times by 2 tests: return (0x7fffffff * 2U + 1U) ; Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
| 27367068 |
86 | (0x7fffffff * 2U + 1U)executed 27367068 times by 2 tests: return (0x7fffffff * 2U + 1U) ; Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
| 27367068 |
87 | ;executed 27367068 times by 2 tests: return (0x7fffffff * 2U + 1U) ; Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
| 27367068 |
88 | returnexecuted 22532 times by 2 tests: return n->value; Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
n->value;executed 22532 times by 2 tests: return n->value; Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
| 22532 |
89 | } | - |
90 | | - |
91 | PropertyAttributes attributes(uint i) const { | - |
92 | if (!attrsTRUE | evaluated 692 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qqmlecmascript
| FALSE | evaluated 10884 times by 1 test |
) | 692-10884 |
93 | returnexecuted 692 times by 2 tests: return Attr_Data; Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
Attr_Data;executed 692 times by 2 tests: return Attr_Data; Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
| 692 |
94 | uint index = mappedIndex(i); | - |
95 | returnexecuted 10890 times by 1 test: return index < (0x7fffffff * 2U + 1U) ? attrs[index] : Attr_Data; index < executed 10890 times by 1 test: return index < (0x7fffffff * 2U + 1U) ? attrs[index] : Attr_Data; | 10890 |
96 | (0x7fffffff * 2U + 1U) executed 10890 times by 1 test: return index < (0x7fffffff * 2U + 1U) ? attrs[index] : Attr_Data; | 10890 |
97 | ? attrs[index] : Attr_Data;executed 10890 times by 1 test: return index < (0x7fffffff * 2U + 1U) ? attrs[index] : Attr_Data; | 10890 |
98 | } | - |
99 | }; | - |
100 | | - |
101 | } | - |
102 | | - |
103 | struct __attribute__((visibility("default"))) ArrayData : public Managed | - |
104 | { | - |
105 | typedef Heap::ArrayData::Type Type; | - |
106 | private: ArrayData() = delete; ArrayData(const ArrayData &) = delete; ArrayData &operator=(const ArrayData &) = delete; public: template <typename Type> inline void qt_check_for_QMANAGED_macro(const Type *_q_argument) const { int i = qYouForgotTheQ_MANAGED_Macro(this, _q_argument); i = i + 1; } never executed: end of block typedef QV4::Heap::ArrayData Data; typedef Managed SuperClass; static const QV4::VTable static_vtbl; static inline const QV4::VTable *staticVTable() { returnnever executed: return &static_vtbl; &static_vtbl;never executed: return &static_vtbl; } void __dataTest() { static_assert (sizeof(*this) == sizeof(Managed), "Classes derived from Managed can't have own data members."); }never executed: end of block QV4::Heap::ArrayData *d_unchecked() const { returnexecuted 597434 times by 52 tests: return static_cast<QV4::Heap::ArrayData *>(m()); Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
static_cast<QV4::Heap::ArrayData *>(m());executed 597434 times by 52 tests: return static_cast<QV4::Heap::ArrayData *>(m()); Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
} QV4::Heap::ArrayData *d() const { QV4::Heap::ArrayData *dptr = d_unchecked(); dptr->_checkIsInitialized(); returnexecuted 597616 times by 52 tests: return dptr; Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
dptr;executed 597616 times by 52 tests: return dptr; Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
} static_assert(bool(std::is_trivial< QV4::Heap::ArrayData >::value), "std::is_trivial< QV4::Heap::ArrayData >::value"); | 0-597616 |
107 | enum { | - |
108 | IsArrayData = true | - |
109 | }; | - |
110 | | - |
111 | uint alloc() const { return never executed: return d()->values.alloc; d()->values.alloc;never executed: return d()->values.alloc; } | 0 |
112 | uint &alloc() { returnexecuted 44381 times by 16 tests: return d()->values.alloc; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickworkerscript
- tst_qv4debugger
d()->values.alloc;executed 44381 times by 16 tests: return d()->values.alloc; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickworkerscript
- tst_qv4debugger
} | 44381 |
113 | void setAlloc(uint a) { d()->values.alloc = a; }executed 86708 times by 52 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
| 86708 |
114 | Type type() const { returnexecuted 53897 times by 18 tests: return static_cast<Type>(d()->type); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickworkerscript
- tst_qv4debugger
- tst_testfiltering
static_cast<Type>(d()->type);executed 53897 times by 18 tests: return static_cast<Type>(d()->type); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickworkerscript
- tst_qv4debugger
- tst_testfiltering
} | 53897 |
115 | void setType(Type t) { d()->type = t; }executed 86772 times by 52 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
| 86772 |
116 | PropertyAttributes *attrs() const { returnexecuted 59232 times by 16 tests: return d()->attrs; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickworkerscript
- tst_qv4debugger
d()->attrs;executed 59232 times by 16 tests: return d()->attrs; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickworkerscript
- tst_qv4debugger
} | 59232 |
117 | void setAttrs(PropertyAttributes *a) { d()->attrs = a; }executed 86801 times by 52 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
| 86801 |
118 | const Value *arrayData() const { return never executed: return d()->values.data(); d()->values.data();never executed: return d()->values.data(); } | 0 |
119 | void setArrayData(EngineBase *e, uint index, Value newVal) { | - |
120 | d()->setArrayData(e, index, newVal); | - |
121 | } never executed: end of block | 0 |
122 | | - |
123 | const ArrayVTable *vtable() const { returnexecuted 2417 times by 8 tests: return d()->vtable(); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
d()->vtable();executed 2417 times by 8 tests: return d()->vtable(); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
} | 2417 |
124 | bool isSparse() const { returnexecuted 116 times by 2 tests: return type() == Heap::ArrayData::Sparse; Executed by:- tst_ecmascripttests
- tst_qjsengine
type() == Heap::ArrayData::Sparse;executed 116 times by 2 tests: return type() == Heap::ArrayData::Sparse; Executed by:- tst_ecmascripttests
- tst_qjsengine
} | 116 |
125 | | - |
126 | uint length() const { | - |
127 | returnexecuted 184 times by 6 tests: return d()->length(); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_testfiltering
d()->length();executed 184 times by 6 tests: return d()->length(); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_testfiltering
| 184 |
128 | } | - |
129 | | - |
130 | bool hasAttributes() const { | - |
131 | return never executed: return attrs(); attrs();never executed: return attrs(); | 0 |
132 | } | - |
133 | PropertyAttributes attributes(uint i) const { | - |
134 | return never executed: return d()->attributes(i); d()->attributes(i);never executed: return d()->attributes(i); | 0 |
135 | } | - |
136 | | - |
137 | bool isEmpty(uint i) const { | - |
138 | return never executed: return d()->isEmpty(i); d()->isEmpty(i);never executed: return d()->isEmpty(i); | 0 |
139 | } | - |
140 | | - |
141 | ReturnedValue get(uint i) const { | - |
142 | return never executed: return d()->get(i); d()->get(i);never executed: return d()->get(i); | 0 |
143 | } | - |
144 | | - |
145 | static void ensureAttributes(Object *o); | - |
146 | static void realloc(Object *o, Type newType, uint alloc, bool enforceAttributes); | - |
147 | | - |
148 | static void sort(ExecutionEngine *engine, Object *thisObject, const Value &comparefn, uint dataLen); | - |
149 | static uint append(Object *obj, ArrayObject *otherObj, uint n); | - |
150 | static void insert(Object *o, uint index, const Value *v, bool isAccessor = false); | - |
151 | }; | - |
152 | | - |
153 | struct __attribute__((visibility("default"))) SimpleArrayData : public ArrayData | - |
154 | { | - |
155 | public: template <typename Type> inline void qt_check_for_QMANAGED_macro(const Type *_q_argument) const { int i = qYouForgotTheQ_MANAGED_Macro(this, _q_argument); i = i + 1; } never executed: end of block typedef QV4::Heap::SimpleArrayData Data; static const QV4::ArrayVTable static_vtbl; static inline const QV4::VTable *staticVTable() { returnexecuted 220538 times by 154 tests: return &static_vtbl.vTable; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
&static_vtbl.vTable;executed 220538 times by 154 tests: return &static_vtbl.vTable; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
} void __dataTest() { static_assert (sizeof(*this) == sizeof(Managed), "Classes derived from Managed can't have own data members."); }never executed: end of block const Data *d() const { returnnever executed: return static_cast<const Data *>(m()); static_cast<const Data *>(m());never executed: return static_cast<const Data *>(m()); } Data *d() { returnnever executed: return static_cast<Data *>(m()); static_cast<Data *>(m());never executed: return static_cast<Data *>(m()); } | 0-220538 |
156 | static Heap::InternalClass *defaultInternalClass(QV4::EngineBase *e) { returnexecuted 121476 times by 64 tests: return e->internalClasses(QV4::EngineBase::Class_SimpleArrayData); Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlpropertymap
- ...
e->internalClasses(QV4::EngineBase::Class_SimpleArrayData);executed 121476 times by 64 tests: return e->internalClasses(QV4::EngineBase::Class_SimpleArrayData); Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlpropertymap
- ...
} | 121476 |
157 | | - |
158 | uint mappedIndex(uint index) const { return never executed: return d()->mappedIndex(index); d()->mappedIndex(index);never executed: return d()->mappedIndex(index); } | 0 |
159 | Value data(uint index) const { return never executed: return d()->data(index); d()->data(index);never executed: return d()->data(index); } | 0 |
160 | | - |
161 | uint &len() { return never executed: return d()->values.size; d()->values.size;never executed: return d()->values.size; } | 0 |
162 | uint len() const { return never executed: return d()->values.size; d()->values.size;never executed: return d()->values.size; } | 0 |
163 | | - |
164 | static Heap::ArrayData *reallocate(Object *o, uint n, bool enforceAttributes); | - |
165 | | - |
166 | static ReturnedValue get(const Heap::ArrayData *d, uint index); | - |
167 | static bool put(Object *o, uint index, const Value &value); | - |
168 | static bool putArray(Object *o, uint index, const Value *values, uint n); | - |
169 | static bool del(Object *o, uint index); | - |
170 | static void setAttribute(Object *o, uint index, PropertyAttributes attrs); | - |
171 | static void push_front(Object *o, const Value *values, uint n); | - |
172 | static ReturnedValue pop_front(Object *o); | - |
173 | static uint truncate(Object *o, uint newLen); | - |
174 | static uint length(const Heap::ArrayData *d); | - |
175 | }; | - |
176 | | - |
177 | struct __attribute__((visibility("default"))) SparseArrayData : public ArrayData | - |
178 | { | - |
179 | public: template <typename Type> inline void qt_check_for_QMANAGED_macro(const Type *_q_argument) const { int i = qYouForgotTheQ_MANAGED_Macro(this, _q_argument); i = i + 1; } never executed: end of block typedef QV4::Heap::SparseArrayData Data; static const QV4::ArrayVTable static_vtbl; static inline const QV4::VTable *staticVTable() { returnexecuted 107450 times by 154 tests: return &static_vtbl.vTable; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
&static_vtbl.vTable;executed 107450 times by 154 tests: return &static_vtbl.vTable; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
} void __dataTest() { static_assert (sizeof(*this) == sizeof(Managed), "Classes derived from Managed can't have own data members."); }never executed: end of block const Data *d() const { returnnever executed: return static_cast<const Data *>(m()); static_cast<const Data *>(m());never executed: return static_cast<const Data *>(m()); } Data *d() { returnnever executed: return static_cast<Data *>(m()); static_cast<Data *>(m());never executed: return static_cast<Data *>(m()); } | 0-107450 |
180 | static Heap::InternalClass *defaultInternalClass(QV4::EngineBase *e) { returnexecuted 8393 times by 2 tests: return e->internalClasses(QV4::EngineBase::Class_SparseArrayData); Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
e->internalClasses(QV4::EngineBase::Class_SparseArrayData);executed 8393 times by 2 tests: return e->internalClasses(QV4::EngineBase::Class_SparseArrayData); Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
} | 8393 |
181 | static void virtualDestroy(QV4::Heap::Base *b) { static_cast<Data *>(b)->destroy(); }executed 8425 times by 2 tests: end of block Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
| 8425 |
182 | | - |
183 | SparseArray *sparse() const { return never executed: return d()->sparse; d()->sparse;never executed: return d()->sparse; } | 0 |
184 | void setSparse(SparseArray *s) { d()->sparse = s; } never executed: end of block | 0 |
185 | | - |
186 | static uint allocate(Object *o, bool doubleSlot = false); | - |
187 | static void free(Heap::ArrayData *d, uint idx); | - |
188 | | - |
189 | uint mappedIndex(uint index) const { return never executed: return d()->mappedIndex(index); d()->mappedIndex(index);never executed: return d()->mappedIndex(index); } | 0 |
190 | | - |
191 | static Heap::ArrayData *reallocate(Object *o, uint n, bool enforceAttributes); | - |
192 | static ReturnedValue get(const Heap::ArrayData *d, uint index); | - |
193 | static bool put(Object *o, uint index, const Value &value); | - |
194 | static bool putArray(Object *o, uint index, const Value *values, uint n); | - |
195 | static bool del(Object *o, uint index); | - |
196 | static void setAttribute(Object *o, uint index, PropertyAttributes attrs); | - |
197 | static void push_front(Object *o, const Value *values, uint n); | - |
198 | static ReturnedValue pop_front(Object *o); | - |
199 | static uint truncate(Object *o, uint newLen); | - |
200 | static uint length(const Heap::ArrayData *d); | - |
201 | }; | - |
202 | | - |
203 | namespace Heap { | - |
204 | | - |
205 | inline uint ArrayData::mappedIndex(uint index) const | - |
206 | { | - |
207 | if (isSparse()TRUE | evaluated 27347876 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qqmlecmascript
| FALSE | evaluated 236280 times by 54 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
|
) | 236280-27347876 |
208 | returnexecuted 27348438 times by 2 tests: return static_cast<const SparseArrayData *>(this)->mappedIndex(index); Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
static_cast<const SparseArrayData *>(this)->mappedIndex(index);executed 27348438 times by 2 tests: return static_cast<const SparseArrayData *>(this)->mappedIndex(index); Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
| 27348438 |
209 | if (index >= values.sizeTRUE | evaluated 37882 times by 25 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
| FALSE | evaluated 198367 times by 53 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
|
) | 37882-198367 |
210 | returnexecuted 37883 times by 25 tests: return (0x7fffffff * 2U + 1U) ; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
executed 37883 times by 25 tests: return (0x7fffffff * 2U + 1U) ; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
| 37883 |
211 | (0x7fffffff * 2U + 1U)executed 37883 times by 25 tests: return (0x7fffffff * 2U + 1U) ; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
| 37883 |
212 | ;executed 37883 times by 25 tests: return (0x7fffffff * 2U + 1U) ; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
| 37883 |
213 | uint idx = static_cast<const SimpleArrayData *>(this)->mappedIndex(index); | - |
214 | returnexecuted 198401 times by 53 tests: return values[idx].isEmpty() ? (0x7fffffff * 2U + 1U) : idx; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
values[idx].isEmpty() ? executed 198401 times by 53 tests: return values[idx].isEmpty() ? (0x7fffffff * 2U + 1U) : idx; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
| 198401 |
215 | (0x7fffffff * 2U + 1U) executed 198401 times by 53 tests: return values[idx].isEmpty() ? (0x7fffffff * 2U + 1U) : idx; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
| 198401 |
216 | : idx;executed 198401 times by 53 tests: return values[idx].isEmpty() ? (0x7fffffff * 2U + 1U) : idx; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
| 198401 |
217 | } | - |
218 | | - |
219 | bool ArrayData::getProperty(uint index, Property *p, PropertyAttributes *attrs) | - |
220 | { | - |
221 | uint mapped = mappedIndex(index); | - |
222 | if (mapped == TRUE | evaluated 27389279 times by 5 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qquickgridview
- tst_qv4debugger
| FALSE | evaluated 185065 times by 53 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
|
| 185065-27389279 |
223 | (0x7fffffff * 2U + 1U)TRUE | evaluated 27389279 times by 5 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qquickgridview
- tst_qv4debugger
| FALSE | evaluated 185065 times by 53 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
|
| 185065-27389279 |
224 | ) { | - |
225 | *attrs = Attr_Invalid; | - |
226 | returnexecuted 27378966 times by 5 tests: return false; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qquickgridview
- tst_qv4debugger
false;executed 27378966 times by 5 tests: return false; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qquickgridview
- tst_qv4debugger
| 27378966 |
227 | } | - |
228 | | - |
229 | *attrs = attributes(index); | - |
230 | if (pTRUE | evaluated 182660 times by 53 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
| FALSE | evaluated 2479 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
|
) { | 2479-182660 |
231 | p->value = *(PropertyIndex{ this, values.values + mapped }); | - |
232 | if (attrs->isAccessor()TRUE | evaluated 4327 times by 1 test | FALSE | evaluated 178320 times by 53 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
|
) | 4327-178320 |
233 | p->set = *(PropertyIndex{ this, values.values + mapped + 1 });executed 4330 times by 1 test: p->set = *(PropertyIndex{ this, values.values + mapped + 1 }); | 4330 |
234 | }executed 182579 times by 53 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
| 182579 |
235 | returnexecuted 185146 times by 53 tests: return true; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
true;executed 185146 times by 53 tests: return true; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
| 185146 |
236 | } | - |
237 | | - |
238 | void ArrayData::setProperty(QV4::EngineBase *e, uint index, const Property *p) | - |
239 | { | - |
240 | uint mapped = mappedIndex(index); | - |
241 | ((mapped != | - |
242 | (0x7fffffff * 2U + 1U) | - |
243 | ) ? static_cast<void>(0) : qt_assert("mapped != UINT_MAX", __FILE__, 302)); | - |
244 | values.set(e, mapped, p->value); | - |
245 | if (attributes(index).isAccessor()TRUE | evaluated 808 times by 1 test | FALSE | evaluated 447 times by 1 test |
) | 447-808 |
246 | values.set(e, mapped + 1 , p->set);executed 809 times by 1 test: values.set(e, mapped + 1 , p->set); | 809 |
247 | }executed 1254 times by 1 test: end of block | 1254 |
248 | | - |
249 | inline PropertyAttributes ArrayData::attributes(uint i) const | - |
250 | { | - |
251 | if (isSparse()TRUE | evaluated 11576 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qqmlecmascript
| FALSE | evaluated 185679 times by 53 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
|
) | 11576-185679 |
252 | returnexecuted 11578 times by 2 tests: return static_cast<const SparseArrayData *>(this)->attributes(i); Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
static_cast<const SparseArrayData *>(this)->attributes(i);executed 11578 times by 2 tests: return static_cast<const SparseArrayData *>(this)->attributes(i); Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
| 11578 |
253 | returnexecuted 185667 times by 53 tests: return static_cast<const SimpleArrayData *>(this)->attributes(i); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
static_cast<const SimpleArrayData *>(this)->attributes(i);executed 185667 times by 53 tests: return static_cast<const SimpleArrayData *>(this)->attributes(i); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
| 185667 |
254 | } | - |
255 | | - |
256 | PropertyIndex ArrayData::getValueOrSetter(uint index, PropertyAttributes *attrs) | - |
257 | { | - |
258 | uint idx = mappedIndex(index); | - |
259 | if (idx == TRUE | evaluated 29717 times by 25 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
| FALSE | evaluated 2736 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
| 2736-29717 |
260 | (0x7fffffff * 2U + 1U)TRUE | evaluated 29717 times by 25 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
| FALSE | evaluated 2736 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
| 2736-29717 |
261 | ) { | - |
262 | *attrs = Attr_Invalid; | - |
263 | returnexecuted 29717 times by 25 tests: return { nullptr, nullptr }; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
{ nullptr, nullptr };executed 29717 times by 25 tests: return { nullptr, nullptr }; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
| 29717 |
264 | } | - |
265 | | - |
266 | *attrs = attributes(index); | - |
267 | if (attrs->isAccessor()TRUE | evaluated 602 times by 1 test | FALSE | evaluated 2131 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
) | 602-2131 |
268 | ++executed 602 times by 1 test: ++idx; idx;executed 602 times by 1 test: ++idx; | 602 |
269 | returnexecuted 2732 times by 2 tests: return { this, values.values + idx }; Executed by:- tst_ecmascripttests
- tst_qjsengine
{ this, values.values + idx };executed 2732 times by 2 tests: return { this, values.values + idx }; Executed by:- tst_ecmascripttests
- tst_qjsengine
| 2732 |
270 | } | - |
271 | | - |
272 | | - |
273 | | - |
274 | } | - |
275 | | - |
276 | } | - |
277 | | - |
278 | | - |
| | |