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