Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | #ifndef QV4VALUE_P_H | - |
40 | #define QV4VALUE_P_H | - |
41 | | - |
42 | | - |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
47 | | - |
48 | | - |
49 | | - |
50 | | - |
51 | | - |
52 | | - |
53 | #include <limits.h> | - |
54 | #include <cmath> | - |
55 | | - |
56 | #include <QtCore/QString> | - |
57 | #include "qv4global_p.h" | - |
58 | #include <private/qv4heap_p.h> | - |
59 | #include <private/qv4internalclass_p.h> | - |
60 | | - |
61 | #include <private/qnumeric_p.h> | - |
62 | | - |
63 | QT_BEGIN_NAMESPACE | - |
64 | | - |
65 | namespace QV4 { | - |
66 | | - |
67 | namespace Heap { | - |
68 | struct Base; | - |
69 | } | - |
70 | | - |
71 | struct Q_QML_PRIVATE_EXPORT Value | - |
72 | { | - |
73 | private: | - |
74 | | - |
75 | | - |
76 | | - |
77 | | - |
78 | | - |
79 | | - |
80 | | - |
81 | | - |
82 | | - |
83 | | - |
84 | | - |
85 | | - |
86 | | - |
87 | | - |
88 | | - |
89 | | - |
90 | | - |
91 | | - |
92 | | - |
93 | | - |
94 | | - |
95 | | - |
96 | | - |
97 | | - |
98 | | - |
99 | | - |
100 | | - |
101 | | - |
102 | | - |
103 | | - |
104 | | - |
105 | | - |
106 | | - |
107 | | - |
108 | | - |
109 | | - |
110 | | - |
111 | | - |
112 | | - |
113 | | - |
114 | | - |
115 | | - |
116 | | - |
117 | | - |
118 | | - |
119 | | - |
120 | | - |
121 | | - |
122 | | - |
123 | | - |
124 | | - |
125 | | - |
126 | | - |
127 | quint64 _val; | - |
128 | | - |
129 | public: | - |
130 | QML_NEARLY_ALWAYS_INLINE quint64 &rawValueRef() { return _val; } never executed: return _val; | 0 |
131 | QML_NEARLY_ALWAYS_INLINE quint64 rawValue() const { return _val; }executed 792188763 times by 154 tests: return _val; 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
- ...
| 792188763 |
132 | QML_NEARLY_ALWAYS_INLINE void setRawValue(quint64 raw) { _val = raw; }executed 151104005 times by 154 tests: end of block 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
- ...
| 151104005 |
133 | | - |
134 | #if Q_BYTE_ORDER == Q_LITTLE_ENDIAN | - |
135 | static inline int valueOffset() { return 0; } never executed: return 0; | 0 |
136 | static inline int tagOffset() { return 4; } never executed: return 4; | 0 |
137 | #else // !Q_LITTLE_ENDIAN | - |
138 | static inline int valueOffset() { return 4; } | - |
139 | static inline int tagOffset() { return 0; } | - |
140 | #endif | - |
141 | QML_NEARLY_ALWAYS_INLINE void setTagValue(quint32 tag, quint32 value) { _val = quint64(tag) << 32 | value; }executed 563547182 times by 154 tests: end of block 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
- ...
| 563547182 |
142 | QML_NEARLY_ALWAYS_INLINE quint32 value() const { return _val & quint64(~quint32(0)); }executed 500609399 times by 154 tests: return _val & quint64(~quint32(0)); 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
- ...
| 500609399 |
143 | QML_NEARLY_ALWAYS_INLINE quint32 tag() const { return _val >> 32; }executed 711178437 times by 154 tests: return _val >> 32; 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
- ...
| 711178437 |
144 | QML_NEARLY_ALWAYS_INLINE void setTag(quint32 tag) { setTagValue(tag, value()); } never executed: end of block | 0 |
145 | | - |
146 | #if QT_POINTER_SIZE == 8 | - |
147 | QML_NEARLY_ALWAYS_INLINE Heap::Base *m() const | - |
148 | { | - |
149 | Heap::Base *b; | - |
150 | memcpy(&b, &_val, 8); | - |
151 | return b;executed 2147483647 times by 154 tests: return b; 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
- ...
| Inf |
152 | } | - |
153 | QML_NEARLY_ALWAYS_INLINE void setM(Heap::Base *b) | - |
154 | { | - |
155 | memcpy(&_val, &b, 8); | - |
156 | }executed 1827919714 times by 154 tests: end of block 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
- ...
| 1827919714 |
157 | #elif QT_POINTER_SIZE == 4 | - |
158 | QML_NEARLY_ALWAYS_INLINE Heap::Base *m() const | - |
159 | { | - |
160 | Q_STATIC_ASSERT(sizeof(Heap::Base*) == sizeof(quint32)); | - |
161 | Heap::Base *b; | - |
162 | quint32 v = value(); | - |
163 | memcpy(&b, &v, 4); | - |
164 | return b; | - |
165 | } | - |
166 | QML_NEARLY_ALWAYS_INLINE void setM(Heap::Base *b) | - |
167 | { | - |
168 | quint32 v; | - |
169 | memcpy(&v, &b, 4); | - |
170 | setTagValue(Managed_Type_Internal, v); | - |
171 | } | - |
172 | #else | - |
173 | # error "unsupported pointer size" | - |
174 | #endif | - |
175 | | - |
176 | QML_NEARLY_ALWAYS_INLINE int int_32() const | - |
177 | { | - |
178 | return int(value());executed 498689798 times by 154 tests: return int(value()); 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
- ...
| 498689798 |
179 | } | - |
180 | QML_NEARLY_ALWAYS_INLINE void setInt_32(int i) | - |
181 | { | - |
182 | setTagValue(quint32(ValueTypeInternal::Integer), quint32(i)); | - |
183 | }executed 460313231 times by 154 tests: end of block 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
- ...
| 460313231 |
184 | QML_NEARLY_ALWAYS_INLINE uint uint_32() const { return value(); } never executed: return value(); | 0 |
185 | | - |
186 | QML_NEARLY_ALWAYS_INLINE void setEmpty() | - |
187 | { | - |
188 | setTagValue(quint32(ValueTypeInternal::Empty), 0); | - |
189 | }executed 8751813 times by 40 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlapplicationengine
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickgridview
- ...
| 8751813 |
190 | | - |
191 | | - |
192 | | - |
193 | enum QuickType { | - |
194 | QT_ManagedOrUndefined = 0, | - |
195 | QT_ManagedOrUndefined1 = 1, | - |
196 | QT_ManagedOrUndefined2 = 2, | - |
197 | QT_ManagedOrUndefined3 = 3, | - |
198 | QT_Empty = 4, | - |
199 | QT_Null = 5, | - |
200 | QT_Bool = 6, | - |
201 | QT_Int = 7 | - |
202 | | - |
203 | }; | - |
204 | | - |
205 | enum Type { | - |
206 | Undefined_Type = 0, | - |
207 | Managed_Type = 1, | - |
208 | Empty_Type = 4, | - |
209 | Null_Type = 5, | - |
210 | Boolean_Type = 6, | - |
211 | Integer_Type = 7, | - |
212 | Double_Type = 8 | - |
213 | }; | - |
214 | | - |
215 | inline Type type() const { | - |
216 | int t = quickType(); | - |
217 | if (t < QT_Empty)TRUE | evaluated 707774 times by 19 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickvisualdatamodel
- tst_qv4debugger
- tst_scenegraph
- tst_signalspy
- tst_testfiltering
| FALSE | evaluated 4069341 times by 26 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qv4debugger
- ...
|
| 707774-4069341 |
218 | return _val ? Managed_Type : Undefined_Type;executed 708335 times by 19 tests: return _val ? Managed_Type : Undefined_Type; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickvisualdatamodel
- tst_qv4debugger
- tst_scenegraph
- tst_signalspy
- tst_testfiltering
| 708335 |
219 | if (t > QT_Int)TRUE | evaluated 402457 times by 19 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlsqldatabase
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
| FALSE | evaluated 3666913 times by 21 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qv4debugger
- tst_signalspy
|
| 402457-3666913 |
220 | return Double_Type;executed 402459 times by 19 tests: return Double_Type; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlsqldatabase
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
| 402459 |
221 | return static_cast<Type>(t);executed 3666955 times by 21 tests: return static_cast<Type>(t); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qv4debugger
- tst_signalspy
| 3666955 |
222 | } | - |
223 | | - |
224 | | - |
225 | enum { | - |
226 | Tag_Shift = 32 | - |
227 | }; | - |
228 | | - |
229 | | - |
230 | static const quint64 NaNEncodeMask = 0xfffc000000000000ll; | - |
231 | enum { | - |
232 | IsDouble_Shift = 64-14, | - |
233 | IsManagedOrUndefined_Shift = 64-15, | - |
234 | IsIntegerConvertible_Shift = 64-15, | - |
235 | IsIntegerOrBool_Shift = 64-16, | - |
236 | QuickType_Shift = 64 - 17, | - |
237 | IsPositiveIntShift = 31 | - |
238 | }; | - |
239 | | - |
240 | static const quint64 Immediate_Mask_64 = 0x00020000u; | - |
241 | | - |
242 | enum class ValueTypeInternal_64 { | - |
243 | Empty = Immediate_Mask_64 | 0, | - |
244 | Null = Immediate_Mask_64 | 0x08000u, | - |
245 | Boolean = Immediate_Mask_64 | 0x10000u, | - |
246 | Integer = Immediate_Mask_64 | 0x18000u | - |
247 | }; | - |
248 | | - |
249 | | - |
250 | enum Masks { | - |
251 | SilentNaNBit = 0x00040000, | - |
252 | NotDouble_Mask = 0x7ffa0000, | - |
253 | }; | - |
254 | static const quint64 Immediate_Mask_32 = NotDouble_Mask | 0x00020000u | SilentNaNBit; | - |
255 | | - |
256 | enum class ValueTypeInternal_32 { | - |
257 | Empty = Immediate_Mask_32 | 0, | - |
258 | Null = Immediate_Mask_32 | 0x08000u, | - |
259 | Boolean = Immediate_Mask_32 | 0x10000u, | - |
260 | Integer = Immediate_Mask_32 | 0x18000u | - |
261 | }; | - |
262 | | - |
263 | enum { | - |
264 | Managed_Type_Internal = 0 | - |
265 | }; | - |
266 | | - |
267 | using ValueTypeInternal = ValueTypeInternal_64; | - |
268 | | - |
269 | enum { | - |
270 | NaN_Mask = 0x7ff80000, | - |
271 | }; | - |
272 | | - |
273 | inline quint64 quickType() const { return (_val >> QuickType_Shift); }executed 177529147 times by 100 tests: return (_val >> QuickType_Shift); Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
| 177529147 |
274 | | - |
275 | | - |
276 | inline bool isEmpty() const { return tag() == quint32(ValueTypeInternal::Empty); }executed 600825701 times by 154 tests: return tag() == quint32(ValueTypeInternal::Empty); 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
- ...
| 600825701 |
277 | inline bool isNull() const { return tag() == quint32(ValueTypeInternal::Null); }executed 2041209 times by 131 tests: return tag() == quint32(ValueTypeInternal::Null); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 2041209 |
278 | inline bool isBoolean() const { return tag() == quint32(ValueTypeInternal::Boolean); }executed 1555055 times by 93 tests: return tag() == quint32(ValueTypeInternal::Boolean); Executed by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- ...
| 1555055 |
279 | inline bool isInteger() const { return tag() == quint32(ValueTypeInternal::Integer); }executed 66745722 times by 134 tests: return tag() == quint32(ValueTypeInternal::Integer); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 66745722 |
280 | inline bool isNullOrUndefined() const { return isNull() || isUndefined(); }executed 83728 times by 39 tests: return isNull() || isUndefined(); Executed by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimationcontroller
- ...
| 83728 |
281 | inline bool isNumber() const { return quickType() >= QT_Int; }executed 172490993 times by 99 tests: return quickType() >= QT_Int; Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
| 172490993 |
282 | | - |
283 | inline bool isUndefined() const { return _val == 0; }executed 25032584 times by 145 tests: return _val == 0; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- ...
| 25032584 |
284 | inline bool isDouble() const { return (_val >> IsDouble_Shift); }executed 22371290 times by 154 tests: return (_val >> IsDouble_Shift); 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
- ...
| 22371290 |
285 | inline bool isManaged() const { return _val && ((_val >> IsManagedOrUndefined_Shift) == 0); }executed 824835715 times by 154 tests: return _val && ((_val >> IsManagedOrUndefined_Shift) == 0); 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
- ...
| 824835715 |
286 | inline bool isManagedOrUndefined() const { return ((_val >> IsManagedOrUndefined_Shift) == 0); }executed 471481724 times by 154 tests: return ((_val >> IsManagedOrUndefined_Shift) == 0); 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
- ...
| 471481724 |
287 | | - |
288 | inline bool isIntOrBool() const { | - |
289 | return (_val >> IsIntegerOrBool_Shift) == 3;executed 2371178 times by 23 tests: return (_val >> IsIntegerOrBool_Shift) == 3; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
| 2371178 |
290 | } | - |
291 | | - |
292 | inline bool integerCompatible() const { | - |
293 | Q_ASSERT(!isEmpty()); | - |
294 | return (_val >> IsIntegerConvertible_Shift) == 1;executed 473581816 times by 108 tests: return (_val >> IsIntegerConvertible_Shift) == 1; Executed by:- tst_bindingdependencyapi
- 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
| 473581816 |
295 | } | - |
296 | static inline bool integerCompatible(Value a, Value b) { | - |
297 | return a.integerCompatible() && b.integerCompatible();executed 142509762 times by 61 tests: return a.integerCompatible() && b.integerCompatible(); Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
| 142509762 |
298 | } | - |
299 | static inline bool bothDouble(Value a, Value b) { | - |
300 | return a.isDouble() && b.isDouble(); never executed: return a.isDouble() && b.isDouble(); | 0 |
301 | } | - |
302 | inline bool isNaN() const { return (tag() & 0x7ffc0000 ) == 0x00040000; }executed 6268563 times by 44 tests: return (tag() & 0x7ffc0000 ) == 0x00040000; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- ...
| 6268563 |
303 | | - |
304 | inline bool isPositiveInt() const { | - |
305 | #if QT_POINTER_SIZE == 4 | - |
306 | return isInteger() && int_32() >= 0; | - |
307 | #else | - |
308 | return (_val >> IsPositiveIntShift) == (quint64(ValueTypeInternal::Integer) << 1);executed 34603131 times by 30 tests: return (_val >> IsPositiveIntShift) == (quint64(ValueTypeInternal::Integer) << 1); Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlapplicationengine
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickscreen
- ...
| 34603131 |
309 | #endif | - |
310 | } | - |
311 | | - |
312 | QML_NEARLY_ALWAYS_INLINE double doubleValue() const { | - |
313 | Q_ASSERT(isDouble()); | - |
314 | double d; | - |
315 | Value v = *this; | - |
316 | v._val ^= NaNEncodeMask; | - |
317 | memcpy(&d, &v._val, 8); | - |
318 | return d;executed 9655365 times by 68 tests: return d; Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
| 9655365 |
319 | } | - |
320 | QML_NEARLY_ALWAYS_INLINE void setDouble(double d) { | - |
321 | if (qt_is_nan(d))TRUE | evaluated 103614 times by 154 testsEvaluated 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
- ...
| FALSE | evaluated 8573745 times by 154 testsEvaluated 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
- ...
|
| 103614-8573745 |
322 | d = qt_qnan();executed 103551 times by 154 tests: d = qt_qnan(); 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
- ...
| 103551 |
323 | memcpy(&_val, &d, 8); | - |
324 | _val ^= NaNEncodeMask; | - |
325 | Q_ASSERT(isDouble()); | - |
326 | }executed 8676326 times by 154 tests: end of block 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
- ...
| 8676326 |
327 | inline bool isString() const; | - |
328 | inline bool isStringOrSymbol() const; | - |
329 | inline bool isSymbol() const; | - |
330 | inline bool isObject() const; | - |
331 | inline bool isFunctionObject() const; | - |
332 | inline bool isInt32() { | - |
333 | if (tag() == quint32(ValueTypeInternal::Integer))TRUE | evaluated 70032 times by 62 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
| FALSE | evaluated 1021498 times by 67 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
|
| 70032-1021498 |
334 | return true;executed 70032 times by 62 tests: return true; Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
| 70032 |
335 | if (isDouble()) {TRUE | evaluated 1007320 times by 8 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_parserstress
- tst_qqmlecmascript
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickgridview
- tst_qquicklayouts
| FALSE | evaluated 14178 times by 67 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
|
| 14178-1007320 |
336 | double d = doubleValue(); | - |
337 | int i = (int)d; | - |
338 | if (i == d && !(d == 0 && std::signbit(d))) {TRUE | evaluated 1007272 times by 5 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_parserstress
- tst_qquickgridview
- tst_qquicklayouts
| FALSE | evaluated 49 times by 4 testsEvaluated by:- tst_ecmascripttests
- tst_qqmlecmascript
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
|
TRUE | evaluated 202 times by 4 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_parserstress
- tst_qquickgridview
| FALSE | evaluated 1007070 times by 4 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qquickgridview
- tst_qquicklayouts
|
TRUE | evaluated 24 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_parserstress
| FALSE | evaluated 178 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qquickgridview
|
| 24-1007272 |
339 | setInt_32(i); | - |
340 | return true;executed 1007248 times by 4 tests: return true; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qquickgridview
- tst_qquicklayouts
| 1007248 |
341 | } | - |
342 | }executed 73 times by 5 tests: end of block Executed by:- tst_ecmascripttests
- tst_parserstress
- tst_qqmlecmascript
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
| 73 |
343 | return false;executed 14251 times by 67 tests: return false; Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
| 14251 |
344 | } | - |
345 | double asDouble() const { | - |
346 | if (tag() == quint32(ValueTypeInternal::Integer))TRUE | evaluated 38387515 times by 87 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| FALSE | evaluated 5272175 times by 63 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- ...
|
| 5272175-38387515 |
347 | return int_32();executed 38388323 times by 87 tests: return int_32(); Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| 38388323 |
348 | return doubleValue();executed 5272129 times by 63 tests: return doubleValue(); Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- ...
| 5272129 |
349 | } | - |
350 | | - |
351 | bool booleanValue() const { | - |
352 | return int_32();executed 79577 times by 76 tests: return int_32(); Executed by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
| 79577 |
353 | } | - |
354 | int integerValue() const { | - |
355 | return int_32();executed 3883714 times by 78 tests: return int_32(); Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| 3883714 |
356 | } | - |
357 | | - |
358 | QML_NEARLY_ALWAYS_INLINE String *stringValue() const { | - |
359 | if (!isString())TRUE | evaluated 2474597 times by 65 testsEvaluated by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlfileselector
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlprofilerservice
- tst_qqmlproperty
- ...
| FALSE | evaluated 115148597 times by 79 testsEvaluated by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- ...
|
| 2474597-115148597 |
360 | return nullptr;executed 2474598 times by 65 tests: return nullptr; Executed by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlfileselector
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlprofilerservice
- tst_qqmlproperty
- ...
| 2474598 |
361 | return reinterpret_cast<String *>(const_cast<Value *>(this));executed 115171716 times by 79 tests: return reinterpret_cast<String *>(const_cast<Value *>(this)); Executed by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- ...
| 115171716 |
362 | } | - |
363 | QML_NEARLY_ALWAYS_INLINE StringOrSymbol *stringOrSymbolValue() const { | - |
364 | if (!isStringOrSymbol())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
365 | return nullptr; never executed: return nullptr; | 0 |
366 | return reinterpret_cast<StringOrSymbol *>(const_cast<Value *>(this)); never executed: return reinterpret_cast<StringOrSymbol *>(const_cast<Value *>(this)); | 0 |
367 | } | - |
368 | QML_NEARLY_ALWAYS_INLINE Symbol *symbolValue() const { | - |
369 | if (!isSymbol())TRUE | never evaluated | FALSE | evaluated 606 times by 1 test |
| 0-606 |
370 | return nullptr; never executed: return nullptr; | 0 |
371 | return reinterpret_cast<Symbol *>(const_cast<Value *>(this));executed 606 times by 1 test: return reinterpret_cast<Symbol *>(const_cast<Value *>(this)); | 606 |
372 | } | - |
373 | QML_NEARLY_ALWAYS_INLINE Object *objectValue() const { | - |
374 | if (!isObject())TRUE | evaluated 37524769 times by 153 testsEvaluated 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
- ...
| FALSE | evaluated 25359147 times by 154 testsEvaluated 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
- ...
|
| 25359147-37524769 |
375 | return nullptr;executed 37528837 times by 153 tests: return nullptr; 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
- ...
| 37528837 |
376 | return reinterpret_cast<Object*>(const_cast<Value *>(this));executed 25358105 times by 154 tests: return reinterpret_cast<Object*>(const_cast<Value *>(this)); 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
- ...
| 25358105 |
377 | } | - |
378 | QML_NEARLY_ALWAYS_INLINE Managed *managed() const { | - |
379 | if (!isManaged())TRUE | evaluated 148146424 times by 154 testsEvaluated 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
- ...
| FALSE | evaluated 517487963 times by 154 testsEvaluated 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
- ...
|
| 148146424-517487963 |
380 | return nullptr;executed 148145684 times by 154 tests: return nullptr; 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
- ...
| 148145684 |
381 | return reinterpret_cast<Managed*>(const_cast<Value *>(this));executed 517545882 times by 154 tests: return reinterpret_cast<Managed*>(const_cast<Value *>(this)); 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
- ...
| 517545882 |
382 | } | - |
383 | QML_NEARLY_ALWAYS_INLINE Heap::Base *heapObject() const { | - |
384 | return isManagedOrUndefined() ? m() : nullptr;executed 471672027 times by 154 tests: return isManagedOrUndefined() ? m() : nullptr; 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
- ...
| 471672027 |
385 | } | - |
386 | | - |
387 | static inline Value fromHeapObject(Heap::Base *m) | - |
388 | { | - |
389 | Value v; | - |
390 | v.setM(m); | - |
391 | return v;executed 180171018 times by 154 tests: return v; 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
- ...
| 180171018 |
392 | } | - |
393 | | - |
394 | int toUInt16() const; | - |
395 | inline int toInt32() const; | - |
396 | inline unsigned int toUInt32() const; | - |
397 | qint64 toLength() const; | - |
398 | inline qint64 toIndex() const; | - |
399 | | - |
400 | bool toBoolean() const { | - |
401 | if (integerCompatible())TRUE | evaluated 4385733 times by 60 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- ...
| FALSE | evaluated 31247 times by 18 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquicktext
|
| 31247-4385733 |
402 | return static_cast<bool>(int_32());executed 4383815 times by 60 tests: return static_cast<bool>(int_32()); Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- ...
| 4383815 |
403 | | - |
404 | return toBooleanImpl(*this);executed 31213 times by 18 tests: return toBooleanImpl(*this); Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquicktext
| 31213 |
405 | } | - |
406 | static bool toBooleanImpl(Value val); | - |
407 | double toInteger() const; | - |
408 | inline double toNumber() const; | - |
409 | static double toNumberImpl(Value v); | - |
410 | double toNumberImpl() const { return toNumberImpl(*this); }executed 19929 times by 8 tests: return toNumberImpl(*this); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qqmlxmlhttprequest
- tst_qquicklistview
- tst_qquickpathview
| 19929 |
411 | QString toQStringNoThrow() const; | - |
412 | QString toQString() const; | - |
413 | Heap::String *toString(ExecutionEngine *e) const { | - |
414 | if (isString())TRUE | evaluated 311693 times by 19 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlqt
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickpathview
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_qv4debugger
- tst_testfiltering
| FALSE | evaluated 598168 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qqmlecmascript
|
| 311693-598168 |
415 | return reinterpret_cast<Heap::String *>(m());executed 311700 times by 19 tests: return reinterpret_cast<Heap::String *>(m()); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlqt
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickpathview
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_qv4debugger
- tst_testfiltering
| 311700 |
416 | return toString(e, *this);executed 598171 times by 2 tests: return toString(e, *this); Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
| 598171 |
417 | } | - |
418 | QV4::PropertyKey toPropertyKey(ExecutionEngine *e) const; | - |
419 | | - |
420 | static Heap::String *toString(ExecutionEngine *e, Value val); | - |
421 | Heap::Object *toObject(ExecutionEngine *e) const { | - |
422 | if (isObject())TRUE | evaluated 286303 times by 68 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- tst_qqmltimer
- ...
| FALSE | evaluated 1784 times by 4 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
- tst_qv4debugger
|
| 1784-286303 |
423 | return reinterpret_cast<Heap::Object *>(m());executed 286353 times by 68 tests: return reinterpret_cast<Heap::Object *>(m()); Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- tst_qqmltimer
- ...
| 286353 |
424 | return toObject(e, *this);executed 1784 times by 4 tests: return toObject(e, *this); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
- tst_qv4debugger
| 1784 |
425 | } | - |
426 | static Heap::Object *toObject(ExecutionEngine *e, Value val); | - |
427 | | - |
428 | inline bool isPrimitive() const; | - |
429 | inline bool tryIntegerConversion() { | - |
430 | bool b = integerCompatible(); | - |
431 | if (b)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
432 | setTagValue(quint32(ValueTypeInternal::Integer), value()); never executed: setTagValue(quint32(ValueTypeInternal::Integer), value()); | 0 |
433 | return b; never executed: return b; | 0 |
434 | } | - |
435 | | - |
436 | template <typename T> | - |
437 | const T *as() const { | - |
438 | if (!isManaged())TRUE | evaluated 1397159 times by 81 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- ...
| FALSE | evaluated 19739200 times by 154 testsEvaluated 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
- ...
|
| 1397159-19739200 |
439 | return nullptr;executed 1397159 times by 81 tests: return nullptr; Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- ...
| 1397159 |
440 | | - |
441 | Q_ASSERT(m()->internalClass->vtable); | - |
442 | #if !defined(QT_NO_QOBJECT_CHECK) | - |
443 | static_cast<const T *>(this)->qt_check_for_QMANAGED_macro(static_cast<const T *>(this)); | - |
444 | #endif | - |
445 | const VTable *vt = m()->internalClass->vtable; | - |
446 | while (vt) {TRUE | evaluated 25864032 times by 154 testsEvaluated 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
- ...
| FALSE | evaluated 8246255 times by 154 testsEvaluated 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
- ...
|
| 8246255-25864032 |
447 | if (vt == T::staticVTable())TRUE | evaluated 11493048 times by 154 testsEvaluated 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
- ...
| FALSE | evaluated 14371401 times by 154 testsEvaluated 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
- ...
|
| 11493048-14371401 |
448 | return static_cast<const T *>(this);executed 11493055 times by 154 tests: return static_cast<const T *>(this); 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
- ...
| 11493055 |
449 | vt = vt->parent; | - |
450 | }executed 14371281 times by 154 tests: end of block 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
- ...
| 14371281 |
451 | return nullptr;executed 8246376 times by 154 tests: return nullptr; 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
- ...
| 8246376 |
452 | } | - |
453 | template <typename T> | - |
454 | T *as() { | - |
455 | if (isManaged())TRUE | evaluated 29236131 times by 154 testsEvaluated 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
- ...
| FALSE | evaluated 6336633 times by 154 testsEvaluated 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
- ...
|
| 6336633-29236131 |
456 | return const_cast<T *>(const_cast<const Value *>(this)->as<T>());executed 29236535 times by 154 tests: return const_cast<T *>(const_cast<const Value *>(this)->as<T>()); 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
- ...
| 29236535 |
457 | else | - |
458 | return nullptr;executed 6336134 times by 154 tests: return nullptr; 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
- ...
| 6336134 |
459 | } | - |
460 | | - |
461 | template<typename T> inline T *cast() { | - |
462 | return static_cast<T *>(managed()); never executed: return static_cast<T *>(managed()); | 0 |
463 | } | - |
464 | template<typename T> inline const T *cast() const { | - |
465 | return static_cast<const T *>(managed());executed 23345596 times by 14 tests: return static_cast<const T *>(managed()); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlecmascript
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_signalspy
- tst_testfiltering
| 23345596 |
466 | } | - |
467 | | - |
468 | #ifndef V4_BOOTSTRAP | - |
469 | uint asArrayLength(bool *ok) const; | - |
470 | #endif | - |
471 | | - |
472 | ReturnedValue *data_ptr() { return &_val; }executed 222860163 times by 154 tests: return &_val; 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
- ...
| 222860163 |
473 | ReturnedValue asReturnedValue() const { return _val; }executed 958545969 times by 154 tests: return _val; 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
- ...
| 958545969 |
474 | static Value fromReturnedValue(ReturnedValue val) { Value v; v._val = val; return v; }executed 748471174 times by 154 tests: return v; 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
- ...
| 748471174 |
475 | | - |
476 | | - |
477 | bool sameValue(Value other) const; | - |
478 | bool sameValueZero(Value other) const; | - |
479 | | - |
480 | inline void mark(MarkStack *markStack); | - |
481 | | - |
482 | Value &operator =(const ScopedValue &v); | - |
483 | Value &operator=(ReturnedValue v) { _val = v; return *this; }executed 847771644 times by 154 tests: return *this; 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
- ...
| 847771644 |
484 | Value &operator=(Managed *m) { | - |
485 | if (!m) {TRUE | evaluated 3652517 times by 154 testsEvaluated 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
- ...
| FALSE | evaluated 6220622 times by 154 testsEvaluated 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
- ...
|
| 3652517-6220622 |
486 | setM(nullptr); | - |
487 | } else {executed 3651575 times by 154 tests: end of block 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
- ...
| 3651575 |
488 | _val = reinterpret_cast<Value *>(m)->_val; | - |
489 | }executed 6221000 times by 154 tests: end of block 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
- ...
| 6221000 |
490 | return *this;executed 9864459 times by 154 tests: return *this; 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
- ...
| 9864459 |
491 | } | - |
492 | Value &operator=(Heap::Base *o) { | - |
493 | setM(o); | - |
494 | return *this;executed 901845627 times by 154 tests: return *this; 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
- ...
| 901845627 |
495 | } | - |
496 | | - |
497 | template<typename T> | - |
498 | Value &operator=(const Scoped<T> &t); | - |
499 | }; | - |
500 | Q_STATIC_ASSERT(std::is_trivial< Value >::value); | - |
501 | | - |
502 | inline void Value::mark(MarkStack *markStack) | - |
503 | { | - |
504 | Heap::Base *o = heapObject(); | - |
505 | if (o)TRUE | evaluated 9036543 times by 27 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_quicktestmainwithsetup
- tst_qv4mm
- ...
| FALSE | evaluated 11255456 times by 27 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_quicktestmainwithsetup
- tst_qv4mm
- ...
|
| 9036543-11255456 |
506 | o->mark(markStack);executed 9036464 times by 27 tests: o->mark(markStack); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_quicktestmainwithsetup
- tst_qv4mm
- ...
| 9036464 |
507 | }executed 20283346 times by 27 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_quicktestmainwithsetup
- tst_qv4mm
- ...
| 20283346 |
508 | | - |
509 | inline bool Value::isString() const | - |
510 | { | - |
511 | Heap::Base *b = heapObject(); | - |
512 | return b && b->internalClass->vtable->isString;executed 168840579 times by 154 tests: return b && b->internalClass->vtable->isString; 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
- ...
| 168840579 |
513 | } | - |
514 | | - |
515 | bool Value::isStringOrSymbol() const | - |
516 | { | - |
517 | Heap::Base *b = heapObject(); | - |
518 | return b && b->internalClass->vtable->isStringOrSymbol;executed 53087 times by 12 tests: return b && b->internalClass->vtable->isStringOrSymbol; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllocale
- tst_qqmltranslation
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickvisualdatamodel
- tst_testfiltering
| 53087 |
519 | } | - |
520 | | - |
521 | bool Value::isSymbol() const | - |
522 | { | - |
523 | Heap::Base *b = heapObject(); | - |
524 | return b && b->internalClass->vtable->isStringOrSymbol && !b->internalClass->vtable->isString;executed 696071 times by 8 tests: return b && b->internalClass->vtable->isStringOrSymbol && !b->internalClass->vtable->isString; Executed by:- tst_ecmascripttests
- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qv4debugger
- tst_scenegraph
- tst_signalspy
| 696071 |
525 | } | - |
526 | | - |
527 | inline bool Value::isObject() const | - |
528 | | - |
529 | { | - |
530 | Heap::Base *b = heapObject(); | - |
531 | return b && b->internalClass->vtable->isObject;executed 182526386 times by 154 tests: return b && b->internalClass->vtable->isObject; 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
- ...
| 182526386 |
532 | } | - |
533 | | - |
534 | inline bool Value::isFunctionObject() const | - |
535 | { | - |
536 | Heap::Base *b = heapObject(); | - |
537 | return b && b->internalClass->vtable->isFunctionObject;executed 52175653 times by 25 tests: return b && b->internalClass->vtable->isFunctionObject; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickworkerscript
- tst_qv4assembler
- tst_qv4debugger
| 52175653 |
538 | } | - |
539 | | - |
540 | inline bool Value::isPrimitive() const | - |
541 | { | - |
542 | return !isObject();executed 91059 times by 30 tests: return !isObject(); Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklayouts
- ...
| 91059 |
543 | } | - |
544 | | - |
545 | inline double Value::toNumber() const | - |
546 | { | - |
547 | if (isInteger())TRUE | evaluated 6377124 times by 36 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickcustomaffector
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- ...
| FALSE | evaluated 2865743 times by 34 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- ...
|
| 2865743-6377124 |
548 | return int_32();executed 6377122 times by 36 tests: return int_32(); Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickcustomaffector
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- ...
| 6377122 |
549 | if (isDouble())TRUE | evaluated 2859142 times by 33 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- ...
| FALSE | evaluated 6552 times by 8 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qqmlxmlhttprequest
- tst_qquicklistview
- tst_qquickpathview
|
| 6552-2859142 |
550 | return doubleValue();executed 2859075 times by 33 tests: return doubleValue(); Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- ...
| 2859075 |
551 | return toNumberImpl();executed 6553 times by 8 tests: return toNumberImpl(); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qqmlxmlhttprequest
- tst_qquicklistview
- tst_qquickpathview
| 6553 |
552 | } | - |
553 | | - |
554 | inline | - |
555 | ReturnedValue Heap::Base::asReturnedValue() const | - |
556 | { | - |
557 | return Value::fromHeapObject(const_cast<Heap::Base *>(this)).asReturnedValue();executed 151285512 times by 145 tests: return Value::fromHeapObject(const_cast<Heap::Base *>(this)).asReturnedValue(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- ...
| 151285512 |
558 | } | - |
559 | | - |
560 | | - |
561 | | - |
562 | struct Q_QML_PRIVATE_EXPORT Primitive : public Value | - |
563 | { | - |
564 | inline static Primitive emptyValue(); | - |
565 | static inline Primitive fromBoolean(bool b); | - |
566 | static inline Primitive fromInt32(int i); | - |
567 | inline static Primitive undefinedValue(); | - |
568 | static inline Primitive nullValue(); | - |
569 | static inline Primitive fromDouble(double d); | - |
570 | static inline Primitive fromUInt32(uint i); | - |
571 | | - |
572 | using Value::toInt32; | - |
573 | using Value::toUInt32; | - |
574 | | - |
575 | static double toInteger(double d); | - |
576 | static int toInt32(double d); | - |
577 | static unsigned int toUInt32(double d); | - |
578 | }; | - |
579 | | - |
580 | inline Primitive Primitive::undefinedValue() | - |
581 | { | - |
582 | Primitive v; | - |
583 | v.setM(nullptr); | - |
584 | return v;executed 651892929 times by 154 tests: return v; 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
- ...
| 651892929 |
585 | } | - |
586 | | - |
587 | inline Primitive Primitive::emptyValue() | - |
588 | { | - |
589 | Primitive v; | - |
590 | v.setEmpty(); | - |
591 | return v;executed 4505165 times by 40 tests: return v; Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlapplicationengine
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickgridview
- ...
| 4505165 |
592 | } | - |
593 | | - |
594 | inline Primitive Primitive::nullValue() | - |
595 | { | - |
596 | Primitive v; | - |
597 | v.setTagValue(quint32(ValueTypeInternal::Null), 0); | - |
598 | return v;executed 2645899 times by 154 tests: return v; 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
- ...
| 2645899 |
599 | } | - |
600 | | - |
601 | inline Primitive Primitive::fromBoolean(bool b) | - |
602 | { | - |
603 | Primitive v; | - |
604 | v.setTagValue(quint32(ValueTypeInternal::Boolean), b); | - |
605 | return v;executed 88801133 times by 154 tests: return v; 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
- ...
| 88801133 |
606 | } | - |
607 | | - |
608 | inline Primitive Primitive::fromDouble(double d) | - |
609 | { | - |
610 | Primitive v; | - |
611 | v.setDouble(d); | - |
612 | return v;executed 8675623 times by 154 tests: return v; 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
- ...
| 8675623 |
613 | } | - |
614 | | - |
615 | inline Primitive Primitive::fromInt32(int i) | - |
616 | { | - |
617 | Primitive v; | - |
618 | v.setInt_32(i); | - |
619 | return v;executed 440855969 times by 154 tests: return v; 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
- ...
| 440855969 |
620 | } | - |
621 | | - |
622 | inline Primitive Primitive::fromUInt32(uint i) | - |
623 | { | - |
624 | Primitive v; | - |
625 | if (i < INT_MAX) {TRUE | evaluated 10207299 times by 60 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- ...
| FALSE | evaluated 608 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
|
| 608-10207299 |
626 | v.setTagValue(quint32(ValueTypeInternal::Integer), i); | - |
627 | } else {executed 10205810 times by 60 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- ...
| 10205810 |
628 | v.setDouble(i); | - |
629 | }executed 608 times by 3 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
| 608 |
630 | return v;executed 10207894 times by 60 tests: return v; Executed by:- tst_ecmascripttests
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- ...
| 10207894 |
631 | } | - |
632 | | - |
633 | struct Double { | - |
634 | quint64 d; | - |
635 | | - |
636 | Double(double dbl) { | - |
637 | memcpy(&d, &dbl, sizeof(double)); | - |
638 | }executed 6585 times by 4 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
| 6585 |
639 | | - |
640 | int sign() const { | - |
641 | return (d >> 63) ? -1 : 1;executed 3672 times by 4 tests: return (d >> 63) ? -1 : 1; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
| 3672 |
642 | } | - |
643 | | - |
644 | bool isDenormal() const { | - |
645 | return static_cast<int>((d << 1) >> 53) == 0;executed 3672 times by 4 tests: return static_cast<int>((d << 1) >> 53) == 0; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
| 3672 |
646 | } | - |
647 | | - |
648 | int exponent() const { | - |
649 | return static_cast<int>((d << 1) >> 53) - 1023;executed 6585 times by 4 tests: return static_cast<int>((d << 1) >> 53) - 1023; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
| 6585 |
650 | } | - |
651 | | - |
652 | quint64 significant() const { | - |
653 | quint64 m = (d << 12) >> 12; | - |
654 | if (!isDenormal())TRUE | evaluated 3672 times by 4 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
| FALSE | never evaluated |
| 0-3672 |
655 | m |= (static_cast<quint64>(1) << 52);executed 3672 times by 4 tests: m |= (static_cast<quint64>(1) << 52); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
| 3672 |
656 | return m;executed 3672 times by 4 tests: return m; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
| 3672 |
657 | } | - |
658 | | - |
659 | static int toInt32(double d) { | - |
660 | int i = static_cast<int>(d); | - |
661 | if (i == d)TRUE | evaluated 38071 times by 8 testsEvaluated by:- tst_ecmascripttests
- tst_parserstress
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_signalspy
| FALSE | evaluated 6586 times by 4 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
|
| 6586-38071 |
662 | return i;executed 38071 times by 8 tests: return i; Executed by:- tst_ecmascripttests
- tst_parserstress
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_signalspy
| 38071 |
663 | return Double(d).toInt32();executed 6585 times by 4 tests: return Double(d).toInt32(); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
| 6585 |
664 | } | - |
665 | | - |
666 | int toInt32() { | - |
667 | int e = exponent() - 52; | - |
668 | if (e < 0) {TRUE | evaluated 4216 times by 4 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
| FALSE | evaluated 2368 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsvalue
- tst_qqmlecmascript
|
| 2368-4216 |
669 | if (e <= -53)TRUE | evaluated 784 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsvalue
| FALSE | evaluated 3432 times by 4 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
|
| 784-3432 |
670 | return 0;executed 784 times by 2 tests: return 0; Executed by:- tst_ecmascripttests
- tst_qjsvalue
| 784 |
671 | return sign() * static_cast<int>(significant() >> -e);executed 3432 times by 4 tests: return sign() * static_cast<int>(significant() >> -e); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
| 3432 |
672 | } else { | - |
673 | if (e > 31)TRUE | evaluated 2129 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsvalue
- tst_qqmlecmascript
| FALSE | evaluated 240 times by 1 test |
| 240-2129 |
674 | return 0;executed 2128 times by 3 tests: return 0; Executed by:- tst_ecmascripttests
- tst_qjsvalue
- tst_qqmlecmascript
| 2128 |
675 | return sign() * (static_cast<int>(significant()) << e);executed 240 times by 1 test: return sign() * (static_cast<int>(significant()) << e); | 240 |
676 | } | - |
677 | } | - |
678 | }; | - |
679 | | - |
680 | inline double Primitive::toInteger(double d) | - |
681 | { | - |
682 | if (std::isnan(d))TRUE | evaluated 1224 times by 1 test | FALSE | evaluated 6705 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
| 1224-6705 |
683 | return +0;executed 1224 times by 1 test: return +0; | 1224 |
684 | else if (!d || std::isinf(d))TRUE | evaluated 2352 times by 1 test | FALSE | evaluated 4359 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
TRUE | evaluated 644 times by 1 test | FALSE | evaluated 3708 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
| 644-4359 |
685 | return d;executed 2996 times by 1 test: return d; | 2996 |
686 | return d >= 0 ? std::floor(d) : std::ceil(d);executed 3708 times by 2 tests: return d >= 0 ? std::floor(d) : std::ceil(d); Executed by:- tst_ecmascripttests
- tst_qjsengine
| 3708 |
687 | } | - |
688 | | - |
689 | inline int Primitive::toInt32(double value) | - |
690 | { | - |
691 | return Double::toInt32(value);executed 108 times by 4 tests: return Double::toInt32(value); Executed by:- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_signalspy
| 108 |
692 | } | - |
693 | | - |
694 | inline unsigned int Primitive::toUInt32(double d) | - |
695 | { | - |
696 | return static_cast<uint>(toInt32(d));executed 14 times by 1 test: return static_cast<uint>(toInt32(d)); | 14 |
697 | } | - |
698 | | - |
699 | struct Encode { | - |
700 | static ReturnedValue undefined() { | - |
701 | return Primitive::undefinedValue().rawValue();executed 274305663 times by 154 tests: return Primitive::undefinedValue().rawValue(); 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
- ...
| 274305663 |
702 | } | - |
703 | static ReturnedValue null() { | - |
704 | return Primitive::nullValue().rawValue();executed 2541137 times by 145 tests: return Primitive::nullValue().rawValue(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- ...
| 2541137 |
705 | } | - |
706 | | - |
707 | explicit Encode(bool b) { | - |
708 | val = Primitive::fromBoolean(b).rawValue(); | - |
709 | }executed 85254356 times by 104 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 85254356 |
710 | explicit Encode(double d) { | - |
711 | val = Primitive::fromDouble(d).rawValue(); | - |
712 | }executed 5593307 times by 67 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- ...
| 5593307 |
713 | explicit Encode(int i) { | - |
714 | val = Primitive::fromInt32(i).rawValue(); | - |
715 | }executed 291865201 times by 154 tests: end of block 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
- ...
| 291865201 |
716 | explicit Encode(uint i) { | - |
717 | val = Primitive::fromUInt32(i).rawValue(); | - |
718 | }executed 9907514 times by 8 tests: end of block Executed by:- tst_ecmascripttests
- tst_parserstress
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlxmlhttprequest
- tst_qquickitem2
- tst_qquickvisualdatamodel
| 9907514 |
719 | explicit Encode(ReturnedValue v) { | - |
720 | val = v; | - |
721 | }executed 4276851 times by 2 tests: end of block Executed by:- tst_ecmascripttests
- tst_qqmlsqldatabase
| 4276851 |
722 | Encode(Value v) { | - |
723 | val = v.rawValue(); | - |
724 | }executed 1007348 times by 5 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qquickgridview
- tst_qquicklayouts
| 1007348 |
725 | | - |
726 | explicit Encode(Heap::Base *o) { | - |
727 | val = Value::fromHeapObject(o).asReturnedValue(); | - |
728 | }executed 27071783 times by 55 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- ...
| 27071783 |
729 | | - |
730 | explicit Encode(Value *o) { | - |
731 | Q_ASSERT(o); | - |
732 | val = o->asReturnedValue(); | - |
733 | }executed 268 times by 1 test: end of block | 268 |
734 | | - |
735 | static ReturnedValue smallestNumber(double d) { | - |
736 | if (static_cast<int>(d) == d && !(d == 0. && std::signbit(d)))TRUE | evaluated 946605 times by 90 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- ...
| FALSE | evaluated 53529 times by 28 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickflickable
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquickwindow
- ...
|
TRUE | evaluated 231085 times by 59 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
| FALSE | evaluated 718992 times by 85 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
|
TRUE | never evaluated | FALSE | evaluated 231104 times by 59 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
|
| 0-946605 |
737 | return Encode(static_cast<int>(d));executed 947874 times by 90 tests: return Encode(static_cast<int>(d)); Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- ...
| 947874 |
738 | else | - |
739 | return Encode(d);executed 53522 times by 28 tests: return Encode(d); Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickflickable
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquickwindow
- ...
| 53522 |
740 | } | - |
741 | | - |
742 | operator ReturnedValue() const { | - |
743 | return val;executed 419222479 times by 154 tests: return val; 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
- ...
| 419222479 |
744 | } | - |
745 | quint64 val; | - |
746 | private: | - |
747 | explicit Encode(void *); | - |
748 | }; | - |
749 | | - |
750 | template<typename T> | - |
751 | ReturnedValue value_convert(ExecutionEngine *e, const Value &v); | - |
752 | | - |
753 | inline int Value::toInt32() const | - |
754 | { | - |
755 | if (Q_LIKELY(integerCompatible()))TRUE | evaluated 6278524 times by 79 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| FALSE | evaluated 39800 times by 6 testsEvaluated by:- tst_ecmascripttests
- tst_parserstress
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlitemmodels
|
| 39800-6278524 |
756 | return int_32();executed 6279516 times by 79 tests: return int_32(); Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| 6279516 |
757 | | - |
758 | if (Q_LIKELY(isDouble()))TRUE | evaluated 38615 times by 6 testsEvaluated by:- tst_ecmascripttests
- tst_parserstress
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlitemmodels
| FALSE | evaluated 1186 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsvalue
- tst_qqmlecmascript
|
| 1186-38615 |
759 | return Double::toInt32(doubleValue());executed 38614 times by 6 tests: return Double::toInt32(doubleValue()); Executed by:- tst_ecmascripttests
- tst_parserstress
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlitemmodels
| 38614 |
760 | | - |
761 | return Double::toInt32(toNumberImpl());executed 1186 times by 3 tests: return Double::toInt32(toNumberImpl()); Executed by:- tst_ecmascripttests
- tst_qjsvalue
- tst_qqmlecmascript
| 1186 |
762 | } | - |
763 | | - |
764 | inline unsigned int Value::toUInt32() const | - |
765 | { | - |
766 | return static_cast<unsigned int>(toInt32());executed 5657058 times by 12 tests: return static_cast<unsigned int>(toInt32()); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickitem2
| 5657058 |
767 | } | - |
768 | | - |
769 | inline qint64 Value::toLength() const | - |
770 | { | - |
771 | if (Q_LIKELY(integerCompatible()))TRUE | evaluated 256572 times by 55 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_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
| FALSE | evaluated 2176 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
| 2176-256572 |
772 | return int_32() < 0 ? 0 : int_32();executed 256569 times by 55 tests: return int_32() < 0 ? 0 : int_32(); 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_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
| 256569 |
773 | double i = Primitive::toInteger(isDouble() ? doubleValue() : toNumberImpl()); | - |
774 | if (i <= 0)TRUE | evaluated 1159 times by 1 test | FALSE | evaluated 1026 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
| 1026-1159 |
775 | return 0;executed 1159 times by 1 test: return 0; | 1159 |
776 | if (i > (static_cast<qint64>(1) << 53) - 1)TRUE | evaluated 104 times by 1 test | FALSE | evaluated 922 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
| 104-922 |
777 | return (static_cast<qint64>(1) << 53) - 1;executed 104 times by 1 test: return (static_cast<qint64>(1) << 53) - 1; | 104 |
778 | return static_cast<qint64>(i);executed 924 times by 2 tests: return static_cast<qint64>(i); Executed by:- tst_ecmascripttests
- tst_qjsengine
| 924 |
779 | } | - |
780 | | - |
781 | inline qint64 Value::toIndex() const | - |
782 | { | - |
783 | qint64 idx; | - |
784 | if (Q_LIKELY(integerCompatible())) {TRUE | evaluated 3081 times by 1 test | FALSE | evaluated 540 times by 1 test |
| 540-3081 |
785 | idx = int_32(); | - |
786 | } else {executed 3081 times by 1 test: end of block | 3081 |
787 | idx = static_cast<qint64>(Primitive::toInteger(isDouble() ? doubleValue() : toNumberImpl())); | - |
788 | }executed 540 times by 1 test: end of block | 540 |
789 | if (idx > (static_cast<qint64>(1) << 53) - 1)TRUE | never evaluated | FALSE | evaluated 3621 times by 1 test |
| 0-3621 |
790 | idx = -1; never executed: idx = -1; | 0 |
791 | return idx;executed 3621 times by 1 test: return idx; | 3621 |
792 | } | - |
793 | | - |
794 | inline double Value::toInteger() const | - |
795 | { | - |
796 | if (integerCompatible())TRUE | evaluated 34103 times by 7 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_signalspy
| FALSE | evaluated 5204 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
| 5204-34103 |
797 | return int_32();executed 34103 times by 7 tests: return int_32(); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_signalspy
| 34103 |
798 | | - |
799 | return Primitive::toInteger(isDouble() ? doubleValue() : toNumberImpl());executed 5205 times by 2 tests: return Primitive::toInteger(isDouble() ? doubleValue() : toNumberImpl()); Executed by:- tst_ecmascripttests
- tst_qjsengine
| 5205 |
800 | } | - |
801 | | - |
802 | | - |
803 | template <size_t o> | - |
804 | struct HeapValue : Value { | - |
805 | static Q_CONSTEXPR size_t offset = o; | - |
806 | Heap::Base *base() { | - |
807 | Heap::Base *base = reinterpret_cast<Heap::Base *>(this) - (offset/sizeof(Heap::Base)); | - |
808 | Q_ASSERT(base->inUse()); | - |
809 | return base;executed 113244 times by 154 tests: return base; 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
- ...
| 113244 |
810 | } | - |
811 | | - |
812 | void set(EngineBase *e, const Value &newVal) { | - |
813 | WriteBarrier::write(e, base(), data_ptr(), newVal.asReturnedValue()); | - |
814 | }executed 113147 times by 154 tests: end of block 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
- ...
| 113147 |
815 | void set(EngineBase *e, Heap::Base *b) { | - |
816 | WriteBarrier::write(e, base(), data_ptr(), b->asReturnedValue()); | - |
817 | } never executed: end of block | 0 |
818 | }; | - |
819 | | - |
820 | template <size_t o> | - |
821 | struct ValueArray { | - |
822 | static Q_CONSTEXPR size_t offset = o; | - |
823 | uint size; | - |
824 | uint alloc; | - |
825 | Value values[1]; | - |
826 | | - |
827 | Heap::Base *base() { | - |
828 | Heap::Base *base = reinterpret_cast<Heap::Base *>(this) - (offset/sizeof(Heap::Base)); | - |
829 | Q_ASSERT(base->inUse()); | - |
830 | return base;executed 189972835 times by 154 tests: return base; 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
- ...
| 189972835 |
831 | } | - |
832 | | - |
833 | void set(EngineBase *e, uint index, Value v) { | - |
834 | WriteBarrier::write(e, base(), values[index].data_ptr(), v.asReturnedValue()); | - |
835 | }executed 189857216 times by 154 tests: end of block 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
- ...
| 189857216 |
836 | void set(EngineBase *e, uint index, Heap::Base *b) { | - |
837 | WriteBarrier::write(e, base(), values[index].data_ptr(), Value::fromHeapObject(b).asReturnedValue()); | - |
838 | }executed 76387 times by 61 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlfileselector
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlprofilerservice
- tst_qqmlproperty
- ...
| 76387 |
839 | inline const Value &operator[] (uint index) const { | - |
840 | Q_ASSERT(index < alloc); | - |
841 | return values[index];executed 23622385 times by 57 tests: return values[index]; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconnections
- 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
- ...
| 23622385 |
842 | } | - |
843 | inline const Value *data() const { | - |
844 | return values;executed 44560513 times by 153 tests: return values; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- 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
- tst_qqmlenginedebugservice
- ...
| 44560513 |
845 | } | - |
846 | | - |
847 | void insertData(EngineBase *e, uint index, Value v) { | - |
848 | for (uint i = size - 1; i > index; --i) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
849 | values[i] = values[i - 1]; | - |
850 | } never executed: end of block | 0 |
851 | set(e, index, v); | - |
852 | } never executed: end of block | 0 |
853 | void removeData(EngineBase *e, uint index, int n = 1) { | - |
854 | Q_UNUSED(e); | - |
855 | for (uint i = index; i < size - n; ++i) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
856 | values[i] = values[i + n]; | - |
857 | } never executed: end of block | 0 |
858 | } never executed: end of block | 0 |
859 | | - |
860 | void mark(MarkStack *markStack) { | - |
861 | Value *v = values; | - |
862 | const Value *end = v + alloc; | - |
863 | if (alloc > 32*1024) {TRUE | never evaluated | FALSE | evaluated 3630564 times by 27 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_quicktestmainwithsetup
- tst_qv4mm
- ...
|
| 0-3630564 |
864 | | - |
865 | Heap::Base **currentBase = markStack->top; | - |
866 | while (v < end) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
867 | v->mark(markStack); | - |
868 | ++v; | - |
869 | if (markStack->top >= currentBase + 32*1024) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
870 | Heap::Base **oldBase = markStack->base; | - |
871 | markStack->base = currentBase; | - |
872 | markStack->drain(); | - |
873 | markStack->base = oldBase; | - |
874 | } never executed: end of block | 0 |
875 | } never executed: end of block | 0 |
876 | } else { never executed: end of block | 0 |
877 | while (v < end) {TRUE | evaluated 12514535 times by 27 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_quicktestmainwithsetup
- tst_qv4mm
- ...
| FALSE | evaluated 3630299 times by 27 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_quicktestmainwithsetup
- tst_qv4mm
- ...
|
| 3630299-12514535 |
878 | v->mark(markStack); | - |
879 | ++v; | - |
880 | }executed 12515386 times by 27 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_quicktestmainwithsetup
- tst_qv4mm
- ...
| 12515386 |
881 | }executed 3630378 times by 27 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_quicktestmainwithsetup
- tst_qv4mm
- ...
| 3630378 |
882 | } | - |
883 | }; | - |
884 | | - |
885 | | - |
886 | | - |
887 | | - |
888 | Q_STATIC_ASSERT(offsetof(ValueArray<0>, values) == 8); | - |
889 | | - |
890 | } | - |
891 | | - |
892 | QT_END_NAMESPACE | - |
893 | | - |
894 | #endif // QV4VALUE_DEF_P_H | - |
| | |