Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | namespace QV4 { | - |
9 | | - |
10 | namespace Heap { | - |
11 | | - |
12 | template <typename T, size_t o> | - |
13 | struct Pointer { | - |
14 | static constexpr size_t offset = o; | - |
15 | T operator->() const { returnexecuted 2147483647 times by 154 tests: return get(); 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
- ...
get();executed 2147483647 times by 154 tests: return get(); 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
- ...
} | Inf |
16 | operator T () const { returnexecuted 2147483647 times by 154 tests: return get(); 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
- ...
get();executed 2147483647 times by 154 tests: return get(); 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
- ...
} | Inf |
17 | | - |
18 | Base *base(); | - |
19 | | - |
20 | void set(EngineBase *e, T newVal) { | - |
21 | WriteBarrier::write(e, base(), &ptr, reinterpret_cast<Base *>(newVal)); | - |
22 | }executed 625628959 times by 154 tests: end of block 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
- ...
| 625628959 |
23 | | - |
24 | T get() const { returnexecuted 2147483647 times by 154 tests: return reinterpret_cast<T>(ptr); 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
- ...
reinterpret_cast<T>(ptr);executed 2147483647 times by 154 tests: return reinterpret_cast<T>(ptr); 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
- ...
} | Inf |
25 | | - |
26 | template <typename Type> | - |
27 | Type *cast() { returnexecuted 9892395 times by 42 tests: return static_cast<Type *>(ptr); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
static_cast<Type *>(ptr);executed 9892395 times by 42 tests: return static_cast<Type *>(ptr); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
} | 9892395 |
28 | | - |
29 | Base *heapObject() const { returnexecuted 309875 times by 27 tests: return ptr; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_quicktestmainwithsetup
- tst_qv4mm
- ...
ptr;executed 309875 times by 27 tests: return ptr; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_quicktestmainwithsetup
- tst_qv4mm
- ...
} | 309875 |
30 | | - |
31 | private: | - |
32 | Base *ptr; | - |
33 | }; | - |
34 | typedef Pointer<char *, 0> V4PointerCheck; | - |
35 | static_assert(bool(std::is_trivial< V4PointerCheck >::value), "std::is_trivial< V4PointerCheck >::value"); | - |
36 | | - |
37 | struct __attribute__((visibility("default"))) Base { | - |
38 | void *operator new(size_t) = delete; | - |
39 | | - |
40 | static void markObjects(Base *, MarkStack *); | - |
41 | | - |
42 | Pointer<InternalClass *, 0> internalClass; | - |
43 | | - |
44 | inline ReturnedValue asReturnedValue() const; | - |
45 | inline void mark(QV4::MarkStack *markStack); | - |
46 | | - |
47 | inline bool isMarked() const { | - |
48 | const HeapItem *h = reinterpret_cast<const HeapItem *>(this); | - |
49 | Chunk *c = h->chunk(); | - |
50 | ((!Chunk::testBit(c->extendsBitmap, h - c->realBase())) ? static_cast<void>(0) : qt_assert("!Chunk::testBit(c->extendsBitmap, h - c->realBase())", __FILE__, 108)); | - |
51 | returnexecuted 95143368 times by 154 tests: return Chunk::testBit(c->blackBitmap, h - c->realBase()); 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
- ...
Chunk::testBit(c->blackBitmap, h - c->realBase());executed 95143368 times by 154 tests: return Chunk::testBit(c->blackBitmap, h - c->realBase()); 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
- ...
| 95143368 |
52 | } | - |
53 | inline void setMarkBit() { | - |
54 | const HeapItem *h = reinterpret_cast<const HeapItem *>(this); | - |
55 | Chunk *c = h->chunk(); | - |
56 | ((!Chunk::testBit(c->extendsBitmap, h - c->realBase())) ? static_cast<void>(0) : qt_assert("!Chunk::testBit(c->extendsBitmap, h - c->realBase())", __FILE__, 114)); | - |
57 | return never executed: return Chunk::setBit(c->blackBitmap, h - c->realBase()); Chunk::setBit(c->blackBitmap, h - c->realBase());never executed: return Chunk::setBit(c->blackBitmap, h - c->realBase()); | 0 |
58 | } | - |
59 | inline void setGrayBit() { | - |
60 | const HeapItem *h = reinterpret_cast<const HeapItem *>(this); | - |
61 | Chunk *c = h->chunk(); | - |
62 | ((!Chunk::testBit(c->extendsBitmap, h - c->realBase())) ? static_cast<void>(0) : qt_assert("!Chunk::testBit(c->extendsBitmap, h - c->realBase())", __FILE__, 120)); | - |
63 | return never executed: return Chunk::setBit(c->grayBitmap, h - c->realBase()); Chunk::setBit(c->grayBitmap, h - c->realBase());never executed: return Chunk::setBit(c->grayBitmap, h - c->realBase()); | 0 |
64 | } | - |
65 | | - |
66 | inline bool inUse() const { | - |
67 | const HeapItem *h = reinterpret_cast<const HeapItem *>(this); | - |
68 | Chunk *c = h->chunk(); | - |
69 | ((!Chunk::testBit(c->extendsBitmap, h - c->realBase())) ? static_cast<void>(0) : qt_assert("!Chunk::testBit(c->extendsBitmap, h - c->realBase())", __FILE__, 127)); | - |
70 | returnexecuted 1664171141 times by 154 tests: return Chunk::testBit(c->objectBitmap, h - c->realBase()); 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
- ...
Chunk::testBit(c->objectBitmap, h - c->realBase());executed 1664171141 times by 154 tests: return Chunk::testBit(c->objectBitmap, h - c->realBase()); 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
- ...
| 1664171141 |
71 | } | - |
72 | | - |
73 | void *operator new(size_t, Managed *m) { return never executed: return m; m;never executed: return m; } | 0 |
74 | void *operator new(size_t, Base *m) { return never executed: return m; m;never executed: return m; } | 0 |
75 | void operator delete(void *, Base *) {} | - |
76 | | - |
77 | void init() { _setInitialized(); }executed 361270503 times by 154 tests: end of block 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
- ...
| 361270503 |
78 | void destroy() { _setDestroyed(); }executed 309791797 times by 154 tests: end of block 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
- ...
| 309791797 |
79 | inline __attribute__((always_inline)) void _checkIsInitialized() {} | - |
80 | inline __attribute__((always_inline)) void _checkIsDestroyed() {} | - |
81 | inline __attribute__((always_inline)) void _setInitialized() {} | - |
82 | inline __attribute__((always_inline)) void _setDestroyed() {} | - |
83 | | - |
84 | }; | - |
85 | static_assert(bool(std::is_trivial< Base >::value), "std::is_trivial< Base >::value"); | - |
86 | | - |
87 | | - |
88 | | - |
89 | static_assert(bool(std::is_standard_layout<Base>::value), "std::is_standard_layout<Base>::value"); | - |
90 | static_assert(bool( | - |
91 | __builtin_offsetof ( | - |
92 | Base | - |
93 | , | - |
94 | internalClass | - |
95 | ) | - |
96 | == 0), "offsetof(Base, internalClass) == 0"); | - |
97 | static_assert(bool(sizeof(Base) == 8), "sizeof(Base) == QT_POINTER_SIZE"); | - |
98 | | - |
99 | inline | - |
100 | void Base::mark(QV4::MarkStack *markStack) | - |
101 | { | - |
102 | ((inUse()) ? static_cast<void>(0) : qt_assert("inUse()", __FILE__, 183)); | - |
103 | const HeapItem *h = reinterpret_cast<const HeapItem *>(this); | - |
104 | Chunk *c = h->chunk(); | - |
105 | size_t index = h - c->realBase(); | - |
106 | ((!Chunk::testBit(c->extendsBitmap, index)) ? static_cast<void>(0) : qt_assert("!Chunk::testBit(c->extendsBitmap, index)", __FILE__, 187)); | - |
107 | quintptr *bitmap = c->blackBitmap + Chunk::bitmapIndex(index); | - |
108 | quintptr bit = Chunk::bitForIndex(index); | - |
109 | if (!(*bitmap & bit)TRUE | evaluated 38943858 times by 27 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_quicktestmainwithsetup
- tst_qv4mm
- ...
| FALSE | evaluated 823184242 times by 27 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_quicktestmainwithsetup
- tst_qv4mm
- ...
|
) { | 38943858-823184242 |
110 | *bitmap |= bit; | - |
111 | markStack->push(this); | - |
112 | }executed 38943847 times by 27 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_quicktestmainwithsetup
- tst_qv4mm
- ...
| 38943847 |
113 | }executed 861785131 times by 27 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_quicktestmainwithsetup
- tst_qv4mm
- ...
| 861785131 |
114 | | - |
115 | template<typename T, size_t o> | - |
116 | Base *Pointer<T, o>::base() { | - |
117 | Base *base = reinterpret_cast<Base *>(this) - (offset/sizeof(Base *)); | - |
118 | ((base->inUse()) ? static_cast<void>(0) : qt_assert("base->inUse()", __FILE__, 199)); | - |
119 | returnexecuted 627985597 times by 154 tests: return base; 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
- ...
base;executed 627985597 times by 154 tests: return base; 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
- ...
| 627985597 |
120 | } | - |
121 | | - |
122 | } | - |
123 | | - |
124 | | - |
125 | | - |
126 | | - |
127 | | - |
128 | | - |
129 | template <class T> | - |
130 | struct QQmlQPointer { | - |
131 | void init() | - |
132 | { | - |
133 | d = nullptr; | - |
134 | qObject = nullptr; | - |
135 | }executed 170810 times by 59 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
| 170810 |
136 | | - |
137 | void init(T *o) | - |
138 | { | - |
139 | ((d == nullptr) ? static_cast<void>(0) : qt_assert("d == nullptr", __FILE__, 220)); | - |
140 | ((qObject == nullptr) ? static_cast<void>(0) : qt_assert("qObject == nullptr", __FILE__, 221)); | - |
141 | if (oTRUE | evaluated 2332589 times by 142 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 1930 times by 20 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
|
) { | 1930-2332589 |
142 | d = QtSharedPointer::ExternalRefCountData::getAndRef(o); | - |
143 | qObject = o; | - |
144 | }executed 2332589 times by 142 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 2332589 |
145 | }executed 2334519 times by 142 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 2334519 |
146 | | - |
147 | void destroy() | - |
148 | { | - |
149 | if (dTRUE | evaluated 2342261 times by 142 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 4918 times by 27 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquicklayouts
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- ...
|
&& !d->weakref.deref()TRUE | evaluated 454095 times by 138 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 1888166 times by 136 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
|
) | 4918-2342261 |
150 | delete d;executed 454095 times by 138 tests: delete d; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 454095 |
151 | d = nullptr; | - |
152 | qObject = nullptr; | - |
153 | }executed 2347179 times by 142 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 2347179 |
154 | | - |
155 | T *data() const { | - |
156 | returnexecuted 17276164 times by 142 tests: return d == nullptr || d->strongref.load() == 0 ? nullptr : qObject; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
d == nullptr || d->strongref.load() == 0 ? nullptr : qObject;executed 17276164 times by 142 tests: return d == nullptr || d->strongref.load() == 0 ? nullptr : qObject; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 17276164 |
157 | } | - |
158 | operator T*() const { returnexecuted 3190336 times by 127 tests: return data(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
data();executed 3190336 times by 127 tests: return data(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
} | 3190336 |
159 | inline T* operator->() const { returnexecuted 5354 times by 29 tests: return data(); 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_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpincharea
- ...
data();executed 5354 times by 29 tests: return data(); 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_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpincharea
- ...
} | 5354 |
160 | QQmlQPointer &operator=(T *o) | - |
161 | { | - |
162 | if (dTRUE | never evaluated | FALSE | evaluated 238646 times by 79 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
|
) | 0-238646 |
163 | destroy(); never executed: destroy(); | 0 |
164 | init(o); | - |
165 | returnexecuted 238646 times by 79 tests: return *this; Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
*this;executed 238646 times by 79 tests: return *this; Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
| 238646 |
166 | } | - |
167 | bool isNull() const noexcept | - |
168 | { | - |
169 | returnexecuted 78568 times by 16 tests: return d == nullptr || qObject == nullptr || d->strongref.load() == 0; Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmllistreference
- tst_qqmlqt
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickscreen
- tst_qquickvisualdatamodel
d == nullptr || qObject == nullptr || d->strongref.load() == 0;executed 78568 times by 16 tests: return d == nullptr || qObject == nullptr || d->strongref.load() == 0; Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmllistreference
- tst_qqmlqt
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickscreen
- tst_qquickvisualdatamodel
| 78568 |
170 | } | - |
171 | | - |
172 | private: | - |
173 | QtSharedPointer::ExternalRefCountData *d; | - |
174 | QObject *qObject; | - |
175 | }; | - |
176 | static_assert(bool(std::is_trivial< QQmlQPointer<QObject> >::value), "std::is_trivial< QQmlQPointer<QObject> >::value"); | - |
177 | | - |
178 | | - |
179 | } | - |
180 | | - |
181 | | - |
| | |