Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/.moc/moc_qqmlprofilerclient_p.cpp |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | - | |
3 | #pragma GCC diagnostic push | - |
4 | - | |
5 | - | |
6 | #pragma GCC diagnostic ignored "-Wdeprecated-declarations" | - |
7 | - | |
8 | struct qt_meta_stringdata_QQmlProfilerClient_t { | - |
9 | QByteArrayData data[15]; | - |
10 | char stringdata0[171]; | - |
11 | }; | - |
12 | - | |
13 | - | |
14 | - | |
15 | - | |
16 | - | |
17 | static const qt_meta_stringdata_QQmlProfilerClient_t qt_meta_stringdata_QQmlProfilerClient = { | - |
18 | { | - |
19 | { { { -1 } }, 18, 0, 0, qptrdiff( | - |
20 | __builtin_offsetof ( | - |
21 | qt_meta_stringdata_QQmlProfilerClient_t | - |
22 | , | - |
23 | stringdata0 | - |
24 | ) | - |
25 | + 0 - 0 * sizeof(QByteArrayData)) }, | - |
26 | { { { -1 } }, 8, 0, 0, qptrdiff( | - |
27 | __builtin_offsetof ( | - |
28 | qt_meta_stringdata_QQmlProfilerClient_t | - |
29 | , | - |
30 | stringdata0 | - |
31 | ) | - |
32 | + 19 - 1 * sizeof(QByteArrayData)) }, | - |
33 | { { { -1 } }, 0, 0, 0, qptrdiff( | - |
34 | __builtin_offsetof ( | - |
35 | qt_meta_stringdata_QQmlProfilerClient_t | - |
36 | , | - |
37 | stringdata0 | - |
38 | ) | - |
39 | + 28 - 2 * sizeof(QByteArrayData)) }, | - |
40 | { { { -1 } }, 11, 0, 0, qptrdiff( | - |
41 | __builtin_offsetof ( | - |
42 | qt_meta_stringdata_QQmlProfilerClient_t | - |
43 | , | - |
44 | stringdata0 | - |
45 | ) | - |
46 | + 29 - 3 * sizeof(QByteArrayData)) }, | - |
47 | { { { -1 } }, 13, 0, 0, qptrdiff( | - |
48 | __builtin_offsetof ( | - |
49 | qt_meta_stringdata_QQmlProfilerClient_t | - |
50 | , | - |
51 | stringdata0 | - |
52 | ) | - |
53 | + 41 - 4 * sizeof(QByteArrayData)) }, | - |
54 | { { { -1 } }, 9, 0, 0, qptrdiff( | - |
55 | __builtin_offsetof ( | - |
56 | qt_meta_stringdata_QQmlProfilerClient_t | - |
57 | , | - |
58 | stringdata0 | - |
59 | ) | - |
60 | + 55 - 5 * sizeof(QByteArrayData)) }, | - |
61 | { { { -1 } }, 10, 0, 0, qptrdiff( | - |
62 | __builtin_offsetof ( | - |
63 | qt_meta_stringdata_QQmlProfilerClient_t | - |
64 | , | - |
65 | stringdata0 | - |
66 | ) | - |
67 | + 65 - 6 * sizeof(QByteArrayData)) }, | - |
68 | { { { -1 } }, 9, 0, 0, qptrdiff( | - |
69 | __builtin_offsetof ( | - |
70 | qt_meta_stringdata_QQmlProfilerClient_t | - |
71 | , | - |
72 | stringdata0 | - |
73 | ) | - |
74 | + 76 - 7 * sizeof(QByteArrayData)) }, | - |
75 | { { { -1 } }, 12, 0, 0, qptrdiff( | - |
76 | __builtin_offsetof ( | - |
77 | qt_meta_stringdata_QQmlProfilerClient_t | - |
78 | , | - |
79 | stringdata0 | - |
80 | ) | - |
81 | + 86 - 8 * sizeof(QByteArrayData)) }, | - |
82 | { { { -1 } }, 16, 0, 0, qptrdiff( | - |
83 | __builtin_offsetof ( | - |
84 | qt_meta_stringdata_QQmlProfilerClient_t | - |
85 | , | - |
86 | stringdata0 | - |
87 | ) | - |
88 | + 99 - 9 * sizeof(QByteArrayData)) }, | - |
89 | { { { -1 } }, 3, 0, 0, qptrdiff( | - |
90 | __builtin_offsetof ( | - |
91 | qt_meta_stringdata_QQmlProfilerClient_t | - |
92 | , | - |
93 | stringdata0 | - |
94 | ) | - |
95 | + 116 - 10 * sizeof(QByteArrayData)) }, | - |
96 | { { { -1 } }, 23, 0, 0, qptrdiff( | - |
97 | __builtin_offsetof ( | - |
98 | qt_meta_stringdata_QQmlProfilerClient_t | - |
99 | , | - |
100 | stringdata0 | - |
101 | ) | - |
102 | + 120 - 11 * sizeof(QByteArrayData)) }, | - |
103 | { { { -1 } }, 8, 0, 0, qptrdiff( | - |
104 | __builtin_offsetof ( | - |
105 | qt_meta_stringdata_QQmlProfilerClient_t | - |
106 | , | - |
107 | stringdata0 | - |
108 | ) | - |
109 | + 144 - 12 * sizeof(QByteArrayData)) }, | - |
110 | { { { -1 } }, 7, 0, 0, qptrdiff( | - |
111 | __builtin_offsetof ( | - |
112 | qt_meta_stringdata_QQmlProfilerClient_t | - |
113 | , | - |
114 | stringdata0 | - |
115 | ) | - |
116 | + 153 - 13 * sizeof(QByteArrayData)) }, | - |
117 | { { { -1 } }, 9, 0, 0, qptrdiff( | - |
118 | __builtin_offsetof ( | - |
119 | qt_meta_stringdata_QQmlProfilerClient_t | - |
120 | , | - |
121 | stringdata0 | - |
122 | ) | - |
123 | + 161 - 14 * sizeof(QByteArrayData)) } | - |
124 | - | |
125 | }, | - |
126 | "QQmlProfilerClient\0complete\0\0maximumTime\0" | - |
127 | "traceFinished\0timestamp\0QList<int>\0" | - |
128 | "engineIds\0traceStarted\0recordingChanged\0" | - |
129 | "arg\0recordedFeaturesChanged\0features\0" | - |
130 | "cleared\0recording" | - |
131 | }; | - |
132 | - | |
133 | - | |
134 | static const uint qt_meta_data_QQmlProfilerClient[] = { | - |
135 | - | |
136 | - | |
137 | 7, | - |
138 | 0, | - |
139 | 0, 0, | - |
140 | 6, 14, | - |
141 | 1, 64, | - |
142 | 0, 0, | - |
143 | 0, 0, | - |
144 | 0, | - |
145 | 6, | - |
146 | - | |
147 | - | |
148 | 1, 1, 44, 2, 0x06 , | - |
149 | 4, 2, 47, 2, 0x06 , | - |
150 | 8, 2, 52, 2, 0x06 , | - |
151 | 9, 1, 57, 2, 0x06 , | - |
152 | 11, 1, 60, 2, 0x06 , | - |
153 | 13, 0, 63, 2, 0x06 , | - |
154 | - | |
155 | - | |
156 | QMetaType::Void, QMetaType::LongLong, 3, | - |
157 | QMetaType::Void, QMetaType::LongLong, 0x80000000 | 6, 5, 7, | - |
158 | QMetaType::Void, QMetaType::LongLong, 0x80000000 | 6, 5, 7, | - |
159 | QMetaType::Void, QMetaType::Bool, 10, | - |
160 | QMetaType::Void, QMetaType::ULongLong, 12, | - |
161 | QMetaType::Void, | - |
162 | - | |
163 | - | |
164 | 14, QMetaType::Bool, 0x00495103, | - |
165 | - | |
166 | - | |
167 | 3, | - |
168 | - | |
169 | 0 | - |
170 | }; | - |
171 | - | |
172 | void QQmlProfilerClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
173 | { | - |
174 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
175 | QQmlProfilerClient *_t = static_cast<QQmlProfilerClient *>(_o); | - |
176 | (void)_t; | - |
177 | switch (_id) { | - |
178 | case 0: _t->complete((*reinterpret_cast< qint64(*)>(_a[1]))); break; | - |
179 | case 1: _t->traceFinished((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< const QList<int>(*)>(_a[2]))); break; | - |
180 | case 2: _t->traceStarted((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< const QList<int>(*)>(_a[2]))); break; | - |
181 | case 3: _t->recordingChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; | - |
182 | case 4: _t->recordedFeaturesChanged((*reinterpret_cast< quint64(*)>(_a[1]))); break; | - |
183 | case 5: _t->cleared(); break; | - |
184 | default: ; | - |
185 | } | - |
186 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
187 | switch (_id) { | - |
188 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
189 | case 1: | - |
190 | switch (*reinterpret_cast<int*>(_a[1])) { | - |
191 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
192 | case 1: | - |
193 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<int> >(); break; | - |
194 | } | - |
195 | break; | - |
196 | case 2: | - |
197 | switch (*reinterpret_cast<int*>(_a[1])) { | - |
198 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
199 | case 1: | - |
200 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<int> >(); break; | - |
201 | } | - |
202 | break; | - |
203 | } | - |
204 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
205 | int *result = reinterpret_cast<int *>(_a[0]); | - |
206 | { | - |
207 | using _t = void (QQmlProfilerClient::*)(qint64 ); | - |
208 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlProfilerClient::complete)) { | - |
209 | *result = 0; | - |
210 | return; | - |
211 | } | - |
212 | } | - |
213 | { | - |
214 | using _t = void (QQmlProfilerClient::*)(qint64 , const QList<int> & ); | - |
215 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlProfilerClient::traceFinished)) { | - |
216 | *result = 1; | - |
217 | return; | - |
218 | } | - |
219 | } | - |
220 | { | - |
221 | using _t = void (QQmlProfilerClient::*)(qint64 , const QList<int> & ); | - |
222 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlProfilerClient::traceStarted)) { | - |
223 | *result = 2; | - |
224 | return; | - |
225 | } | - |
226 | } | - |
227 | { | - |
228 | using _t = void (QQmlProfilerClient::*)(bool ); | - |
229 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlProfilerClient::recordingChanged)) { | - |
230 | *result = 3; | - |
231 | return; | - |
232 | } | - |
233 | } | - |
234 | { | - |
235 | using _t = void (QQmlProfilerClient::*)(quint64 ); | - |
236 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlProfilerClient::recordedFeaturesChanged)) { | - |
237 | *result = 4; | - |
238 | return; | - |
239 | } | - |
240 | } | - |
241 | { | - |
242 | using _t = void (QQmlProfilerClient::*)(); | - |
243 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlProfilerClient::cleared)) { | - |
244 | *result = 5; | - |
245 | return; | - |
246 | } | - |
247 | } | - |
248 | } | - |
249 | - | |
250 | else if (_c == QMetaObject::ReadProperty) { | - |
251 | QQmlProfilerClient *_t = static_cast<QQmlProfilerClient *>(_o); | - |
252 | (void)_t; | - |
253 | void *_v = _a[0]; | - |
254 | switch (_id) { | - |
255 | case 0: *reinterpret_cast< bool*>(_v) = _t->isRecording(); break; | - |
256 | default: break; | - |
257 | } | - |
258 | } else if (_c == QMetaObject::WriteProperty) { | - |
259 | QQmlProfilerClient *_t = static_cast<QQmlProfilerClient *>(_o); | - |
260 | (void)_t; | - |
261 | void *_v = _a[0]; | - |
262 | switch (_id) { | - |
263 | case 0: _t->setRecording(*reinterpret_cast< bool*>(_v)); break; | - |
264 | default: break; | - |
265 | } | - |
266 | } else if (_c == QMetaObject::ResetProperty) { | - |
267 | } | - |
268 | - | |
269 | } | - |
270 | - | |
271 | const QMetaObject QQmlProfilerClient::staticMetaObject = { | - |
272 | { &QQmlDebugClient::staticMetaObject, qt_meta_stringdata_QQmlProfilerClient.data, | - |
273 | qt_meta_data_QQmlProfilerClient, qt_static_metacall, nullptr, nullptr} | - |
274 | }; | - |
275 | - | |
276 | - | |
277 | const QMetaObject *QQmlProfilerClient::metaObject() const | - |
278 | { | - |
279 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
280 | } | - |
281 | - | |
282 | void *QQmlProfilerClient::qt_metacast(const char *_clname) | - |
283 | { | - |
284 | if (!_clname) return nullptr; | - |
285 | if (!strcmp(_clname, qt_meta_stringdata_QQmlProfilerClient.stringdata0)) | - |
286 | return static_cast<void*>(this); | - |
287 | return QQmlDebugClient::qt_metacast(_clname); | - |
288 | } | - |
289 | - | |
290 | int QQmlProfilerClient::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
291 | { | - |
292 | _id = QQmlDebugClient::qt_metacall(_c, _id, _a); | - |
293 | if (_id < 0) | - |
294 | return _id; | - |
295 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
296 | if (_id < 6) | - |
297 | qt_static_metacall(this, _c, _id, _a); | - |
298 | _id -= 6; | - |
299 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
300 | if (_id < 6) | - |
301 | qt_static_metacall(this, _c, _id, _a); | - |
302 | _id -= 6; | - |
303 | } | - |
304 | - | |
305 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
306 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
307 | qt_static_metacall(this, _c, _id, _a); | - |
308 | _id -= 1; | - |
309 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
310 | _id -= 1; | - |
311 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
312 | _id -= 1; | - |
313 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
314 | _id -= 1; | - |
315 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
316 | _id -= 1; | - |
317 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
318 | _id -= 1; | - |
319 | } | - |
320 | - | |
321 | return _id; | - |
322 | } | - |
323 | - | |
324 | - | |
325 | void QQmlProfilerClient::complete(qint64 _t1) | - |
326 | { | - |
327 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
328 | QMetaObject::activate(this, &staticMetaObject, 0, _a); | - |
329 | } executed 34 times by 1 test: end of block Executed by:
| 34 |
330 | - | |
331 | - | |
332 | void QQmlProfilerClient::traceFinished(qint64 _t1, const QList<int> & _t2) | - |
333 | { | - |
334 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) }; | - |
335 | QMetaObject::activate(this, &staticMetaObject, 1, _a); | - |
336 | } executed 34 times by 1 test: end of block Executed by:
| 34 |
337 | - | |
338 | - | |
339 | void QQmlProfilerClient::traceStarted(qint64 _t1, const QList<int> & _t2) | - |
340 | { | - |
341 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) }; | - |
342 | QMetaObject::activate(this, &staticMetaObject, 2, _a); | - |
343 | } executed 36 times by 1 test: end of block Executed by:
| 36 |
344 | - | |
345 | - | |
346 | void QQmlProfilerClient::recordingChanged(bool _t1) | - |
347 | { | - |
348 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
349 | QMetaObject::activate(this, &staticMetaObject, 3, _a); | - |
350 | } executed 68 times by 1 test: end of block Executed by:
| 68 |
351 | - | |
352 | - | |
353 | void QQmlProfilerClient::recordedFeaturesChanged(quint64 _t1) | - |
354 | { | - |
355 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
356 | QMetaObject::activate(this, &staticMetaObject, 4, _a); | - |
357 | } executed 124 times by 1 test: end of block Executed by:
| 124 |
358 | - | |
359 | - | |
360 | void QQmlProfilerClient::cleared() | - |
361 | { | - |
362 | QMetaObject::activate(this, &staticMetaObject, 5, nullptr); | - |
363 | } never executed: end of block | 0 |
364 | - | |
365 | #pragma GCC diagnostic pop | - |
366 | - | |
367 | - | |
Switch to Source code | Preprocessed file |