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