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 | | - |
40 | #ifndef QQMLNOTIFIER_P_H | - |
41 | #define QQMLNOTIFIER_P_H | - |
42 | | - |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
47 | | - |
48 | | - |
49 | | - |
50 | | - |
51 | | - |
52 | | - |
53 | | - |
54 | #include "qqmldata_p.h" | - |
55 | #include <QtCore/qmetaobject.h> | - |
56 | #include <private/qmetaobject_p.h> | - |
57 | | - |
58 | QT_BEGIN_NAMESPACE | - |
59 | | - |
60 | class QQmlNotifierEndpoint; | - |
61 | class Q_QML_PRIVATE_EXPORT QQmlNotifier | - |
62 | { | - |
63 | public: | - |
64 | inline QQmlNotifier(); | - |
65 | inline ~QQmlNotifier(); | - |
66 | inline void notify(); | - |
67 | | - |
68 | static void notify(QQmlData *ddata, int notifierIndex); | - |
69 | | - |
70 | private: | - |
71 | friend class QQmlData; | - |
72 | friend class QQmlNotifierEndpoint; | - |
73 | friend class QQmlThreadNotifierProxyObject; | - |
74 | | - |
75 | static void emitNotify(QQmlNotifierEndpoint *, void **a); | - |
76 | QQmlNotifierEndpoint *endpoints = nullptr; | - |
77 | }; | - |
78 | | - |
79 | class QQmlEngine; | - |
80 | class QQmlNotifierEndpoint | - |
81 | { | - |
82 | QQmlNotifierEndpoint *next; | - |
83 | QQmlNotifierEndpoint **prev; | - |
84 | public: | - |
85 | | - |
86 | | - |
87 | | - |
88 | | - |
89 | enum Callback { | - |
90 | None = 0, | - |
91 | QQmlBoundSignal = 1, | - |
92 | QQmlJavaScriptExpressionGuard = 2, | - |
93 | QQmlVMEMetaObjectEndpoint = 3 | - |
94 | }; | - |
95 | | - |
96 | inline QQmlNotifierEndpoint(Callback callback); | - |
97 | inline ~QQmlNotifierEndpoint(); | - |
98 | | - |
99 | inline bool isConnected() const; | - |
100 | inline bool isConnected(QObject *source, int sourceSignal) const; | - |
101 | inline bool isConnected(QQmlNotifier *) const; | - |
102 | | - |
103 | void connect(QObject *source, int sourceSignal, QQmlEngine *engine, bool doNotify = true); | - |
104 | inline void connect(QQmlNotifier *); | - |
105 | inline void disconnect(); | - |
106 | | - |
107 | inline bool isNotifying() const; | - |
108 | inline void cancelNotify(); | - |
109 | | - |
110 | inline int signalIndex() const { return sourceSignal; }executed 3286 times by 4 tests: return sourceSignal; Executed by:- tst_bindingdependencyapi
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickstates
| 3286 |
111 | | - |
112 | inline QObject *senderAsObject() const; | - |
113 | inline QQmlNotifier *senderAsNotifier() const; | - |
114 | | - |
115 | private: | - |
116 | friend class QQmlData; | - |
117 | friend class QQmlNotifier; | - |
118 | | - |
119 | | - |
120 | | - |
121 | | - |
122 | qintptr senderPtr; | - |
123 | | - |
124 | Callback callback:4; | - |
125 | int needsConnectNotify:1; | - |
126 | | - |
127 | | - |
128 | signed int sourceSignal:27; | - |
129 | }; | - |
130 | | - |
131 | QQmlNotifier::QQmlNotifier() | - |
132 | { | - |
133 | } | - |
134 | | - |
135 | QQmlNotifier::~QQmlNotifier() | - |
136 | { | - |
137 | QQmlNotifierEndpoint *endpoint = endpoints; | - |
138 | while (endpoint) {TRUE | evaluated 7874 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickwindow
| FALSE | evaluated 218039 times by 110 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
|
| 7874-218039 |
139 | QQmlNotifierEndpoint *n = endpoint; | - |
140 | endpoint = n->next; | - |
141 | | - |
142 | if (n->isNotifying()) *((qintptr *)(n->senderPtr & ~0x1)) = 0; never executed: *((qintptr *)(n->senderPtr & ~0x1)) = 0; TRUE | never evaluated | FALSE | evaluated 7874 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickwindow
|
| 0-7874 |
143 | | - |
144 | n->next = nullptr; | - |
145 | n->prev = nullptr; | - |
146 | n->senderPtr = 0; | - |
147 | n->sourceSignal = -1; | - |
148 | }executed 7874 times by 12 tests: end of block Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickwindow
| 7874 |
149 | endpoints = nullptr; | - |
150 | }executed 218039 times by 110 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
| 218039 |
151 | | - |
152 | void QQmlNotifier::notify() | - |
153 | { | - |
154 | void *args[] = { nullptr }; | - |
155 | if (endpoints) emitNotify(endpoints, args);executed 10 times by 1 test: emitNotify(endpoints, args); TRUE | evaluated 10 times by 1 test | FALSE | evaluated 218355 times by 115 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- ...
|
| 10-218355 |
156 | }executed 218365 times by 115 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- ...
| 218365 |
157 | | - |
158 | QQmlNotifierEndpoint::QQmlNotifierEndpoint(Callback callback) | - |
159 | : next(nullptr), prev(nullptr), senderPtr(0), callback(callback), needsConnectNotify(false), sourceSignal(-1) | - |
160 | { | - |
161 | }executed 928855 times by 116 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
| 928855 |
162 | | - |
163 | QQmlNotifierEndpoint::~QQmlNotifierEndpoint() | - |
164 | { | - |
165 | disconnect(); | - |
166 | }executed 848025 times by 115 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
| 848025 |
167 | | - |
168 | bool QQmlNotifierEndpoint::isConnected() const | - |
169 | { | - |
170 | return prev != nullptr; never executed: return prev != nullptr; | 0 |
171 | } | - |
172 | | - |
173 | | - |
174 | | - |
175 | | - |
176 | | - |
177 | bool QQmlNotifierEndpoint::isConnected(QObject *source, int sourceSignal) const | - |
178 | { | - |
179 | return this->sourceSignal != -1 && senderAsObject() == source &&executed 1283452 times by 65 tests: return this->sourceSignal != -1 && senderAsObject() == source && this->sourceSignal == sourceSignal; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- ...
| 1283452 |
180 | this->sourceSignal == sourceSignal;executed 1283452 times by 65 tests: return this->sourceSignal != -1 && senderAsObject() == source && this->sourceSignal == sourceSignal; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- ...
| 1283452 |
181 | } | - |
182 | | - |
183 | bool QQmlNotifierEndpoint::isConnected(QQmlNotifier *notifier) const | - |
184 | { | - |
185 | return sourceSignal == -1 && senderAsNotifier() == notifier;executed 619500 times by 40 tests: return sourceSignal == -1 && senderAsNotifier() == notifier; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
| 619500 |
186 | } | - |
187 | | - |
188 | void QQmlNotifierEndpoint::connect(QQmlNotifier *notifier) | - |
189 | { | - |
190 | disconnect(); | - |
191 | | - |
192 | next = notifier->endpoints; | - |
193 | if (next) { next->prev = &next; }executed 186962 times by 67 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- ...
TRUE | evaluated 186962 times by 67 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- ...
| FALSE | evaluated 85499 times by 73 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- ...
|
| 85499-186962 |
194 | notifier->endpoints = this; | - |
195 | prev = ¬ifier->endpoints; | - |
196 | senderPtr = qintptr(notifier); | - |
197 | }executed 272461 times by 73 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- ...
| 272461 |
198 | | - |
199 | void QQmlNotifierEndpoint::disconnect() | - |
200 | { | - |
201 | | - |
202 | | - |
203 | if (next) next->prev = prev;executed 218001 times by 55 tests: next->prev = prev; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickflipable
- ...
TRUE | evaluated 218001 times by 55 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickflipable
- ...
| FALSE | evaluated 1607715 times by 124 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
|
| 218001-1607715 |
204 | if (prev) *prev = next;executed 574989 times by 84 tests: *prev = next; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltranslation
- ...
TRUE | evaluated 574989 times by 84 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlmetaobject
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltranslation
- ...
| FALSE | evaluated 1250727 times by 124 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
|
| 574989-1250727 |
205 | | - |
206 | if (sourceSignal != -1) {TRUE | evaluated 310724 times by 66 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
| FALSE | evaluated 1514992 times by 124 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
|
| 310724-1514992 |
207 | QObject * const obj = senderAsObject(); | - |
208 | QObjectPrivate * const priv = QObjectPrivate::get(obj); | - |
209 | if (needsConnectNotify)TRUE | evaluated 310670 times by 64 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- ...
| FALSE | evaluated 54 times by 3 testsEvaluated by:- tst_qmlcachegen
- tst_qqmllistmodel
- tst_qqmltranslation
|
| 54-310670 |
210 | priv->disconnectNotify(QMetaObjectPrivate::signal(obj->metaObject(), sourceSignal));executed 310670 times by 64 tests: priv->disconnectNotify(QMetaObjectPrivate::signal(obj->metaObject(), sourceSignal)); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- ...
| 310670 |
211 | }executed 310724 times by 66 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
| 310724 |
212 | | - |
213 | if (isNotifying()) *((qintptr *)(senderPtr & ~0x1)) = 0;executed 24 times by 4 tests: *((qintptr *)(senderPtr & ~0x1)) = 0; Executed by:- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquicktext
TRUE | evaluated 24 times by 4 testsEvaluated by:- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquicktext
| FALSE | evaluated 1825692 times by 124 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
|
| 24-1825692 |
214 | next = nullptr; | - |
215 | prev = nullptr; | - |
216 | senderPtr = 0; | - |
217 | sourceSignal = -1; | - |
218 | }executed 1825716 times by 124 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| 1825716 |
219 | | - |
220 | | - |
221 | | - |
222 | | - |
223 | | - |
224 | | - |
225 | | - |
226 | | - |
227 | bool QQmlNotifierEndpoint::isNotifying() const | - |
228 | { | - |
229 | return senderPtr & 0x1;executed 5750545 times by 124 tests: return senderPtr & 0x1; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| 5750545 |
230 | } | - |
231 | | - |
232 | | - |
233 | | - |
234 | | - |
235 | void QQmlNotifierEndpoint::cancelNotify() | - |
236 | { | - |
237 | if (isNotifying()) {TRUE | evaluated 337728 times by 63 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- ...
| FALSE | evaluated 895124 times by 70 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
|
| 337728-895124 |
238 | qintptr sp = *((qintptr *)(senderPtr & ~0x1)); | - |
239 | *((qintptr *)(senderPtr & ~0x1)) = 0; | - |
240 | senderPtr = sp; | - |
241 | }executed 337728 times by 63 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- ...
| 337728 |
242 | }executed 1232852 times by 79 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- ...
| 1232852 |
243 | | - |
244 | QObject *QQmlNotifierEndpoint::senderAsObject() const | - |
245 | { | - |
246 | return isNotifying()?((QObject *)(*((qintptr *)(senderPtr & ~0x1)))):((QObject *)senderPtr);executed 1594206 times by 77 tests: return isNotifying()?((QObject *)(*((qintptr *)(senderPtr & ~0x1)))):((QObject *)senderPtr); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- ...
| 1594206 |
247 | } | - |
248 | | - |
249 | QQmlNotifier *QQmlNotifierEndpoint::senderAsNotifier() const | - |
250 | { | - |
251 | return isNotifying()?((QQmlNotifier *)(*((qintptr *)(senderPtr & ~0x1)))):((QQmlNotifier *)senderPtr);executed 619500 times by 40 tests: return isNotifying()?((QQmlNotifier *)(*((qintptr *)(senderPtr & ~0x1)))):((QQmlNotifier *)senderPtr); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
| 619500 |
252 | } | - |
253 | | - |
254 | QT_END_NAMESPACE | - |
255 | | - |
256 | #endif // QQMLNOTIFIER_P_H | - |
257 | | - |
| | |