| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | enum { Endian = 0, Data = 1 }; | - |
| 6 | | - |
| 7 | static const uchar utf8bom[] = { 0xef, 0xbb, 0xbf }; | - |
| 8 | | - |
| 9 | | - |
| 10 | static inline bool simdEncodeAscii(uchar *&dst, const ushort *&nextAscii, const ushort *&src, const ushort *end) | - |
| 11 | { | - |
| 12 | | - |
| 13 | for ( ; end - src >= 16| TRUE | evaluated 2394194 times by 391 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- ...
| | FALSE | evaluated 3969456 times by 419 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
|
; src += 16, dst += 16) { | 2394194-3969456 |
| 14 | __m128i data1 = _mm_loadu_si128((const __m128i*)src); | - |
| 15 | __m128i data2 = _mm_loadu_si128(1+(const __m128i*)src); | - |
| 16 | __m128i packed = _mm_packus_epi16(data1, data2); | - |
| 17 | __m128i nonAscii = _mm_cmpgt_epi8(packed, _mm_setzero_si128()); | - |
| 18 | | - |
| 19 | | - |
| 20 | _mm_storeu_si128((__m128i*)dst, packed); | - |
| 21 | | - |
| 22 | | - |
| 23 | ushort n = ~_mm_movemask_epi8(nonAscii); | - |
| 24 | if (n| TRUE | evaluated 3986 times by 23 testsEvaluated by:- tst_QDnsLookup
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QStringBuilder3
- tst_QStringBuilder4
- tst_QStringRef
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextCodec
- tst_QTextDocument
- tst_QTextLayout
- tst_QTextStream
- tst_QUrlQuery
- tst_QXmlStream
- tst_Selftests
- tst_Utf8
| | FALSE | evaluated 2390208 times by 389 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- ...
|
) { | 3986-2390208 |
| 25 | | - |
| 26 | | - |
| 27 | | - |
| 28 | nextAscii = src + __bsrd(n) + 1; | - |
| 29 | | - |
| 30 | n = __bsfd(n); | - |
| 31 | dst += n; | - |
| 32 | src += n; | - |
| 33 | returnexecuted 3986 times by 23 tests: return false;Executed by:- tst_QDnsLookup
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QStringBuilder3
- tst_QStringBuilder4
- tst_QStringRef
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextCodec
- tst_QTextDocument
- tst_QTextLayout
- tst_QTextStream
- tst_QUrlQuery
- tst_QXmlStream
- tst_Selftests
- tst_Utf8
false;executed 3986 times by 23 tests: return false;Executed by:- tst_QDnsLookup
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QStringBuilder3
- tst_QStringBuilder4
- tst_QStringRef
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextCodec
- tst_QTextDocument
- tst_QTextLayout
- tst_QTextStream
- tst_QUrlQuery
- tst_QXmlStream
- tst_Selftests
- tst_Utf8
| 3986 |
| 34 | } | - |
| 35 | }executed 2390208 times by 389 tests: end of blockExecuted by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- ...
| 2390208 |
| 36 | returnexecuted 3969456 times by 419 tests: return src == end;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
src == end;executed 3969456 times by 419 tests: return src == end;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
| 3969456 |
| 37 | } | - |
| 38 | | - |
| 39 | static inline bool simdDecodeAscii(ushort *&dst, const uchar *&nextAscii, const uchar *&src, const uchar *end) | - |
| 40 | { | - |
| 41 | | - |
| 42 | for ( ; end - src >= 16| TRUE | evaluated 4564301 times by 534 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- ...
| | FALSE | evaluated 52293448 times by 569 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
|
; src += 16, dst += 16) { | 4564301-52293448 |
| 43 | __m128i data = _mm_loadu_si128((const __m128i*)src); | - |
| 44 | const int BitSpacing = 1; | - |
| 45 | | - |
| 46 | | - |
| 47 | | - |
| 48 | uint n = _mm_movemask_epi8(data); | - |
| 49 | if (!n| TRUE | evaluated 4320068 times by 530 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- ...
| | FALSE | evaluated 244233 times by 65 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDnsLookup
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- ...
|
) { | 244233-4320068 |
| 50 | | - |
| 51 | _mm_storeu_si128((__m128i*)dst, _mm_unpacklo_epi8(data, _mm_setzero_si128())); | - |
| 52 | _mm_storeu_si128(1+(__m128i*)dst, _mm_unpackhi_epi8(data, _mm_setzero_si128())); | - |
| 53 | continue;executed 4320068 times by 530 tests: continue;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- ...
| 4320068 |
| 54 | } | - |
| 55 | | - |
| 56 | | - |
| 57 | | - |
| 58 | while (!(n & 1)| TRUE | evaluated 1277262 times by 64 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDnsLookup
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- ...
| | FALSE | evaluated 244233 times by 65 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDnsLookup
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- ...
|
) { | 244233-1277262 |
| 59 | *dst++ = *src++; | - |
| 60 | n >>= BitSpacing; | - |
| 61 | }executed 1277262 times by 64 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDnsLookup
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- ...
| 1277262 |
| 62 | | - |
| 63 | | - |
| 64 | | - |
| 65 | | - |
| 66 | n = __bsrd(n); | - |
| 67 | nextAscii = src + (n / BitSpacing) + 1; | - |
| 68 | returnexecuted 244233 times by 65 tests: return false;Executed by:- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDnsLookup
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- ...
false;executed 244233 times by 65 tests: return false;Executed by:- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDnsLookup
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- ...
| 244233 |
| 69 | | - |
| 70 | } | - |
| 71 | returnexecuted 52293448 times by 569 tests: return src == end;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
src == end;executed 52293448 times by 569 tests: return src == end;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
| 52293448 |
| 72 | } | - |
| 73 | QByteArray QUtf8::convertFromUnicode(const QChar *uc, int len) | - |
| 74 | { | - |
| 75 | | - |
| 76 | QByteArray result(len * 3, Qt::Uninitialized); | - |
| 77 | uchar *dst = reinterpret_cast<uchar *>(const_cast<char *>(result.constData())); | - |
| 78 | const ushort *src = reinterpret_cast<const ushort *>(uc); | - |
| 79 | const ushort *const end = src + len; | - |
| 80 | | - |
| 81 | while (src != end| TRUE | evaluated 104982 times by 245 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
| | FALSE | evaluated 101886 times by 243 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
|
) { | 101886-104982 |
| 82 | const ushort *nextAscii = end; | - |
| 83 | if (simdEncodeAscii(dst, nextAscii, src, end)| TRUE | evaluated 3437 times by 70 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComplexText
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- tst_QFontCache
- ...
| | FALSE | evaluated 101545 times by 243 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
|
) | 3437-101545 |
| 84 | break;executed 3437 times by 70 tests: break;Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComplexText
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusPendingReply
- tst_QDBusReply
- tst_QDateTime
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- tst_QFontCache
- ...
| 3437 |
| 85 | | - |
| 86 | do { | - |
| 87 | ushort uc = *src++; | - |
| 88 | int res = QUtf8Functions::toUtf8<QUtf8BaseTraits>(uc, dst, src, end); | - |
| 89 | if (res < 0| TRUE | never evaluated | | FALSE | evaluated 555898 times by 243 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
|
) { | 0-555898 |
| 90 | | - |
| 91 | *dst++ = '?'; | - |
| 92 | } never executed: end of block | 0 |
| 93 | }executed 555898 times by 243 tests: end of blockExecuted by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
while (src < nextAscii| TRUE | evaluated 454353 times by 238 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
| | FALSE | evaluated 101545 times by 243 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
|
); | 101545-555898 |
| 94 | }executed 101545 times by 243 tests: end of blockExecuted by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
| 101545 |
| 95 | | - |
| 96 | result.truncate(dst - reinterpret_cast<uchar *>(const_cast<char *>(result.constData()))); | - |
| 97 | returnexecuted 105323 times by 245 tests: return result;Executed by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
result;executed 105323 times by 245 tests: return result;Executed by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QAuthenticator
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
| 105323 |
| 98 | } | - |
| 99 | | - |
| 100 | QByteArray QUtf8::convertFromUnicode(const QChar *uc, int len, QTextCodec::ConverterState *state) | - |
| 101 | { | - |
| 102 | uchar replacement = '?'; | - |
| 103 | int rlen = 3*len; | - |
| 104 | int surrogate_high = -1; | - |
| 105 | if (state| TRUE | evaluated 39366 times by 21 testsEvaluated by:- tst_QDBusXmlParser
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QKeyEvent
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QPlainTextEdit
- tst_QSaveFile
- tst_QSettings
- tst_QTextCodec
- tst_QTextEdit
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
- tst_qdbusxml2cpp - unknown status
| | FALSE | evaluated 450707 times by 409 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
|
) { | 39366-450707 |
| 106 | if (state->flags & QTextCodec::ConvertInvalidToNull| TRUE | evaluated 2468 times by 2 testsEvaluated by:- tst_QDBusXmlParser
- tst_QXmlSimpleReader
| | FALSE | evaluated 36898 times by 19 testsEvaluated by:- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QKeyEvent
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QPlainTextEdit
- tst_QSaveFile
- tst_QSettings
- tst_QTextCodec
- tst_QTextEdit
- tst_QTextStream
- tst_QXmlStream
- tst_Utf8
- tst_qdbusxml2cpp - unknown status
|
) | 2468-36898 |
| 107 | replacement = 0;executed 2468 times by 2 tests: replacement = 0;Executed by:- tst_QDBusXmlParser
- tst_QXmlSimpleReader
| 2468 |
| 108 | if (!(state->flags & QTextCodec::IgnoreHeader)| TRUE | evaluated 2721 times by 4 testsEvaluated by:- tst_QDBusXmlParser
- tst_QTextCodec
- tst_QXmlSimpleReader
- tst_Utf8
| | FALSE | evaluated 36645 times by 19 testsEvaluated by:- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QKeyEvent
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QPlainTextEdit
- tst_QSaveFile
- tst_QSettings
- tst_QTextCodec
- tst_QTextEdit
- tst_QTextStream
- tst_QXmlStream
- tst_Utf8
- tst_qdbusxml2cpp - unknown status
|
) | 2721-36645 |
| 109 | rlen += 3;executed 2721 times by 4 tests: rlen += 3;Executed by:- tst_QDBusXmlParser
- tst_QTextCodec
- tst_QXmlSimpleReader
- tst_Utf8
| 2721 |
| 110 | if (state->remainingChars| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 39360 times by 21 testsEvaluated by:- tst_QDBusXmlParser
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QKeyEvent
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QPlainTextEdit
- tst_QSaveFile
- tst_QSettings
- tst_QTextCodec
- tst_QTextEdit
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
- tst_qdbusxml2cpp - unknown status
|
) | 6-39360 |
| 111 | surrogate_high = state->state_data[0];executed 6 times by 1 test: surrogate_high = state->state_data[0]; | 6 |
| 112 | }executed 39366 times by 21 tests: end of blockExecuted by:- tst_QDBusXmlParser
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QKeyEvent
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QPlainTextEdit
- tst_QSaveFile
- tst_QSettings
- tst_QTextCodec
- tst_QTextEdit
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
- tst_qdbusxml2cpp - unknown status
| 39366 |
| 113 | | - |
| 114 | | - |
| 115 | QByteArray rstr(rlen, Qt::Uninitialized); | - |
| 116 | uchar *cursor = reinterpret_cast<uchar *>(const_cast<char *>(rstr.constData())); | - |
| 117 | const ushort *src = reinterpret_cast<const ushort *>(uc); | - |
| 118 | const ushort *const end = src + len; | - |
| 119 | | - |
| 120 | int invalid = 0; | - |
| 121 | if (state| TRUE | evaluated 39366 times by 21 testsEvaluated by:- tst_QDBusXmlParser
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QKeyEvent
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QPlainTextEdit
- tst_QSaveFile
- tst_QSettings
- tst_QTextCodec
- tst_QTextEdit
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
- tst_qdbusxml2cpp - unknown status
| | FALSE | evaluated 450707 times by 409 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
|
&& !(state->flags & QTextCodec::IgnoreHeader)| TRUE | evaluated 2721 times by 4 testsEvaluated by:- tst_QDBusXmlParser
- tst_QTextCodec
- tst_QXmlSimpleReader
- tst_Utf8
| | FALSE | evaluated 36645 times by 19 testsEvaluated by:- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QKeyEvent
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QPlainTextEdit
- tst_QSaveFile
- tst_QSettings
- tst_QTextCodec
- tst_QTextEdit
- tst_QTextStream
- tst_QXmlStream
- tst_Utf8
- tst_qdbusxml2cpp - unknown status
|
) { | 2721-450707 |
| 122 | | - |
| 123 | *cursor++ = utf8bom[0]; | - |
| 124 | *cursor++ = utf8bom[1]; | - |
| 125 | *cursor++ = utf8bom[2]; | - |
| 126 | }executed 2721 times by 4 tests: end of blockExecuted by:- tst_QDBusXmlParser
- tst_QTextCodec
- tst_QXmlSimpleReader
- tst_Utf8
| 2721 |
| 127 | | - |
| 128 | const ushort *nextAscii = src; | - |
| 129 | while (src != end| TRUE | evaluated 3879611 times by 408 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
| | FALSE | evaluated 477672 times by 408 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
|
) { | 477672-3879611 |
| 130 | int res; | - |
| 131 | ushort uc; | - |
| 132 | if (surrogate_high != -1| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 3879605 times by 408 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
|
) { | 6-3879605 |
| 133 | uc = surrogate_high; | - |
| 134 | surrogate_high = -1; | - |
| 135 | res = QUtf8Functions::toUtf8<QUtf8BaseTraits>(uc, cursor, src, end); | - |
| 136 | }executed 6 times by 1 test: end of block else { | 6 |
| 137 | if (src >= nextAscii| TRUE | evaluated 3868460 times by 408 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
| | FALSE | evaluated 11145 times by 10 testsEvaluated by:- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextCodec
- tst_QTextStream
- tst_QUrlQuery
- tst_QXmlStream
- tst_Selftests
|
&& simdEncodeAscii(cursor, nextAscii, src, end)| TRUE | evaluated 12395 times by 176 testsEvaluated by:- tst_Collections
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAccessibility
- tst_QActionGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- ...
| | FALSE | evaluated 3856065 times by 405 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- ...
|
) | 11145-3868460 |
| 138 | break;executed 12395 times by 176 tests: break;Executed by:- tst_Collections
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAccessibility
- tst_QActionGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- ...
| 12395 |
| 139 | | - |
| 140 | uc = *src++; | - |
| 141 | res = QUtf8Functions::toUtf8<QUtf8BaseTraits>(uc, cursor, src, end); | - |
| 142 | }executed 3867210 times by 405 tests: end of blockExecuted by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- ...
| 3867210 |
| 143 | if (__builtin_expect(!!(res >= 0), true)| TRUE | evaluated 3867210 times by 405 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- ...
| | FALSE | evaluated 6 times by 1 test |
) | 6-3867210 |
| 144 | continue;executed 3867210 times by 405 tests: continue;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- ...
| 3867210 |
| 145 | | - |
| 146 | if (res == QUtf8BaseTraits::Error| TRUE | never evaluated | | FALSE | evaluated 6 times by 1 test |
) { | 0-6 |
| 147 | | - |
| 148 | ++invalid; | - |
| 149 | *cursor++ = replacement; | - |
| 150 | } never executed: end of block else if (res == QUtf8BaseTraits::EndOfString| TRUE | evaluated 6 times by 1 test | | FALSE | never evaluated |
) { | 0-6 |
| 151 | surrogate_high = uc; | - |
| 152 | break;executed 6 times by 1 test: break; | 6 |
| 153 | } | - |
| 154 | } never executed: end of block | 0 |
| 155 | | - |
| 156 | rstr.resize(cursor - (const uchar*)rstr.constData()); | - |
| 157 | if (state| TRUE | evaluated 39366 times by 21 testsEvaluated by:- tst_QDBusXmlParser
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QKeyEvent
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QPlainTextEdit
- tst_QSaveFile
- tst_QSettings
- tst_QTextCodec
- tst_QTextEdit
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
- tst_qdbusxml2cpp - unknown status
| | FALSE | evaluated 450707 times by 409 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
|
) { | 39366-450707 |
| 158 | state->invalidChars += invalid; | - |
| 159 | state->flags |= QTextCodec::IgnoreHeader; | - |
| 160 | state->remainingChars = 0; | - |
| 161 | if (surrogate_high >= 0| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 39360 times by 21 testsEvaluated by:- tst_QDBusXmlParser
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QKeyEvent
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QPlainTextEdit
- tst_QSaveFile
- tst_QSettings
- tst_QTextCodec
- tst_QTextEdit
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
- tst_qdbusxml2cpp - unknown status
|
) { | 6-39360 |
| 162 | state->remainingChars = 1; | - |
| 163 | state->state_data[0] = surrogate_high; | - |
| 164 | }executed 6 times by 1 test: end of block | 6 |
| 165 | }executed 39366 times by 21 tests: end of blockExecuted by:- tst_QDBusXmlParser
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QKeyEvent
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QPlainTextEdit
- tst_QSaveFile
- tst_QSettings
- tst_QTextCodec
- tst_QTextEdit
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
- tst_qdbusxml2cpp - unknown status
| 39366 |
| 166 | returnexecuted 490073 times by 409 tests: return rstr;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
rstr;executed 490073 times by 409 tests: return rstr;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
| 490073 |
| 167 | } | - |
| 168 | | - |
| 169 | QString QUtf8::convertToUnicode(const char *chars, int len) | - |
| 170 | { | - |
| 171 | QString result(len, Qt::Uninitialized); | - |
| 172 | QChar *data = const_cast<QChar*>(result.constData()); | - |
| 173 | const QChar *end = convertToUnicode(data, chars, len); | - |
| 174 | result.truncate(end - data); | - |
| 175 | returnexecuted 3930821 times by 532 tests: return result;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QAsn1Element
- ...
result;executed 3930821 times by 532 tests: return result;Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QAsn1Element
- ...
| 3930821 |
| 176 | } | - |
| 177 | QChar *QUtf8::convertToUnicode(QChar *buffer, const char *chars, int len) noexcept | - |
| 178 | { | - |
| 179 | ushort *dst = reinterpret_cast<ushort *>(buffer); | - |
| 180 | const uchar *src = reinterpret_cast<const uchar *>(chars); | - |
| 181 | const uchar *end = src + len; | - |
| 182 | | - |
| 183 | | - |
| 184 | const uchar *nextAscii = end; | - |
| 185 | if (!simdDecodeAscii(dst, nextAscii, src, end)| TRUE | evaluated 4015432 times by 546 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
| | FALSE | evaluated 598854 times by 300 testsEvaluated by:- tst_Collections
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QAuthenticator
- tst_QBitArray
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColor
- tst_QColorDialog
- tst_QColumnView
- ...
|
) { | 598854-4015432 |
| 186 | | - |
| 187 | | - |
| 188 | if (__builtin_expect(!!(src == reinterpret_cast<const uchar *>(chars)), false)| TRUE | evaluated 3479490 times by 518 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- ...
| | FALSE | evaluated 535942 times by 497 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAuthenticator
- ...
|
| 535942-3479490 |
| 189 | && end - src >= 3| TRUE | evaluated 1873886 times by 389 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QAsn1Element
- tst_QAuthenticator
- ...
| | FALSE | evaluated 1605604 times by 445 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- ...
|
| 1605604-1873886 |
| 190 | && __builtin_expect(!!(src[0] == utf8bom[0] && src[1] == utf8bom[1] && src[2] == utf8bom[2]), false)| TRUE | evaluated 5 times by 2 testsEvaluated by:- tst_QString
- tst_QUrlInternal
| | FALSE | evaluated 1873881 times by 389 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QAsn1Element
- tst_QAuthenticator
- ...
|
) { | 5-1873881 |
| 191 | src += 3; | - |
| 192 | }executed 5 times by 2 tests: end of blockExecuted by:- tst_QString
- tst_QUrlInternal
| 5 |
| 193 | | - |
| 194 | while (src < end| TRUE | evaluated 4064914 times by 546 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
| | FALSE | evaluated 4015424 times by 546 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
|
) { | 4015424-4064914 |
| 195 | nextAscii = end; | - |
| 196 | if (simdDecodeAscii(dst, nextAscii, src, end)| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4064906 times by 546 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
|
) | 8-4064906 |
| 197 | break;executed 8 times by 1 test: break; | 8 |
| 198 | | - |
| 199 | do { | - |
| 200 | uchar b = *src++; | - |
| 201 | int res = QUtf8Functions::fromUtf8<QUtf8BaseTraits>(b, dst, src, end); | - |
| 202 | if (res < 0| TRUE | evaluated 530 times by 5 testsEvaluated by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_QUrlInternal
- tst_QXmlSimpleReader
| | FALSE | evaluated 17941153 times by 546 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
|
) { | 530-17941153 |
| 203 | | - |
| 204 | *dst++ = QChar::ReplacementCharacter; | - |
| 205 | }executed 530 times by 5 tests: end of blockExecuted by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_QUrlInternal
- tst_QXmlSimpleReader
| 530 |
| 206 | }executed 17941683 times by 546 tests: end of blockExecuted by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
while (src < nextAscii| TRUE | evaluated 13876777 times by 543 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
| | FALSE | evaluated 4064906 times by 546 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
|
); | 4064906-17941683 |
| 207 | }executed 4064906 times by 546 tests: end of blockExecuted by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
| 4064906 |
| 208 | }executed 4015432 times by 546 tests: end of blockExecuted by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
| 4015432 |
| 209 | | - |
| 210 | returnexecuted 4614286 times by 546 tests: return reinterpret_cast<QChar *>(dst);Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
reinterpret_cast<QChar *>(dst);executed 4614286 times by 546 tests: return reinterpret_cast<QChar *>(dst);Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- ...
| 4614286 |
| 211 | } | - |
| 212 | | - |
| 213 | QString QUtf8::convertToUnicode(const char *chars, int len, QTextCodec::ConverterState *state) | - |
| 214 | { | - |
| 215 | bool headerdone = false; | - |
| 216 | ushort replacement = QChar::ReplacementCharacter; | - |
| 217 | int invalid = 0; | - |
| 218 | int res; | - |
| 219 | uchar ch = 0; | - |
| 220 | QString result(len + 1, Qt::Uninitialized); | - |
| 221 | | - |
| 222 | ushort *dst = reinterpret_cast<ushort *>(const_cast<QChar *>(result.constData())); | - |
| 223 | const uchar *src = reinterpret_cast<const uchar *>(chars); | - |
| 224 | const uchar *end = src + len; | - |
| 225 | | - |
| 226 | if (state| TRUE | evaluated 41147320 times by 54 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| | FALSE | evaluated 279743 times by 337 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
|
) { | 279743-41147320 |
| 227 | if (state->flags & QTextCodec::IgnoreHeader| TRUE | evaluated 41134414 times by 6 testsEvaluated by:- tst_QMimeDatabase
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
| | FALSE | evaluated 12906 times by 54 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
|
) | 12906-41134414 |
| 228 | headerdone = true;executed 41134414 times by 6 tests: headerdone = true;Executed by:- tst_QMimeDatabase
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
| 41134414 |
| 229 | if (state->flags & QTextCodec::ConvertInvalidToNull| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 41147316 times by 54 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
|
) | 4-41147316 |
| 230 | replacement = QChar::Null;executed 4 times by 1 test: replacement = QChar::Null; | 4 |
| 231 | if (state->remainingChars| TRUE | evaluated 324 times by 6 testsEvaluated by:- tst_QMimeDatabase
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
| | FALSE | evaluated 41146996 times by 54 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
|
) { | 324-41146996 |
| 232 | | - |
| 233 | uchar remainingCharsData[4]; | - |
| 234 | int remainingCharsCount = state->remainingChars; | - |
| 235 | int newCharsToCopy = qMin<int>(sizeof(remainingCharsData) - remainingCharsCount, end - src); | - |
| 236 | | - |
| 237 | memset(remainingCharsData, 0, sizeof(remainingCharsData)); | - |
| 238 | memcpy(remainingCharsData, &state->state_data[0], remainingCharsCount); | - |
| 239 | memcpy(remainingCharsData + remainingCharsCount, src, newCharsToCopy); | - |
| 240 | | - |
| 241 | const uchar *begin = &remainingCharsData[1]; | - |
| 242 | res = QUtf8Functions::fromUtf8<QUtf8BaseTraits>(remainingCharsData[0], dst, begin, | - |
| 243 | static_cast<const uchar *>(remainingCharsData) + remainingCharsCount + newCharsToCopy); | - |
| 244 | if (res == QUtf8BaseTraits::Error| TRUE | evaluated 14 times by 1 test | | FALSE | evaluated 310 times by 6 testsEvaluated by:- tst_QMimeDatabase
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
|
|| (res == QUtf8BaseTraits::EndOfString| TRUE | evaluated 86 times by 5 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
| | FALSE | evaluated 224 times by 6 testsEvaluated by:- tst_QMimeDatabase
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
|
&& len == 0| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 80 times by 5 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
|
)) { | 6-310 |
| 245 | | - |
| 246 | | - |
| 247 | ++invalid; | - |
| 248 | *dst++ = replacement; | - |
| 249 | }executed 20 times by 1 test: end of block else if (res == QUtf8BaseTraits::EndOfString| TRUE | evaluated 80 times by 5 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
| | FALSE | evaluated 224 times by 6 testsEvaluated by:- tst_QMimeDatabase
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
|
) { | 20-224 |
| 250 | | - |
| 251 | | - |
| 252 | state->remainingChars = remainingCharsCount + newCharsToCopy; | - |
| 253 | memcpy(&state->state_data[0], remainingCharsData, state->remainingChars); | - |
| 254 | returnexecuted 80 times by 5 tests: return QString();Executed by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
QString();executed 80 times by 5 tests: return QString();Executed by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
| 80 |
| 255 | } else if (!headerdone| TRUE | evaluated 27 times by 3 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
- tst_Utf8
| | FALSE | evaluated 197 times by 6 testsEvaluated by:- tst_QMimeDatabase
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
|
&& res >= 0| TRUE | evaluated 27 times by 3 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
- tst_Utf8
| | FALSE | never evaluated |
) { | 0-197 |
| 256 | | - |
| 257 | headerdone = true; | - |
| 258 | if (dst[-1] == 0xfeff| TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
| | FALSE | evaluated 17 times by 2 tests |
) | 10-17 |
| 259 | --executed 10 times by 2 tests: --dst;Executed by:- tst_QTextCodec
- tst_QTextStream
dst;executed 10 times by 2 tests: --dst;Executed by:- tst_QTextCodec
- tst_QTextStream
| 10 |
| 260 | }executed 27 times by 3 tests: end of blockExecuted by:- tst_QTextCodec
- tst_QTextStream
- tst_Utf8
| 27 |
| 261 | | - |
| 262 | | - |
| 263 | if (res >= 0| TRUE | evaluated 224 times by 6 testsEvaluated by:- tst_QMimeDatabase
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
| | FALSE | evaluated 20 times by 1 test |
) { | 20-224 |
| 264 | ((!(res > remainingCharsCount)) ? qt_assert("res > remainingCharsCount",__FILE__,386) : qt_noop()); | - |
| 265 | src += res - remainingCharsCount; | - |
| 266 | }executed 224 times by 6 tests: end of blockExecuted by:- tst_QMimeDatabase
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
| 224 |
| 267 | }executed 244 times by 6 tests: end of blockExecuted by:- tst_QMimeDatabase
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
| 244 |
| 268 | }executed 41147240 times by 54 tests: end of blockExecuted by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| 41147240 |
| 269 | | - |
| 270 | | - |
| 271 | res = 0; | - |
| 272 | const uchar *nextAscii = src; | - |
| 273 | const uchar *start = src; | - |
| 274 | while (res >= 0| TRUE | evaluated 85706989 times by 344 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
| | FALSE | evaluated 258 times by 6 testsEvaluated by:- tst_QMimeDatabase
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
|
&& src < end| TRUE | evaluated 44293839 times by 344 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
| | FALSE | evaluated 41413150 times by 342 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
|
) { | 258-85706989 |
| 275 | if (src >= nextAscii| TRUE | evaluated 43858481 times by 344 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
| | FALSE | evaluated 435358 times by 33 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSidebar
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QStyle
- tst_QSystemTrayIcon
- tst_QTemporaryDir
- tst_QTemporaryFile
- ...
|
&& simdDecodeAscii(dst, nextAscii, src, end)| TRUE | evaluated 13575 times by 208 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDBusXmlParser
- tst_QDataWidgetMapper
- ...
| | FALSE | evaluated 43844906 times by 342 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
|
) | 13575-43858481 |
| 276 | break;executed 13575 times by 208 tests: break;Executed by:- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDBusXmlParser
- tst_QDataWidgetMapper
- ...
| 13575 |
| 277 | | - |
| 278 | ch = *src++; | - |
| 279 | res = QUtf8Functions::fromUtf8<QUtf8BaseTraits>(ch, dst, src, end); | - |
| 280 | if (!headerdone| TRUE | evaluated 280915 times by 342 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
| | FALSE | evaluated 43999349 times by 340 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
|
&& res >= 0| TRUE | evaluated 280030 times by 342 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
| | FALSE | evaluated 885 times by 5 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
|
) { | 885-43999349 |
| 281 | headerdone = true; | - |
| 282 | if (src == start + 3| TRUE | evaluated 151 times by 4 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
- tst_Utf8
| | FALSE | evaluated 279879 times by 342 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
|
) { | 151-279879 |
| 283 | | - |
| 284 | if (dst[-1] == 0xfeff| TRUE | evaluated 15 times by 3 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
| | FALSE | evaluated 136 times by 3 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
- tst_Utf8
|
) | 15-136 |
| 285 | --executed 15 times by 3 tests: --dst;Executed by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
dst;executed 15 times by 3 tests: --dst;Executed by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
| 15 |
| 286 | }executed 151 times by 4 tests: end of blockExecuted by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
- tst_Utf8
| 151 |
| 287 | }executed 280030 times by 342 tests: end of blockExecuted by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
| 280030 |
| 288 | if (res == QUtf8BaseTraits::Error| TRUE | evaluated 1176 times by 4 testsEvaluated by:- tst_QTextCodec
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
| | FALSE | evaluated 44279088 times by 342 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
|
) { | 1176-44279088 |
| 289 | res = 0; | - |
| 290 | ++invalid; | - |
| 291 | *dst++ = replacement; | - |
| 292 | }executed 1176 times by 4 tests: end of blockExecuted by:- tst_QTextCodec
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
| 1176 |
| 293 | }executed 44280264 times by 342 tests: end of blockExecuted by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
| 44280264 |
| 294 | | - |
| 295 | if (!state| TRUE | evaluated 279743 times by 337 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
| | FALSE | evaluated 41147240 times by 54 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
|
&& res == QUtf8BaseTraits::EndOfString| TRUE | evaluated 9 times by 1 test | | FALSE | evaluated 279734 times by 337 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
|
) { | 9-41147240 |
| 296 | | - |
| 297 | *dst++ = QChar::ReplacementCharacter; | - |
| 298 | while (src++ < end| TRUE | evaluated 5 times by 1 test | | FALSE | evaluated 9 times by 1 test |
) | 5-9 |
| 299 | *executed 5 times by 1 test: *dst++ = QChar::ReplacementCharacter; dst++ = QChar::ReplacementCharacter;executed 5 times by 1 test: *dst++ = QChar::ReplacementCharacter; | 5 |
| 300 | }executed 9 times by 1 test: end of block | 9 |
| 301 | | - |
| 302 | result.truncate(dst - (const ushort *)result.unicode()); | - |
| 303 | if (state| TRUE | evaluated 41147240 times by 54 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| | FALSE | evaluated 279743 times by 337 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
|
) { | 279743-41147240 |
| 304 | state->invalidChars += invalid; | - |
| 305 | if (headerdone| TRUE | evaluated 41146128 times by 54 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| | FALSE | evaluated 1112 times by 13 testsEvaluated by:- tst_QDBusXmlParser
- tst_QLayout
- tst_QLocalSocket
- tst_QSplitter
- tst_QTextCodec
- tst_QTextStream
- tst_QTimeZone
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Selftests
- tst_Utf8
- tst_qdbusxml2cpp - unknown status
- tst_qmakelib
|
) | 1112-41146128 |
| 306 | state->flags |= QTextCodec::IgnoreHeader;executed 41146128 times by 54 tests: state->flags |= QTextCodec::IgnoreHeader;Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| 41146128 |
| 307 | if (res == QUtf8BaseTraits::EndOfString| TRUE | evaluated 249 times by 6 testsEvaluated by:- tst_QMimeDatabase
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
| | FALSE | evaluated 41146991 times by 54 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
|
) { | 249-41146991 |
| 308 | --src; | - |
| 309 | state->remainingChars = end - src; | - |
| 310 | memcpy(&state->state_data[0], src, end - src); | - |
| 311 | }executed 249 times by 6 tests: end of blockExecuted by:- tst_QMimeDatabase
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
else { | 249 |
| 312 | state->remainingChars = 0; | - |
| 313 | }executed 41146991 times by 54 tests: end of blockExecuted by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- ...
| 41146991 |
| 314 | } | - |
| 315 | returnexecuted 41426983 times by 344 tests: return result;Executed by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
result;executed 41426983 times by 344 tests: return result;Executed by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
| 41426983 |
| 316 | } | - |
| 317 | | - |
| 318 | QByteArray QUtf16::convertFromUnicode(const QChar *uc, int len, QTextCodec::ConverterState *state, DataEndianness e) | - |
| 319 | { | - |
| 320 | DataEndianness endian = e; | - |
| 321 | int length = 2*len; | - |
| 322 | if (!state| TRUE | evaluated 52 times by 1 test | | FALSE | evaluated 16 times by 4 testsEvaluated by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
|
|| (| TRUE | evaluated 3 times by 2 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
| | FALSE | evaluated 13 times by 4 testsEvaluated by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
|
!(state->flags & QTextCodec::IgnoreHeader))| TRUE | evaluated 3 times by 2 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
| | FALSE | evaluated 13 times by 4 testsEvaluated by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
|
) { | 3-52 |
| 323 | length += 2; | - |
| 324 | }executed 55 times by 2 tests: end of blockExecuted by:- tst_QTextCodec
- tst_QTextStream
| 55 |
| 325 | if (e == DetectEndianness| TRUE | evaluated 15 times by 3 testsEvaluated by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
| | FALSE | evaluated 53 times by 3 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
|
) { | 15-53 |
| 326 | endian = (| TRUE | never evaluated | | FALSE | evaluated 15 times by 3 testsEvaluated by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
|
QSysInfo::ByteOrder == QSysInfo::BigEndian)| TRUE | never evaluated | | FALSE | evaluated 15 times by 3 testsEvaluated by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
|
? BigEndianness : LittleEndianness; | 0-15 |
| 327 | }executed 15 times by 3 tests: end of blockExecuted by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
| 15 |
| 328 | | - |
| 329 | QByteArray d; | - |
| 330 | d.resize(length); | - |
| 331 | char *data = d.data(); | - |
| 332 | if (!state| TRUE | evaluated 52 times by 1 test | | FALSE | evaluated 16 times by 4 testsEvaluated by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
|
|| !(state->flags & QTextCodec::IgnoreHeader)| TRUE | evaluated 3 times by 2 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
| | FALSE | evaluated 13 times by 4 testsEvaluated by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
|
) { | 3-52 |
| 333 | QChar bom(QChar::ByteOrderMark); | - |
| 334 | if (endian == BigEndianness| TRUE | evaluated 23 times by 1 test | | FALSE | evaluated 32 times by 2 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
|
) { | 23-32 |
| 335 | data[0] = bom.row(); | - |
| 336 | data[1] = bom.cell(); | - |
| 337 | }executed 23 times by 1 test: end of block else { | 23 |
| 338 | data[0] = bom.cell(); | - |
| 339 | data[1] = bom.row(); | - |
| 340 | }executed 32 times by 2 tests: end of blockExecuted by:- tst_QTextCodec
- tst_QTextStream
| 32 |
| 341 | data += 2; | - |
| 342 | }executed 55 times by 2 tests: end of blockExecuted by:- tst_QTextCodec
- tst_QTextStream
| 55 |
| 343 | if (endian == BigEndianness| TRUE | evaluated 23 times by 1 test | | FALSE | evaluated 45 times by 4 testsEvaluated by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
|
) { | 23-45 |
| 344 | for (int i = 0; i < len| TRUE | evaluated 206 times by 1 test | | FALSE | evaluated 23 times by 1 test |
; ++i) { | 23-206 |
| 345 | *(data++) = uc[i].row(); | - |
| 346 | *(data++) = uc[i].cell(); | - |
| 347 | }executed 206 times by 1 test: end of block | 206 |
| 348 | }executed 23 times by 1 test: end of block else { | 23 |
| 349 | for (int i = 0; i < len| TRUE | evaluated 337 times by 4 testsEvaluated by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
| | FALSE | evaluated 45 times by 4 testsEvaluated by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
|
; ++i) { | 45-337 |
| 350 | *(data++) = uc[i].cell(); | - |
| 351 | *(data++) = uc[i].row(); | - |
| 352 | }executed 337 times by 4 tests: end of blockExecuted by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
| 337 |
| 353 | }executed 45 times by 4 tests: end of blockExecuted by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
| 45 |
| 354 | | - |
| 355 | if (state| TRUE | evaluated 16 times by 4 testsEvaluated by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
| | FALSE | evaluated 52 times by 1 test |
) { | 16-52 |
| 356 | state->remainingChars = 0; | - |
| 357 | state->flags |= QTextCodec::IgnoreHeader; | - |
| 358 | }executed 16 times by 4 tests: end of blockExecuted by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
| 16 |
| 359 | returnexecuted 68 times by 4 tests: return d;Executed by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
d;executed 68 times by 4 tests: return d;Executed by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
| 68 |
| 360 | } | - |
| 361 | | - |
| 362 | QString QUtf16::convertToUnicode(const char *chars, int len, QTextCodec::ConverterState *state, DataEndianness e) | - |
| 363 | { | - |
| 364 | DataEndianness endian = e; | - |
| 365 | bool half = false; | - |
| 366 | uchar buf = 0; | - |
| 367 | bool headerdone = false; | - |
| 368 | if (state| TRUE | evaluated 1988 times by 4 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
| | FALSE | evaluated 233881 times by 18 testsEvaluated by:- tst_QDebug
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextCodec
- tst_QUrlInternal
- tst_Utf8
|
) { | 1988-233881 |
| 369 | headerdone = state->flags & QTextCodec::IgnoreHeader; | - |
| 370 | if (endian == DetectEndianness| TRUE | evaluated 1171 times by 3 testsEvaluated by:- tst_QTextCodec
- tst_QXmlSimpleReader
- tst_QXmlStream
| | FALSE | evaluated 817 times by 4 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
|
) | 817-1171 |
| 371 | endian = (DataEndianness)state->state_data[Endian];executed 1171 times by 3 tests: endian = (DataEndianness)state->state_data[Endian];Executed by:- tst_QTextCodec
- tst_QXmlSimpleReader
- tst_QXmlStream
| 1171 |
| 372 | if (state->remainingChars| TRUE | evaluated 651 times by 3 testsEvaluated by:- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
| | FALSE | evaluated 1337 times by 4 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
|
) { | 651-1337 |
| 373 | half = true; | - |
| 374 | buf = state->state_data[Data]; | - |
| 375 | }executed 651 times by 3 tests: end of blockExecuted by:- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
| 651 |
| 376 | }executed 1988 times by 4 tests: end of blockExecuted by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
| 1988 |
| 377 | if (headerdone| TRUE | evaluated 1659 times by 4 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
| | FALSE | evaluated 234210 times by 21 testsEvaluated by:- tst_QDebug
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextCodec
- tst_QTextStream
- tst_QUrlInternal
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
|
&& endian == DetectEndianness| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 1658 times by 4 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
|
) | 1-234210 |
| 378 | endian = (| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
QSysInfo::ByteOrder == QSysInfo::BigEndian)| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
? BigEndianness : LittleEndianness;executed 1 time by 1 test: endian = (QSysInfo::ByteOrder == QSysInfo::BigEndian) ? BigEndianness : LittleEndianness; | 0-1 |
| 379 | | - |
| 380 | QString result(len, Qt::Uninitialized); | - |
| 381 | QChar *qch = (QChar *)result.data(); | - |
| 382 | while (len--| TRUE | evaluated 1186645 times by 21 testsEvaluated by:- tst_QDebug
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextCodec
- tst_QTextStream
- tst_QUrlInternal
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
| | FALSE | evaluated 235869 times by 21 testsEvaluated by:- tst_QDebug
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextCodec
- tst_QTextStream
- tst_QUrlInternal
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
|
) { | 235869-1186645 |
| 383 | if (half| TRUE | evaluated 593322 times by 21 testsEvaluated by:- tst_QDebug
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextCodec
- tst_QTextStream
- tst_QUrlInternal
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
| | FALSE | evaluated 593323 times by 21 testsEvaluated by:- tst_QDebug
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextCodec
- tst_QTextStream
- tst_QUrlInternal
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
|
) { | 593322-593323 |
| 384 | QChar ch; | - |
| 385 | if (endian == LittleEndianness| TRUE | evaluated 356752 times by 21 testsEvaluated by:- tst_QDebug
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextCodec
- tst_QTextStream
- tst_QUrlInternal
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
| | FALSE | evaluated 236570 times by 21 testsEvaluated by:- tst_QDebug
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextCodec
- tst_QTextStream
- tst_QUrlInternal
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
|
) { | 236570-356752 |
| 386 | ch.setRow(*chars++); | - |
| 387 | ch.setCell(buf); | - |
| 388 | }executed 356752 times by 21 tests: end of blockExecuted by:- tst_QDebug
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextCodec
- tst_QTextStream
- tst_QUrlInternal
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
else { | 356752 |
| 389 | ch.setRow(buf); | - |
| 390 | ch.setCell(*chars++); | - |
| 391 | }executed 236570 times by 21 tests: end of blockExecuted by:- tst_QDebug
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextCodec
- tst_QTextStream
- tst_QUrlInternal
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
| 236570 |
| 392 | if (!headerdone| TRUE | evaluated 234162 times by 21 testsEvaluated by:- tst_QDebug
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextCodec
- tst_QTextStream
- tst_QUrlInternal
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
| | FALSE | evaluated 359160 times by 21 testsEvaluated by:- tst_QDebug
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextCodec
- tst_QTextStream
- tst_QUrlInternal
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
|
) { | 234162-359160 |
| 393 | headerdone = true; | - |
| 394 | if (endian == DetectEndianness| TRUE | evaluated 233914 times by 20 testsEvaluated by:- tst_QDebug
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextCodec
- tst_QUrlInternal
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
| | FALSE | evaluated 248 times by 4 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
|
) { | 248-233914 |
| 395 | if (ch == QChar::ByteOrderSwapped| TRUE | evaluated 78 times by 3 testsEvaluated by:- tst_QTextCodec
- tst_QXmlSimpleReader
- tst_QXmlStream
| | FALSE | evaluated 233836 times by 20 testsEvaluated by:- tst_QDebug
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextCodec
- tst_QUrlInternal
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
|
) { | 78-233836 |
| 396 | endian = LittleEndianness; | - |
| 397 | }executed 78 times by 3 tests: end of blockExecuted by:- tst_QTextCodec
- tst_QXmlSimpleReader
- tst_QXmlStream
else if (ch == QChar::ByteOrderMark| TRUE | evaluated 3 times by 3 testsEvaluated by:- tst_QTextCodec
- tst_QXmlSimpleReader
- tst_QXmlStream
| | FALSE | evaluated 233833 times by 19 testsEvaluated by:- tst_QDebug
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextCodec
- tst_QUrlInternal
- tst_QXmlStream
- tst_Utf8
|
) { | 3-233833 |
| 398 | endian = BigEndianness; | - |
| 399 | }executed 3 times by 3 tests: end of blockExecuted by:- tst_QTextCodec
- tst_QXmlSimpleReader
- tst_QXmlStream
else { | 3 |
| 400 | if (QSysInfo::ByteOrder == QSysInfo::BigEndian| TRUE | never evaluated | | FALSE | evaluated 233833 times by 19 testsEvaluated by:- tst_QDebug
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextCodec
- tst_QUrlInternal
- tst_QXmlStream
- tst_Utf8
|
) { | 0-233833 |
| 401 | endian = BigEndianness; | - |
| 402 | } never executed: end of block else { | 0 |
| 403 | endian = LittleEndianness; | - |
| 404 | ch = QChar((ch.unicode() >> 8) | ((ch.unicode() & 0xff) << 8)); | - |
| 405 | }executed 233833 times by 19 tests: end of blockExecuted by:- tst_QDebug
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextCodec
- tst_QUrlInternal
- tst_QXmlStream
- tst_Utf8
| 233833 |
| 406 | *qch++ = ch; | - |
| 407 | }executed 233833 times by 19 tests: end of blockExecuted by:- tst_QDebug
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextCodec
- tst_QUrlInternal
- tst_QXmlStream
- tst_Utf8
| 233833 |
| 408 | } else if (ch != QChar::ByteOrderMark| TRUE | evaluated 4 times by 3 testsEvaluated by:- tst_QTextCodec
- tst_QXmlSimpleReader
- tst_QXmlStream
| | FALSE | evaluated 244 times by 2 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
|
) { | 4-244 |
| 409 | *qch++ = ch; | - |
| 410 | }executed 4 times by 3 tests: end of blockExecuted by:- tst_QTextCodec
- tst_QXmlSimpleReader
- tst_QXmlStream
| 4 |
| 411 | }executed 234162 times by 21 tests: end of blockExecuted by:- tst_QDebug
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextCodec
- tst_QTextStream
- tst_QUrlInternal
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
else { | 234162 |
| 412 | *qch++ = ch; | - |
| 413 | }executed 359160 times by 21 tests: end of blockExecuted by:- tst_QDebug
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextCodec
- tst_QTextStream
- tst_QUrlInternal
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
| 359160 |
| 414 | half = false; | - |
| 415 | }executed 593322 times by 21 tests: end of blockExecuted by:- tst_QDebug
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextCodec
- tst_QTextStream
- tst_QUrlInternal
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
else { | 593322 |
| 416 | buf = *chars++; | - |
| 417 | half = true; | - |
| 418 | }executed 593323 times by 21 tests: end of blockExecuted by:- tst_QDebug
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextCodec
- tst_QTextStream
- tst_QUrlInternal
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
| 593323 |
| 419 | } | - |
| 420 | result.truncate(qch - result.unicode()); | - |
| 421 | | - |
| 422 | if (state| TRUE | evaluated 1988 times by 4 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
| | FALSE | evaluated 233881 times by 18 testsEvaluated by:- tst_QDebug
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextCodec
- tst_QUrlInternal
- tst_Utf8
|
) { | 1988-233881 |
| 423 | if (headerdone| TRUE | evaluated 1940 times by 4 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
| | FALSE | evaluated 48 times by 1 test |
) | 48-1940 |
| 424 | state->flags |= QTextCodec::IgnoreHeader;executed 1940 times by 4 tests: state->flags |= QTextCodec::IgnoreHeader;Executed by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
| 1940 |
| 425 | state->state_data[Endian] = endian; | - |
| 426 | if (half| TRUE | evaluated 652 times by 3 testsEvaluated by:- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
| | FALSE | evaluated 1336 times by 4 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
|
) { | 652-1336 |
| 427 | state->remainingChars = 1; | - |
| 428 | state->state_data[Data] = buf; | - |
| 429 | }executed 652 times by 3 tests: end of blockExecuted by:- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
else { | 652 |
| 430 | state->remainingChars = 0; | - |
| 431 | state->state_data[Data] = 0; | - |
| 432 | }executed 1336 times by 4 tests: end of blockExecuted by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
| 1336 |
| 433 | } | - |
| 434 | returnexecuted 235869 times by 21 tests: return result;Executed by:- tst_QDebug
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextCodec
- tst_QTextStream
- tst_QUrlInternal
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
result;executed 235869 times by 21 tests: return result;Executed by:- tst_QDebug
- tst_QItemModel
- tst_QNetworkCookieJar
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlResult
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringRef
- tst_QTextCodec
- tst_QTextStream
- tst_QUrlInternal
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
| 235869 |
| 435 | } | - |
| 436 | | - |
| 437 | QByteArray QUtf32::convertFromUnicode(const QChar *uc, int len, QTextCodec::ConverterState *state, DataEndianness e) | - |
| 438 | { | - |
| 439 | DataEndianness endian = e; | - |
| 440 | int length = 4*len; | - |
| 441 | if (!state| TRUE | evaluated 22 times by 1 test | | FALSE | evaluated 4 times by 1 test |
|| (| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 2 times by 1 test |
!(state->flags & QTextCodec::IgnoreHeader))| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 2 times by 1 test |
) { | 2-22 |
| 442 | length += 4; | - |
| 443 | }executed 24 times by 1 test: end of block | 24 |
| 444 | if (e == DetectEndianness| TRUE | evaluated 11 times by 1 test | | FALSE | evaluated 15 times by 1 test |
) { | 11-15 |
| 445 | endian = (| TRUE | never evaluated | | FALSE | evaluated 11 times by 1 test |
QSysInfo::ByteOrder == QSysInfo::BigEndian)| TRUE | never evaluated | | FALSE | evaluated 11 times by 1 test |
? BigEndianness : LittleEndianness; | 0-11 |
| 446 | }executed 11 times by 1 test: end of block | 11 |
| 447 | | - |
| 448 | QByteArray d(length, Qt::Uninitialized); | - |
| 449 | char *data = d.data(); | - |
| 450 | if (!state| TRUE | evaluated 22 times by 1 test | | FALSE | evaluated 4 times by 1 test |
|| !(state->flags & QTextCodec::IgnoreHeader)| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 2 times by 1 test |
) { | 2-22 |
| 451 | if (endian == BigEndianness| TRUE | evaluated 7 times by 1 test | | FALSE | evaluated 17 times by 1 test |
) { | 7-17 |
| 452 | data[0] = 0; | - |
| 453 | data[1] = 0; | - |
| 454 | data[2] = (char)0xfe; | - |
| 455 | data[3] = (char)0xff; | - |
| 456 | }executed 7 times by 1 test: end of block else { | 7 |
| 457 | data[0] = (char)0xff; | - |
| 458 | data[1] = (char)0xfe; | - |
| 459 | data[2] = 0; | - |
| 460 | data[3] = 0; | - |
| 461 | }executed 17 times by 1 test: end of block | 17 |
| 462 | data += 4; | - |
| 463 | }executed 24 times by 1 test: end of block | 24 |
| 464 | | - |
| 465 | QStringIterator i(uc, uc + len); | - |
| 466 | if (endian == BigEndianness| TRUE | evaluated 7 times by 1 test | | FALSE | evaluated 19 times by 1 test |
) { | 7-19 |
| 467 | while (i.hasNext()| TRUE | evaluated 54 times by 1 test | | FALSE | evaluated 7 times by 1 test |
) { | 7-54 |
| 468 | uint cp = i.next(); | - |
| 469 | | - |
| 470 | *(data++) = cp >> 24; | - |
| 471 | *(data++) = (cp >> 16) & 0xff; | - |
| 472 | *(data++) = (cp >> 8) & 0xff; | - |
| 473 | *(data++) = cp & 0xff; | - |
| 474 | }executed 54 times by 1 test: end of block | 54 |
| 475 | }executed 7 times by 1 test: end of block else { | 7 |
| 476 | while (i.hasNext()| TRUE | evaluated 122 times by 1 test | | FALSE | evaluated 19 times by 1 test |
) { | 19-122 |
| 477 | uint cp = i.next(); | - |
| 478 | | - |
| 479 | *(data++) = cp & 0xff; | - |
| 480 | *(data++) = (cp >> 8) & 0xff; | - |
| 481 | *(data++) = (cp >> 16) & 0xff; | - |
| 482 | *(data++) = cp >> 24; | - |
| 483 | }executed 122 times by 1 test: end of block | 122 |
| 484 | }executed 19 times by 1 test: end of block | 19 |
| 485 | | - |
| 486 | if (state| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 22 times by 1 test |
) { | 4-22 |
| 487 | state->remainingChars = 0; | - |
| 488 | state->flags |= QTextCodec::IgnoreHeader; | - |
| 489 | }executed 4 times by 1 test: end of block | 4 |
| 490 | returnexecuted 26 times by 1 test: return d; d;executed 26 times by 1 test: return d; | 26 |
| 491 | } | - |
| 492 | | - |
| 493 | QString QUtf32::convertToUnicode(const char *chars, int len, QTextCodec::ConverterState *state, DataEndianness e) | - |
| 494 | { | - |
| 495 | DataEndianness endian = e; | - |
| 496 | uchar tuple[4]; | - |
| 497 | int num = 0; | - |
| 498 | bool headerdone = false; | - |
| 499 | if (state| TRUE | evaluated 364 times by 2 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
| | FALSE | evaluated 410534 times by 9 testsEvaluated by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QXmlStream
- tst_Utf8
- tst_qmakelib
|
) { | 364-410534 |
| 500 | headerdone = state->flags & QTextCodec::IgnoreHeader; | - |
| 501 | if (endian == DetectEndianness| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 360 times by 2 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
|
) { | 4-360 |
| 502 | endian = (DataEndianness)state->state_data[Endian]; | - |
| 503 | }executed 4 times by 1 test: end of block | 4 |
| 504 | num = state->remainingChars; | - |
| 505 | memcpy(tuple, &state->state_data[Data], 4); | - |
| 506 | }executed 364 times by 2 tests: end of blockExecuted by:- tst_QTextCodec
- tst_QTextStream
| 364 |
| 507 | if (headerdone| TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 410895 times by 10 testsEvaluated by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QTextStream
- tst_QXmlStream
- tst_Utf8
- tst_qmakelib
|
&& endian == DetectEndianness| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 2 times by 1 test |
) | 1-410895 |
| 508 | endian = (| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
QSysInfo::ByteOrder == QSysInfo::BigEndian)| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
? BigEndianness : LittleEndianness;executed 1 time by 1 test: endian = (QSysInfo::ByteOrder == QSysInfo::BigEndian) ? BigEndianness : LittleEndianness; | 0-1 |
| 509 | | - |
| 510 | QString result; | - |
| 511 | result.resize((num + len) >> 2 << 1); | - |
| 512 | QChar *qch = (QChar *)result.data(); | - |
| 513 | | - |
| 514 | const char *end = chars + len; | - |
| 515 | while (chars < end| TRUE | evaluated 1647700 times by 10 testsEvaluated by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QTextStream
- tst_QXmlStream
- tst_Utf8
- tst_qmakelib
| | FALSE | evaluated 410898 times by 10 testsEvaluated by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QTextStream
- tst_QXmlStream
- tst_Utf8
- tst_qmakelib
|
) { | 410898-1647700 |
| 516 | tuple[num++] = *chars++; | - |
| 517 | if (num == 4| TRUE | evaluated 411925 times by 10 testsEvaluated by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QTextStream
- tst_QXmlStream
- tst_Utf8
- tst_qmakelib
| | FALSE | evaluated 1235775 times by 10 testsEvaluated by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QTextStream
- tst_QXmlStream
- tst_Utf8
- tst_qmakelib
|
) { | 411925-1235775 |
| 518 | if (!headerdone| TRUE | evaluated 411913 times by 10 testsEvaluated by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QTextStream
- tst_QXmlStream
- tst_Utf8
- tst_qmakelib
| | FALSE | evaluated 12 times by 1 test |
) { | 12-411913 |
| 519 | if (endian == DetectEndianness| TRUE | evaluated 410515 times by 9 testsEvaluated by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QXmlStream
- tst_Utf8
- tst_qmakelib
| | FALSE | evaluated 1398 times by 5 testsEvaluated by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_Utf8
- tst_qmakelib
|
) { | 1398-410515 |
| 520 | if (tuple[0] == 0xff| TRUE | evaluated 9 times by 1 test | | FALSE | evaluated 410506 times by 9 testsEvaluated by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QXmlStream
- tst_Utf8
- tst_qmakelib
|
&& tuple[1] == 0xfe| TRUE | evaluated 9 times by 1 test | | FALSE | never evaluated |
&& tuple[2] == 0| TRUE | evaluated 9 times by 1 test | | FALSE | never evaluated |
&& tuple[3] == 0| TRUE | evaluated 9 times by 1 test | | FALSE | never evaluated |
&& endian != BigEndianness| TRUE | evaluated 9 times by 1 test | | FALSE | never evaluated |
) { | 0-410506 |
| 521 | endian = LittleEndianness; | - |
| 522 | num = 0; | - |
| 523 | continue;executed 9 times by 1 test: continue; | 9 |
| 524 | } else if (tuple[0] == 0| TRUE | evaluated 22 times by 4 testsEvaluated by:- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QXmlStream
| | FALSE | evaluated 410484 times by 9 testsEvaluated by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QXmlStream
- tst_Utf8
- tst_qmakelib
|
&& tuple[1] == 0| TRUE | evaluated 14 times by 4 testsEvaluated by:- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QXmlStream
| | FALSE | evaluated 8 times by 1 test |
&& tuple[2] == 0xfe| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 13 times by 3 testsEvaluated by:- tst_QString
- tst_QStringIterator
- tst_QXmlStream
|
&& tuple[3] == 0xff| TRUE | evaluated 1 time by 1 test | | FALSE | never evaluated |
&& endian != LittleEndianness| TRUE | evaluated 1 time by 1 test | | FALSE | never evaluated |
) { | 0-410484 |
| 525 | endian = BigEndianness; | - |
| 526 | num = 0; | - |
| 527 | continue;executed 1 time by 1 test: continue; | 1 |
| 528 | } else if (QSysInfo::ByteOrder == QSysInfo::BigEndian| TRUE | never evaluated | | FALSE | evaluated 410505 times by 9 testsEvaluated by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QXmlStream
- tst_Utf8
- tst_qmakelib
|
) { | 0-410505 |
| 529 | endian = BigEndianness; | - |
| 530 | } never executed: end of block else { | 0 |
| 531 | endian = LittleEndianness; | - |
| 532 | }executed 410505 times by 9 tests: end of blockExecuted by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QXmlStream
- tst_Utf8
- tst_qmakelib
| 410505 |
| 533 | } else if (((| TRUE | evaluated 220 times by 2 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
| | FALSE | evaluated 1178 times by 5 testsEvaluated by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_Utf8
- tst_qmakelib
|
endian == BigEndianness)| TRUE | evaluated 220 times by 2 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
| | FALSE | evaluated 1178 times by 5 testsEvaluated by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_Utf8
- tst_qmakelib
|
? qFromBigEndian<quint32>(tuple) : qFromLittleEndian<quint32>(tuple)) == QChar::ByteOrderMark| TRUE | evaluated 47 times by 2 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
| | FALSE | evaluated 1351 times by 5 testsEvaluated by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_Utf8
- tst_qmakelib
|
) { | 47-1351 |
| 534 | num = 0; | - |
| 535 | continue;executed 47 times by 2 tests: continue;Executed by:- tst_QTextCodec
- tst_QTextStream
| 47 |
| 536 | } | - |
| 537 | }executed 411856 times by 10 tests: end of blockExecuted by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QTextStream
- tst_QXmlStream
- tst_Utf8
- tst_qmakelib
| 411856 |
| 538 | uint code = (| TRUE | evaluated 200 times by 2 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
| | FALSE | evaluated 411668 times by 10 testsEvaluated by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QTextStream
- tst_QXmlStream
- tst_Utf8
- tst_qmakelib
|
endian == BigEndianness)| TRUE | evaluated 200 times by 2 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
| | FALSE | evaluated 411668 times by 10 testsEvaluated by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QTextStream
- tst_QXmlStream
- tst_Utf8
- tst_qmakelib
|
? qFromBigEndian<quint32>(tuple) : qFromLittleEndian<quint32>(tuple); | 200-411668 |
| 539 | if (QChar::requiresSurrogates(code)| TRUE | evaluated 58 times by 4 testsEvaluated by:- tst_QString
- tst_QStringIterator
- tst_QXmlStream
- tst_Utf8
| | FALSE | evaluated 411810 times by 9 testsEvaluated by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QTextStream
- tst_Utf8
- tst_qmakelib
|
) { | 58-411810 |
| 540 | *qch++ = QChar::highSurrogate(code); | - |
| 541 | *qch++ = QChar::lowSurrogate(code); | - |
| 542 | }executed 58 times by 4 tests: end of blockExecuted by:- tst_QString
- tst_QStringIterator
- tst_QXmlStream
- tst_Utf8
else { | 58 |
| 543 | *qch++ = code; | - |
| 544 | }executed 411810 times by 9 tests: end of blockExecuted by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QTextStream
- tst_Utf8
- tst_qmakelib
| 411810 |
| 545 | num = 0; | - |
| 546 | }executed 411868 times by 10 tests: end of blockExecuted by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QTextStream
- tst_QXmlStream
- tst_Utf8
- tst_qmakelib
| 411868 |
| 547 | }executed 1647643 times by 10 tests: end of blockExecuted by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QTextStream
- tst_QXmlStream
- tst_Utf8
- tst_qmakelib
| 1647643 |
| 548 | result.truncate(qch - result.unicode()); | - |
| 549 | | - |
| 550 | if (state| TRUE | evaluated 364 times by 2 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
| | FALSE | evaluated 410534 times by 9 testsEvaluated by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QXmlStream
- tst_Utf8
- tst_qmakelib
|
) { | 364-410534 |
| 551 | if (headerdone| TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 361 times by 2 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
|
) | 3-361 |
| 552 | state->flags |= QTextCodec::IgnoreHeader;executed 3 times by 1 test: state->flags |= QTextCodec::IgnoreHeader; | 3 |
| 553 | state->state_data[Endian] = endian; | - |
| 554 | state->remainingChars = num; | - |
| 555 | memcpy(&state->state_data[Data], tuple, 4); | - |
| 556 | }executed 364 times by 2 tests: end of blockExecuted by:- tst_QTextCodec
- tst_QTextStream
| 364 |
| 557 | returnexecuted 410898 times by 10 tests: return result;Executed by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QTextStream
- tst_QXmlStream
- tst_Utf8
- tst_qmakelib
result;executed 410898 times by 10 tests: return result;Executed by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QTextStream
- tst_QXmlStream
- tst_Utf8
- tst_qmakelib
| 410898 |
| 558 | } | - |
| 559 | | - |
| 560 | | - |
| 561 | | - |
| 562 | | - |
| 563 | QUtf8Codec::~QUtf8Codec() | - |
| 564 | { | - |
| 565 | } | - |
| 566 | | - |
| 567 | QByteArray QUtf8Codec::convertFromUnicode(const QChar *uc, int len, ConverterState *state) const | - |
| 568 | { | - |
| 569 | returnexecuted 490073 times by 409 tests: return QUtf8::convertFromUnicode(uc, len, state);Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
QUtf8::convertFromUnicode(uc, len, state);executed 490073 times by 409 tests: return QUtf8::convertFromUnicode(uc, len, state);Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- ...
| 490073 |
| 570 | } | - |
| 571 | | - |
| 572 | void QUtf8Codec::convertToUnicode(QString *target, const char *chars, int len, ConverterState *state) const | - |
| 573 | { | - |
| 574 | *target += QUtf8::convertToUnicode(chars, len, state); | - |
| 575 | }executed 62786 times by 37 tests: end of blockExecuted by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- ...
| 62786 |
| 576 | | - |
| 577 | QString QUtf8Codec::convertToUnicode(const char *chars, int len, ConverterState *state) const | - |
| 578 | { | - |
| 579 | returnexecuted 41364277 times by 337 tests: return QUtf8::convertToUnicode(chars, len, state);Executed by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
QUtf8::convertToUnicode(chars, len, state);executed 41364277 times by 337 tests: return QUtf8::convertToUnicode(chars, len, state);Executed by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- ...
| 41364277 |
| 580 | } | - |
| 581 | | - |
| 582 | QByteArray QUtf8Codec::name() const | - |
| 583 | { | - |
| 584 | returnexecuted 357 times by 38 tests: return "UTF-8";Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QClipboard
- tst_QComboBox
- tst_QCompleter
- tst_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGlobal
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QMimeData
- tst_QMimeDatabase
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- ...
"UTF-8";executed 357 times by 38 tests: return "UTF-8";Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QClipboard
- tst_QComboBox
- tst_QCompleter
- tst_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGlobal
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QMimeData
- tst_QMimeDatabase
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- ...
| 357 |
| 585 | } | - |
| 586 | | - |
| 587 | int QUtf8Codec::mibEnum() const | - |
| 588 | { | - |
| 589 | returnexecuted 63049 times by 43 tests: return 106;Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- ...
106;executed 63049 times by 43 tests: return 106;Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- ...
| 63049 |
| 590 | } | - |
| 591 | | - |
| 592 | QUtf16Codec::~QUtf16Codec() | - |
| 593 | { | - |
| 594 | } | - |
| 595 | | - |
| 596 | QByteArray QUtf16Codec::convertFromUnicode(const QChar *uc, int len, ConverterState *state) const | - |
| 597 | { | - |
| 598 | returnexecuted 68 times by 4 tests: return QUtf16::convertFromUnicode(uc, len, state, e);Executed by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
QUtf16::convertFromUnicode(uc, len, state, e);executed 68 times by 4 tests: return QUtf16::convertFromUnicode(uc, len, state, e);Executed by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
| 68 |
| 599 | } | - |
| 600 | | - |
| 601 | QString QUtf16Codec::convertToUnicode(const char *chars, int len, ConverterState *state) const | - |
| 602 | { | - |
| 603 | returnexecuted 2038 times by 4 tests: return QUtf16::convertToUnicode(chars, len, state, e);Executed by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
QUtf16::convertToUnicode(chars, len, state, e);executed 2038 times by 4 tests: return QUtf16::convertToUnicode(chars, len, state, e);Executed by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
| 2038 |
| 604 | } | - |
| 605 | | - |
| 606 | int QUtf16Codec::mibEnum() const | - |
| 607 | { | - |
| 608 | returnexecuted 445 times by 3 tests: return 1015;Executed by:- tst_QTextCodec
- tst_QXmlSimpleReader
- tst_QXmlStream
1015;executed 445 times by 3 tests: return 1015;Executed by:- tst_QTextCodec
- tst_QXmlSimpleReader
- tst_QXmlStream
| 445 |
| 609 | } | - |
| 610 | | - |
| 611 | QByteArray QUtf16Codec::name() const | - |
| 612 | { | - |
| 613 | returnexecuted 145 times by 5 tests: return "UTF-16";Executed by:- tst_QTextCodec
- tst_QTextDocument
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
"UTF-16";executed 145 times by 5 tests: return "UTF-16";Executed by:- tst_QTextCodec
- tst_QTextDocument
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
| 145 |
| 614 | } | - |
| 615 | | - |
| 616 | QList<QByteArray> QUtf16Codec::aliases() const | - |
| 617 | { | - |
| 618 | returnexecuted 143 times by 4 tests: return QList<QByteArray>();Executed by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
QList<QByteArray>();executed 143 times by 4 tests: return QList<QByteArray>();Executed by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
| 143 |
| 619 | } | - |
| 620 | | - |
| 621 | int QUtf16BECodec::mibEnum() const | - |
| 622 | { | - |
| 623 | returnexecuted 22 times by 3 tests: return 1013;Executed by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
1013;executed 22 times by 3 tests: return 1013;Executed by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
| 22 |
| 624 | } | - |
| 625 | | - |
| 626 | QByteArray QUtf16BECodec::name() const | - |
| 627 | { | - |
| 628 | returnexecuted 159 times by 3 tests: return "UTF-16BE";Executed by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
"UTF-16BE";executed 159 times by 3 tests: return "UTF-16BE";Executed by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
| 159 |
| 629 | } | - |
| 630 | | - |
| 631 | QList<QByteArray> QUtf16BECodec::aliases() const | - |
| 632 | { | - |
| 633 | QList<QByteArray> list; | - |
| 634 | returnexecuted 158 times by 3 tests: return list;Executed by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
list;executed 158 times by 3 tests: return list;Executed by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
| 158 |
| 635 | } | - |
| 636 | | - |
| 637 | int QUtf16LECodec::mibEnum() const | - |
| 638 | { | - |
| 639 | returnexecuted 22 times by 2 tests: return 1014;Executed by:- tst_QTextCodec
- tst_QTextStream
1014;executed 22 times by 2 tests: return 1014;Executed by:- tst_QTextCodec
- tst_QTextStream
| 22 |
| 640 | } | - |
| 641 | | - |
| 642 | QByteArray QUtf16LECodec::name() const | - |
| 643 | { | - |
| 644 | returnexecuted 153 times by 4 tests: return "UTF-16LE";Executed by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
"UTF-16LE";executed 153 times by 4 tests: return "UTF-16LE";Executed by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
| 153 |
| 645 | } | - |
| 646 | | - |
| 647 | QList<QByteArray> QUtf16LECodec::aliases() const | - |
| 648 | { | - |
| 649 | QList<QByteArray> list; | - |
| 650 | returnexecuted 150 times by 4 tests: return list;Executed by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
list;executed 150 times by 4 tests: return list;Executed by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
| 150 |
| 651 | } | - |
| 652 | | - |
| 653 | QUtf32Codec::~QUtf32Codec() | - |
| 654 | { | - |
| 655 | } | - |
| 656 | | - |
| 657 | QByteArray QUtf32Codec::convertFromUnicode(const QChar *uc, int len, ConverterState *state) const | - |
| 658 | { | - |
| 659 | returnexecuted 26 times by 1 test: return QUtf32::convertFromUnicode(uc, len, state, e); QUtf32::convertFromUnicode(uc, len, state, e);executed 26 times by 1 test: return QUtf32::convertFromUnicode(uc, len, state, e); | 26 |
| 660 | } | - |
| 661 | | - |
| 662 | QString QUtf32Codec::convertToUnicode(const char *chars, int len, ConverterState *state) const | - |
| 663 | { | - |
| 664 | returnexecuted 383 times by 2 tests: return QUtf32::convertToUnicode(chars, len, state, e);Executed by:- tst_QTextCodec
- tst_QTextStream
QUtf32::convertToUnicode(chars, len, state, e);executed 383 times by 2 tests: return QUtf32::convertToUnicode(chars, len, state, e);Executed by:- tst_QTextCodec
- tst_QTextStream
| 383 |
| 665 | } | - |
| 666 | | - |
| 667 | int QUtf32Codec::mibEnum() const | - |
| 668 | { | - |
| 669 | returnexecuted 17 times by 1 test: return 1017; 1017;executed 17 times by 1 test: return 1017; | 17 |
| 670 | } | - |
| 671 | | - |
| 672 | QByteArray QUtf32Codec::name() const | - |
| 673 | { | - |
| 674 | returnexecuted 131 times by 1 test: return "UTF-32"; "UTF-32";executed 131 times by 1 test: return "UTF-32"; | 131 |
| 675 | } | - |
| 676 | | - |
| 677 | QList<QByteArray> QUtf32Codec::aliases() const | - |
| 678 | { | - |
| 679 | QList<QByteArray> list; | - |
| 680 | returnexecuted 130 times by 1 test: return list; list;executed 130 times by 1 test: return list; | 130 |
| 681 | } | - |
| 682 | | - |
| 683 | int QUtf32BECodec::mibEnum() const | - |
| 684 | { | - |
| 685 | returnexecuted 21 times by 2 tests: return 1018;Executed by:- tst_QTextCodec
- tst_QTextStream
1018;executed 21 times by 2 tests: return 1018;Executed by:- tst_QTextCodec
- tst_QTextStream
| 21 |
| 686 | } | - |
| 687 | | - |
| 688 | QByteArray QUtf32BECodec::name() const | - |
| 689 | { | - |
| 690 | returnexecuted 135 times by 2 tests: return "UTF-32BE";Executed by:- tst_QTextCodec
- tst_QTextStream
"UTF-32BE";executed 135 times by 2 tests: return "UTF-32BE";Executed by:- tst_QTextCodec
- tst_QTextStream
| 135 |
| 691 | } | - |
| 692 | | - |
| 693 | QList<QByteArray> QUtf32BECodec::aliases() const | - |
| 694 | { | - |
| 695 | QList<QByteArray> list; | - |
| 696 | returnexecuted 134 times by 2 tests: return list;Executed by:- tst_QTextCodec
- tst_QTextStream
list;executed 134 times by 2 tests: return list;Executed by:- tst_QTextCodec
- tst_QTextStream
| 134 |
| 697 | } | - |
| 698 | | - |
| 699 | int QUtf32LECodec::mibEnum() const | - |
| 700 | { | - |
| 701 | returnexecuted 22 times by 2 tests: return 1019;Executed by:- tst_QTextCodec
- tst_QTextStream
1019;executed 22 times by 2 tests: return 1019;Executed by:- tst_QTextCodec
- tst_QTextStream
| 22 |
| 702 | } | - |
| 703 | | - |
| 704 | QByteArray QUtf32LECodec::name() const | - |
| 705 | { | - |
| 706 | returnexecuted 132 times by 2 tests: return "UTF-32LE";Executed by:- tst_QTextCodec
- tst_QTextStream
"UTF-32LE";executed 132 times by 2 tests: return "UTF-32LE";Executed by:- tst_QTextCodec
- tst_QTextStream
| 132 |
| 707 | } | - |
| 708 | | - |
| 709 | QList<QByteArray> QUtf32LECodec::aliases() const | - |
| 710 | { | - |
| 711 | QList<QByteArray> list; | - |
| 712 | returnexecuted 131 times by 2 tests: return list;Executed by:- tst_QTextCodec
- tst_QTextStream
list;executed 131 times by 2 tests: return list;Executed by:- tst_QTextCodec
- tst_QTextStream
| 131 |
| 713 | } | - |
| 714 | | - |
| 715 | | - |
| 716 | | - |
| 717 | | - |
| | |