Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/.moc/moc_qqmldebugservice_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_QQmlDebugService_t { | - |
9 | QByteArrayData data[10]; | - |
10 | char stringdata0[120]; | - |
11 | }; | - |
12 | - | |
13 | - | |
14 | - | |
15 | - | |
16 | - | |
17 | static const qt_meta_stringdata_QQmlDebugService_t qt_meta_stringdata_QQmlDebugService = { | - |
18 | { | - |
19 | { { { -1 } }, 16, 0, 0, qptrdiff( | - |
20 | __builtin_offsetof ( | - |
21 | qt_meta_stringdata_QQmlDebugService_t | - |
22 | , | - |
23 | stringdata0 | - |
24 | ) | - |
25 | + 0 - 0 * sizeof(QByteArrayData)) }, | - |
26 | { { { -1 } }, 16, 0, 0, qptrdiff( | - |
27 | __builtin_offsetof ( | - |
28 | qt_meta_stringdata_QQmlDebugService_t | - |
29 | , | - |
30 | stringdata0 | - |
31 | ) | - |
32 | + 17 - 1 * sizeof(QByteArrayData)) }, | - |
33 | { { { -1 } }, 0, 0, 0, qptrdiff( | - |
34 | __builtin_offsetof ( | - |
35 | qt_meta_stringdata_QQmlDebugService_t | - |
36 | , | - |
37 | stringdata0 | - |
38 | ) | - |
39 | + 34 - 2 * sizeof(QByteArrayData)) }, | - |
40 | { { { -1 } }, 10, 0, 0, qptrdiff( | - |
41 | __builtin_offsetof ( | - |
42 | qt_meta_stringdata_QQmlDebugService_t | - |
43 | , | - |
44 | stringdata0 | - |
45 | ) | - |
46 | + 35 - 3 * sizeof(QByteArrayData)) }, | - |
47 | { { { -1 } }, 18, 0, 0, qptrdiff( | - |
48 | __builtin_offsetof ( | - |
49 | qt_meta_stringdata_QQmlDebugService_t | - |
50 | , | - |
51 | stringdata0 | - |
52 | ) | - |
53 | + 46 - 4 * sizeof(QByteArrayData)) }, | - |
54 | { { { -1 } }, 15, 0, 0, qptrdiff( | - |
55 | __builtin_offsetof ( | - |
56 | qt_meta_stringdata_QQmlDebugService_t | - |
57 | , | - |
58 | stringdata0 | - |
59 | ) | - |
60 | + 65 - 5 * sizeof(QByteArrayData)) }, | - |
61 | { { { -1 } }, 4, 0, 0, qptrdiff( | - |
62 | __builtin_offsetof ( | - |
63 | qt_meta_stringdata_QQmlDebugService_t | - |
64 | , | - |
65 | stringdata0 | - |
66 | ) | - |
67 | + 81 - 6 * sizeof(QByteArrayData)) }, | - |
68 | { { { -1 } }, 7, 0, 0, qptrdiff( | - |
69 | __builtin_offsetof ( | - |
70 | qt_meta_stringdata_QQmlDebugService_t | - |
71 | , | - |
72 | stringdata0 | - |
73 | ) | - |
74 | + 86 - 7 * sizeof(QByteArrayData)) }, | - |
75 | { { { -1 } }, 16, 0, 0, qptrdiff( | - |
76 | __builtin_offsetof ( | - |
77 | qt_meta_stringdata_QQmlDebugService_t | - |
78 | , | - |
79 | stringdata0 | - |
80 | ) | - |
81 | + 94 - 8 * sizeof(QByteArrayData)) }, | - |
82 | { { { -1 } }, 8, 0, 0, qptrdiff( | - |
83 | __builtin_offsetof ( | - |
84 | qt_meta_stringdata_QQmlDebugService_t | - |
85 | , | - |
86 | stringdata0 | - |
87 | ) | - |
88 | + 111 - 9 * sizeof(QByteArrayData)) } | - |
89 | - | |
90 | }, | - |
91 | "QQmlDebugService\0attachedToEngine\0\0" | - |
92 | "QJSEngine*\0detachedFromEngine\0" | - |
93 | "messageToClient\0name\0message\0" | - |
94 | "messagesToClient\0messages" | - |
95 | }; | - |
96 | - | |
97 | - | |
98 | static const uint qt_meta_data_QQmlDebugService[] = { | - |
99 | - | |
100 | - | |
101 | 7, | - |
102 | 0, | - |
103 | 0, 0, | - |
104 | 4, 14, | - |
105 | 0, 0, | - |
106 | 0, 0, | - |
107 | 0, 0, | - |
108 | 0, | - |
109 | 4, | - |
110 | - | |
111 | - | |
112 | 1, 1, 34, 2, 0x06 , | - |
113 | 4, 1, 37, 2, 0x06 , | - |
114 | 5, 2, 40, 2, 0x06 , | - |
115 | 8, 2, 45, 2, 0x06 , | - |
116 | - | |
117 | - | |
118 | QMetaType::Void, 0x80000000 | 3, 2, | - |
119 | QMetaType::Void, 0x80000000 | 3, 2, | - |
120 | QMetaType::Void, QMetaType::QString, QMetaType::QByteArray, 6, 7, | - |
121 | QMetaType::Void, QMetaType::QString, QMetaType::QByteArrayList, 6, 9, | - |
122 | - | |
123 | 0 | - |
124 | }; | - |
125 | - | |
126 | void QQmlDebugService::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
127 | { | - |
128 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
129 | QQmlDebugService *_t = static_cast<QQmlDebugService *>(_o); | - |
130 | (void)_t; | - |
131 | switch (_id) { | - |
132 | case 0: _t->attachedToEngine((*reinterpret_cast< QJSEngine*(*)>(_a[1]))); break; | - |
133 | case 1: _t->detachedFromEngine((*reinterpret_cast< QJSEngine*(*)>(_a[1]))); break; | - |
134 | case 2: _t->messageToClient((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; | - |
135 | case 3: _t->messagesToClient((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QList<QByteArray>(*)>(_a[2]))); break; | - |
136 | default: ; | - |
137 | } | - |
138 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
139 | int *result = reinterpret_cast<int *>(_a[0]); | - |
140 | { | - |
141 | using _t = void (QQmlDebugService::*)(QJSEngine * ); | - |
142 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlDebugService::attachedToEngine)) { | - |
143 | *result = 0; | - |
144 | return; | - |
145 | } | - |
146 | } | - |
147 | { | - |
148 | using _t = void (QQmlDebugService::*)(QJSEngine * ); | - |
149 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlDebugService::detachedFromEngine)) { | - |
150 | *result = 1; | - |
151 | return; | - |
152 | } | - |
153 | } | - |
154 | { | - |
155 | using _t = void (QQmlDebugService::*)(const QString & , const QByteArray & ); | - |
156 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlDebugService::messageToClient)) { | - |
157 | *result = 2; | - |
158 | return; | - |
159 | } | - |
160 | } | - |
161 | { | - |
162 | using _t = void (QQmlDebugService::*)(const QString & , const QList<QByteArray> & ); | - |
163 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlDebugService::messagesToClient)) { | - |
164 | *result = 3; | - |
165 | return; | - |
166 | } | - |
167 | } | - |
168 | } | - |
169 | } | - |
170 | - | |
171 | const QMetaObject QQmlDebugService::staticMetaObject = { | - |
172 | { &QObject::staticMetaObject, qt_meta_stringdata_QQmlDebugService.data, | - |
173 | qt_meta_data_QQmlDebugService, qt_static_metacall, nullptr, nullptr} | - |
174 | }; | - |
175 | - | |
176 | - | |
177 | const QMetaObject *QQmlDebugService::metaObject() const | - |
178 | { | - |
179 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
180 | } | - |
181 | - | |
182 | void *QQmlDebugService::qt_metacast(const char *_clname) | - |
183 | { | - |
184 | if (!_clname) return nullptr; | - |
185 | if (!strcmp(_clname, qt_meta_stringdata_QQmlDebugService.stringdata0)) | - |
186 | return static_cast<void*>(this); | - |
187 | return QObject::qt_metacast(_clname); | - |
188 | } | - |
189 | - | |
190 | int QQmlDebugService::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
191 | { | - |
192 | _id = QObject::qt_metacall(_c, _id, _a); | - |
193 | if (_id < 0) | - |
194 | return _id; | - |
195 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
196 | if (_id < 4) | - |
197 | qt_static_metacall(this, _c, _id, _a); | - |
198 | _id -= 4; | - |
199 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
200 | if (_id < 4) | - |
201 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
202 | _id -= 4; | - |
203 | } | - |
204 | return _id; | - |
205 | } | - |
206 | - | |
207 | - | |
208 | void QQmlDebugService::attachedToEngine(QJSEngine * _t1) | - |
209 | { | - |
210 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
211 | QMetaObject::activate(this, &staticMetaObject, 0, _a); | - |
212 | } executed 212 times by 7 tests: end of block Executed by:
| 212 |
213 | - | |
214 | - | |
215 | void QQmlDebugService::detachedFromEngine(QJSEngine * _t1) | - |
216 | { | - |
217 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
218 | QMetaObject::activate(this, &staticMetaObject, 1, _a); | - |
219 | } executed 212 times by 7 tests: end of block Executed by:
| 212 |
220 | - | |
221 | - | |
222 | void QQmlDebugService::messageToClient(const QString & _t1, const QByteArray & _t2) | - |
223 | { | - |
224 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) }; | - |
225 | QMetaObject::activate(this, &staticMetaObject, 2, _a); | - |
226 | } executed 712 times by 7 tests: end of block Executed by:
| 712 |
227 | - | |
228 | - | |
229 | void QQmlDebugService::messagesToClient(const QString & _t1, const QList<QByteArray> & _t2) | - |
230 | { | - |
231 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) }; | - |
232 | QMetaObject::activate(this, &staticMetaObject, 3, _a); | - |
233 | } executed 6 times by 1 test: end of block Executed by:
| 6 |
234 | - | |
235 | #pragma GCC diagnostic pop | - |
236 | - | |
237 | - | |
Switch to Source code | Preprocessed file |