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 >= 16TRUE | evaluated 2522900 times by 392 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 4467936 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) { | 2522900-4467936 |
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 (nTRUE | 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 2518914 times by 390 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-2518914 |
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 2518914 times by 390 tests: end of block 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_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- ...
| 2518914 |
36 | returnexecuted 4467936 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 4467936 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
- ...
| 4467936 |
37 | } | - |
38 | | - |
39 | static inline bool simdDecodeAscii(ushort *&dst, const uchar *&nextAscii, const uchar *&src, const uchar *end) | - |
40 | { | - |
41 | | - |
42 | for ( ; end - src >= 16TRUE | evaluated 4114649 times by 536 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 58704522 times by 573 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) { | 4114649-58704522 |
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 (!nTRUE | evaluated 3938446 times by 532 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 176203 times by 45 testsEvaluated by:- tst_NetworkSelfTest
- tst_QComplexText
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QLabel
- tst_QLineEdit
- tst_QMimeDatabase
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QStringBuilder1
- ...
|
) { | 176203-3938446 |
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 3938446 times by 532 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
- ...
| 3938446 |
54 | } | - |
55 | | - |
56 | | - |
57 | | - |
58 | while (!(n & 1)TRUE | evaluated 849751 times by 44 testsEvaluated by:- tst_NetworkSelfTest
- tst_QComplexText
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QLabel
- tst_QLineEdit
- tst_QMimeDatabase
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QStringBuilder1
- ...
| FALSE | evaluated 176203 times by 45 testsEvaluated by:- tst_NetworkSelfTest
- tst_QComplexText
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QLabel
- tst_QLineEdit
- tst_QMimeDatabase
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QStringBuilder1
- ...
|
) { | 176203-849751 |
59 | *dst++ = *src++; | - |
60 | n >>= BitSpacing; | - |
61 | }executed 849751 times by 44 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QComplexText
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QLabel
- tst_QLineEdit
- tst_QMimeDatabase
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QStringBuilder1
- ...
| 849751 |
62 | | - |
63 | | - |
64 | | - |
65 | | - |
66 | n = __bsrd(n); | - |
67 | nextAscii = src + (n / BitSpacing) + 1; | - |
68 | returnexecuted 176203 times by 45 tests: return false; Executed by:- tst_NetworkSelfTest
- tst_QComplexText
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QLabel
- tst_QLineEdit
- tst_QMimeDatabase
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QStringBuilder1
- ...
false;executed 176203 times by 45 tests: return false; Executed by:- tst_NetworkSelfTest
- tst_QComplexText
- tst_QDateTime
- tst_QDebug
- tst_QDnsLookup
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QLabel
- tst_QLineEdit
- tst_QMimeDatabase
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QRegularExpression_AlwaysOptimize
- tst_QRegularExpression_DefaultOptimize
- tst_QRegularExpression_ForceOptimize
- tst_QSqlQuery
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QStringBuilder1
- ...
| 176203 |
69 | | - |
70 | } | - |
71 | returnexecuted 58704522 times by 573 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 58704522 times by 573 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
- ...
| 58704522 |
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 != endTRUE | evaluated 109617 times by 247 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 106493 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
- ...
|
) { | 106493-109617 |
82 | const ushort *nextAscii = end; | - |
83 | if (simdEncodeAscii(dst, nextAscii, src, end)TRUE | evaluated 3465 times by 67 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 106152 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
- ...
|
) | 3465-106152 |
84 | break;executed 3465 times by 67 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
- ...
| 3465 |
85 | | - |
86 | do { | - |
87 | ushort uc = *src++; | - |
88 | int res = QUtf8Functions::toUtf8<QUtf8BaseTraits>(uc, dst, src, end); | - |
89 | if (res < 0TRUE | never evaluated | FALSE | evaluated 605299 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
- ...
|
) { | 0-605299 |
90 | | - |
91 | *dst++ = '?'; | - |
92 | } never executed: end of block | 0 |
93 | }executed 605299 times by 245 tests: end of block 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
- ...
while (src < nextAsciiTRUE | evaluated 499147 times by 240 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 106152 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
- ...
|
); | 106152-605299 |
94 | }executed 106152 times by 245 tests: end of block 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
- ...
| 106152 |
95 | | - |
96 | result.truncate(dst - reinterpret_cast<uchar *>(const_cast<char *>(result.constData()))); | - |
97 | returnexecuted 109958 times by 247 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 109958 times by 247 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
- ...
| 109958 |
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 (stateTRUE | 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 531831 times by 407 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-531831 |
106 | if (state->flags & QTextCodec::ConvertInvalidToNullTRUE | 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->remainingCharsTRUE | 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 block Executed 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 (stateTRUE | 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 531831 times by 407 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-531831 |
122 | | - |
123 | *cursor++ = utf8bom[0]; | - |
124 | *cursor++ = utf8bom[1]; | - |
125 | *cursor++ = utf8bom[2]; | - |
126 | }executed 2721 times by 4 tests: end of block Executed by:- tst_QDBusXmlParser
- tst_QTextCodec
- tst_QXmlSimpleReader
- tst_Utf8
| 2721 |
127 | | - |
128 | const ushort *nextAscii = src; | - |
129 | while (src != endTRUE | evaluated 4373456 times by 406 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 552095 times by 406 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
- ...
|
) { | 552095-4373456 |
130 | int res; | - |
131 | ushort uc; | - |
132 | if (surrogate_high != -1TRUE | evaluated 6 times by 1 test | FALSE | evaluated 4373450 times by 406 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-4373450 |
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 >= nextAsciiTRUE | evaluated 4362305 times by 406 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 19096 times by 180 testsEvaluated by:- tst_Collections
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractItemView
- 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_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- ...
| FALSE | evaluated 4343209 times by 403 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-4362305 |
138 | break;executed 19096 times by 180 tests: break; Executed by:- tst_Collections
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractItemView
- 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_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- ...
| 19096 |
139 | | - |
140 | uc = *src++; | - |
141 | res = QUtf8Functions::toUtf8<QUtf8BaseTraits>(uc, cursor, src, end); | - |
142 | }executed 4354354 times by 403 tests: end of block 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
- ...
| 4354354 |
143 | if (__builtin_expect(!!(res >= 0), true)TRUE | evaluated 4354354 times by 403 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-4354354 |
144 | continue;executed 4354354 times by 403 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
- ...
| 4354354 |
145 | | - |
146 | if (res == QUtf8BaseTraits::ErrorTRUE | 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::EndOfStringTRUE | 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 (stateTRUE | 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 531831 times by 407 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-531831 |
158 | state->invalidChars += invalid; | - |
159 | state->flags |= QTextCodec::IgnoreHeader; | - |
160 | state->remainingChars = 0; | - |
161 | if (surrogate_high >= 0TRUE | 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 block Executed 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 571197 times by 407 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 571197 times by 407 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
- ...
| 571197 |
167 | } | - |
168 | | - |
169 | QString QUtf8::convertToUnicode(const char *chars, int len) | - |
170 | { | - |
171 | QString result(len, Qt::Uninitialized); | - |
172 | | - |
173 | ushort *dst = reinterpret_cast<ushort *>(const_cast<QChar *>(result.constData())); | - |
174 | const uchar *src = reinterpret_cast<const uchar *>(chars); | - |
175 | const uchar *end = src + len; | - |
176 | | - |
177 | | - |
178 | const uchar *nextAscii = end; | - |
179 | if (!simdDecodeAscii(dst, nextAscii, src, end)TRUE | evaluated 7292129 times by 550 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 516071 times by 294 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
- ...
|
) { | 516071-7292129 |
180 | | - |
181 | | - |
182 | if (__builtin_expect(!!(src == reinterpret_cast<const uchar *>(chars)), false)TRUE | evaluated 6758996 times by 520 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 533133 times by 500 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
- ...
|
| 533133-6758996 |
183 | && end - src >= 3TRUE | evaluated 5056280 times by 390 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 1702716 times by 438 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
- ...
|
| 1702716-5056280 |
184 | && __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 5056275 times by 390 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-5056275 |
185 | src += 3; | - |
186 | }executed 5 times by 2 tests: end of block Executed by:- tst_QString
- tst_QUrlInternal
| 5 |
187 | | - |
188 | while (src < endTRUE | evaluated 7341615 times by 550 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 7292121 times by 550 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
- ...
|
) { | 7292121-7341615 |
189 | nextAscii = end; | - |
190 | if (simdDecodeAscii(dst, nextAscii, src, end)TRUE | evaluated 8 times by 1 test | FALSE | evaluated 7341607 times by 550 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-7341607 |
191 | break;executed 8 times by 1 test: break; | 8 |
192 | | - |
193 | do { | - |
194 | uchar b = *src++; | - |
195 | int res = QUtf8Functions::fromUtf8<QUtf8BaseTraits>(b, dst, src, end); | - |
196 | if (res < 0TRUE | evaluated 530 times by 5 testsEvaluated by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_QUrlInternal
- tst_QXmlSimpleReader
| FALSE | evaluated 43709384 times by 550 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-43709384 |
197 | | - |
198 | *dst++ = QChar::ReplacementCharacter; | - |
199 | }executed 530 times by 5 tests: end of block Executed by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_QUrlInternal
- tst_QXmlSimpleReader
| 530 |
200 | }executed 43707714 times by 550 tests: end of block 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
- ...
while (src < nextAsciiTRUE | evaluated 36368307 times by 547 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 7341607 times by 550 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
- ...
|
); | 7341607-43707714 |
201 | }executed 7341607 times by 550 tests: end of block 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
- ...
| 7341607 |
202 | }executed 7292129 times by 550 tests: end of block 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
- ...
| 7292129 |
203 | | - |
204 | result.truncate(dst - reinterpret_cast<const ushort *>(result.constData())); | - |
205 | returnexecuted 7808200 times by 550 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_QAnimationGroup
- tst_QApplication
- ...
result;executed 7808200 times by 550 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_QAnimationGroup
- tst_QApplication
- ...
| 7808200 |
206 | } | - |
207 | | - |
208 | QString QUtf8::convertToUnicode(const char *chars, int len, QTextCodec::ConverterState *state) | - |
209 | { | - |
210 | bool headerdone = false; | - |
211 | ushort replacement = QChar::ReplacementCharacter; | - |
212 | int invalid = 0; | - |
213 | int res; | - |
214 | uchar ch = 0; | - |
215 | QString result(len + 1, Qt::Uninitialized); | - |
216 | | - |
217 | ushort *dst = reinterpret_cast<ushort *>(const_cast<QChar *>(result.constData())); | - |
218 | const uchar *src = reinterpret_cast<const uchar *>(chars); | - |
219 | const uchar *end = src + len; | - |
220 | | - |
221 | if (stateTRUE | evaluated 41144891 times by 34 testsEvaluated by:- 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_QFile
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QLayout
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QProcess
- tst_QSettings
- tst_QSplitter
- tst_QTcpSocket
- tst_QTemporaryDir
- tst_QTextCodec
- tst_QTextStream
- ...
| FALSE | evaluated 272414 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
- ...
|
) { | 272414-41144891 |
222 | if (state->flags & QTextCodec::IgnoreHeaderTRUE | evaluated 41134414 times by 6 testsEvaluated by:- tst_QMimeDatabase
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
| FALSE | evaluated 10477 times by 34 testsEvaluated by:- 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_QFile
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QLayout
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QProcess
- tst_QSettings
- tst_QSplitter
- tst_QTcpSocket
- tst_QTemporaryDir
- tst_QTextCodec
- tst_QTextStream
- ...
|
) | 10477-41134414 |
223 | 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 |
224 | if (state->flags & QTextCodec::ConvertInvalidToNullTRUE | evaluated 4 times by 1 test | FALSE | evaluated 41144887 times by 34 testsEvaluated by:- 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_QFile
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QLayout
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QProcess
- tst_QSettings
- tst_QSplitter
- tst_QTcpSocket
- tst_QTemporaryDir
- tst_QTextCodec
- tst_QTextStream
- ...
|
) | 4-41144887 |
225 | replacement = QChar::Null;executed 4 times by 1 test: replacement = QChar::Null; | 4 |
226 | if (state->remainingCharsTRUE | evaluated 324 times by 6 testsEvaluated by:- tst_QMimeDatabase
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
| FALSE | evaluated 41144567 times by 34 testsEvaluated by:- 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_QFile
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QLayout
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QProcess
- tst_QSettings
- tst_QSplitter
- tst_QTcpSocket
- tst_QTemporaryDir
- tst_QTextCodec
- tst_QTextStream
- ...
|
) { | 324-41144567 |
227 | | - |
228 | uchar remainingCharsData[4]; | - |
229 | int remainingCharsCount = state->remainingChars; | - |
230 | int newCharsToCopy = qMin<int>(sizeof(remainingCharsData) - remainingCharsCount, end - src); | - |
231 | | - |
232 | memset(remainingCharsData, 0, sizeof(remainingCharsData)); | - |
233 | memcpy(remainingCharsData, &state->state_data[0], remainingCharsCount); | - |
234 | memcpy(remainingCharsData + remainingCharsCount, src, newCharsToCopy); | - |
235 | | - |
236 | const uchar *begin = &remainingCharsData[1]; | - |
237 | res = QUtf8Functions::fromUtf8<QUtf8BaseTraits>(remainingCharsData[0], dst, begin, | - |
238 | static_cast<const uchar *>(remainingCharsData) + remainingCharsCount + newCharsToCopy); | - |
239 | if (res == QUtf8BaseTraits::ErrorTRUE | 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::EndOfStringTRUE | 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 == 0TRUE | 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 |
240 | | - |
241 | | - |
242 | ++invalid; | - |
243 | *dst++ = replacement; | - |
244 | }executed 20 times by 1 test: end of block else if (res == QUtf8BaseTraits::EndOfStringTRUE | 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 |
245 | | - |
246 | | - |
247 | state->remainingChars = remainingCharsCount + newCharsToCopy; | - |
248 | memcpy(&state->state_data[0], remainingCharsData, state->remainingChars); | - |
249 | 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 |
250 | } else if (!headerdoneTRUE | 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 >= 0TRUE | evaluated 27 times by 3 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
- tst_Utf8
| FALSE | never evaluated |
) { | 0-197 |
251 | | - |
252 | headerdone = true; | - |
253 | if (dst[-1] == 0xfeffTRUE | evaluated 10 times by 2 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
| FALSE | evaluated 17 times by 2 tests |
) | 10-17 |
254 | --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 |
255 | }executed 27 times by 3 tests: end of block Executed by:- tst_QTextCodec
- tst_QTextStream
- tst_Utf8
| 27 |
256 | | - |
257 | | - |
258 | if (res >= 0TRUE | 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 |
259 | ((!(res > remainingCharsCount)) ? qt_assert("res > remainingCharsCount",__FILE__,357) : qt_noop()); | - |
260 | src += res - remainingCharsCount; | - |
261 | }executed 224 times by 6 tests: end of block Executed by:- tst_QMimeDatabase
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
| 224 |
262 | }executed 244 times by 6 tests: end of block Executed by:- tst_QMimeDatabase
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
| 244 |
263 | }executed 41144811 times by 34 tests: end of block Executed by:- 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_QFile
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QLayout
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QProcess
- tst_QSettings
- tst_QSplitter
- tst_QTcpSocket
- tst_QTemporaryDir
- tst_QTextCodec
- tst_QTextStream
- ...
| 41144811 |
264 | | - |
265 | | - |
266 | res = 0; | - |
267 | const uchar *nextAscii = src; | - |
268 | const uchar *start = src; | - |
269 | while (res >= 0TRUE | evaluated 85443410 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 < endTRUE | evaluated 44039858 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 41403552 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-85443410 |
270 | if (src >= nextAsciiTRUE | evaluated 43730910 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 308948 times by 12 testsEvaluated by:- tst_QMimeDatabase
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Selftests
- tst_Utf8
|
&& simdDecodeAscii(dst, nextAscii, src, end)TRUE | evaluated 13415 times by 207 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 43717495 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
- ...
|
) | 13415-43730910 |
271 | break;executed 13415 times by 207 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
- ...
| 13415 |
272 | | - |
273 | ch = *src++; | - |
274 | res = QUtf8Functions::fromUtf8<QUtf8BaseTraits>(ch, dst, src, end); | - |
275 | if (!headerdoneTRUE | evaluated 271317 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 43755126 times by 339 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 >= 0TRUE | evaluated 270432 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-43755126 |
276 | headerdone = true; | - |
277 | if (src == start + 3TRUE | evaluated 151 times by 4 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
- tst_Utf8
| FALSE | evaluated 270281 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-270281 |
278 | | - |
279 | if (dst[-1] == 0xfeffTRUE | 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 |
280 | --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 |
281 | }executed 151 times by 4 tests: end of block Executed by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
- tst_Utf8
| 151 |
282 | }executed 270432 times by 342 tests: end of block 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
- ...
| 270432 |
283 | if (res == QUtf8BaseTraits::ErrorTRUE | evaluated 1176 times by 4 testsEvaluated by:- tst_QTextCodec
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
| FALSE | evaluated 44025267 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-44025267 |
284 | res = 0; | - |
285 | ++invalid; | - |
286 | *dst++ = replacement; | - |
287 | }executed 1176 times by 4 tests: end of block Executed by:- tst_QTextCodec
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
| 1176 |
288 | }executed 44026443 times by 342 tests: end of block 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
- ...
| 44026443 |
289 | | - |
290 | if (!stateTRUE | evaluated 272414 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 41144811 times by 34 testsEvaluated by:- 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_QFile
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QLayout
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QProcess
- tst_QSettings
- tst_QSplitter
- tst_QTcpSocket
- tst_QTemporaryDir
- tst_QTextCodec
- tst_QTextStream
- ...
|
&& res == QUtf8BaseTraits::EndOfStringTRUE | evaluated 9 times by 1 test | FALSE | evaluated 272405 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-41144811 |
291 | | - |
292 | *dst++ = QChar::ReplacementCharacter; | - |
293 | while (src++ < endTRUE | evaluated 5 times by 1 test | FALSE | evaluated 9 times by 1 test |
) | 5-9 |
294 | *executed 5 times by 1 test: *dst++ = QChar::ReplacementCharacter; dst++ = QChar::ReplacementCharacter;executed 5 times by 1 test: *dst++ = QChar::ReplacementCharacter; | 5 |
295 | }executed 9 times by 1 test: end of block | 9 |
296 | | - |
297 | result.truncate(dst - (const ushort *)result.unicode()); | - |
298 | if (stateTRUE | evaluated 41144811 times by 34 testsEvaluated by:- 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_QFile
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QLayout
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QProcess
- tst_QSettings
- tst_QSplitter
- tst_QTcpSocket
- tst_QTemporaryDir
- tst_QTextCodec
- tst_QTextStream
- ...
| FALSE | evaluated 272414 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
- ...
|
) { | 272414-41144811 |
299 | state->invalidChars += invalid; | - |
300 | if (headerdoneTRUE | evaluated 41143704 times by 34 testsEvaluated by:- 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_QFile
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QLayout
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QProcess
- tst_QSettings
- tst_QSplitter
- tst_QTcpSocket
- tst_QTemporaryDir
- tst_QTextCodec
- tst_QTextStream
- ...
| FALSE | evaluated 1107 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
|
) | 1107-41143704 |
301 | state->flags |= QTextCodec::IgnoreHeader;executed 41143704 times by 34 tests: state->flags |= QTextCodec::IgnoreHeader; Executed by:- 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_QFile
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QLayout
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QProcess
- tst_QSettings
- tst_QSplitter
- tst_QTcpSocket
- tst_QTemporaryDir
- tst_QTextCodec
- tst_QTextStream
- ...
| 41143704 |
302 | if (res == QUtf8BaseTraits::EndOfStringTRUE | evaluated 249 times by 6 testsEvaluated by:- tst_QMimeDatabase
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
| FALSE | evaluated 41144562 times by 34 testsEvaluated by:- 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_QFile
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QLayout
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QProcess
- tst_QSettings
- tst_QSplitter
- tst_QTcpSocket
- tst_QTemporaryDir
- tst_QTextCodec
- tst_QTextStream
- ...
|
) { | 249-41144562 |
303 | --src; | - |
304 | state->remainingChars = end - src; | - |
305 | memcpy(&state->state_data[0], src, end - src); | - |
306 | }executed 249 times by 6 tests: end of block Executed by:- tst_QMimeDatabase
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Utf8
else { | 249 |
307 | state->remainingChars = 0; | - |
308 | }executed 41144562 times by 34 tests: end of block Executed by:- 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_QFile
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QLayout
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QProcess
- tst_QSettings
- tst_QSplitter
- tst_QTcpSocket
- tst_QTemporaryDir
- tst_QTextCodec
- tst_QTextStream
- ...
| 41144562 |
309 | } | - |
310 | returnexecuted 41417225 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 41417225 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
- ...
| 41417225 |
311 | } | - |
312 | | - |
313 | QByteArray QUtf16::convertFromUnicode(const QChar *uc, int len, QTextCodec::ConverterState *state, DataEndianness e) | - |
314 | { | - |
315 | DataEndianness endian = e; | - |
316 | int length = 2*len; | - |
317 | if (!stateTRUE | 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 |
318 | length += 2; | - |
319 | }executed 55 times by 2 tests: end of block Executed by:- tst_QTextCodec
- tst_QTextStream
| 55 |
320 | if (e == DetectEndiannessTRUE | 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 |
321 | 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 |
322 | }executed 15 times by 3 tests: end of block Executed by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
| 15 |
323 | | - |
324 | QByteArray d; | - |
325 | d.resize(length); | - |
326 | char *data = d.data(); | - |
327 | if (!stateTRUE | 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 |
328 | QChar bom(QChar::ByteOrderMark); | - |
329 | if (endian == BigEndiannessTRUE | evaluated 23 times by 1 test | FALSE | evaluated 32 times by 2 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
|
) { | 23-32 |
330 | data[0] = bom.row(); | - |
331 | data[1] = bom.cell(); | - |
332 | }executed 23 times by 1 test: end of block else { | 23 |
333 | data[0] = bom.cell(); | - |
334 | data[1] = bom.row(); | - |
335 | }executed 32 times by 2 tests: end of block Executed by:- tst_QTextCodec
- tst_QTextStream
| 32 |
336 | data += 2; | - |
337 | }executed 55 times by 2 tests: end of block Executed by:- tst_QTextCodec
- tst_QTextStream
| 55 |
338 | if (endian == BigEndiannessTRUE | evaluated 23 times by 1 test | FALSE | evaluated 45 times by 4 testsEvaluated by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
|
) { | 23-45 |
339 | for (int i = 0; i < lenTRUE | evaluated 206 times by 1 test | FALSE | evaluated 23 times by 1 test |
; ++i) { | 23-206 |
340 | *(data++) = uc[i].row(); | - |
341 | *(data++) = uc[i].cell(); | - |
342 | }executed 206 times by 1 test: end of block | 206 |
343 | }executed 23 times by 1 test: end of block else { | 23 |
344 | for (int i = 0; i < lenTRUE | 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 |
345 | *(data++) = uc[i].cell(); | - |
346 | *(data++) = uc[i].row(); | - |
347 | }executed 337 times by 4 tests: end of block Executed by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
| 337 |
348 | }executed 45 times by 4 tests: end of block Executed by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
| 45 |
349 | | - |
350 | if (stateTRUE | evaluated 16 times by 4 testsEvaluated by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
| FALSE | evaluated 52 times by 1 test |
) { | 16-52 |
351 | state->remainingChars = 0; | - |
352 | state->flags |= QTextCodec::IgnoreHeader; | - |
353 | }executed 16 times by 4 tests: end of block Executed by:- tst_QString
- tst_QTextCodec
- tst_QTextStream
- tst_QXmlStream
| 16 |
354 | 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 |
355 | } | - |
356 | | - |
357 | QString QUtf16::convertToUnicode(const char *chars, int len, QTextCodec::ConverterState *state, DataEndianness e) | - |
358 | { | - |
359 | DataEndianness endian = e; | - |
360 | bool half = false; | - |
361 | uchar buf = 0; | - |
362 | bool headerdone = false; | - |
363 | if (stateTRUE | evaluated 1988 times by 4 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
| FALSE | evaluated 233854 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-233854 |
364 | headerdone = state->flags & QTextCodec::IgnoreHeader; | - |
365 | if (endian == DetectEndiannessTRUE | 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 |
366 | 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 |
367 | if (state->remainingCharsTRUE | 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 |
368 | half = true; | - |
369 | buf = state->state_data[Data]; | - |
370 | }executed 651 times by 3 tests: end of block Executed by:- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
| 651 |
371 | }executed 1988 times by 4 tests: end of block Executed by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
| 1988 |
372 | if (headerdoneTRUE | evaluated 1659 times by 4 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
| FALSE | evaluated 234183 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 == DetectEndiannessTRUE | evaluated 1 time by 1 test | FALSE | evaluated 1658 times by 4 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
|
) | 1-234183 |
373 | 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 |
374 | | - |
375 | QString result(len, Qt::Uninitialized); | - |
376 | QChar *qch = (QChar *)result.data(); | - |
377 | while (len--TRUE | evaluated 1186543 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 235842 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
|
) { | 235842-1186543 |
378 | if (halfTRUE | evaluated 593271 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 593272 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
|
) { | 593271-593272 |
379 | QChar ch; | - |
380 | if (endian == LittleEndiannessTRUE | evaluated 356728 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 236543 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
|
) { | 236543-356728 |
381 | ch.setRow(*chars++); | - |
382 | ch.setCell(buf); | - |
383 | }executed 356728 times by 21 tests: end of block 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
else { | 356728 |
384 | ch.setRow(buf); | - |
385 | ch.setCell(*chars++); | - |
386 | }executed 236543 times by 21 tests: end of block 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
| 236543 |
387 | if (!headerdoneTRUE | evaluated 234135 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 359136 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
|
) { | 234135-359136 |
388 | headerdone = true; | - |
389 | if (endian == DetectEndiannessTRUE | evaluated 233887 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-233887 |
390 | if (ch == QChar::ByteOrderSwappedTRUE | evaluated 78 times by 3 testsEvaluated by:- tst_QTextCodec
- tst_QXmlSimpleReader
- tst_QXmlStream
| FALSE | evaluated 233809 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-233809 |
391 | endian = LittleEndianness; | - |
392 | }executed 78 times by 3 tests: end of block Executed by:- tst_QTextCodec
- tst_QXmlSimpleReader
- tst_QXmlStream
else if (ch == QChar::ByteOrderMarkTRUE | evaluated 3 times by 3 testsEvaluated by:- tst_QTextCodec
- tst_QXmlSimpleReader
- tst_QXmlStream
| FALSE | evaluated 233806 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-233806 |
393 | endian = BigEndianness; | - |
394 | }executed 3 times by 3 tests: end of block Executed by:- tst_QTextCodec
- tst_QXmlSimpleReader
- tst_QXmlStream
else { | 3 |
395 | if (QSysInfo::ByteOrder == QSysInfo::BigEndianTRUE | never evaluated | FALSE | evaluated 233806 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-233806 |
396 | endian = BigEndianness; | - |
397 | } never executed: end of block else { | 0 |
398 | endian = LittleEndianness; | - |
399 | ch = QChar((ch.unicode() >> 8) | ((ch.unicode() & 0xff) << 8)); | - |
400 | }executed 233806 times by 19 tests: end of block 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_QUrlInternal
- tst_QXmlStream
- tst_Utf8
| 233806 |
401 | *qch++ = ch; | - |
402 | }executed 233806 times by 19 tests: end of block 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_QUrlInternal
- tst_QXmlStream
- tst_Utf8
| 233806 |
403 | } else if (ch != QChar::ByteOrderMarkTRUE | 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 |
404 | *qch++ = ch; | - |
405 | }executed 4 times by 3 tests: end of block Executed by:- tst_QTextCodec
- tst_QXmlSimpleReader
- tst_QXmlStream
| 4 |
406 | }executed 234135 times by 21 tests: end of block 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
else { | 234135 |
407 | *qch++ = ch; | - |
408 | }executed 359136 times by 21 tests: end of block 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
| 359136 |
409 | half = false; | - |
410 | }executed 593271 times by 21 tests: end of block 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
else { | 593271 |
411 | buf = *chars++; | - |
412 | half = true; | - |
413 | }executed 593272 times by 21 tests: end of block 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
| 593272 |
414 | } | - |
415 | result.truncate(qch - result.unicode()); | - |
416 | | - |
417 | if (stateTRUE | evaluated 1988 times by 4 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
| FALSE | evaluated 233854 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-233854 |
418 | if (headerdoneTRUE | evaluated 1940 times by 4 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
| FALSE | evaluated 48 times by 1 test |
) | 48-1940 |
419 | 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 |
420 | state->state_data[Endian] = endian; | - |
421 | if (halfTRUE | 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 |
422 | state->remainingChars = 1; | - |
423 | state->state_data[Data] = buf; | - |
424 | }executed 652 times by 3 tests: end of block Executed by:- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
else { | 652 |
425 | state->remainingChars = 0; | - |
426 | state->state_data[Data] = 0; | - |
427 | }executed 1336 times by 4 tests: end of block Executed by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
| 1336 |
428 | } | - |
429 | returnexecuted 235842 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 235842 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
| 235842 |
430 | } | - |
431 | | - |
432 | QByteArray QUtf32::convertFromUnicode(const QChar *uc, int len, QTextCodec::ConverterState *state, DataEndianness e) | - |
433 | { | - |
434 | DataEndianness endian = e; | - |
435 | int length = 4*len; | - |
436 | if (!stateTRUE | 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 |
437 | length += 4; | - |
438 | }executed 24 times by 1 test: end of block | 24 |
439 | if (e == DetectEndiannessTRUE | evaluated 11 times by 1 test | FALSE | evaluated 15 times by 1 test |
) { | 11-15 |
440 | 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 |
441 | }executed 11 times by 1 test: end of block | 11 |
442 | | - |
443 | QByteArray d(length, Qt::Uninitialized); | - |
444 | char *data = d.data(); | - |
445 | if (!stateTRUE | 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 |
446 | if (endian == BigEndiannessTRUE | evaluated 7 times by 1 test | FALSE | evaluated 17 times by 1 test |
) { | 7-17 |
447 | data[0] = 0; | - |
448 | data[1] = 0; | - |
449 | data[2] = (char)0xfe; | - |
450 | data[3] = (char)0xff; | - |
451 | }executed 7 times by 1 test: end of block else { | 7 |
452 | data[0] = (char)0xff; | - |
453 | data[1] = (char)0xfe; | - |
454 | data[2] = 0; | - |
455 | data[3] = 0; | - |
456 | }executed 17 times by 1 test: end of block | 17 |
457 | data += 4; | - |
458 | }executed 24 times by 1 test: end of block | 24 |
459 | | - |
460 | QStringIterator i(uc, uc + len); | - |
461 | if (endian == BigEndiannessTRUE | evaluated 7 times by 1 test | FALSE | evaluated 19 times by 1 test |
) { | 7-19 |
462 | while (i.hasNext()TRUE | evaluated 54 times by 1 test | FALSE | evaluated 7 times by 1 test |
) { | 7-54 |
463 | uint cp = i.next(); | - |
464 | | - |
465 | *(data++) = cp >> 24; | - |
466 | *(data++) = (cp >> 16) & 0xff; | - |
467 | *(data++) = (cp >> 8) & 0xff; | - |
468 | *(data++) = cp & 0xff; | - |
469 | }executed 54 times by 1 test: end of block | 54 |
470 | }executed 7 times by 1 test: end of block else { | 7 |
471 | while (i.hasNext()TRUE | evaluated 122 times by 1 test | FALSE | evaluated 19 times by 1 test |
) { | 19-122 |
472 | uint cp = i.next(); | - |
473 | | - |
474 | *(data++) = cp & 0xff; | - |
475 | *(data++) = (cp >> 8) & 0xff; | - |
476 | *(data++) = (cp >> 16) & 0xff; | - |
477 | *(data++) = cp >> 24; | - |
478 | }executed 122 times by 1 test: end of block | 122 |
479 | }executed 19 times by 1 test: end of block | 19 |
480 | | - |
481 | if (stateTRUE | evaluated 4 times by 1 test | FALSE | evaluated 22 times by 1 test |
) { | 4-22 |
482 | state->remainingChars = 0; | - |
483 | state->flags |= QTextCodec::IgnoreHeader; | - |
484 | }executed 4 times by 1 test: end of block | 4 |
485 | returnexecuted 26 times by 1 test: return d; d;executed 26 times by 1 test: return d; | 26 |
486 | } | - |
487 | | - |
488 | QString QUtf32::convertToUnicode(const char *chars, int len, QTextCodec::ConverterState *state, DataEndianness e) | - |
489 | { | - |
490 | DataEndianness endian = e; | - |
491 | uchar tuple[4]; | - |
492 | int num = 0; | - |
493 | bool headerdone = false; | - |
494 | if (stateTRUE | 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 |
495 | headerdone = state->flags & QTextCodec::IgnoreHeader; | - |
496 | if (endian == DetectEndiannessTRUE | evaluated 4 times by 1 test | FALSE | evaluated 360 times by 2 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
|
) { | 4-360 |
497 | endian = (DataEndianness)state->state_data[Endian]; | - |
498 | }executed 4 times by 1 test: end of block | 4 |
499 | num = state->remainingChars; | - |
500 | memcpy(tuple, &state->state_data[Data], 4); | - |
501 | }executed 364 times by 2 tests: end of block Executed by:- tst_QTextCodec
- tst_QTextStream
| 364 |
502 | if (headerdoneTRUE | 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 == DetectEndiannessTRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
) | 1-410895 |
503 | 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 |
504 | | - |
505 | QString result; | - |
506 | result.resize((num + len) >> 2 << 1); | - |
507 | QChar *qch = (QChar *)result.data(); | - |
508 | | - |
509 | const char *end = chars + len; | - |
510 | while (chars < endTRUE | 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 |
511 | tuple[num++] = *chars++; | - |
512 | if (num == 4TRUE | 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 |
513 | if (!headerdoneTRUE | 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 |
514 | if (endian == DetectEndiannessTRUE | 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 |
515 | if (tuple[0] == 0xffTRUE | 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] == 0xfeTRUE | evaluated 9 times by 1 test | FALSE | never evaluated |
&& tuple[2] == 0TRUE | evaluated 9 times by 1 test | FALSE | never evaluated |
&& tuple[3] == 0TRUE | evaluated 9 times by 1 test | FALSE | never evaluated |
&& endian != BigEndiannessTRUE | evaluated 9 times by 1 test | FALSE | never evaluated |
) { | 0-410506 |
516 | endian = LittleEndianness; | - |
517 | num = 0; | - |
518 | continue;executed 9 times by 1 test: continue; | 9 |
519 | } else if (tuple[0] == 0TRUE | 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] == 0TRUE | evaluated 14 times by 4 testsEvaluated by:- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QXmlStream
| FALSE | evaluated 8 times by 1 test |
&& tuple[2] == 0xfeTRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 3 testsEvaluated by:- tst_QString
- tst_QStringIterator
- tst_QXmlStream
|
&& tuple[3] == 0xffTRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
&& endian != LittleEndiannessTRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
) { | 0-410484 |
520 | endian = BigEndianness; | - |
521 | num = 0; | - |
522 | continue;executed 1 time by 1 test: continue; | 1 |
523 | } else if (QSysInfo::ByteOrder == QSysInfo::BigEndianTRUE | 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 |
524 | endian = BigEndianness; | - |
525 | } never executed: end of block else { | 0 |
526 | endian = LittleEndianness; | - |
527 | }executed 410505 times by 9 tests: end of block Executed by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QXmlStream
- tst_Utf8
- tst_qmakelib
| 410505 |
528 | } 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::ByteOrderMarkTRUE | 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 |
529 | num = 0; | - |
530 | continue;executed 47 times by 2 tests: continue; Executed by:- tst_QTextCodec
- tst_QTextStream
| 47 |
531 | } | - |
532 | }executed 411856 times by 10 tests: end of block Executed by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QTextStream
- tst_QXmlStream
- tst_Utf8
- tst_qmakelib
| 411856 |
533 | 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 |
534 | 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 |
535 | *qch++ = QChar::highSurrogate(code); | - |
536 | *qch++ = QChar::lowSurrogate(code); | - |
537 | }executed 58 times by 4 tests: end of block Executed by:- tst_QString
- tst_QStringIterator
- tst_QXmlStream
- tst_Utf8
else { | 58 |
538 | *qch++ = code; | - |
539 | }executed 411810 times by 9 tests: end of block Executed by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QTextStream
- tst_Utf8
- tst_qmakelib
| 411810 |
540 | num = 0; | - |
541 | }executed 411868 times by 10 tests: end of block Executed by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QTextStream
- tst_QXmlStream
- tst_Utf8
- tst_qmakelib
| 411868 |
542 | }executed 1647643 times by 10 tests: end of block Executed by:- tst_QLabel
- tst_QString
- tst_QStringIterator
- tst_QTextCodec
- tst_QTextLayout
- tst_QTextScriptEngine
- tst_QTextStream
- tst_QXmlStream
- tst_Utf8
- tst_qmakelib
| 1647643 |
543 | result.truncate(qch - result.unicode()); | - |
544 | | - |
545 | if (stateTRUE | 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 |
546 | if (headerdoneTRUE | evaluated 3 times by 1 test | FALSE | evaluated 361 times by 2 testsEvaluated by:- tst_QTextCodec
- tst_QTextStream
|
) | 3-361 |
547 | state->flags |= QTextCodec::IgnoreHeader;executed 3 times by 1 test: state->flags |= QTextCodec::IgnoreHeader; | 3 |
548 | state->state_data[Endian] = endian; | - |
549 | state->remainingChars = num; | - |
550 | memcpy(&state->state_data[Data], tuple, 4); | - |
551 | }executed 364 times by 2 tests: end of block Executed by:- tst_QTextCodec
- tst_QTextStream
| 364 |
552 | 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 |
553 | } | - |
554 | | - |
555 | | - |
556 | | - |
557 | | - |
558 | QUtf8Codec::~QUtf8Codec() | - |
559 | { | - |
560 | } | - |
561 | | - |
562 | QByteArray QUtf8Codec::convertFromUnicode(const QChar *uc, int len, ConverterState *state) const | - |
563 | { | - |
564 | returnexecuted 571197 times by 407 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 571197 times by 407 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
- ...
| 571197 |
565 | } | - |
566 | | - |
567 | void QUtf8Codec::convertToUnicode(QString *target, const char *chars, int len, ConverterState *state) const | - |
568 | { | - |
569 | *target += QUtf8::convertToUnicode(chars, len, state); | - |
570 | }executed 60357 times by 16 tests: end of block Executed by:- 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_QMimeDatabase
- tst_QTextCodec
- tst_QXmlStream
- tst_Selftests
- tst_qdbusxml2cpp - unknown status
| 60357 |
571 | | - |
572 | QString QUtf8Codec::convertToUnicode(const char *chars, int len, ConverterState *state) const | - |
573 | { | - |
574 | returnexecuted 41356948 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 41356948 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
- ...
| 41356948 |
575 | } | - |
576 | | - |
577 | QByteArray QUtf8Codec::name() const | - |
578 | { | - |
579 | returnexecuted 370 times by 17 tests: return "UTF-8"; Executed by:- tst_QClipboard
- tst_QDBusXmlParser
- tst_QFile
- tst_QGlobal
- tst_QMimeData
- tst_QMimeDatabase
- tst_QPlainTextEdit
- tst_QSettings
- tst_QTextBrowser
- tst_QTextCodec
- tst_QTextDocument
- tst_QTextEdit
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Selftests
- tst_qdbusxml2cpp - unknown status
"UTF-8";executed 370 times by 17 tests: return "UTF-8"; Executed by:- tst_QClipboard
- tst_QDBusXmlParser
- tst_QFile
- tst_QGlobal
- tst_QMimeData
- tst_QMimeDatabase
- tst_QPlainTextEdit
- tst_QSettings
- tst_QTextBrowser
- tst_QTextCodec
- tst_QTextDocument
- tst_QTextEdit
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Selftests
- tst_qdbusxml2cpp - unknown status
| 370 |
580 | } | - |
581 | | - |
582 | int QUtf8Codec::mibEnum() const | - |
583 | { | - |
584 | returnexecuted 60599 times by 22 tests: return 106; Executed by:- 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_QMimeDatabase
- tst_QPlainTextEdit
- tst_QTextCodec
- tst_QTextEdit
- tst_QTextStream
- tst_QXmlInputSource
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Selftests
- tst_Utf8
- tst_qdbusxml2cpp - unknown status
106;executed 60599 times by 22 tests: return 106; Executed by:- 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_QMimeDatabase
- tst_QPlainTextEdit
- tst_QTextCodec
- tst_QTextEdit
- tst_QTextStream
- tst_QXmlInputSource
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Selftests
- tst_Utf8
- tst_qdbusxml2cpp - unknown status
| 60599 |
585 | } | - |
586 | | - |
587 | QUtf16Codec::~QUtf16Codec() | - |
588 | { | - |
589 | } | - |
590 | | - |
591 | QByteArray QUtf16Codec::convertFromUnicode(const QChar *uc, int len, ConverterState *state) const | - |
592 | { | - |
593 | 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 |
594 | } | - |
595 | | - |
596 | QString QUtf16Codec::convertToUnicode(const char *chars, int len, ConverterState *state) const | - |
597 | { | - |
598 | 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 |
599 | } | - |
600 | | - |
601 | int QUtf16Codec::mibEnum() const | - |
602 | { | - |
603 | 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 |
604 | } | - |
605 | | - |
606 | QByteArray QUtf16Codec::name() const | - |
607 | { | - |
608 | 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 |
609 | } | - |
610 | | - |
611 | QList<QByteArray> QUtf16Codec::aliases() const | - |
612 | { | - |
613 | 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 |
614 | } | - |
615 | | - |
616 | int QUtf16BECodec::mibEnum() const | - |
617 | { | - |
618 | 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 |
619 | } | - |
620 | | - |
621 | QByteArray QUtf16BECodec::name() const | - |
622 | { | - |
623 | 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 |
624 | } | - |
625 | | - |
626 | QList<QByteArray> QUtf16BECodec::aliases() const | - |
627 | { | - |
628 | QList<QByteArray> list; | - |
629 | 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 |
630 | } | - |
631 | | - |
632 | int QUtf16LECodec::mibEnum() const | - |
633 | { | - |
634 | 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 |
635 | } | - |
636 | | - |
637 | QByteArray QUtf16LECodec::name() const | - |
638 | { | - |
639 | returnexecuted 154 times by 4 tests: return "UTF-16LE"; Executed by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
"UTF-16LE";executed 154 times by 4 tests: return "UTF-16LE"; Executed by:- tst_QTextCodec
- tst_QTextStream
- tst_QXmlSimpleReader
- tst_QXmlStream
| 154 |
640 | } | - |
641 | | - |
642 | QList<QByteArray> QUtf16LECodec::aliases() const | - |
643 | { | - |
644 | QList<QByteArray> list; | - |
645 | 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 |
646 | } | - |
647 | | - |
648 | QUtf32Codec::~QUtf32Codec() | - |
649 | { | - |
650 | } | - |
651 | | - |
652 | QByteArray QUtf32Codec::convertFromUnicode(const QChar *uc, int len, ConverterState *state) const | - |
653 | { | - |
654 | 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 |
655 | } | - |
656 | | - |
657 | QString QUtf32Codec::convertToUnicode(const char *chars, int len, ConverterState *state) const | - |
658 | { | - |
659 | 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 |
660 | } | - |
661 | | - |
662 | int QUtf32Codec::mibEnum() const | - |
663 | { | - |
664 | returnexecuted 17 times by 1 test: return 1017; 1017;executed 17 times by 1 test: return 1017; | 17 |
665 | } | - |
666 | | - |
667 | QByteArray QUtf32Codec::name() const | - |
668 | { | - |
669 | returnexecuted 131 times by 1 test: return "UTF-32"; "UTF-32";executed 131 times by 1 test: return "UTF-32"; | 131 |
670 | } | - |
671 | | - |
672 | QList<QByteArray> QUtf32Codec::aliases() const | - |
673 | { | - |
674 | QList<QByteArray> list; | - |
675 | returnexecuted 130 times by 1 test: return list; list;executed 130 times by 1 test: return list; | 130 |
676 | } | - |
677 | | - |
678 | int QUtf32BECodec::mibEnum() const | - |
679 | { | - |
680 | 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 |
681 | } | - |
682 | | - |
683 | QByteArray QUtf32BECodec::name() const | - |
684 | { | - |
685 | 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 |
686 | } | - |
687 | | - |
688 | QList<QByteArray> QUtf32BECodec::aliases() const | - |
689 | { | - |
690 | QList<QByteArray> list; | - |
691 | 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 |
692 | } | - |
693 | | - |
694 | int QUtf32LECodec::mibEnum() const | - |
695 | { | - |
696 | 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 |
697 | } | - |
698 | | - |
699 | QByteArray QUtf32LECodec::name() const | - |
700 | { | - |
701 | 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 |
702 | } | - |
703 | | - |
704 | QList<QByteArray> QUtf32LECodec::aliases() const | - |
705 | { | - |
706 | QList<QByteArray> list; | - |
707 | 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 |
708 | } | - |
709 | | - |
710 | | - |
711 | | - |
712 | | - |
| | |