OpenCoverage

moc_qv4profiling_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/.moc/moc_qv4profiling_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_QV4__Profiling__Profiler_t {-
9 QByteArrayData data[6];-
10 char stringdata0[173];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QV4__Profiling__Profiler_t qt_meta_stringdata_QV4__Profiling__Profiler = {-
18 {-
19{ { { -1 } }, 24, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QV4__Profiling__Profiler_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 9, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QV4__Profiling__Profiler_t-
29, -
30stringdata0-
31) -
32+ 25 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 0, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QV4__Profiling__Profiler_t-
36, -
37stringdata0-
38) -
39+ 35 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 36, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QV4__Profiling__Profiler_t-
43, -
44stringdata0-
45) -
46+ 36 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 47, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QV4__Profiling__Profiler_t-
50, -
51stringdata0-
52) -
53+ 73 - 4 * sizeof(QByteArrayData)) },-
54{ { { -1 } }, 51, 0, 0, qptrdiff(-
55__builtin_offsetof (-
56qt_meta_stringdata_QV4__Profiling__Profiler_t-
57, -
58stringdata0-
59) -
60+ 121 - 5 * sizeof(QByteArrayData)) }-
61-
62 },-
63 "QV4::Profiling::Profiler\0dataReady\0\0"-
64 "QV4::Profiling::FunctionLocationHash\0"-
65 "QVector<QV4::Profiling::FunctionCallProperties>\0"-
66 "QVector<QV4::Profiling::MemoryAllocationProperties>"-
67};-
68-
69-
70static const uint qt_meta_data_QV4__Profiling__Profiler[] = {-
71-
72-
73 7,-
74 0,-
75 0, 0,-
76 1, 14,-
77 0, 0,-
78 0, 0,-
79 0, 0,-
80 0,-
81 1,-
82-
83-
84 1, 3, 19, 2, 0x06 ,-
85-
86-
87 QMetaType::Void, 0x80000000 | 3, 0x80000000 | 4, 0x80000000 | 5, 2, 2, 2,-
88-
89 0-
90};-
91-
92void QV4::Profiling::Profiler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
93{-
94 if (_c == QMetaObject::InvokeMetaMethod) {-
95 Profiler *_t = static_cast<Profiler *>(_o);-
96 (void)_t;-
97 switch (_id) {-
98 case 0: _t->dataReady((*reinterpret_cast< const QV4::Profiling::FunctionLocationHash(*)>(_a[1])),(*reinterpret_cast< const QVector<QV4::Profiling::FunctionCallProperties>(*)>(_a[2])),(*reinterpret_cast< const QVector<QV4::Profiling::MemoryAllocationProperties>(*)>(_a[3]))); break;-
99 default: ;-
100 }-
101 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
102 switch (_id) {-
103 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
104 case 0:-
105 switch (*reinterpret_cast<int*>(_a[1])) {-
106 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
107 case 0:-
108 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QV4::Profiling::FunctionLocationHash >(); break;-
109 case 1:-
110 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<QV4::Profiling::FunctionCallProperties> >(); break;-
111 case 2:-
112 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<QV4::Profiling::MemoryAllocationProperties> >(); break;-
113 }-
114 break;-
115 }-
116 } else if (_c == QMetaObject::IndexOfMethod) {-
117 int *result = reinterpret_cast<int *>(_a[0]);-
118 {-
119 using _t = void (Profiler::*)(const QV4::Profiling::FunctionLocationHash & , const QVector<QV4::Profiling::FunctionCallProperties> & , const QVector<QV4::Profiling::MemoryAllocationProperties> & );-
120 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Profiler::dataReady)) {-
121 *result = 0;-
122 return;-
123 }-
124 }-
125 }-
126}-
127-
128 const QMetaObject QV4::Profiling::Profiler::staticMetaObject = {-
129 { &QObject::staticMetaObject, qt_meta_stringdata_QV4__Profiling__Profiler.data,-
130 qt_meta_data_QV4__Profiling__Profiler, qt_static_metacall, nullptr, nullptr}-
131};-
132-
133-
134const QMetaObject *QV4::Profiling::Profiler::metaObject() const-
135{-
136 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
137}-
138-
139void *QV4::Profiling::Profiler::qt_metacast(const char *_clname)-
140{-
141 if (!_clname) return nullptr;-
142 if (!strcmp(_clname, qt_meta_stringdata_QV4__Profiling__Profiler.stringdata0))-
143 return static_cast<void*>(this);-
144 return QObject::qt_metacast(_clname);-
145}-
146-
147int QV4::Profiling::Profiler::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
148{-
149 _id = QObject::qt_metacall(_c, _id, _a);-
150 if (_id < 0)-
151 return _id;-
152 if (_c == QMetaObject::InvokeMetaMethod) {-
153 if (_id < 1)-
154 qt_static_metacall(this, _c, _id, _a);-
155 _id -= 1;-
156 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
157 if (_id < 1)-
158 qt_static_metacall(this, _c, _id, _a);-
159 _id -= 1;-
160 }-
161 return _id;-
162}-
163-
164-
165void QV4::Profiling::Profiler::dataReady(const QV4::Profiling::FunctionLocationHash & _t1, const QVector<QV4::Profiling::FunctionCallProperties> & _t2, const QVector<QV4::Profiling::MemoryAllocationProperties> & _t3)-
166{-
167 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };-
168 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
169}
executed 6 times by 1 test: end of block
Executed by:
  • tst_qqmlprofilerservice
6
170-
171#pragma GCC diagnostic pop-
172-
173-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0