OpenCoverage

qv4setobject_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/jsruntime/qv4setobject_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6namespace QV4 {-
7-
8class ESTable;-
9-
10namespace Heap {-
11-
12struct SetCtor : FunctionObject {-
13 void init(QV4::ExecutionContext *scope);-
14};-
15-
16struct SetObject : Object {-
17 static void markObjects(Heap::Base *that, MarkStack *markStack);-
18 void init();-
19 void destroy();-
20 ESTable *esTable;-
21};-
22-
23}-
24-
25struct 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: end of block
typedef QV4::Heap::SetCtor Data; typedef FunctionObject SuperClass; static const QV4::VTable static_vtbl; static inline const QV4::VTable *staticVTable() { return
executed 296176 times by 153 tests: return &static_vtbl;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
&static_vtbl;
executed 296176 times by 153 tests: return &static_vtbl;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
} void __dataTest() { static_assert (sizeof(*this) == sizeof(Managed), "Classes derived from Managed can't have own data members."); }
never executed: end of block
QV4::Heap::SetCtor *d_unchecked() const { return
executed 197202 times by 153 tests: return static_cast<QV4::Heap::SetCtor *>(m());
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
static_cast<QV4::Heap::SetCtor *>(m());
executed 197202 times by 153 tests: return static_cast<QV4::Heap::SetCtor *>(m());
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
} QV4::Heap::SetCtor *d() const { QV4::Heap::SetCtor *dptr = d_unchecked(); dptr->_checkIsInitialized(); return
executed 98569 times by 153 tests: return dptr;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
dptr;
executed 98569 times by 153 tests: return dptr;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
} static_assert(bool(std::is_trivial< QV4::Heap::SetCtor >::value), "std::is_trivial< QV4::Heap::SetCtor >::value");
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-
33struct 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: end of block
Executed by:
  • tst_ecmascripttests
typedef QV4::Heap::SetObject Data; typedef Object SuperClass; static const QV4::VTable static_vtbl; static inline const QV4::VTable *staticVTable() { return
executed 3777 times by 1 test: return &static_vtbl;
Executed by:
  • tst_ecmascripttests
&static_vtbl;
executed 3777 times by 1 test: return &static_vtbl;
Executed by:
  • tst_ecmascripttests
} void __dataTest() { static_assert (sizeof(*this) == sizeof(Managed), "Classes derived from Managed can't have own data members."); }
never executed: end of block
QV4::Heap::SetObject *d_unchecked() const { return
executed 2770 times by 1 test: return static_cast<QV4::Heap::SetObject *>(m());
Executed by:
  • tst_ecmascripttests
static_cast<QV4::Heap::SetObject *>(m());
executed 2770 times by 1 test: return static_cast<QV4::Heap::SetObject *>(m());
Executed by:
  • tst_ecmascripttests
} QV4::Heap::SetObject *d() const { QV4::Heap::SetObject *dptr = d_unchecked(); dptr->_checkIsInitialized(); return
executed 2071 times by 1 test: return dptr;
Executed by:
  • tst_ecmascripttests
dptr;
executed 2071 times by 1 test: return dptr;
Executed by:
  • tst_ecmascripttests
} static_assert(bool(std::is_trivial< QV4::Heap::SetObject >::value), "std::is_trivial< QV4::Heap::SetObject >::value");
0-3777
36 static QV4::Object *defaultPrototype(QV4::ExecutionEngine *e) { return
executed 701 times by 1 test: return e->setPrototype();
Executed by:
  • tst_ecmascripttests
e->setPrototype();
executed 701 times by 1 test: return e->setPrototype();
Executed by:
  • tst_ecmascripttests
}
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:
  • tst_ecmascripttests
704
38};-
39-
40struct 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 codePreprocessed file

Generated by Squish Coco 4.2.0