OpenCoverage

qv4mapobject_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/jsruntime/qv4mapobject_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3namespace QV4 {-
4-
5class ESTable;-
6-
7namespace Heap {-
8-
9struct MapCtor : FunctionObject {-
10 void init(QV4::ExecutionContext *scope);-
11};-
12-
13struct MapObject : Object {-
14 static void markObjects(Heap::Base *that, MarkStack *markStack);-
15 void init();-
16 void destroy();-
17 ESTable *esTable;-
18};-
19-
20}-
21-
22struct MapCtor: FunctionObject-
23{-
24 private: MapCtor() = delete; MapCtor(const MapCtor &) = delete; MapCtor &operator=(const MapCtor &) = 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::MapCtor Data; typedef FunctionObject SuperClass; static const QV4::VTable static_vtbl; static inline const QV4::VTable *staticVTable() { return
executed 296610 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 296610 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::MapCtor *d_unchecked() const { return
executed 197781 times by 153 tests: return static_cast<QV4::Heap::MapCtor *>(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::MapCtor *>(m());
executed 197781 times by 153 tests: return static_cast<QV4::Heap::MapCtor *>(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::MapCtor *d() const { QV4::Heap::MapCtor *dptr = d_unchecked(); dptr->_checkIsInitialized(); return
executed 98900 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 98900 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::MapCtor >::value), "std::is_trivial< QV4::Heap::MapCtor >::value");
0-296610
25-
26 static ReturnedValue virtualCallAsConstructor(const FunctionObject *f, const Value *argv, int argc, const Value *);-
27 static ReturnedValue virtualCall(const FunctionObject *f, const Value *thisObject, const Value *argv, int argc);-
28};-
29-
30struct MapObject : Object-
31{-
32 private: MapObject() = delete; MapObject(const MapObject &) = delete; MapObject &operator=(const MapObject &) = 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 1603 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
typedef QV4::Heap::MapObject Data; typedef Object SuperClass; static const QV4::VTable static_vtbl; static inline const QV4::VTable *staticVTable() { return
executed 3080 times by 1 test: return &static_vtbl;
Executed by:
  • tst_ecmascripttests
&static_vtbl;
executed 3080 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::MapObject *d_unchecked() const { return
executed 2237 times by 1 test: return static_cast<QV4::Heap::MapObject *>(m());
Executed by:
  • tst_ecmascripttests
static_cast<QV4::Heap::MapObject *>(m());
executed 2237 times by 1 test: return static_cast<QV4::Heap::MapObject *>(m());
Executed by:
  • tst_ecmascripttests
} QV4::Heap::MapObject *d() const { QV4::Heap::MapObject *dptr = d_unchecked(); dptr->_checkIsInitialized(); return
executed 1745 times by 1 test: return dptr;
Executed by:
  • tst_ecmascripttests
dptr;
executed 1745 times by 1 test: return dptr;
Executed by:
  • tst_ecmascripttests
} static_assert(bool(std::is_trivial< QV4::Heap::MapObject >::value), "std::is_trivial< QV4::Heap::MapObject >::value");
0-3080
33 static QV4::Object *defaultPrototype(QV4::ExecutionEngine *e) { return
executed 494 times by 1 test: return e->mapPrototype();
Executed by:
  • tst_ecmascripttests
e->mapPrototype();
executed 494 times by 1 test: return e->mapPrototype();
Executed by:
  • tst_ecmascripttests
}
494
34 static void virtualDestroy(QV4::Heap::Base *b) { static_cast<Data *>(b)->destroy(); }
executed 494 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
494
35};-
36-
37struct MapPrototype : Object-
38{-
39 void init(ExecutionEngine *engine, Object *ctor);-
40-
41 static ReturnedValue method_clear(const FunctionObject *, const Value *thisObject, const Value *argv, int argc);-
42 static ReturnedValue method_delete(const FunctionObject *, const Value *thisObject, const Value *argv, int argc);-
43 static ReturnedValue method_entries(const FunctionObject *, const Value *thisObject, const Value *argv, int argc);-
44 static ReturnedValue method_forEach(const FunctionObject *, const Value *thisObject, const Value *argv, int argc);-
45 static ReturnedValue method_get(const FunctionObject *, const Value *thisObject, const Value *argv, int argc);-
46 static ReturnedValue method_has(const FunctionObject *, const Value *thisObject, const Value *argv, int argc);-
47 static ReturnedValue method_keys(const FunctionObject *, const Value *thisObject, const Value *argv, int argc);-
48 static ReturnedValue method_set(const FunctionObject *, const Value *thisObject, const Value *argv, int argc);-
49 static ReturnedValue method_get_size(const FunctionObject *, const Value *thisObject, const Value *argv, int argc);-
50 static ReturnedValue method_values(const FunctionObject *, const Value *thisObject, const Value *argv, int argc);-
51};-
52-
53-
54}-
55-
56-
57-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0