Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/jsruntime/qv4setobject_p.h |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | - | |
3 | - | |
4 | - | |
5 | - | |
6 | namespace QV4 { | - |
7 | - | |
8 | class ESTable; | - |
9 | - | |
10 | namespace Heap { | - |
11 | - | |
12 | struct SetCtor : FunctionObject { | - |
13 | void init(QV4::ExecutionContext *scope); | - |
14 | }; | - |
15 | - | |
16 | struct SetObject : Object { | - |
17 | static void markObjects(Heap::Base *that, MarkStack *markStack); | - |
18 | void init(); | - |
19 | void destroy(); | - |
20 | ESTable *esTable; | - |
21 | }; | - |
22 | - | |
23 | } | - |
24 | - | |
25 | struct SetCtor: FunctionObject | - |
26 | { | - |
27 | private: SetCtor() = delete; SetCtor(const SetCtor &) = delete; SetCtor &operator=(const SetCtor &) = delete; public: template <typename Type> inline void qt_check_for_QMANAGED_macro(const Type *_q_argument) const { int i = qYouForgotTheQ_MANAGED_Macro(this, _q_argument); i = i + 1; } never executed: typedef QV4::Heap::SetCtor Data; typedef FunctionObject SuperClass; static const QV4::VTable static_vtbl; static inline const QV4::VTable *staticVTable() { returnend of block executed 296176 times by 153 tests: &static_vtbl;return &static_vtbl; Executed by:
executed 296176 times by 153 tests: } void __dataTest() { static_assert (sizeof(*this) == sizeof(Managed), "Classes derived from Managed can't have own data members."); }return &static_vtbl; Executed by:
never executed: QV4::Heap::SetCtor *d_unchecked() const { returnend of block executed 197202 times by 153 tests: static_cast<QV4::Heap::SetCtor *>(m());return static_cast<QV4::Heap::SetCtor *>(m()); Executed by:
executed 197202 times by 153 tests: } QV4::Heap::SetCtor *d() const { QV4::Heap::SetCtor *dptr = d_unchecked(); dptr->_checkIsInitialized(); returnreturn static_cast<QV4::Heap::SetCtor *>(m()); Executed by:
executed 98569 times by 153 tests: dptr;return dptr; Executed by:
executed 98569 times by 153 tests: } static_assert(bool(std::is_trivial< QV4::Heap::SetCtor >::value), "std::is_trivial< QV4::Heap::SetCtor >::value");return dptr; Executed by:
| 0-296176 |
28 | - | |
29 | static ReturnedValue virtualCallAsConstructor(const FunctionObject *f, const Value *argv, int argc, const Value *); | - |
30 | static ReturnedValue virtualCall(const FunctionObject *f, const Value *thisObject, const Value *argv, int argc); | - |
31 | }; | - |
32 | - | |
33 | struct SetObject : Object | - |
34 | { | - |
35 | private: SetObject() = delete; SetObject(const SetObject &) = delete; SetObject &operator=(const SetObject &) = delete; public: template <typename Type> inline void qt_check_for_QMANAGED_macro(const Type *_q_argument) const { int i = qYouForgotTheQ_MANAGED_Macro(this, _q_argument); i = i + 1; } executed 1677 times by 1 test: typedef QV4::Heap::SetObject Data; typedef Object SuperClass; static const QV4::VTable static_vtbl; static inline const QV4::VTable *staticVTable() { returnend of block Executed by:
executed 3777 times by 1 test: &static_vtbl;return &static_vtbl; Executed by:
executed 3777 times by 1 test: } void __dataTest() { static_assert (sizeof(*this) == sizeof(Managed), "Classes derived from Managed can't have own data members."); }return &static_vtbl; Executed by:
never executed: QV4::Heap::SetObject *d_unchecked() const { returnend of block executed 2770 times by 1 test: static_cast<QV4::Heap::SetObject *>(m());return static_cast<QV4::Heap::SetObject *>(m()); Executed by:
executed 2770 times by 1 test: } QV4::Heap::SetObject *d() const { QV4::Heap::SetObject *dptr = d_unchecked(); dptr->_checkIsInitialized(); returnreturn static_cast<QV4::Heap::SetObject *>(m()); Executed by:
executed 2071 times by 1 test: dptr;return dptr; Executed by:
executed 2071 times by 1 test: } static_assert(bool(std::is_trivial< QV4::Heap::SetObject >::value), "std::is_trivial< QV4::Heap::SetObject >::value");return dptr; Executed by:
| 0-3777 |
36 | static QV4::Object *defaultPrototype(QV4::ExecutionEngine *e) { return executed 701 times by 1 test: e->setPrototype();return e->setPrototype(); Executed by:
executed 701 times by 1 test: }return e->setPrototype(); Executed by:
| 701 |
37 | static void virtualDestroy(QV4::Heap::Base *b) { static_cast<Data *>(b)->destroy(); } executed 704 times by 1 test: end of block Executed by:
| 704 |
38 | }; | - |
39 | - | |
40 | struct SetPrototype : Object | - |
41 | { | - |
42 | void init(ExecutionEngine *engine, Object *ctor); | - |
43 | - | |
44 | static ReturnedValue method_add(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
45 | static ReturnedValue method_clear(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
46 | static ReturnedValue method_delete(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
47 | static ReturnedValue method_entries(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
48 | static ReturnedValue method_forEach(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
49 | static ReturnedValue method_has(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
50 | static ReturnedValue method_get_size(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
51 | static ReturnedValue method_values(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
52 | }; | - |
53 | - | |
54 | - | |
55 | } | - |
56 | - | |
57 | - | |
58 | - | |
Switch to Source code | Preprocessed file |