Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | class QQmlValueType; | - |
6 | | - |
7 | namespace QV4 { | - |
8 | | - |
9 | namespace Heap { | - |
10 | | - |
11 | struct QQmlValueTypeWrapper : Object { | - |
12 | void init() { Object::init(); }executed 368998 times by 44 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickflickable
- tst_qquickgridview
- ...
| 368998 |
13 | void destroy(); | - |
14 | QQmlPropertyCache *propertyCache() const { returnexecuted 16712 times by 21 tests: return _propertyCache; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qquicktextinput
- tst_qquickworkerscript
_propertyCache;executed 16712 times by 21 tests: return _propertyCache; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qquicktextinput
- tst_qquickworkerscript
} | 16712 |
15 | void setPropertyCache(QQmlPropertyCache *c) { | - |
16 | if (cTRUE | evaluated 369004 times by 44 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickflickable
- tst_qquickgridview
- ...
| FALSE | evaluated 2 times by 1 test |
) | 2-369004 |
17 | c->addref();executed 369004 times by 44 tests: c->addref(); Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickflickable
- tst_qquickgridview
- ...
| 369004 |
18 | if (_propertyCacheTRUE | evaluated 8 times by 1 test | FALSE | evaluated 368998 times by 44 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickflickable
- tst_qquickgridview
- ...
|
) | 8-368998 |
19 | _propertyCache->release();executed 8 times by 1 test: _propertyCache->release(); | 8 |
20 | _propertyCache = c; | - |
21 | }executed 369006 times by 44 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickflickable
- tst_qquickgridview
- ...
| 369006 |
22 | mutable void *gadgetPtr; | - |
23 | QQmlValueType *valueType; | - |
24 | | - |
25 | void setValue(const QVariant &value) const; | - |
26 | QVariant toVariant() const; | - |
27 | | - |
28 | private: | - |
29 | QQmlPropertyCache *_propertyCache; | - |
30 | }; | - |
31 | | - |
32 | } | - |
33 | | - |
34 | struct __attribute__((visibility("default"))) QQmlValueTypeWrapper : Object | - |
35 | { | - |
36 | private: QQmlValueTypeWrapper() = delete; QQmlValueTypeWrapper(const QQmlValueTypeWrapper &) = delete; QQmlValueTypeWrapper &operator=(const QQmlValueTypeWrapper &) = 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 512000 times by 85 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- ...
typedef QV4::Heap::QQmlValueTypeWrapper Data; typedef Object SuperClass; static const QV4::VTable static_vtbl; static inline const QV4::VTable *staticVTable() { returnexecuted 1609306 times by 85 tests: return &static_vtbl; Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- ...
&static_vtbl;executed 1609306 times by 85 tests: return &static_vtbl; Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- ...
} 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::QQmlValueTypeWrapper *d_unchecked() const { returnexecuted 2575254 times by 41 tests: return static_cast<QV4::Heap::QQmlValueTypeWrapper *>(m()); Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickflickable
- tst_qquickgridview
- ...
static_cast<QV4::Heap::QQmlValueTypeWrapper *>(m());executed 2575254 times by 41 tests: return static_cast<QV4::Heap::QQmlValueTypeWrapper *>(m()); Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickflickable
- tst_qquickgridview
- ...
} QV4::Heap::QQmlValueTypeWrapper *d() const { QV4::Heap::QQmlValueTypeWrapper *dptr = d_unchecked(); dptr->_checkIsInitialized(); returnexecuted 2211404 times by 41 tests: return dptr; Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickflickable
- tst_qquickgridview
- ...
dptr;executed 2211404 times by 41 tests: return dptr; Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickflickable
- tst_qquickgridview
- ...
} static_assert(bool(std::is_trivial< QV4::Heap::QQmlValueTypeWrapper >::value), "std::is_trivial< QV4::Heap::QQmlValueTypeWrapper >::value"); | 0-2575254 |
37 | static QV4::Object *defaultPrototype(QV4::ExecutionEngine *e) { returnexecuted 368998 times by 44 tests: return e->valueTypeWrapperPrototype(); Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickflickable
- tst_qquickgridview
- ...
e->valueTypeWrapperPrototype();executed 368998 times by 44 tests: return e->valueTypeWrapperPrototype(); Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickflickable
- tst_qquickgridview
- ...
} | 368998 |
38 | static void virtualDestroy(QV4::Heap::Base *b) { static_cast<Data *>(b)->destroy(); }executed 363850 times by 29 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktaphandler
- ...
| 363850 |
39 | | - |
40 | public: | - |
41 | | - |
42 | static ReturnedValue create(ExecutionEngine *engine, QObject *, int, const QMetaObject *metaObject, int typeId); | - |
43 | static ReturnedValue create(ExecutionEngine *engine, const QVariant &, const QMetaObject *metaObject, int typeId); | - |
44 | | - |
45 | QVariant toVariant() const; | - |
46 | bool toGadget(void *data) const; | - |
47 | bool isEqual(const QVariant& value) const; | - |
48 | int typeId() const; | - |
49 | bool write(QObject *target, int propertyIndex) const; | - |
50 | | - |
51 | static ReturnedValue virtualGet(const Managed *m, PropertyKey id, const Value *receiver, bool *hasProperty); | - |
52 | static bool virtualPut(Managed *m, PropertyKey id, const Value &value, Value *receiver); | - |
53 | static bool virtualIsEqualTo(Managed *m, Managed *other); | - |
54 | static PropertyAttributes virtualGetOwnProperty(Managed *m, PropertyKey id, Property *p); | - |
55 | static void virtualAdvanceIterator(Managed *m, ObjectIterator *it, Value *name, uint *index, Property *p, PropertyAttributes *attributes); | - |
56 | | - |
57 | static ReturnedValue method_toString(const FunctionObject *b, const Value *thisObject, const Value *argv, int argc); | - |
58 | | - |
59 | static void initProto(ExecutionEngine *v4); | - |
60 | }; | - |
61 | | - |
62 | } | - |
63 | | - |
64 | | - |
| | |