| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | #include "../debugger/qqmlprofiler_p.h" | - |
| 10 | #include <QtCore/qbytearray.h> | - |
| 11 | #include <QtCore/qmetatype.h> | - |
| 12 | #include <QtCore/QVector> | - |
| 13 | #if !defined(Q_MOC_OUTPUT_REVISION) | - |
| 14 | #error "The header file 'qqmlprofiler_p.h' doesn't include <QObject>." | - |
| 15 | #elif Q_MOC_OUTPUT_REVISION != 67 | - |
| 16 | #error "This file was generated using the moc from 5.12.0. It" | - |
| 17 | #error "cannot be used with the include files from this version of Qt." | - |
| 18 | #error "(The moc has changed too much.)" | - |
| 19 | #endif | - |
| 20 | | - |
| 21 | QT_BEGIN_MOC_NAMESPACE | - |
| 22 | QT_WARNING_PUSH | - |
| 23 | QT_WARNING_DISABLE_DEPRECATED | - |
| 24 | struct qt_meta_stringdata_QQmlProfiler_t { | - |
| 25 | QByteArrayData data[5]; | - |
| 26 | char stringdata0[77]; | - |
| 27 | }; | - |
| 28 | #define QT_MOC_LITERAL(idx, ofs, len) \ | - |
| 29 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ | - |
| 30 | qptrdiff(offsetof(qt_meta_stringdata_QQmlProfiler_t, stringdata0) + ofs \ | - |
| 31 | - idx * sizeof(QByteArrayData)) \ | - |
| 32 | ) | - |
| 33 | static const qt_meta_stringdata_QQmlProfiler_t qt_meta_stringdata_QQmlProfiler = { | - |
| 34 | { | - |
| 35 | QT_MOC_LITERAL(0, 0, 12), | - |
| 36 | QT_MOC_LITERAL(1, 13, 9), | - |
| 37 | QT_MOC_LITERAL(2, 23, 0), | - |
| 38 | QT_MOC_LITERAL(3, 24, 25), | - |
| 39 | QT_MOC_LITERAL(4, 50, 26) | - |
| 40 | | - |
| 41 | }, | - |
| 42 | "QQmlProfiler\0dataReady\0\0" | - |
| 43 | "QVector<QQmlProfilerData>\0" | - |
| 44 | "QQmlProfiler::LocationHash" | - |
| 45 | }; | - |
| 46 | #undef QT_MOC_LITERAL | - |
| 47 | | - |
| 48 | static const uint qt_meta_data_QQmlProfiler[] = { | - |
| 49 | | - |
| 50 | | - |
| 51 | 7, | - |
| 52 | 0, | - |
| 53 | 0, 0, | - |
| 54 | 1, 14, | - |
| 55 | 0, 0, | - |
| 56 | 0, 0, | - |
| 57 | 0, 0, | - |
| 58 | 0, | - |
| 59 | 1, | - |
| 60 | | - |
| 61 | | - |
| 62 | 1, 2, 19, 2, 0x06 , | - |
| 63 | | - |
| 64 | | - |
| 65 | QMetaType::Void, 0x80000000 | 3, 0x80000000 | 4, 2, 2, | - |
| 66 | | - |
| 67 | 0 | - |
| 68 | }; | - |
| 69 | | - |
| 70 | void QQmlProfiler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
| 71 | { | - |
| 72 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 73 | QQmlProfiler *_t = static_cast<QQmlProfiler *>(_o); | - |
| 74 | Q_UNUSED(_t) | - |
| 75 | switch (_id) { | - |
| 76 | case 0: _t->dataReady((*reinterpret_cast< const QVector<QQmlProfilerData>(*)>(_a[1])),(*reinterpret_cast< const QQmlProfiler::LocationHash(*)>(_a[2]))); break; | - |
| 77 | default: ; | - |
| 78 | } | - |
| 79 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 80 | switch (_id) { | - |
| 81 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
| 82 | case 0: | - |
| 83 | switch (*reinterpret_cast<int*>(_a[1])) { | - |
| 84 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
| 85 | case 1: | - |
| 86 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlProfiler::LocationHash >(); break; | - |
| 87 | case 0: | - |
| 88 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<QQmlProfilerData> >(); break; | - |
| 89 | } | - |
| 90 | break; | - |
| 91 | } | - |
| 92 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
| 93 | int *result = reinterpret_cast<int *>(_a[0]); | - |
| 94 | { | - |
| 95 | using _t = void (QQmlProfiler::*)(const QVector<QQmlProfilerData> & , const QQmlProfiler::LocationHash & ); | - |
| 96 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlProfiler::dataReady)) { | - |
| 97 | *result = 0; | - |
| 98 | return; | - |
| 99 | } | - |
| 100 | } | - |
| 101 | } | - |
| 102 | } | - |
| 103 | | - |
| 104 | QT_INIT_METAOBJECT const QMetaObject QQmlProfiler::staticMetaObject = { | - |
| 105 | { &QObject::staticMetaObject, qt_meta_stringdata_QQmlProfiler.data, | - |
| 106 | qt_meta_data_QQmlProfiler, qt_static_metacall, nullptr, nullptr} | - |
| 107 | }; | - |
| 108 | | - |
| 109 | | - |
| 110 | const QMetaObject *QQmlProfiler::metaObject() const | - |
| 111 | { | - |
| 112 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
| 113 | } | - |
| 114 | | - |
| 115 | void *QQmlProfiler::qt_metacast(const char *_clname) | - |
| 116 | { | - |
| 117 | if (!_clname) return nullptr; | - |
| 118 | if (!strcmp(_clname, qt_meta_stringdata_QQmlProfiler.stringdata0)) | - |
| 119 | return static_cast<void*>(this); | - |
| 120 | if (!strcmp(_clname, "QQmlProfilerDefinitions")) | - |
| 121 | return static_cast< QQmlProfilerDefinitions*>(this); | - |
| 122 | return QObject::qt_metacast(_clname); | - |
| 123 | } | - |
| 124 | | - |
| 125 | int QQmlProfiler::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
| 126 | { | - |
| 127 | _id = QObject::qt_metacall(_c, _id, _a); | - |
| 128 | if (_id < 0) | - |
| 129 | return _id; | - |
| 130 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 131 | if (_id < 1) | - |
| 132 | qt_static_metacall(this, _c, _id, _a); | - |
| 133 | _id -= 1; | - |
| 134 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 135 | if (_id < 1) | - |
| 136 | qt_static_metacall(this, _c, _id, _a); | - |
| 137 | _id -= 1; | - |
| 138 | } | - |
| 139 | return _id; | - |
| 140 | } | - |
| 141 | | - |
| 142 | | - |
| 143 | void QQmlProfiler::dataReady(const QVector<QQmlProfilerData> & _t1, const QQmlProfiler::LocationHash & _t2) | - |
| 144 | { | - |
| 145 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) }; | - |
| 146 | QMetaObject::activate(this, &staticMetaObject, 0, _a); | - |
| 147 | }executed 12 times by 1 test: end of block | 12 |
| 148 | QT_WARNING_POP | - |
| 149 | QT_END_MOC_NAMESPACE | - |
| | |