| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | | - |
| 10 | | - |
| 11 | | - |
| 12 | | - |
| 13 | | - |
| 14 | | - |
| 15 | | - |
| 16 | | - |
| 17 | | - |
| 18 | | - |
| 19 | | - |
| 20 | | - |
| 21 | | - |
| 22 | | - |
| 23 | | - |
| 24 | | - |
| 25 | | - |
| 26 | | - |
| 27 | | - |
| 28 | | - |
| 29 | | - |
| 30 | | - |
| 31 | | - |
| 32 | | - |
| 33 | | - |
| 34 | | - |
| 35 | | - |
| 36 | | - |
| 37 | | - |
| 38 | | - |
| 39 | | - |
| 40 | #ifndef QPODVECTOR_P_H | - |
| 41 | #define QPODVECTOR_P_H | - |
| 42 | | - |
| 43 | | - |
| 44 | | - |
| 45 | | - |
| 46 | | - |
| 47 | | - |
| 48 | | - |
| 49 | | - |
| 50 | | - |
| 51 | | - |
| 52 | | - |
| 53 | | - |
| 54 | #include <QtCore/qglobal.h> | - |
| 55 | #include <QDebug> | - |
| 56 | | - |
| 57 | QT_BEGIN_NAMESPACE | - |
| 58 | | - |
| 59 | template<class T, int Increment> | - |
| 60 | class QPODVector | - |
| 61 | { | - |
| 62 | public: | - |
| 63 | QPODVector() | - |
| 64 | : m_count(0), m_capacity(0), m_data(nullptr) {}executed 76680 times by 39 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- ...
| 76680 |
| 65 | ~QPODVector() { if (m_data) ::free(m_data); }executed 76628 times by 39 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- ...
executed 53526 times by 35 tests: ::free(m_data);Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- ...
| TRUE | evaluated 53526 times by 35 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- ...
| | FALSE | evaluated 23102 times by 30 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquickstates
- tst_qquicktableview
- tst_qquicktext
- ...
|
| 23102-76628 |
| 66 | | - |
| 67 | const T &at(int idx) const { | - |
| 68 | return m_data[idx];executed 327639 times by 27 tests: return m_data[idx];Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- ...
| 327639 |
| 69 | } | - |
| 70 | | - |
| 71 | T &operator[](int idx) { | - |
| 72 | return m_data[idx];executed 264832 times by 32 tests: return m_data[idx];Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlobjectmodel
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- ...
| 264832 |
| 73 | } | - |
| 74 | | - |
| 75 | void clear() { | - |
| 76 | m_count = 0; | - |
| 77 | }executed 67712 times by 26 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwindow
- ...
| 67712 |
| 78 | | - |
| 79 | void prepend(const T &v) { | - |
| 80 | insert(0, v); | - |
| 81 | } never executed: end of block | 0 |
| 82 | | - |
| 83 | void append(const T &v) { | - |
| 84 | insert(m_count, v); | - |
| 85 | }executed 127457 times by 28 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- ...
| 127457 |
| 86 | | - |
| 87 | void insert(int idx, const T &v) { | - |
| 88 | if (m_count == m_capacity) {| TRUE | evaluated 42616 times by 35 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- ...
| | FALSE | evaluated 90861 times by 31 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquickstates
- ...
|
| 42616-90861 |
| 89 | m_capacity += Increment; | - |
| 90 | m_data = (T *)realloc(static_cast<void *>(m_data), m_capacity * sizeof(T)); | - |
| 91 | }executed 42616 times by 35 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- ...
| 42616 |
| 92 | int moveCount = m_count - idx; | - |
| 93 | if (moveCount)| TRUE | evaluated 306 times by 5 testsEvaluated by:- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 133171 times by 35 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- ...
|
| 306-133171 |
| 94 | ::memmove(static_cast<void *>(m_data + idx + 1), static_cast<const void *>(m_data + idx), moveCount * sizeof(T));executed 306 times by 5 tests: ::memmove(static_cast<void *>(m_data + idx + 1), static_cast<const void *>(m_data + idx), moveCount * sizeof(T));Executed by:- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 306 |
| 95 | m_count++; | - |
| 96 | m_data[idx] = v; | - |
| 97 | }executed 133477 times by 35 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- ...
| 133477 |
| 98 | | - |
| 99 | void reserve(int count) { | - |
| 100 | if (count >= m_capacity) {| TRUE | evaluated 12398 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlqt
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_scenegraph
| | FALSE | never evaluated |
| 0-12398 |
| 101 | m_capacity = (count + (Increment-1)) & (0xFFFFFFFF - Increment + 1); | - |
| 102 | m_data = (T *)realloc(static_cast<void *>(m_data), m_capacity * sizeof(T)); | - |
| 103 | }executed 12398 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmlqt
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_scenegraph
| 12398 |
| 104 | }executed 12398 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmlqt
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_scenegraph
| 12398 |
| 105 | | - |
| 106 | void insertBlank(int idx, int count) { | - |
| 107 | int newSize = m_count + count; | - |
| 108 | reserve(newSize); | - |
| 109 | int moveCount = m_count - idx; | - |
| 110 | if (moveCount)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 111 | ::memmove(static_cast<void *>(m_data + idx + count), static_cast<const void *>(m_data + idx), never executed: ::memmove(static_cast<void *>(m_data + idx + count), static_cast<const void *>(m_data + idx), moveCount * sizeof(T)); | 0 |
| 112 | moveCount * sizeof(T)); never executed: ::memmove(static_cast<void *>(m_data + idx + count), static_cast<const void *>(m_data + idx), moveCount * sizeof(T)); | 0 |
| 113 | m_count = newSize; | - |
| 114 | } never executed: end of block | 0 |
| 115 | | - |
| 116 | void remove(int idx, int count = 1) { | - |
| 117 | int moveCount = m_count - (idx + count); | - |
| 118 | if (moveCount)| TRUE | evaluated 3260 times by 14 testsEvaluated by:- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 3772 times by 17 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_qtqmlmodules
|
| 3260-3772 |
| 119 | ::memmove(static_cast<void *>(m_data + idx), static_cast<const void *>(m_data + idx + count),executed 3260 times by 14 tests: ::memmove(static_cast<void *>(m_data + idx), static_cast<const void *>(m_data + idx + count), moveCount * sizeof(T));Executed by:- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 3260 |
| 120 | moveCount * sizeof(T));executed 3260 times by 14 tests: ::memmove(static_cast<void *>(m_data + idx), static_cast<const void *>(m_data + idx + count), moveCount * sizeof(T));Executed by:- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 3260 |
| 121 | m_count -= count; | - |
| 122 | }executed 7032 times by 22 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_qtqmlmodules
| 7032 |
| 123 | | - |
| 124 | void removeOne(const T &v) { | - |
| 125 | int idx = 0; | - |
| 126 | while (idx < m_count) {| TRUE | evaluated 4 times by 1 testEvaluated by:- tst_qqmllistmodelworkerscript
| | FALSE | never evaluated |
| 0-4 |
| 127 | if (m_data[idx] == v) {| TRUE | evaluated 4 times by 1 testEvaluated by:- tst_qqmllistmodelworkerscript
| | FALSE | never evaluated |
| 0-4 |
| 128 | remove(idx); | - |
| 129 | return;executed 4 times by 1 test: return;Executed by:- tst_qqmllistmodelworkerscript
| 4 |
| 130 | } | - |
| 131 | ++idx; | - |
| 132 | } never executed: end of block | 0 |
| 133 | } never executed: end of block | 0 |
| 134 | | - |
| 135 | int find(const T &v) { | - |
| 136 | for (int idx = 0; idx < m_count; ++idx)| TRUE | evaluated 203823 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktextinput
| | FALSE | evaluated 37714 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlqt
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_scenegraph
|
| 37714-203823 |
| 137 | if (m_data[idx] == v)| TRUE | evaluated 83533 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktextinput
| | FALSE | evaluated 120290 times by 8 testsEvaluated by:- tst_examples
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktextinput
|
| 83533-120290 |
| 138 | return idx;executed 83533 times by 10 tests: return idx;Executed by:- tst_examples
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktextinput
| 83533 |
| 139 | return -1;executed 37714 times by 24 tests: return -1;Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlqt
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_scenegraph
| 37714 |
| 140 | } | - |
| 141 | | - |
| 142 | bool contains(const T &v) { | - |
| 143 | return find(v) != -1; never executed: return find(v) != -1; | 0 |
| 144 | } | - |
| 145 | | - |
| 146 | int count() const { | - |
| 147 | return m_count;executed 919915 times by 35 tests: return m_count;Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- ...
| 919915 |
| 148 | } | - |
| 149 | | - |
| 150 | void copyAndClear(QPODVector<T,Increment> &other) { | - |
| 151 | if (other.m_data) ::free(other.m_data); never executed: ::free(other.m_data); | TRUE | never evaluated | | FALSE | evaluated 39654 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlqt
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_scenegraph
|
| 0-39654 |
| 152 | other.m_count = m_count; | - |
| 153 | other.m_capacity = m_capacity; | - |
| 154 | other.m_data = m_data; | - |
| 155 | m_count = 0; | - |
| 156 | m_capacity = 0; | - |
| 157 | m_data = nullptr; | - |
| 158 | }executed 39654 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmlqt
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_scenegraph
| 39654 |
| 159 | | - |
| 160 | QPODVector<T,Increment> &operator<<(const T &v) { append(v); return *this; } never executed: return *this; | 0 |
| 161 | private: | - |
| 162 | QPODVector(const QPODVector &); | - |
| 163 | QPODVector &operator=(const QPODVector &); | - |
| 164 | int m_count; | - |
| 165 | int m_capacity; | - |
| 166 | T *m_data; | - |
| 167 | }; | - |
| 168 | | - |
| 169 | QT_END_NAMESPACE | - |
| 170 | | - |
| 171 | #endif | - |
| | |