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 QINTRUSIVELIST_P_H | - |
41 | #define QINTRUSIVELIST_P_H | - |
42 | | - |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
47 | | - |
48 | | - |
49 | | - |
50 | | - |
51 | | - |
52 | | - |
53 | | - |
54 | #include <QtCore/qglobal.h> | - |
55 | | - |
56 | QT_BEGIN_NAMESPACE | - |
57 | | - |
58 | class QIntrusiveListNode; | - |
59 | template<class N, QIntrusiveListNode N::*member> | - |
60 | class QIntrusiveList | - |
61 | { | - |
62 | public: | - |
63 | inline QIntrusiveList(); | - |
64 | inline ~QIntrusiveList(); | - |
65 | | - |
66 | inline bool isEmpty() const; | - |
67 | inline void insert(N *n); | - |
68 | inline void remove(N *n); | - |
69 | inline bool contains(N *) const; | - |
70 | | - |
71 | class iterator { | - |
72 | public: | - |
73 | inline iterator(); | - |
74 | inline iterator(N *value); | - |
75 | | - |
76 | inline N *operator*() const; | - |
77 | inline N *operator->() const; | - |
78 | inline bool operator==(const iterator &other) const; | - |
79 | inline bool operator!=(const iterator &other) const; | - |
80 | inline iterator &operator++(); | - |
81 | | - |
82 | inline iterator &erase(); | - |
83 | | - |
84 | private: | - |
85 | N *_value; | - |
86 | }; | - |
87 | typedef iterator Iterator; | - |
88 | | - |
89 | inline N *first() const; | - |
90 | static inline N *next(N *current); | - |
91 | | - |
92 | inline iterator begin(); | - |
93 | inline iterator end(); | - |
94 | | - |
95 | private: | - |
96 | static inline N *nodeToN(QIntrusiveListNode *node); | - |
97 | | - |
98 | QIntrusiveListNode *__first = nullptr; | - |
99 | }; | - |
100 | | - |
101 | class QIntrusiveListNode | - |
102 | { | - |
103 | public: | - |
104 | inline QIntrusiveListNode(); | - |
105 | inline ~QIntrusiveListNode(); | - |
106 | | - |
107 | inline void remove(); | - |
108 | inline bool isInList() const; | - |
109 | | - |
110 | QIntrusiveListNode *_next = nullptr; | - |
111 | QIntrusiveListNode**_prev = nullptr; | - |
112 | }; | - |
113 | | - |
114 | template<class N, QIntrusiveListNode N::*member> | - |
115 | QIntrusiveList<N, member>::iterator::iterator() | - |
116 | : _value(nullptr) | - |
117 | { | - |
118 | }executed 137852 times by 43 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- ...
| 137852 |
119 | | - |
120 | template<class N, QIntrusiveListNode N::*member> | - |
121 | QIntrusiveList<N, member>::iterator::iterator(N *value) | - |
122 | : _value(value) | - |
123 | { | - |
124 | }executed 89570 times by 137 tests: end of block Executed by:- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- 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
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 89570 |
125 | | - |
126 | template<class N, QIntrusiveListNode N::*member> | - |
127 | N *QIntrusiveList<N, member>::iterator::operator*() const | - |
128 | { | - |
129 | return _value;executed 630808 times by 137 tests: return _value; Executed by:- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- 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
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 630808 |
130 | } | - |
131 | | - |
132 | template<class N, QIntrusiveListNode N::*member> | - |
133 | N *QIntrusiveList<N, member>::iterator::operator->() const | - |
134 | { | - |
135 | return _value;executed 44082 times by 27 tests: return _value; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- ...
| 44082 |
136 | } | - |
137 | | - |
138 | template<class N, QIntrusiveListNode N::*member> | - |
139 | bool QIntrusiveList<N, member>::iterator::operator==(const iterator &other) const | - |
140 | { | - |
141 | return other._value == _value; never executed: return other._value == _value; | 0 |
142 | } | - |
143 | | - |
144 | template<class N, QIntrusiveListNode N::*member> | - |
145 | bool QIntrusiveList<N, member>::iterator::operator!=(const iterator &other) const | - |
146 | { | - |
147 | return other._value != _value;executed 703519 times by 43 tests: return other._value != _value; Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- ...
| 703519 |
148 | } | - |
149 | | - |
150 | template<class N, QIntrusiveListNode N::*member> | - |
151 | typename QIntrusiveList<N, member>::iterator &QIntrusiveList<N, member>::iterator::operator++() | - |
152 | { | - |
153 | _value = QIntrusiveList<N, member>::next(_value); | - |
154 | return *this;executed 624645 times by 42 tests: return *this; Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- ...
| 624645 |
155 | } | - |
156 | | - |
157 | template<class N, QIntrusiveListNode N::*member> | - |
158 | typename QIntrusiveList<N, member>::iterator &QIntrusiveList<N, member>::iterator::erase() | - |
159 | { | - |
160 | N *old = _value; | - |
161 | _value = QIntrusiveList<N, member>::next(_value); | - |
162 | (old->*member).remove(); | - |
163 | return *this;executed 200 times by 3 tests: return *this; Executed by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| 200 |
164 | } | - |
165 | | - |
166 | template<class N, QIntrusiveListNode N::*member> | - |
167 | QIntrusiveList<N, member>::QIntrusiveList() | - |
168 | | - |
169 | { | - |
170 | } | - |
171 | | - |
172 | template<class N, QIntrusiveListNode N::*member> | - |
173 | QIntrusiveList<N, member>::~QIntrusiveList() | - |
174 | { | - |
175 | while (__first) __first->remove();executed 5924 times by 25 tests: __first->remove(); Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_qtqmlmodules
- tst_scenegraph
TRUE | evaluated 5924 times by 25 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_qtqmlmodules
- tst_scenegraph
| FALSE | evaluated 323680 times by 155 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
- ...
|
| 5924-323680 |
176 | }executed 323684 times by 155 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
- ...
| 323684 |
177 | | - |
178 | template<class N, QIntrusiveListNode N::*member> | - |
179 | bool QIntrusiveList<N, member>::isEmpty() const | - |
180 | { | - |
181 | return __first == nullptr;executed 2563211 times by 155 tests: return __first == 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
- ...
| 2563211 |
182 | } | - |
183 | | - |
184 | template<class N, QIntrusiveListNode N::*member> | - |
185 | void QIntrusiveList<N, member>::insert(N *n) | - |
186 | { | - |
187 | QIntrusiveListNode *nnode = &(n->*member); | - |
188 | nnode->remove(); | - |
189 | | - |
190 | nnode->_next = __first; | - |
191 | if (nnode->_next) nnode->_next->_prev = &nnode->_next;executed 2466423 times by 83 tests: nnode->_next->_prev = &nnode->_next; Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- ...
TRUE | evaluated 2466500 times by 83 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- ...
| FALSE | evaluated 156368 times by 146 testsEvaluated 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
- ...
|
| 156368-2466500 |
192 | __first = nnode; | - |
193 | nnode->_prev = &__first; | - |
194 | }executed 2622745 times by 146 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
- ...
| 2622745 |
195 | | - |
196 | template<class N, QIntrusiveListNode N::*member> | - |
197 | void QIntrusiveList<N, member>::remove(N *n) | - |
198 | { | - |
199 | QIntrusiveListNode *nnode = &(n->*member); | - |
200 | nnode->remove(); | - |
201 | }executed 266022 times by 60 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickimageprovider
- ...
| 266022 |
202 | | - |
203 | template<class N, QIntrusiveListNode N::*member> | - |
204 | bool QIntrusiveList<N, member>::contains(N *n) const | - |
205 | { | - |
206 | QIntrusiveListNode *nnode = __first; | - |
207 | while (nnode) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
208 | if (nodeToN(nnode) == n)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
209 | return true; never executed: return true; | 0 |
210 | nnode = nnode->_next; | - |
211 | } never executed: end of block | 0 |
212 | return false; never executed: return false; | 0 |
213 | } | - |
214 | | - |
215 | template<class N, QIntrusiveListNode N::*member> | - |
216 | N *QIntrusiveList<N, member>::first() const | - |
217 | { | - |
218 | return __first?nodeToN(__first):nullptr;executed 272127 times by 37 tests: return __first?nodeToN(__first):nullptr; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickimageprovider
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- ...
| 272127 |
219 | } | - |
220 | | - |
221 | template<class N, QIntrusiveListNode N::*member> | - |
222 | N *QIntrusiveList<N, member>::next(N *current) | - |
223 | { | - |
224 | QIntrusiveListNode *nextnode = (current->*member)._next; | - |
225 | N *nextstruct = nextnode?nodeToN(nextnode):nullptr;TRUE | evaluated 585001 times by 22 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
| FALSE | evaluated 39840 times by 42 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- ...
|
| 39840-585001 |
226 | return nextstruct;executed 624844 times by 42 tests: return nextstruct; Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- ...
| 624844 |
227 | } | - |
228 | | - |
229 | template<class N, QIntrusiveListNode N::*member> | - |
230 | typename QIntrusiveList<N, member>::iterator QIntrusiveList<N, member>::begin() | - |
231 | { | - |
232 | return __first?iterator(nodeToN(__first)):iterator();executed 127978 times by 138 tests: return __first?iterator(nodeToN(__first)):iterator(); Executed by:- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- 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
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 127978 |
233 | } | - |
234 | | - |
235 | template<class N, QIntrusiveListNode N::*member> | - |
236 | typename QIntrusiveList<N, member>::iterator QIntrusiveList<N, member>::end() | - |
237 | { | - |
238 | return iterator();executed 99444 times by 43 tests: return iterator(); Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- ...
| 99444 |
239 | } | - |
240 | | - |
241 | template<class N, QIntrusiveListNode N::*member> | - |
242 | N *QIntrusiveList<N, member>::nodeToN(QIntrusiveListNode *node) | - |
243 | { | - |
244 | return (N *)((char *)node - ((char *)&(((N *)nullptr)->*member) - (char *)nullptr));executed 680598 times by 137 tests: return (N *)((char *)node - ((char *)&(((N *)nullptr)->*member) - (char *)nullptr)); Executed by:- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- 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
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 680598 |
245 | } | - |
246 | | - |
247 | QIntrusiveListNode::QIntrusiveListNode() | - |
248 | { | - |
249 | } | - |
250 | | - |
251 | QIntrusiveListNode::~QIntrusiveListNode() | - |
252 | { | - |
253 | remove(); | - |
254 | }executed 2929393 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
- ...
| 2929393 |
255 | | - |
256 | void QIntrusiveListNode::remove() | - |
257 | { | - |
258 | if (_prev) *_prev = _next;executed 2623734 times by 146 tests: *_prev = _next; 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
- ...
TRUE | evaluated 2623733 times by 146 testsEvaluated 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
- ...
| FALSE | evaluated 5544868 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
- ...
|
| 2623733-5544868 |
259 | if (_next) _next->_prev = _prev;executed 2446371 times by 78 tests: _next->_prev = _prev; Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- ...
TRUE | evaluated 2446340 times by 78 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- ...
| FALSE | evaluated 5724369 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
- ...
|
| 2446340-5724369 |
260 | _prev = nullptr; | - |
261 | _next = nullptr; | - |
262 | }executed 8169554 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
- ...
| 8169554 |
263 | | - |
264 | bool QIntrusiveListNode::isInList() const | - |
265 | { | - |
266 | return _prev != nullptr;executed 532206 times by 33 tests: return _prev != nullptr; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- ...
| 532206 |
267 | } | - |
268 | | - |
269 | QT_END_NAMESPACE | - |
270 | | - |
271 | #endif // QINTRUSIVELIST_P_H | - |
| | |