OpenCoverage

moc_qquickprofiler_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickprofiler_p.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3#pragma GCC diagnostic push-
4-
5-
6#pragma GCC diagnostic ignored "-Wdeprecated-declarations"-
7-
8struct qt_meta_stringdata_QQuickProfiler_t {-
9 QByteArrayData data[5];-
10 char stringdata0[59];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQuickProfiler_t qt_meta_stringdata_QQuickProfiler = {-
18 {-
19{ { { -1 } }, 14, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQuickProfiler_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 9, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQuickProfiler_t-
29, -
30stringdata0-
31) -
32+ 15 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 0, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQuickProfiler_t-
36, -
37stringdata0-
38) -
39+ 25 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 27, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQuickProfiler_t-
43, -
44stringdata0-
45) -
46+ 26 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 4, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QQuickProfiler_t-
50, -
51stringdata0-
52) -
53+ 54 - 4 * sizeof(QByteArrayData)) }-
54-
55 },-
56 "QQuickProfiler\0dataReady\0\0"-
57 "QVector<QQuickProfilerData>\0data"-
58};-
59-
60-
61static const uint qt_meta_data_QQuickProfiler[] = {-
62-
63-
64 7,-
65 0,-
66 0, 0,-
67 1, 14,-
68 0, 0,-
69 0, 0,-
70 0, 0,-
71 0,-
72 1,-
73-
74-
75 1, 1, 19, 2, 0x06 ,-
76-
77-
78 QMetaType::Void, 0x80000000 | 3, 4,-
79-
80 0-
81};-
82-
83void QQuickProfiler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
84{-
85 if (_c == QMetaObject::InvokeMetaMethod) {-
86 QQuickProfiler *_t = static_cast<QQuickProfiler *>(_o);-
87 (void)_t;-
88 switch (_id) {-
89 case 0: _t->dataReady((*reinterpret_cast< const QVector<QQuickProfilerData>(*)>(_a[1]))); break;-
90 default: ;-
91 }-
92 } else if (_c == QMetaObject::IndexOfMethod) {-
93 int *result = reinterpret_cast<int *>(_a[0]);-
94 {-
95 using _t = void (QQuickProfiler::*)(const QVector<QQuickProfilerData> & );-
96 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickProfiler::dataReady)) {-
97 *result = 0;-
98 return;-
99 }-
100 }-
101 }-
102}-
103-
104 const QMetaObject QQuickProfiler::staticMetaObject = {-
105 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickProfiler.data,-
106 qt_meta_data_QQuickProfiler, qt_static_metacall, nullptr, nullptr}-
107};-
108-
109-
110const QMetaObject *QQuickProfiler::metaObject() const-
111{-
112 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
113}-
114-
115void *QQuickProfiler::qt_metacast(const char *_clname)-
116{-
117 if (!_clname) return nullptr;-
118 if (!strcmp(_clname, qt_meta_stringdata_QQuickProfiler.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-
125int QQuickProfiler::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 *reinterpret_cast<int*>(_a[0]) = -1;-
137 _id -= 1;-
138 }-
139 return _id;-
140}-
141-
142-
143void QQuickProfiler::dataReady(const QVector<QQuickProfilerData> & _t1)-
144{-
145 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
146 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
147}
executed 6 times by 1 test: end of block
Executed by:
  • tst_qqmlprofilerservice
6
148-
149#pragma GCC diagnostic pop-
150-
151-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0