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 QV4SCOPEDVALUE_P_H | - |
40 | #define QV4SCOPEDVALUE_P_H | - |
41 | | - |
42 | | - |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
47 | | - |
48 | | - |
49 | | - |
50 | | - |
51 | | - |
52 | | - |
53 | #include "qv4engine_p.h" | - |
54 | #include "qv4value_p.h" | - |
55 | #include "qv4property_p.h" | - |
56 | #include "qv4propertykey_p.h" | - |
57 | | - |
58 | #ifdef V4_USE_VALGRIND | - |
59 | #include <valgrind/memcheck.h> | - |
60 | #endif | - |
61 | | - |
62 | QT_BEGIN_NAMESPACE | - |
63 | | - |
64 | #define SAVE_JS_STACK(ctx) Value *__jsStack = ctx->engine->jsStackTop | - |
65 | #define CHECK_JS_STACK(ctx) Q_ASSERT(__jsStack == ctx->engine->jsStackTop) | - |
66 | | - |
67 | namespace QV4 { | - |
68 | | - |
69 | struct ScopedValue; | - |
70 | | - |
71 | #define CHECK_EXCEPTION() \ | - |
72 | do { \ | - |
73 | if (scope.hasException()) { \ | - |
74 | return QV4::Encode::undefined(); \ | - |
75 | } \ | - |
76 | } while (false) | - |
77 | | - |
78 | #define RETURN_UNDEFINED() \ | - |
79 | return QV4::Encode::undefined() | - |
80 | | - |
81 | #define RETURN_RESULT(r) \ | - |
82 | return QV4::Encode(r) | - |
83 | | - |
84 | #define THROW_TYPE_ERROR() \ | - |
85 | return scope.engine->throwTypeError() | - |
86 | | - |
87 | #define THROW_GENERIC_ERROR(str) \ | - |
88 | return scope.engine->throwError(QString::fromUtf8(str)) | - |
89 | | - |
90 | struct Scope { | - |
91 | explicit Scope(ExecutionContext *ctx) | - |
92 | : engine(ctx->engine()) | - |
93 | , mark(engine->jsStackTop) | - |
94 | { | - |
95 | }executed 18449722 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
- ...
| 18449722 |
96 | | - |
97 | explicit Scope(ExecutionEngine *e) | - |
98 | : engine(e) | - |
99 | , mark(engine->jsStackTop) | - |
100 | { | - |
101 | }executed 892515650 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
- ...
| 892515650 |
102 | | - |
103 | explicit Scope(const Managed *m) | - |
104 | : engine(m->engine()) | - |
105 | , mark(engine->jsStackTop) | - |
106 | { | - |
107 | }executed 21963755 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
- ...
| 21963755 |
108 | | - |
109 | ~Scope() { | - |
110 | #ifndef QT_NO_DEBUG | - |
111 | Q_ASSERT(engine->jsStackTop >= mark); | - |
112 | | - |
113 | memset(mark, 0, (engine->jsStackTop - mark)*sizeof(Value)); | - |
114 | #endif | - |
115 | #ifdef V4_USE_VALGRIND | - |
116 | VALGRIND_MAKE_MEM_UNDEFINED(mark, (engine->jsStackLimit - mark) * sizeof(Value)); | - |
117 | #endif | - |
118 | engine->jsStackTop = mark; | - |
119 | }executed 931645435 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
- ...
| 931645435 |
120 | | - |
121 | enum AllocMode { | - |
122 | Undefined, | - |
123 | Empty, | - |
124 | | - |
125 | Uninitialized | - |
126 | }; | - |
127 | template <AllocMode mode = Undefined> | - |
128 | QML_NEARLY_ALWAYS_INLINE Value *alloc(int nValues) const | - |
129 | { | - |
130 | Value *ptr = engine->jsAlloca(nValues); | - |
131 | switch (mode) { | - |
132 | case Undefined:executed 159233191 times by 154 tests: case Undefined: 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
- ...
| 159233191 |
133 | for (int i = 0; i < nValues; ++i)TRUE | evaluated 314167653 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 159231990 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
- ...
|
| 159231990-314167653 |
134 | ptr[i] = Primitive::undefinedValue();executed 314103641 times by 154 tests: ptr[i] = Primitive::undefinedValue(); 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
- ...
| 314103641 |
135 | break;executed 159331896 times by 154 tests: break; 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
- ...
| 159331896 |
136 | case Empty: never executed: case Empty: | 0 |
137 | for (int i = 0; i < nValues; ++i)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
138 | ptr[i] = Primitive::emptyValue(); never executed: ptr[i] = Primitive::emptyValue(); | 0 |
139 | break; never executed: break; | 0 |
140 | case Uninitialized:executed 2085952 times by 125 tests: case Uninitialized: Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| 2085952 |
141 | break;executed 2085952 times by 125 tests: break; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| 2085952 |
142 | } | - |
143 | return ptr;executed 161439415 times by 154 tests: return ptr; 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
- ...
| 161439415 |
144 | } | - |
145 | template <AllocMode mode = Undefined> | - |
146 | QML_NEARLY_ALWAYS_INLINE Value *alloc() const | - |
147 | { | - |
148 | Value *ptr = engine->jsAlloca(1); | - |
149 | switch (mode) { | - |
150 | case Undefined:executed 16363440 times by 154 tests: case Undefined: 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
- ...
| 16363440 |
151 | *ptr = Primitive::undefinedValue(); | - |
152 | break;executed 16332947 times by 154 tests: break; 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
- ...
| 16332947 |
153 | case Empty: never executed: case Empty: | 0 |
154 | *ptr = Primitive::emptyValue(); | - |
155 | break; never executed: break; | 0 |
156 | case Uninitialized:executed 929877536 times by 154 tests: case Uninitialized: 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
- ...
| 929877536 |
157 | break;executed 929930728 times by 154 tests: break; 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
- ...
| 929930728 |
158 | } | - |
159 | return ptr;executed 947653127 times by 154 tests: return ptr; 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
- ...
| 947653127 |
160 | } | - |
161 | | - |
162 | bool hasException() const { | - |
163 | return engine->hasException;executed 2803903 times by 133 tests: return engine->hasException; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- 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_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
| 2803903 |
164 | } | - |
165 | | - |
166 | ExecutionEngine *engine; | - |
167 | Value *mark; | - |
168 | | - |
169 | private: | - |
170 | Q_DISABLE_COPY(Scope) | - |
171 | }; | - |
172 | | - |
173 | struct ScopedValue | - |
174 | { | - |
175 | ScopedValue(const Scope &scope) | - |
176 | { | - |
177 | ptr = scope.alloc<Scope::Uninitialized>(); | - |
178 | ptr->setRawValue(0); | - |
179 | }executed 2797999 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
- ...
| 2797999 |
180 | | - |
181 | ScopedValue(const Scope &scope, const Value &v) | - |
182 | { | - |
183 | ptr = scope.alloc<Scope::Uninitialized>(); | - |
184 | *ptr = v; | - |
185 | }executed 885040 times by 103 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
| 885040 |
186 | | - |
187 | ScopedValue(const Scope &scope, Heap::Base *o) | - |
188 | { | - |
189 | ptr = scope.alloc<Scope::Uninitialized>(); | - |
190 | ptr->setM(o); | - |
191 | }executed 13775649 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
- ...
| 13775649 |
192 | | - |
193 | ScopedValue(const Scope &scope, Managed *m) | - |
194 | { | - |
195 | ptr = scope.alloc<Scope::Uninitialized>(); | - |
196 | ptr->setRawValue(m->asReturnedValue()); | - |
197 | }executed 40270 times by 27 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquickparticlegroup
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
- ...
| 40270 |
198 | | - |
199 | ScopedValue(const Scope &scope, const ReturnedValue &v) | - |
200 | { | - |
201 | ptr = scope.alloc<Scope::Uninitialized>(); | - |
202 | ptr->setRawValue(v); | - |
203 | }executed 138633145 times by 144 tests: end of block 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
- ...
| 138633145 |
204 | | - |
205 | ScopedValue &operator=(const Value &v) { | - |
206 | *ptr = v; | - |
207 | return *this;executed 77834 times by 19 tests: return *this; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
- tst_qquickworkerscript
- tst_qtqmlmodules
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
| 77834 |
208 | } | - |
209 | | - |
210 | ScopedValue &operator=(Heap::Base *o) { | - |
211 | ptr->setM(o); | - |
212 | return *this;executed 2727245 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
- ...
| 2727245 |
213 | } | - |
214 | | - |
215 | ScopedValue &operator=(Managed *m) { | - |
216 | *ptr = *m; | - |
217 | return *this;executed 395535 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
- ...
| 395535 |
218 | } | - |
219 | | - |
220 | ScopedValue &operator=(const ReturnedValue &v) { | - |
221 | ptr->setRawValue(v); | - |
222 | return *this;executed 4633823 times by 111 tests: return *this; Executed by:- tst_bindingdependencyapi
- 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
- tst_qqmlinfo
- ...
| 4633823 |
223 | } | - |
224 | | - |
225 | ScopedValue &operator=(const ScopedValue &other) { | - |
226 | *ptr = *other.ptr; | - |
227 | return *this;executed 76 times by 9 tests: return *this; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
| 76 |
228 | } | - |
229 | | - |
230 | Value *operator->() { | - |
231 | return ptr;executed 134857535 times by 145 tests: return ptr; 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
- ...
| 134857535 |
232 | } | - |
233 | | - |
234 | const Value *operator->() const { | - |
235 | return ptr;executed 2580 times by 2 tests: return ptr; Executed by:- tst_qqmlsqldatabase
- tst_qv4debugger
| 2580 |
236 | } | - |
237 | | - |
238 | operator Value *() { return ptr; }executed 4385106 times by 54 tests: return ptr; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- ...
| 4385106 |
239 | operator const Value &() const { return *ptr; }executed 10460195 times by 154 tests: return *ptr; 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
- ...
| 10460195 |
240 | | - |
241 | Value *ptr; | - |
242 | }; | - |
243 | | - |
244 | | - |
245 | struct ScopedPropertyKey | - |
246 | { | - |
247 | ScopedPropertyKey(const Scope &scope) | - |
248 | { | - |
249 | ptr = reinterpret_cast<PropertyKey *>(scope.alloc<Scope::Uninitialized>()); | - |
250 | *ptr = PropertyKey::invalid(); | - |
251 | }executed 13198 times by 2 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
| 13198 |
252 | | - |
253 | ScopedPropertyKey(const Scope &scope, const PropertyKey &v) | - |
254 | { | - |
255 | ptr = reinterpret_cast<PropertyKey *>(scope.alloc<Scope::Uninitialized>()); | - |
256 | *ptr = v; | - |
257 | }executed 168028 times by 18 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qtqmlmodules
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| 168028 |
258 | | - |
259 | ScopedPropertyKey &operator=(const PropertyKey &other) { | - |
260 | *ptr = other; | - |
261 | return *this;executed 17592 times by 2 tests: return *this; Executed by:- tst_ecmascripttests
- tst_qjsengine
| 17592 |
262 | } | - |
263 | | - |
264 | PropertyKey *operator->() { | - |
265 | return ptr;executed 2 times by 1 test: return ptr; | 2 |
266 | } | - |
267 | operator PropertyKey() const { | - |
268 | return *ptr;executed 184570 times by 18 tests: return *ptr; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qtqmlmodules
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| 184570 |
269 | } | - |
270 | | - |
271 | PropertyKey *ptr; | - |
272 | }; | - |
273 | | - |
274 | | - |
275 | template<typename T> | - |
276 | struct Scoped | - |
277 | { | - |
278 | enum ConvertType { Convert }; | - |
279 | | - |
280 | QML_NEARLY_ALWAYS_INLINE void setPointer(const Managed *p) { | - |
281 | ptr->setM(p ? p->m() : nullptr); | - |
282 | }executed 125199248 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
- ...
| 125199248 |
283 | | - |
284 | QML_NEARLY_ALWAYS_INLINE Scoped(const Scope &scope) | - |
285 | { | - |
286 | ptr = scope.alloc<Scope::Undefined>(); | - |
287 | }executed 13662831 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
- ...
| 13662831 |
288 | | - |
289 | QML_NEARLY_ALWAYS_INLINE Scoped(const Scope &scope, const Value &v) | - |
290 | { | - |
291 | ptr = scope.alloc<Scope::Uninitialized>(); | - |
292 | setPointer(v.as<T>()); | - |
293 | }executed 30785629 times by 152 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_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
- ...
| 30785629 |
294 | QML_NEARLY_ALWAYS_INLINE Scoped(const Scope &scope, Heap::Base *o) | - |
295 | { | - |
296 | Value v; | - |
297 | v = o; | - |
298 | ptr = scope.alloc<Scope::Uninitialized>(); | - |
299 | setPointer(v.as<T>()); | - |
300 | }executed 3565894 times by 105 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- 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
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
| 3565894 |
301 | QML_NEARLY_ALWAYS_INLINE Scoped(const Scope &scope, const ScopedValue &v) | - |
302 | { | - |
303 | ptr = scope.alloc<Scope::Uninitialized>(); | - |
304 | setPointer(v.ptr->as<T>()); | - |
305 | }executed 11337 times by 33 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickgridview
- tst_qquickitem2
- ...
| 11337 |
306 | | - |
307 | QML_NEARLY_ALWAYS_INLINE Scoped(const Scope &scope, const Value &v, ConvertType) | - |
308 | { | - |
309 | ptr = scope.alloc<Scope::Uninitialized>(); | - |
310 | ptr->setRawValue(value_convert<T>(scope.engine, v)); | - |
311 | }executed 263176 times by 3 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
| 263176 |
312 | | - |
313 | QML_NEARLY_ALWAYS_INLINE Scoped(const Scope &scope, const Value *v) | - |
314 | { | - |
315 | ptr = scope.alloc<Scope::Uninitialized>(); | - |
316 | setPointer(v ? v->as<T>() : nullptr); | - |
317 | }executed 35007834 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
- ...
| 35007834 |
318 | | - |
319 | QML_NEARLY_ALWAYS_INLINE Scoped(const Scope &scope, T *t) | - |
320 | { | - |
321 | ptr = scope.alloc<Scope::Uninitialized>(); | - |
322 | setPointer(t); | - |
323 | }executed 2522593 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
- ...
| 2522593 |
324 | | - |
325 | QML_NEARLY_ALWAYS_INLINE Scoped(const Scope &scope, const T *t) | - |
326 | { | - |
327 | ptr = scope.alloc<Scope::Uninitialized>(); | - |
328 | setPointer(t); | - |
329 | }executed 27766328 times by 72 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- 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_qqmlmetatype
- tst_qqmlqt
- tst_qqmlsettings
- ...
| 27766328 |
330 | | - |
331 | QML_NEARLY_ALWAYS_INLINE Scoped(const Scope &scope, typename T::Data *t) | - |
332 | { | - |
333 | ptr = scope.alloc<Scope::Uninitialized>(); | - |
334 | *ptr = t; | - |
335 | }executed 678686882 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
- ...
| 678686882 |
336 | | - |
337 | QML_NEARLY_ALWAYS_INLINE Scoped(const Scope &scope, const ReturnedValue &v) | - |
338 | { | - |
339 | ptr = scope.alloc<Scope::Uninitialized>(); | - |
340 | setPointer(QV4::Value::fromReturnedValue(v).as<T>()); | - |
341 | }executed 6767212 times by 98 tests: end of block Executed by:- tst_bindingdependencyapi
- 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_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
| 6767212 |
342 | | - |
343 | QML_NEARLY_ALWAYS_INLINE Scoped(const Scope &scope, const ReturnedValue &v, ConvertType) | - |
344 | { | - |
345 | ptr = scope.alloc<Scope::Uninitialized>(); | - |
346 | ptr->setRawValue(value_convert<T>(scope.engine, QV4::Value::fromReturnedValue(v))); | - |
347 | } never executed: end of block | 0 |
348 | | - |
349 | Scoped<T> &operator=(Heap::Base *o) { | - |
350 | setPointer(Value::fromHeapObject(o).as<T>()); | - |
351 | return *this;executed 44 times by 6 tests: return *this; Executed by:- tst_qqmlecmascript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickvisualdatamodel
| 44 |
352 | } | - |
353 | Scoped<T> &operator=(typename T::Data *t) { | - |
354 | *ptr = t; | - |
355 | return *this;executed 208288057 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
- ...
| 208288057 |
356 | } | - |
357 | Scoped<T> &operator=(const Value &v) { | - |
358 | setPointer(v.as<T>()); | - |
359 | return *this;executed 15416642 times by 150 tests: return *this; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- ...
| 15416642 |
360 | } | - |
361 | Scoped<T> &operator=(Value *v) { | - |
362 | setPointer(v ? v->as<T>() : nullptr); | - |
363 | return *this;executed 114 times by 7 tests: return *this; Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmltranslation
- tst_qqmlvaluetypes
| 114 |
364 | } | - |
365 | | - |
366 | Scoped<T> &operator=(const ReturnedValue &v) { | - |
367 | setPointer(QV4::Value::fromReturnedValue(v).as<T>()); | - |
368 | return *this;executed 912243 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
- ...
| 912243 |
369 | } | - |
370 | | - |
371 | Scoped<T> &operator=(const Scoped<T> &other) { | - |
372 | *ptr = *other.ptr; | - |
373 | return *this;executed 102494 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
- ...
| 102494 |
374 | } | - |
375 | | - |
376 | Scoped<T> &operator=(T *t) { | - |
377 | setPointer(t); | - |
378 | return *this;executed 2561716 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
- ...
| 2561716 |
379 | } | - |
380 | | - |
381 | operator T *() { | - |
382 | return static_cast<T *>(ptr->managed());executed 528832259 times by 154 tests: return static_cast<T *>(ptr->managed()); 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
- ...
| 528832259 |
383 | } | - |
384 | operator const Value &() const { | - |
385 | return *ptr;executed 46647185 times by 154 tests: return *ptr; 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
- ...
| 46647185 |
386 | } | - |
387 | | - |
388 | T *operator->() { | - |
389 | return getPointer();executed 948629577 times by 154 tests: return getPointer(); 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
- ...
| 948629577 |
390 | } | - |
391 | | - |
392 | const T *operator->() const { | - |
393 | return getPointer();executed 1306 times by 4 tests: return getPointer(); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlconsole
| 1306 |
394 | } | - |
395 | | - |
396 | bool operator!() const { | - |
397 | return !ptr->m();executed 71600027 times by 154 tests: return !ptr->m(); 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
- ...
| 71600027 |
398 | } | - |
399 | operator void *() const { | - |
400 | return ptr->m();executed 1306 times by 4 tests: return ptr->m(); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlconsole
| 1306 |
401 | } | - |
402 | | - |
403 | T *getPointer() { | - |
404 | return reinterpret_cast<T *>(ptr);executed 950783564 times by 154 tests: return reinterpret_cast<T *>(ptr); 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
- ...
| 950783564 |
405 | } | - |
406 | | - |
407 | const T *getPointer() const { | - |
408 | return reinterpret_cast<T *>(ptr);executed 1306 times by 4 tests: return reinterpret_cast<T *>(ptr); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlconsole
| 1306 |
409 | } | - |
410 | | - |
411 | Value *getRef() { | - |
412 | return ptr;executed 90565 times by 36 tests: return ptr; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
| 90565 |
413 | } | - |
414 | | - |
415 | QML_NEARLY_ALWAYS_INLINE ReturnedValue asReturnedValue() const { | - |
416 | return ptr->rawValue();executed 424279 times by 82 tests: return ptr->rawValue(); Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 424279 |
417 | } | - |
418 | | - |
419 | Value *ptr; | - |
420 | }; | - |
421 | | - |
422 | inline Value &Value::operator =(const ScopedValue &v) | - |
423 | { | - |
424 | _val = v.ptr->rawValue(); | - |
425 | return *this;executed 120584 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
- ...
| 120584 |
426 | } | - |
427 | | - |
428 | template<typename T> | - |
429 | inline Value &Value::operator=(const Scoped<T> &t) | - |
430 | { | - |
431 | _val = t.ptr->rawValue(); | - |
432 | return *this;executed 309442 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
- ...
| 309442 |
433 | } | - |
434 | | - |
435 | struct ScopedProperty | - |
436 | { | - |
437 | ScopedProperty(Scope &scope) | - |
438 | { | - |
439 | property = reinterpret_cast<Property*>(scope.alloc(sizeof(Property) / sizeof(Value))); | - |
440 | }executed 157052142 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
- ...
| 157052142 |
441 | | - |
442 | Property *operator->() { return property; }executed 133429481 times by 154 tests: return property; 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
- ...
| 133429481 |
443 | operator const Property *() const { return property; } never executed: return property; | 0 |
444 | operator Property *() { return property; }executed 157039483 times by 154 tests: return property; 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
- ...
| 157039483 |
445 | | - |
446 | Property *property; | - |
447 | }; | - |
448 | | - |
449 | } | - |
450 | | - |
451 | QT_END_NAMESPACE | - |
452 | | - |
453 | #endif | - |
| | |