| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | | - |
| 10 | | - |
| 11 | | - |
| 12 | | - |
| 13 | | - |
| 14 | | - |
| 15 | | - |
| 16 | | - |
| 17 | | - |
| 18 | | - |
| 19 | | - |
| 20 | | - |
| 21 | | - |
| 22 | | - |
| 23 | | - |
| 24 | | - |
| 25 | | - |
| 26 | | - |
| 27 | | - |
| 28 | | - |
| 29 | | - |
| 30 | | - |
| 31 | | - |
| 32 | | - |
| 33 | | - |
| 34 | | - |
| 35 | #include "qlocale_tools_p.h" | - |
| 36 | #include "qlocale_p.h" | - |
| 37 | #include "qstring.h" | - |
| 38 | | - |
| 39 | #include <ctype.h> | - |
| 40 | #include <errno.h> | - |
| 41 | #include <float.h> | - |
| 42 | #include <limits.h> | - |
| 43 | #include <math.h> | - |
| 44 | #include <stdlib.h> | - |
| 45 | #include <time.h> | - |
| 46 | | - |
| 47 | #ifdef Q_OS_WINCE | - |
| 48 | # include "qfunctions_wince.h" // for _control87 | - |
| 49 | #endif | - |
| 50 | | - |
| 51 | #if defined(Q_OS_LINUX) && !defined(__UCLIBC__) | - |
| 52 | # include <fenv.h> | - |
| 53 | #endif | - |
| 54 | | - |
| 55 | | - |
| 56 | #ifndef LLONG_MAX | - |
| 57 | # define LLONG_MAX Q_INT64_C(0x7fffffffffffffff) | - |
| 58 | #endif | - |
| 59 | #ifndef LLONG_MIN | - |
| 60 | # define LLONG_MIN (-LLONG_MAX - Q_INT64_C(1)) | - |
| 61 | #endif | - |
| 62 | #ifndef ULLONG_MAX | - |
| 63 | # define ULLONG_MAX Q_UINT64_C(0xffffffffffffffff) | - |
| 64 | #endif | - |
| 65 | | - |
| 66 | QT_BEGIN_NAMESPACE | - |
| 67 | | - |
| 68 | #include "../../3rdparty/freebsd/strtoull.c" | - |
| 69 | #include "../../3rdparty/freebsd/strtoll.c" | - |
| 70 | | - |
| 71 | unsigned long long | - |
| 72 | qstrtoull(const char * nptr, const char **endptr, int base, bool *ok) | - |
| 73 | { | - |
| 74 | | - |
| 75 | | - |
| 76 | | - |
| 77 | const char *begin = nptr; | - |
| 78 | while (ascii_isspace(*begin))| TRUE | evaluated 3 times by 2 testsEvaluated by:- tst_QUrl
- tst_QVersionNumber
| | FALSE | evaluated 83737 times by 77 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QByteArray
- tst_QColorDialog
- tst_QCssParser
- tst_QDataUrl
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFileSelector
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- ...
|
| 3-83737 |
| 79 | ++begin;executed 3 times by 2 tests: ++begin;Executed by:- tst_QUrl
- tst_QVersionNumber
| 3 |
| 80 | if (*begin == '-') {| TRUE | evaluated 66 times by 10 testsEvaluated by:- tst_QDate
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QString
- tst_QStringRef
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- tst_QVersionNumber
| | FALSE | evaluated 83671 times by 77 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QByteArray
- tst_QColorDialog
- tst_QCssParser
- tst_QDataUrl
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFileSelector
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- ...
|
| 66-83671 |
| 81 | *ok = false; | - |
| 82 | return 0;executed 66 times by 10 tests: return 0;Executed by:- tst_QDate
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QString
- tst_QStringRef
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- tst_QVersionNumber
| 66 |
| 83 | } | - |
| 84 | | - |
| 85 | *ok = true; | - |
| 86 | errno = 0; | - |
| 87 | char *endptr2 = 0; | - |
| 88 | unsigned long long result = qt_strtoull(nptr, &endptr2, base); | - |
| 89 | if (endptr)| TRUE | evaluated 83671 times by 77 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QByteArray
- tst_QColorDialog
- tst_QCssParser
- tst_QDataUrl
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFileSelector
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- ...
| | FALSE | never evaluated |
| 0-83671 |
| 90 | *endptr = endptr2;executed 83671 times by 77 tests: *endptr = endptr2;Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QByteArray
- tst_QColorDialog
- tst_QCssParser
- tst_QDataUrl
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFileSelector
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- ...
| 83671 |
| 91 | if ((result == 0 || result == std::numeric_limits<unsigned long long>::max())| TRUE | evaluated 44679 times by 66 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QByteArray
- tst_QDataUrl
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFileSelector
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QIpAddress
- tst_QItemDelegate
- tst_QMetaType
- ...
| | FALSE | evaluated 38992 times by 60 testsEvaluated by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QByteArray
- tst_QColorDialog
- tst_QCssParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QItemDelegate
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- ...
|
| TRUE | evaluated 18 times by 4 testsEvaluated by:- tst_QString
- tst_QStringRef
- tst_QVariant
- tst_QVersionNumber
| | FALSE | evaluated 38974 times by 60 testsEvaluated by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QByteArray
- tst_QColorDialog
- tst_QCssParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QItemDelegate
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- ...
|
| 18-44679 |
| 92 | && (errno || endptr2 == nptr)) {| TRUE | evaluated 36843 times by 49 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QDataUrl
- tst_QFileSelector
- tst_QFtp
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIpAddress
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- ...
| | FALSE | evaluated 7854 times by 43 testsEvaluated by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAsn1Element
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QItemDelegate
- tst_QMimeDatabase
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- ...
|
| TRUE | never evaluated | | FALSE | evaluated 7854 times by 43 testsEvaluated by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAsn1Element
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QItemDelegate
- tst_QMimeDatabase
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- ...
|
| 0-36843 |
| 93 | *ok = false; | - |
| 94 | return 0;executed 36843 times by 49 tests: return 0;Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QDataUrl
- tst_QFileSelector
- tst_QFtp
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIpAddress
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- ...
| 36843 |
| 95 | } | - |
| 96 | return result;executed 46828 times by 60 tests: return result;Executed by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAsn1Element
- tst_QByteArray
- tst_QColorDialog
- tst_QCssParser
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QItemDelegate
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- ...
| 46828 |
| 97 | } | - |
| 98 | | - |
| 99 | long long | - |
| 100 | qstrtoll(const char * nptr, const char **endptr, int base, bool *ok) | - |
| 101 | { | - |
| 102 | *ok = true; | - |
| 103 | errno = 0; | - |
| 104 | char *endptr2 = 0; | - |
| 105 | long long result = qt_strtoll(nptr, &endptr2, base); | - |
| 106 | if (endptr)| TRUE | evaluated 380497 times by 113 testsEvaluated by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QAsn1Element
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| | FALSE | evaluated 112 times by 3 testsEvaluated by:- tst_QGestureRecognizer
- tst_QGetPutEnv
- tst_selftests - unknown status
|
| 112-380497 |
| 107 | *endptr = endptr2;executed 380497 times by 113 tests: *endptr = endptr2;Executed by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QAsn1Element
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| 380497 |
| 108 | if ((result == 0 || result == std::numeric_limits<long long>::min()| TRUE | evaluated 11836 times by 50 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QColorDialog
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFontDialog
- tst_QFtp
- tst_QGLBuffer
- tst_QGLFunctions
- tst_QGLThreads
- tst_QGetPutEnv
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLayout
- tst_QLineEdit
- tst_QMdiArea
- tst_QMimeDatabase
- tst_QNetworkCookieJar
- ...
| | FALSE | evaluated 368773 times by 112 testsEvaluated by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QAsn1Element
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| | FALSE | evaluated 368767 times by 112 testsEvaluated by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QAsn1Element
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
| 6-368773 |
| 109 | || result == std::numeric_limits<long long>::max())| TRUE | evaluated 13 times by 3 testsEvaluated by:- tst_QIntValidator
- tst_QString
- tst_QStringRef
| | FALSE | evaluated 368754 times by 112 testsEvaluated by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QAsn1Element
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
| 13-368754 |
| 110 | && (errno || nptr == endptr2)) {| TRUE | evaluated 197 times by 19 testsEvaluated by:- tst_QDate
- tst_QDateTime
- tst_QGetPutEnv
- tst_QInputDialog
- tst_QIntValidator
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlugin
- tst_QSettings
- tst_QSpinBox
- tst_QSqlError
- tst_QSqlRelationalTableModel
- tst_QString
- tst_QStringRef
- tst_QTime
- tst_QTreeWidget
- tst_QVariant
- tst_qmakelib
- tst_selftests - unknown status
| | FALSE | evaluated 11658 times by 43 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QColorDialog
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFontDialog
- tst_QFtp
- tst_QGLBuffer
- tst_QGLFunctions
- tst_QGLThreads
- tst_QGetPutEnv
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLayout
- tst_QLineEdit
- tst_QMdiArea
- tst_QMimeDatabase
- tst_QNetworkCookieJar
- ...
|
| TRUE | never evaluated | | FALSE | evaluated 11658 times by 43 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QColorDialog
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QFontDialog
- tst_QFtp
- tst_QGLBuffer
- tst_QGLFunctions
- tst_QGLThreads
- tst_QGetPutEnv
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QHttpNetworkConnection
- tst_QInputDialog
- tst_QIntValidator
- tst_QItemDelegate
- tst_QLayout
- tst_QLineEdit
- tst_QMdiArea
- tst_QMimeDatabase
- tst_QNetworkCookieJar
- ...
|
| 0-11658 |
| 111 | *ok = false; | - |
| 112 | return 0;executed 197 times by 19 tests: return 0;Executed by:- tst_QDate
- tst_QDateTime
- tst_QGetPutEnv
- tst_QInputDialog
- tst_QIntValidator
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlugin
- tst_QSettings
- tst_QSpinBox
- tst_QSqlError
- tst_QSqlRelationalTableModel
- tst_QString
- tst_QStringRef
- tst_QTime
- tst_QTreeWidget
- tst_QVariant
- tst_qmakelib
- tst_selftests - unknown status
| 197 |
| 113 | } | - |
| 114 | return result;executed 380412 times by 113 tests: return result;Executed by:- tst_Collections
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QAsn1Element
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDate
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| 380412 |
| 115 | } | - |
| 116 | | - |
| 117 | static char *_qdtoa( NEEDS_VOLATILE double d, int mode, int ndigits, int *decpt, | - |
| 118 | int *sign, char **rve, char **digits_str); | - |
| 119 | | - |
| 120 | QString qulltoa(qulonglong l, int base, const QChar _zero) | - |
| 121 | { | - |
| 122 | ushort buff[65]; | - |
| 123 | ushort *p = buff + 65; | - |
| 124 | | - |
| 125 | if (base != 10 || _zero.unicode() == '0') {| TRUE | evaluated 24480 times by 82 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDebug
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileSystemModel
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QImage
- ...
| | FALSE | evaluated 11772041 times by 463 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- ...
|
| TRUE | evaluated 11772026 times by 463 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- ...
| | FALSE | evaluated 11 times by 2 testsEvaluated by:- tst_QProgressBar
- tst_QString
|
| 11-11772041 |
| 126 | while (l != 0) {| TRUE | evaluated 21263159 times by 321 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- ...
| | FALSE | evaluated 11796510 times by 468 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- ...
|
| 11796510-21263159 |
| 127 | int c = l % base; | - |
| 128 | | - |
| 129 | --p; | - |
| 130 | | - |
| 131 | if (c < 10)| TRUE | evaluated 21213268 times by 321 testsEvaluated by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- ...
| | FALSE | evaluated 49891 times by 75 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDebug
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileSystemModel
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QImage
- tst_QImageReader
- ...
|
| 49891-21213268 |
| 132 | *p = '0' + c;executed 21213268 times by 321 tests: *p = '0' + c;Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- ...
| 21213268 |
| 133 | else | - |
| 134 | *p = c - 10 + 'a';executed 49891 times by 75 tests: *p = c - 10 + 'a';Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAlgorithms
- tst_QApplication
- tst_QChar
- tst_QColor
- tst_QColorDialog
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDebug
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileSystemModel
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiEventLoop
- tst_QGuiVariant
- tst_QImage
- tst_QImageReader
- ...
| 49891 |
| 135 | | - |
| 136 | l /= base; | - |
| 137 | }executed 21263159 times by 321 tests: end of blockExecuted by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- ...
| 21263159 |
| 138 | }executed 11796510 times by 468 tests: end of blockExecuted by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- ...
| 11796510 |
| 139 | else { | - |
| 140 | while (l != 0) {| TRUE | evaluated 32 times by 2 testsEvaluated by:- tst_QProgressBar
- tst_QString
| | FALSE | evaluated 11 times by 2 testsEvaluated by:- tst_QProgressBar
- tst_QString
|
| 11-32 |
| 141 | int c = l % base; | - |
| 142 | | - |
| 143 | *(--p) = _zero.unicode() + c; | - |
| 144 | | - |
| 145 | l /= base; | - |
| 146 | }executed 32 times by 2 tests: end of blockExecuted by:- tst_QProgressBar
- tst_QString
| 32 |
| 147 | }executed 11 times by 2 tests: end of blockExecuted by:- tst_QProgressBar
- tst_QString
| 11 |
| 148 | | - |
| 149 | return QString(reinterpret_cast<QChar *>(p), 65 - (p - buff));executed 11796521 times by 468 tests: return QString(reinterpret_cast<QChar *>(p), 65 - (p - buff));Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- ...
| 11796521 |
| 150 | } | - |
| 151 | | - |
| 152 | QString qlltoa(qlonglong l, int base, const QChar zero) | - |
| 153 | { | - |
| 154 | return qulltoa(l < 0 ? -l : l, base, zero);executed 11729033 times by 447 tests: return qulltoa(l < 0 ? -l : l, base, zero);Executed by:- tst_Collections
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- ...
| 11729033 |
| 155 | } | - |
| 156 | | - |
| 157 | QString &decimalForm(QChar zero, QChar decimal, QChar group, | - |
| 158 | QString &digits, int decpt, uint precision, | - |
| 159 | PrecisionMode pm, | - |
| 160 | bool always_show_decpt, | - |
| 161 | bool thousands_group) | - |
| 162 | { | - |
| 163 | if (decpt < 0) {| TRUE | evaluated 18519 times by 5 testsEvaluated by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QInputDialog
- tst_QString
- tst_QTextStream
| | FALSE | evaluated 84975 times by 54 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
|
| 18519-84975 |
| 164 | for (int i = 0; i < -decpt; ++i)| TRUE | evaluated 46373 times by 5 testsEvaluated by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QInputDialog
- tst_QString
- tst_QTextStream
| | FALSE | evaluated 18519 times by 5 testsEvaluated by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QInputDialog
- tst_QString
- tst_QTextStream
|
| 18519-46373 |
| 165 | digits.prepend(zero);executed 46373 times by 5 tests: digits.prepend(zero);Executed by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QInputDialog
- tst_QString
- tst_QTextStream
| 46373 |
| 166 | decpt = 0; | - |
| 167 | }executed 18519 times by 5 tests: end of blockExecuted by:- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QInputDialog
- tst_QString
- tst_QTextStream
| 18519 |
| 168 | else if (decpt > digits.length()) {| TRUE | evaluated 988 times by 20 testsEvaluated by:- tst_QCssParser
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QInputDialog
- tst_QItemDelegate
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextList
- tst_selftests - unknown status
| | FALSE | evaluated 83987 times by 54 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
|
| 988-83987 |
| 169 | for (int i = digits.length(); i < decpt; ++i)| TRUE | evaluated 2319 times by 20 testsEvaluated by:- tst_QCssParser
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QInputDialog
- tst_QItemDelegate
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextList
- tst_selftests - unknown status
| | FALSE | evaluated 988 times by 20 testsEvaluated by:- tst_QCssParser
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QInputDialog
- tst_QItemDelegate
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextList
- tst_selftests - unknown status
|
| 988-2319 |
| 170 | digits.append(zero);executed 2319 times by 20 tests: digits.append(zero);Executed by:- tst_QCssParser
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QInputDialog
- tst_QItemDelegate
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextList
- tst_selftests - unknown status
| 2319 |
| 171 | }executed 988 times by 20 tests: end of blockExecuted by:- tst_QCssParser
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QInputDialog
- tst_QItemDelegate
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextList
- tst_selftests - unknown status
| 988 |
| 172 | | - |
| 173 | if (pm == PMDecimalDigits) {| TRUE | evaluated 2251 times by 20 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QByteDataBuffer
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsItemAnimation
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
- tst_QUdpSocket
- tst_selftests - unknown status
| | FALSE | evaluated 101243 times by 42 testsEvaluated by:- tst_QBrush
- tst_QByteArray
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QLabel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPlainTextEdit
- tst_QPrinter
- ...
|
| 2251-101243 |
| 174 | uint decimal_digits = digits.length() - decpt; | - |
| 175 | for (uint i = decimal_digits; i < precision; ++i)| TRUE | evaluated 9865 times by 18 testsEvaluated by:- tst_QAccessibility
- tst_QByteDataBuffer
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsItemAnimation
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
- tst_QUdpSocket
- tst_selftests - unknown status
| | FALSE | evaluated 2251 times by 20 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QByteDataBuffer
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsItemAnimation
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
- tst_QUdpSocket
- tst_selftests - unknown status
|
| 2251-9865 |
| 176 | digits.append(zero);executed 9865 times by 18 tests: digits.append(zero);Executed by:- tst_QAccessibility
- tst_QByteDataBuffer
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsItemAnimation
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
- tst_QUdpSocket
- tst_selftests - unknown status
| 9865 |
| 177 | }executed 2251 times by 20 tests: end of blockExecuted by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QByteDataBuffer
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsItemAnimation
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
- tst_QUdpSocket
- tst_selftests - unknown status
| 2251 |
| 178 | else if (pm == PMSignificantDigits) {| TRUE | evaluated 2386 times by 2 testsEvaluated by:- tst_QString
- tst_QTextStream
| | FALSE | evaluated 98857 times by 42 testsEvaluated by:- tst_QBrush
- tst_QByteArray
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QLabel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPlainTextEdit
- tst_QPrinter
- ...
|
| 2386-98857 |
| 179 | for (uint i = digits.length(); i < precision; ++i)| TRUE | evaluated 7938 times by 2 testsEvaluated by:- tst_QString
- tst_QTextStream
| | FALSE | evaluated 2386 times by 2 testsEvaluated by:- tst_QString
- tst_QTextStream
|
| 2386-7938 |
| 180 | digits.append(zero);executed 7938 times by 2 tests: digits.append(zero);Executed by:- tst_QString
- tst_QTextStream
| 7938 |
| 181 | }executed 2386 times by 2 tests: end of blockExecuted by:- tst_QString
- tst_QTextStream
| 2386 |
| 182 | else { | - |
| 183 | }executed 98857 times by 42 tests: end of blockExecuted by:- tst_QBrush
- tst_QByteArray
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QLabel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPlainTextEdit
- tst_QPrinter
- ...
| 98857 |
| 184 | | - |
| 185 | if (always_show_decpt || decpt < digits.length())| TRUE | evaluated 2388 times by 2 testsEvaluated by:- tst_QString
- tst_QTextStream
| | FALSE | evaluated 101106 times by 54 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
|
| TRUE | evaluated 47712 times by 34 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDriver
- ...
| | FALSE | evaluated 53394 times by 37 testsEvaluated by:- tst_QBrush
- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QString
- ...
|
| 2388-101106 |
| 186 | digits.insert(decpt, decimal);executed 50100 times by 34 tests: digits.insert(decpt, decimal);Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDriver
- ...
| 50100 |
| 187 | | - |
| 188 | if (thousands_group) {| TRUE | evaluated 5379 times by 11 testsEvaluated by:- tst_QAccessibility
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QString
- tst_QTextStream
| | FALSE | evaluated 98115 times by 49 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QLabel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPageSize
- ...
|
| 5379-98115 |
| 189 | for (int i = decpt - 3; i > 0; i -= 3)| TRUE | evaluated 2234 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QString
- tst_QTextStream
| | FALSE | evaluated 5379 times by 11 testsEvaluated by:- tst_QAccessibility
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QString
- tst_QTextStream
|
| 2234-5379 |
| 190 | digits.insert(i, group);executed 2234 times by 3 tests: digits.insert(i, group);Executed by:- tst_QDoubleSpinBox
- tst_QString
- tst_QTextStream
| 2234 |
| 191 | }executed 5379 times by 11 tests: end of blockExecuted by:- tst_QAccessibility
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QString
- tst_QTextStream
| 5379 |
| 192 | | - |
| 193 | if (decpt == 0)| TRUE | evaluated 45891 times by 13 testsEvaluated by:- tst_QColor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
- tst_QTreeWidget
| | FALSE | evaluated 57603 times by 53 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
|
| 45891-57603 |
| 194 | digits.prepend(zero);executed 45891 times by 13 tests: digits.prepend(zero);Executed by:- tst_QColor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
- tst_QTreeWidget
| 45891 |
| 195 | | - |
| 196 | return digits;executed 103494 times by 54 tests: return digits;Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
| 103494 |
| 197 | } | - |
| 198 | | - |
| 199 | QString &exponentForm(QChar zero, QChar decimal, QChar exponential, | - |
| 200 | QChar group, QChar plus, QChar minus, | - |
| 201 | QString &digits, int decpt, uint precision, | - |
| 202 | PrecisionMode pm, | - |
| 203 | bool always_show_decpt) | - |
| 204 | { | - |
| 205 | int exp = decpt - 1; | - |
| 206 | | - |
| 207 | if (pm == PMDecimalDigits) {| TRUE | evaluated 17 times by 3 testsEvaluated by:- tst_QString
- tst_QStringRef
- tst_QTextStream
| | FALSE | evaluated 6335 times by 5 testsEvaluated by:- tst_QByteArray
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QString
- tst_QTextStream
|
| 17-6335 |
| 208 | for (uint i = digits.length(); i < precision + 1; ++i)| TRUE | evaluated 16 times by 3 testsEvaluated by:- tst_QString
- tst_QStringRef
- tst_QTextStream
| | FALSE | evaluated 17 times by 3 testsEvaluated by:- tst_QString
- tst_QStringRef
- tst_QTextStream
|
| 16-17 |
| 209 | digits.append(zero);executed 16 times by 3 tests: digits.append(zero);Executed by:- tst_QString
- tst_QStringRef
- tst_QTextStream
| 16 |
| 210 | }executed 17 times by 3 tests: end of blockExecuted by:- tst_QString
- tst_QStringRef
- tst_QTextStream
| 17 |
| 211 | else if (pm == PMSignificantDigits) {| TRUE | evaluated 2224 times by 1 test | | FALSE | evaluated 4111 times by 5 testsEvaluated by:- tst_QByteArray
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QString
- tst_QTextStream
|
| 2224-4111 |
| 212 | for (uint i = digits.length(); i < precision; ++i)| TRUE | evaluated 1920 times by 1 test | | FALSE | evaluated 2224 times by 1 test |
| 1920-2224 |
| 213 | digits.append(zero);executed 1920 times by 1 test: digits.append(zero); | 1920 |
| 214 | }executed 2224 times by 1 test: end of block | 2224 |
| 215 | else { | - |
| 216 | }executed 4111 times by 5 tests: end of blockExecuted by:- tst_QByteArray
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QString
- tst_QTextStream
| 4111 |
| 217 | | - |
| 218 | if (always_show_decpt || digits.length() > 1)| TRUE | evaluated 2226 times by 2 testsEvaluated by:- tst_QString
- tst_QTextStream
| | FALSE | evaluated 4126 times by 6 testsEvaluated by:- tst_QByteArray
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QString
- tst_QStringRef
- tst_QTextStream
|
| TRUE | evaluated 2805 times by 5 testsEvaluated by:- tst_QByteArray
- tst_QGraphicsTransform
- tst_QString
- tst_QStringRef
- tst_QTextStream
| | FALSE | evaluated 1321 times by 2 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QString
|
| 1321-4126 |
| 219 | digits.insert(1, decimal);executed 5031 times by 5 tests: digits.insert(1, decimal);Executed by:- tst_QByteArray
- tst_QGraphicsTransform
- tst_QString
- tst_QStringRef
- tst_QTextStream
| 5031 |
| 220 | | - |
| 221 | digits.append(exponential); | - |
| 222 | digits.append(QLocaleData::longLongToString(zero, group, plus, minus, | - |
| 223 | exp, 2, 10, -1, QLocaleData::AlwaysShowSign)); | - |
| 224 | | - |
| 225 | return digits;executed 6352 times by 6 tests: return digits;Executed by:- tst_QByteArray
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QString
- tst_QStringRef
- tst_QTextStream
| 6352 |
| 226 | } | - |
| 227 | | - |
| 228 | | - |
| 229 | | - |
| 230 | | - |
| 231 | | - |
| 232 | | - |
| 233 | | - |
| 234 | | - |
| 235 | | - |
| 236 | | - |
| 237 | | - |
| 238 | | - |
| 239 | | - |
| 240 | | - |
| 241 | | - |
| 242 | | - |
| 243 | | - |
| 244 | | - |
| 245 | | - |
| 246 | | - |
| 247 | | - |
| 248 | | - |
| 249 | | - |
| 250 | | - |
| 251 | | - |
| 252 | | - |
| 253 | | - |
| 254 | | - |
| 255 | | - |
| 256 | | - |
| 257 | | - |
| 258 | | - |
| 259 | | - |
| 260 | | - |
| 261 | | - |
| 262 | | - |
| 263 | | - |
| 264 | | - |
| 265 | | - |
| 266 | | - |
| 267 | | - |
| 268 | | - |
| 269 | | - |
| 270 | | - |
| 271 | | - |
| 272 | | - |
| 273 | | - |
| 274 | | - |
| 275 | | - |
| 276 | | - |
| 277 | | - |
| 278 | | - |
| 279 | | - |
| 280 | | - |
| 281 | | - |
| 282 | | - |
| 283 | | - |
| 284 | | - |
| 285 | | - |
| 286 | | - |
| 287 | | - |
| 288 | | - |
| 289 | | - |
| 290 | | - |
| 291 | | - |
| 292 | | - |
| 293 | | - |
| 294 | | - |
| 295 | | - |
| 296 | | - |
| 297 | | - |
| 298 | | - |
| 299 | | - |
| 300 | | - |
| 301 | | - |
| 302 | | - |
| 303 | #if defined(LIBC_SCCS) && !defined(lint) | - |
| 304 | __RCSID("$NetBSD: strtod.c,v 1.26 1998/02/03 18:44:21 perry Exp $"); | - |
| 305 | #endif /* LIBC_SCCS and not lint */ | - |
| 306 | | - |
| 307 | | - |
| 308 | | - |
| 309 | | - |
| 310 | | - |
| 311 | | - |
| 312 | | - |
| 313 | | - |
| 314 | | - |
| 315 | | - |
| 316 | | - |
| 317 | #define IEEE_BIG_OR_LITTLE_ENDIAN 1 | - |
| 318 | | - |
| 319 | #ifdef __arm32__ | - |
| 320 | | - |
| 321 | | - |
| 322 | | - |
| 323 | | - |
| 324 | | - |
| 325 | #define IEEE_BIG_OR_LITTLE_ENDIAN | - |
| 326 | #endif | - |
| 327 | | - |
| 328 | #ifdef vax | - |
| 329 | #define VAX | - |
| 330 | #endif | - |
| 331 | | - |
| 332 | #define Long qint32 | - |
| 333 | #define ULong quint32 | - |
| 334 | | - |
| 335 | #define MALLOC malloc | - |
| 336 | | - |
| 337 | #ifdef BSD_QDTOA_DEBUG | - |
| 338 | QT_BEGIN_INCLUDE_NAMESPACE | - |
| 339 | #include <stdio.h> | - |
| 340 | QT_END_INCLUDE_NAMESPACE | - |
| 341 | | - |
| 342 | #define Bug(x) {fprintf(stderr, "%s\n", x); exit(1);} | - |
| 343 | #endif | - |
| 344 | | - |
| 345 | #ifdef Unsigned_Shifts | - |
| 346 | #define Sign_Extend(a,b) if (b < 0) a |= 0xffff0000; | - |
| 347 | #else | - |
| 348 | #define Sign_Extend(a,b) /*no-op*/ | - |
| 349 | #endif | - |
| 350 | | - |
| 351 | #if (defined(IEEE_BIG_OR_LITTLE_ENDIAN) + defined(VAX) + defined(IBM)) != 1 | - |
| 352 | #error Exactly one of IEEE_BIG_OR_LITTLE_ENDIAN, VAX, or IBM should be defined. | - |
| 353 | #endif | - |
| 354 | | - |
| 355 | static inline ULong getWord0(const NEEDS_VOLATILE double x) | - |
| 356 | { | - |
| 357 | const NEEDS_VOLATILE uchar *ptr = reinterpret_cast<const NEEDS_VOLATILE uchar *>(&x); | - |
| 358 | if (QSysInfo::ByteOrder == QSysInfo::BigEndian) {| TRUE | never evaluated | | FALSE | evaluated 740615 times by 57 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- ...
|
| 0-740615 |
| 359 | return (ptr[0]<<24) + (ptr[1]<<16) + (ptr[2]<<8) + ptr[3]; never executed: return (ptr[0]<<24) + (ptr[1]<<16) + (ptr[2]<<8) + ptr[3]; | 0 |
| 360 | } else { | - |
| 361 | return (ptr[7]<<24) + (ptr[6]<<16) + (ptr[5]<<8) + ptr[4];executed 740615 times by 57 tests: return (ptr[7]<<24) + (ptr[6]<<16) + (ptr[5]<<8) + ptr[4];Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- ...
| 740615 |
| 362 | } | - |
| 363 | } | - |
| 364 | | - |
| 365 | static inline void setWord0(NEEDS_VOLATILE double *x, ULong l) | - |
| 366 | { | - |
| 367 | NEEDS_VOLATILE uchar *ptr = reinterpret_cast<NEEDS_VOLATILE uchar *>(x); | - |
| 368 | if (QSysInfo::ByteOrder == QSysInfo::BigEndian) {| TRUE | never evaluated | | FALSE | evaluated 306175 times by 55 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- ...
|
| 0-306175 |
| 369 | ptr[0] = uchar(l>>24); | - |
| 370 | ptr[1] = uchar(l>>16); | - |
| 371 | ptr[2] = uchar(l>>8); | - |
| 372 | ptr[3] = uchar(l); | - |
| 373 | } else { never executed: end of block | 0 |
| 374 | ptr[7] = uchar(l>>24); | - |
| 375 | ptr[6] = uchar(l>>16); | - |
| 376 | ptr[5] = uchar(l>>8); | - |
| 377 | ptr[4] = uchar(l); | - |
| 378 | }executed 306175 times by 55 tests: end of blockExecuted by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- ...
| 306175 |
| 379 | } | - |
| 380 | | - |
| 381 | static inline ULong getWord1(const NEEDS_VOLATILE double x) | - |
| 382 | { | - |
| 383 | const NEEDS_VOLATILE uchar *ptr = reinterpret_cast<const NEEDS_VOLATILE uchar *>(&x); | - |
| 384 | if (QSysInfo::ByteOrder == QSysInfo::BigEndian) {| TRUE | never evaluated | | FALSE | evaluated 71607 times by 55 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- ...
|
| 0-71607 |
| 385 | return (ptr[4]<<24) + (ptr[5]<<16) + (ptr[6]<<8) + ptr[7]; never executed: return (ptr[4]<<24) + (ptr[5]<<16) + (ptr[6]<<8) + ptr[7]; | 0 |
| 386 | } else { | - |
| 387 | return (ptr[3]<<24) + (ptr[2]<<16) + (ptr[1]<<8) + ptr[0];executed 71607 times by 55 tests: return (ptr[3]<<24) + (ptr[2]<<16) + (ptr[1]<<8) + ptr[0];Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- ...
| 71607 |
| 388 | } | - |
| 389 | } | - |
| 390 | static inline void setWord1(NEEDS_VOLATILE double *x, ULong l) | - |
| 391 | { | - |
| 392 | NEEDS_VOLATILE uchar *ptr = reinterpret_cast<uchar NEEDS_VOLATILE *>(x); | - |
| 393 | if (QSysInfo::ByteOrder == QSysInfo::BigEndian) {| TRUE | never evaluated | | FALSE | evaluated 424 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 0-424 |
| 394 | ptr[4] = uchar(l>>24); | - |
| 395 | ptr[5] = uchar(l>>16); | - |
| 396 | ptr[6] = uchar(l>>8); | - |
| 397 | ptr[7] = uchar(l); | - |
| 398 | } else { never executed: end of block | 0 |
| 399 | ptr[3] = uchar(l>>24); | - |
| 400 | ptr[2] = uchar(l>>16); | - |
| 401 | ptr[1] = uchar(l>>8); | - |
| 402 | ptr[0] = uchar(l); | - |
| 403 | }executed 424 times by 6 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| 424 |
| 404 | } | - |
| 405 | | - |
| 406 | static inline void Storeinc(ULong *&a, const ULong &b, const ULong &c) | - |
| 407 | { | - |
| 408 | | - |
| 409 | *a = (ushort(b) << 16) | ushort(c); | - |
| 410 | ++a; | - |
| 411 | }executed 971010 times by 13 tests: end of blockExecuted by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| 971010 |
| 412 | | - |
| 413 | | - |
| 414 | | - |
| 415 | | - |
| 416 | | - |
| 417 | | - |
| 418 | | - |
| 419 | #if defined(IEEE_BIG_OR_LITTLE_ENDIAN) | - |
| 420 | #define Exp_shift 20 | - |
| 421 | #define Exp_shift1 20 | - |
| 422 | #define Exp_msk1 0x100000 | - |
| 423 | #define Exp_msk11 0x100000 | - |
| 424 | #define Exp_mask 0x7ff00000 | - |
| 425 | #define P 53 | - |
| 426 | #define Bias 1023 | - |
| 427 | #define IEEE_Arith | - |
| 428 | #define Emin (-1022) | - |
| 429 | #define Exp_1 0x3ff00000 | - |
| 430 | #define Exp_11 0x3ff00000 | - |
| 431 | #define Ebits 11 | - |
| 432 | #define Frac_mask 0xfffff | - |
| 433 | #define Frac_mask1 0xfffff | - |
| 434 | #define Ten_pmax 22 | - |
| 435 | #define Bletch 0x10 | - |
| 436 | #define Bndry_mask 0xfffff | - |
| 437 | #define Bndry_mask1 0xfffff | - |
| 438 | #if defined(LSB) && defined(Q_OS_VXWORKS) | - |
| 439 | #undef LSB | - |
| 440 | #endif | - |
| 441 | #define LSB 1 | - |
| 442 | #define Sign_bit 0x80000000 | - |
| 443 | #define Log2P 1 | - |
| 444 | #define Tiny0 0 | - |
| 445 | #define Tiny1 1 | - |
| 446 | #define Quick_max 14 | - |
| 447 | #define Int_max 14 | - |
| 448 | #define Infinite(x) (getWord0(x) == 0x7ff00000) /* sufficient test for here */ | - |
| 449 | #else | - |
| 450 | #undef Sudden_Underflow | - |
| 451 | #define Sudden_Underflow | - |
| 452 | #ifdef IBM | - |
| 453 | #define Exp_shift 24 | - |
| 454 | #define Exp_shift1 24 | - |
| 455 | #define Exp_msk1 0x1000000 | - |
| 456 | #define Exp_msk11 0x1000000 | - |
| 457 | #define Exp_mask 0x7f000000 | - |
| 458 | #define P 14 | - |
| 459 | #define Bias 65 | - |
| 460 | #define Exp_1 0x41000000 | - |
| 461 | #define Exp_11 0x41000000 | - |
| 462 | #define Ebits 8 /* exponent has 7 bits, but 8 is the right value in b2d */ | - |
| 463 | #define Frac_mask 0xffffff | - |
| 464 | #define Frac_mask1 0xffffff | - |
| 465 | #define Bletch 4 | - |
| 466 | #define Ten_pmax 22 | - |
| 467 | #define Bndry_mask 0xefffff | - |
| 468 | #define Bndry_mask1 0xffffff | - |
| 469 | #define LSB 1 | - |
| 470 | #define Sign_bit 0x80000000 | - |
| 471 | #define Log2P 4 | - |
| 472 | #define Tiny0 0x100000 | - |
| 473 | #define Tiny1 0 | - |
| 474 | #define Quick_max 14 | - |
| 475 | #define Int_max 15 | - |
| 476 | #else /* VAX */ | - |
| 477 | #define Exp_shift 23 | - |
| 478 | #define Exp_shift1 7 | - |
| 479 | #define Exp_msk1 0x80 | - |
| 480 | #define Exp_msk11 0x800000 | - |
| 481 | #define Exp_mask 0x7f80 | - |
| 482 | #define P 56 | - |
| 483 | #define Bias 129 | - |
| 484 | #define Exp_1 0x40800000 | - |
| 485 | #define Exp_11 0x4080 | - |
| 486 | #define Ebits 8 | - |
| 487 | #define Frac_mask 0x7fffff | - |
| 488 | #define Frac_mask1 0xffff007f | - |
| 489 | #define Ten_pmax 24 | - |
| 490 | #define Bletch 2 | - |
| 491 | #define Bndry_mask 0xffff007f | - |
| 492 | #define Bndry_mask1 0xffff007f | - |
| 493 | #define LSB 0x10000 | - |
| 494 | #define Sign_bit 0x8000 | - |
| 495 | #define Log2P 1 | - |
| 496 | #define Tiny0 0x80 | - |
| 497 | #define Tiny1 0 | - |
| 498 | #define Quick_max 15 | - |
| 499 | #define Int_max 15 | - |
| 500 | #endif | - |
| 501 | #endif | - |
| 502 | | - |
| 503 | #ifndef IEEE_Arith | - |
| 504 | #define ROUND_BIASED | - |
| 505 | #endif | - |
| 506 | | - |
| 507 | #ifdef RND_PRODQUOT | - |
| 508 | #define rounded_product(a,b) a = rnd_prod(a, b) | - |
| 509 | #define rounded_quotient(a,b) a = rnd_quot(a, b) | - |
| 510 | extern double rnd_prod(double, double), rnd_quot(double, double); | - |
| 511 | #else | - |
| 512 | #define rounded_product(a,b) a *= b | - |
| 513 | #define rounded_quotient(a,b) a /= b | - |
| 514 | #endif | - |
| 515 | | - |
| 516 | #define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1)) | - |
| 517 | #define Big1 0xffffffff | - |
| 518 | | - |
| 519 | #ifndef Just_16 | - |
| 520 | | - |
| 521 | | - |
| 522 | | - |
| 523 | | - |
| 524 | | - |
| 525 | #ifndef Pack_32 | - |
| 526 | #define Pack_32 | - |
| 527 | #endif | - |
| 528 | #endif | - |
| 529 | | - |
| 530 | #define Kmax 15 | - |
| 531 | | - |
| 532 | struct | - |
| 533 | Bigint { | - |
| 534 | struct Bigint *next; | - |
| 535 | int k, maxwds, sign, wds; | - |
| 536 | ULong x[1]; | - |
| 537 | }; | - |
| 538 | | - |
| 539 | typedef struct Bigint Bigint; | - |
| 540 | | - |
| 541 | static Bigint *Balloc(int k) | - |
| 542 | { | - |
| 543 | int x; | - |
| 544 | Bigint *rv; | - |
| 545 | | - |
| 546 | x = 1 << k; | - |
| 547 | rv = static_cast<Bigint *>(MALLOC(sizeof(Bigint) + (x-1)*sizeof(Long))); | - |
| 548 | Q_CHECK_PTR(rv); never executed: qBadAlloc(); | TRUE | never evaluated | | FALSE | evaluated 84562 times by 55 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- ...
|
| 0-84562 |
| 549 | rv->k = k; | - |
| 550 | rv->maxwds = x; | - |
| 551 | rv->sign = rv->wds = 0; | - |
| 552 | return rv;executed 84562 times by 55 tests: return rv;Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- ...
| 84562 |
| 553 | } | - |
| 554 | | - |
| 555 | static void Bfree(Bigint *v) | - |
| 556 | { | - |
| 557 | free(v); | - |
| 558 | }executed 84564 times by 61 tests: end of blockExecuted by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- ...
| 84564 |
| 559 | | - |
| 560 | #define Bcopy(x,y) memcpy(reinterpret_cast<char *>(&x->sign), reinterpret_cast<char *>(&y->sign), \ | - |
| 561 | y->wds*sizeof(Long) + 2*sizeof(int)) | - |
| 562 | | - |
| 563 | | - |
| 564 | static Bigint *multadd(Bigint *b, int m, int a) | - |
| 565 | { | - |
| 566 | int i, wds; | - |
| 567 | ULong *x, y; | - |
| 568 | #ifdef Pack_32 | - |
| 569 | ULong xi, z; | - |
| 570 | #endif | - |
| 571 | Bigint *b1; | - |
| 572 | | - |
| 573 | wds = b->wds; | - |
| 574 | x = b->x; | - |
| 575 | i = 0; | - |
| 576 | do { | - |
| 577 | #ifdef Pack_32 | - |
| 578 | xi = *x; | - |
| 579 | y = (xi & 0xffff) * m + a; | - |
| 580 | z = (xi >> 16) * m + (y >> 16); | - |
| 581 | a = (z >> 16); | - |
| 582 | *x++ = (z << 16) + (y & 0xffff); | - |
| 583 | #else | - |
| 584 | y = *x * m + a; | - |
| 585 | a = (y >> 16); | - |
| 586 | *x++ = y & 0xffff; | - |
| 587 | #endif | - |
| 588 | }executed 1277787 times by 13 tests: end of blockExecuted by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| 1277787 |
| 589 | while(++i < wds);| TRUE | evaluated 1134290 times by 11 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| | FALSE | evaluated 143497 times by 13 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
|
| 143497-1134290 |
| 590 | if (a) {| TRUE | evaluated 2061 times by 8 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| | FALSE | evaluated 141436 times by 13 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
|
| 2061-141436 |
| 591 | if (wds >= b->maxwds) {| TRUE | never evaluated | | FALSE | evaluated 2061 times by 8 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
|
| 0-2061 |
| 592 | b1 = Balloc(b->k+1); | - |
| 593 | Bcopy(b1, b); | - |
| 594 | Bfree(b); | - |
| 595 | b = b1; | - |
| 596 | } never executed: end of block | 0 |
| 597 | b->x[wds++] = a; | - |
| 598 | b->wds = wds; | - |
| 599 | }executed 2061 times by 8 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| 2061 |
| 600 | return b;executed 143497 times by 13 tests: return b;Executed by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| 143497 |
| 601 | } | - |
| 602 | | - |
| 603 | static Bigint *s2b(const char *s, int nd0, int nd, ULong y9) | - |
| 604 | { | - |
| 605 | Bigint *b; | - |
| 606 | int i, k; | - |
| 607 | Long x, y; | - |
| 608 | | - |
| 609 | x = (nd + 8) / 9; | - |
| 610 | for(k = 0, y = 1; x > y; y <<= 1, k++) ;executed 527 times by 7 tests: ;Executed by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| TRUE | evaluated 527 times by 7 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 161 times by 7 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 161-527 |
| 611 | #ifdef Pack_32 | - |
| 612 | b = Balloc(k); | - |
| 613 | b->x[0] = y9; | - |
| 614 | b->wds = 1; | - |
| 615 | #else | - |
| 616 | b = Balloc(k+1); | - |
| 617 | b->x[0] = y9 & 0xffff; | - |
| 618 | b->wds = (b->x[1] = y9 >> 16) ? 2 : 1; | - |
| 619 | #endif | - |
| 620 | | - |
| 621 | i = 9; | - |
| 622 | if (9 < nd0) {| TRUE | evaluated 127 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
| | FALSE | evaluated 34 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 34-127 |
| 623 | s += 9; | - |
| 624 | do b = multadd(b, 10, *s++ - '0');executed 18458 times by 6 tests: b = multadd(b, 10, *s++ - '0');Executed by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
| 18458 |
| 625 | while(++i < nd0);| TRUE | evaluated 18331 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
| | FALSE | evaluated 127 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
|
| 127-18331 |
| 626 | s++; | - |
| 627 | }executed 127 times by 6 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
| 127 |
| 628 | else | - |
| 629 | s += 10;executed 34 times by 4 tests: s += 10;Executed by:- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
- tst_QVariant
| 34 |
| 630 | for(; i < nd; i++)| TRUE | evaluated 418 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 161 times by 7 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 161-418 |
| 631 | b = multadd(b, 10, *s++ - '0');executed 418 times by 5 tests: b = multadd(b, 10, *s++ - '0');Executed by:- tst_QDoubleSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 418 |
| 632 | return b;executed 161 times by 7 tests: return b;Executed by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 161 |
| 633 | } | - |
| 634 | | - |
| 635 | static int hi0bits(ULong x) | - |
| 636 | { | - |
| 637 | int k = 0; | - |
| 638 | | - |
| 639 | if (!(x & 0xffff0000)) {| TRUE | evaluated 492 times by 7 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 415 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
|
| 415-492 |
| 640 | k = 16; | - |
| 641 | x <<= 16; | - |
| 642 | }executed 492 times by 7 tests: end of blockExecuted by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| 492 |
| 643 | if (!(x & 0xff000000)) {| TRUE | evaluated 399 times by 5 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 508 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
|
| 399-508 |
| 644 | k += 8; | - |
| 645 | x <<= 8; | - |
| 646 | }executed 399 times by 5 tests: end of blockExecuted by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
- tst_QVariant
| 399 |
| 647 | if (!(x & 0xf0000000)) {| TRUE | evaluated 419 times by 7 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 488 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 419-488 |
| 648 | k += 4; | - |
| 649 | x <<= 4; | - |
| 650 | }executed 419 times by 7 tests: end of blockExecuted by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| 419 |
| 651 | if (!(x & 0xc0000000)) {| TRUE | evaluated 535 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 372 times by 7 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 372-535 |
| 652 | k += 2; | - |
| 653 | x <<= 2; | - |
| 654 | }executed 535 times by 6 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| 535 |
| 655 | if (!(x & 0x80000000)) {| TRUE | evaluated 631 times by 7 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 276 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 276-631 |
| 656 | k++; | - |
| 657 | if (!(x & 0x40000000))| TRUE | never evaluated | | FALSE | evaluated 631 times by 7 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 0-631 |
| 658 | return 32; never executed: return 32; | 0 |
| 659 | }executed 631 times by 7 tests: end of blockExecuted by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| 631 |
| 660 | return k;executed 907 times by 7 tests: return k;Executed by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| 907 |
| 661 | } | - |
| 662 | | - |
| 663 | static int lo0bits(ULong *y) | - |
| 664 | { | - |
| 665 | int k; | - |
| 666 | ULong x = *y; | - |
| 667 | | - |
| 668 | if (x & 7) {| TRUE | evaluated 14797 times by 26 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QByteArray
- tst_QColor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QGraphicsTransform
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPrinter
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
- tst_QTreeWidget
- ...
| | FALSE | evaluated 56796 times by 47 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPageSize
- ...
|
| 14797-56796 |
| 669 | if (x & 1)| TRUE | evaluated 9355 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QByteArray
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPrinter
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTcpSocket
- tst_QTextStream
- tst_QVariant
| | FALSE | evaluated 5442 times by 20 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QByteArray
- tst_QColor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QGraphicsTransform
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPrinter
- tst_QString
- tst_QStringRef
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
- tst_QTreeWidget
- tst_QVariant
|
| 5442-9355 |
| 670 | return 0;executed 9355 times by 19 tests: return 0;Executed by:- tst_QAccessibility
- tst_QByteArray
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPrinter
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTcpSocket
- tst_QTextStream
- tst_QVariant
| 9355 |
| 671 | if (x & 2) {| TRUE | evaluated 4046 times by 18 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QByteArray
- tst_QColor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QGraphicsTransform
- tst_QInputDialog
- tst_QItemModel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPrinter
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextStream
- tst_QTreeWidget
- tst_QVariant
| | FALSE | evaluated 1396 times by 10 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QString
- tst_QStringRef
- tst_QTcpSocket
- tst_QTextStream
|
| 1396-4046 |
| 672 | *y = x >> 1; | - |
| 673 | return 1;executed 4046 times by 18 tests: return 1;Executed by:- tst_PlatformSocketEngine
- tst_QByteArray
- tst_QColor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QGraphicsTransform
- tst_QInputDialog
- tst_QItemModel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPrinter
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextStream
- tst_QTreeWidget
- tst_QVariant
| 4046 |
| 674 | } | - |
| 675 | *y = x >> 2; | - |
| 676 | return 2;executed 1396 times by 10 tests: return 2;Executed by:- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QString
- tst_QStringRef
- tst_QTcpSocket
- tst_QTextStream
| 1396 |
| 677 | } | - |
| 678 | k = 0; | - |
| 679 | if (!(x & 0xffff)) {| TRUE | evaluated 54071 times by 43 testsEvaluated by:- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPainter
- tst_QPrinter
- ...
| | FALSE | evaluated 2725 times by 25 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextStream
- tst_QUdpSocket
- tst_QVariant
- tst_qmakelib
- tst_selftests - unknown status
|
| 2725-54071 |
| 680 | k = 16; | - |
| 681 | x >>= 16; | - |
| 682 | }executed 54071 times by 43 tests: end of blockExecuted by:- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPainter
- tst_QPrinter
- ...
| 54071 |
| 683 | if (!(x & 0xff)) {| TRUE | evaluated 37705 times by 26 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- tst_QStringRef
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextStream
- tst_QVariant
- tst_qmakelib
- ...
| | FALSE | evaluated 19091 times by 43 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPainter
- tst_QPrinter
- ...
|
| 19091-37705 |
| 684 | k += 8; | - |
| 685 | x >>= 8; | - |
| 686 | }executed 37705 times by 26 tests: end of blockExecuted by:- tst_PlatformSocketEngine
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- tst_QStringRef
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextStream
- tst_QVariant
- tst_qmakelib
- ...
| 37705 |
| 687 | if (!(x & 0xf)) {| TRUE | evaluated 53157 times by 39 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- ...
| | FALSE | evaluated 3639 times by 38 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPrinter
- tst_QPropertyAnimation
- ...
|
| 3639-53157 |
| 688 | k += 4; | - |
| 689 | x >>= 4; | - |
| 690 | }executed 53157 times by 39 tests: end of blockExecuted by:- tst_PlatformSocketEngine
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- ...
| 53157 |
| 691 | if (!(x & 0x3)) {| TRUE | evaluated 22766 times by 36 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSqlDatabase
- ...
| | FALSE | evaluated 34030 times by 42 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- ...
|
| 22766-34030 |
| 692 | k += 2; | - |
| 693 | x >>= 2; | - |
| 694 | }executed 22766 times by 36 tests: end of blockExecuted by:- tst_PlatformSocketEngine
- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSqlDatabase
- ...
| 22766 |
| 695 | if (!(x & 1)) {| TRUE | evaluated 27102 times by 36 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPrinter
- tst_QString
- ...
| | FALSE | evaluated 29694 times by 43 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- ...
|
| 27102-29694 |
| 696 | k++; | - |
| 697 | x >>= 1; | - |
| 698 | if (!x & 1)| TRUE | never evaluated | | FALSE | evaluated 27102 times by 36 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPrinter
- tst_QString
- ...
|
| 0-27102 |
| 699 | return 32; never executed: return 32; | 0 |
| 700 | }executed 27102 times by 36 tests: end of blockExecuted by:- tst_PlatformSocketEngine
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPrinter
- tst_QString
- ...
| 27102 |
| 701 | *y = x; | - |
| 702 | return k;executed 56796 times by 47 tests: return k;Executed by:- tst_PlatformSocketEngine
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPageSize
- ...
| 56796 |
| 703 | } | - |
| 704 | | - |
| 705 | static Bigint *i2b(int i) | - |
| 706 | { | - |
| 707 | Bigint *b; | - |
| 708 | | - |
| 709 | b = Balloc(1); | - |
| 710 | b->x[0] = i; | - |
| 711 | b->wds = 1; | - |
| 712 | return b;executed 2421 times by 13 tests: return b;Executed by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| 2421 |
| 713 | } | - |
| 714 | | - |
| 715 | static Bigint *mult(Bigint *a, Bigint *b) | - |
| 716 | { | - |
| 717 | Bigint *c; | - |
| 718 | int k, wa, wb, wc; | - |
| 719 | ULong carry, y, z; | - |
| 720 | ULong *x, *xa, *xae, *xb, *xbe, *xc, *xc0; | - |
| 721 | #ifdef Pack_32 | - |
| 722 | ULong z2; | - |
| 723 | #endif | - |
| 724 | | - |
| 725 | if (a->wds < b->wds) {| TRUE | evaluated 1550 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 1486 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 1486-1550 |
| 726 | c = a; | - |
| 727 | a = b; | - |
| 728 | b = c; | - |
| 729 | }executed 1550 times by 5 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| 1550 |
| 730 | k = a->k; | - |
| 731 | wa = a->wds; | - |
| 732 | wb = b->wds; | - |
| 733 | wc = wa + wb; | - |
| 734 | if (wc > a->maxwds)| TRUE | evaluated 1620 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 1416 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 1416-1620 |
| 735 | k++;executed 1620 times by 5 tests: k++;Executed by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| 1620 |
| 736 | c = Balloc(k); | - |
| 737 | for(x = c->x, xa = x + wc; x < xa; x++)| TRUE | evaluated 17498 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 3036 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 3036-17498 |
| 738 | *x = 0;executed 17498 times by 6 tests: *x = 0;Executed by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 17498 |
| 739 | xa = a->x; | - |
| 740 | xae = xa + wa; | - |
| 741 | xb = b->x; | - |
| 742 | xbe = xb + wb; | - |
| 743 | xc0 = c->x; | - |
| 744 | #ifdef Pack_32 | - |
| 745 | for(; xb < xbe; xb++, xc0++) {| TRUE | evaluated 5621 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 3036 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 3036-5621 |
| 746 | if ((y = *xb & 0xffff) != 0) {| TRUE | evaluated 5621 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | never evaluated |
| 0-5621 |
| 747 | x = xa; | - |
| 748 | xc = xc0; | - |
| 749 | carry = 0; | - |
| 750 | do { | - |
| 751 | z = (*x & 0xffff) * y + (*xc & 0xffff) + carry; | - |
| 752 | carry = z >> 16; | - |
| 753 | z2 = (*x++ >> 16) * y + (*xc >> 16) + carry; | - |
| 754 | carry = z2 >> 16; | - |
| 755 | Storeinc(xc, z2, z); | - |
| 756 | }executed 35686 times by 6 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 35686 |
| 757 | while(x < xae);| TRUE | evaluated 30065 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 5621 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 5621-30065 |
| 758 | *xc = carry; | - |
| 759 | }executed 5621 times by 6 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 5621 |
| 760 | if ((y = *xb >> 16) != 0) {| TRUE | evaluated 3335 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 2286 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 2286-3335 |
| 761 | x = xa; | - |
| 762 | xc = xc0; | - |
| 763 | carry = 0; | - |
| 764 | z2 = *xc; | - |
| 765 | do { | - |
| 766 | z = (*x & 0xffff) * y + (*xc >> 16) + carry; | - |
| 767 | carry = z >> 16; | - |
| 768 | Storeinc(xc, z, z2); | - |
| 769 | z2 = (*x++ >> 16) * y + (*xc & 0xffff) + carry; | - |
| 770 | carry = z2 >> 16; | - |
| 771 | }executed 29722 times by 6 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 29722 |
| 772 | while(x < xae);| TRUE | evaluated 26387 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 3335 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 3335-26387 |
| 773 | *xc = z2; | - |
| 774 | }executed 3335 times by 6 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 3335 |
| 775 | }executed 5621 times by 6 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 5621 |
| 776 | #else | - |
| 777 | for(; xb < xbe; xc0++) { | - |
| 778 | if (y = *xb++) { | - |
| 779 | x = xa; | - |
| 780 | xc = xc0; | - |
| 781 | carry = 0; | - |
| 782 | do { | - |
| 783 | z = *x++ * y + *xc + carry; | - |
| 784 | carry = z >> 16; | - |
| 785 | *xc++ = z & 0xffff; | - |
| 786 | } | - |
| 787 | while(x < xae); | - |
| 788 | *xc = carry; | - |
| 789 | } | - |
| 790 | } | - |
| 791 | #endif | - |
| 792 | for(xc0 = c->x, xc = xc0 + wc; wc > 0 && !*--xc; --wc) ;executed 2173 times by 6 tests: ;Executed by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| TRUE | evaluated 5209 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | never evaluated |
| TRUE | evaluated 2173 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 3036 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 0-5209 |
| 793 | c->wds = wc; | - |
| 794 | return c;executed 3036 times by 6 tests: return c;Executed by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 3036 |
| 795 | } | - |
| 796 | | - |
| 797 | static Bigint *p5s; | - |
| 798 | | - |
| 799 | struct p5s_deleter | - |
| 800 | { | - |
| 801 | ~p5s_deleter() | - |
| 802 | { | - |
| 803 | while (p5s) {| TRUE | evaluated 29 times by 6 testsEvaluated by:- tst_qdoublespinbox - unknown status
- tst_qitemdelegate - unknown status
- tst_qsqldatabase - unknown status
- tst_qstring - unknown status
- tst_qstringref - unknown status
- tst_qvariant - unknown status
| | FALSE | evaluated 6 times by 6 testsEvaluated by:- tst_qdoublespinbox - unknown status
- tst_qitemdelegate - unknown status
- tst_qsqldatabase - unknown status
- tst_qstring - unknown status
- tst_qstringref - unknown status
- tst_qvariant - unknown status
|
| 6-29 |
| 804 | Bigint *next = p5s->next; | - |
| 805 | Bfree(p5s); | - |
| 806 | p5s = next; | - |
| 807 | }executed 29 times by 6 tests: end of blockExecuted by:- tst_qdoublespinbox - unknown status
- tst_qitemdelegate - unknown status
- tst_qsqldatabase - unknown status
- tst_qstring - unknown status
- tst_qstringref - unknown status
- tst_qvariant - unknown status
| 29 |
| 808 | }executed 6 times by 6 tests: end of blockExecuted by:- tst_qdoublespinbox - unknown status
- tst_qitemdelegate - unknown status
- tst_qsqldatabase - unknown status
- tst_qstring - unknown status
- tst_qstringref - unknown status
- tst_qvariant - unknown status
| 6 |
| 809 | }; | - |
| 810 | | - |
| 811 | static Bigint *pow5mult(Bigint *b, int k) | - |
| 812 | { | - |
| 813 | Bigint *b1, *p5, *p51; | - |
| 814 | int i; | - |
| 815 | static const int p05[3] = { 5, 25, 125 }; | - |
| 816 | | - |
| 817 | if ((i = k & 3) != 0)| TRUE | evaluated 1494 times by 6 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| | FALSE | evaluated 395 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QVariant
|
| 395-1494 |
| 818 | b = multadd(b, p05[i-1], 0);executed 1494 times by 6 tests: b = multadd(b, p05[i-1], 0);Executed by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| 1494 |
| 819 | | - |
| 820 | if (!(k >>= 2))| TRUE | evaluated 621 times by 5 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QString
- tst_QTreeWidget
- tst_QVariant
| | FALSE | evaluated 1268 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 621-1268 |
| 821 | return b;executed 621 times by 5 tests: return b;Executed by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QString
- tst_QTreeWidget
- tst_QVariant
| 621 |
| 822 | if (!(p5 = p5s)) {| TRUE | evaluated 6 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 1262 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 6-1262 |
| 823 | | - |
| 824 | static p5s_deleter deleter; | - |
| 825 | p5 = p5s = i2b(625); | - |
| 826 | p5->next = 0; | - |
| 827 | }executed 6 times by 6 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 6 |
| 828 | for(;;) { | - |
| 829 | if (k & 1) {| TRUE | evaluated 2920 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 2354 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 2354-2920 |
| 830 | b1 = mult(b, p5); | - |
| 831 | Bfree(b); | - |
| 832 | b = b1; | - |
| 833 | }executed 2920 times by 6 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 2920 |
| 834 | if (!(k >>= 1))| TRUE | evaluated 1268 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 4006 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 1268-4006 |
| 835 | break;executed 1268 times by 6 tests: break;Executed by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 1268 |
| 836 | if (!(p51 = p5->next)) {| TRUE | evaluated 23 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 3983 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 23-3983 |
| 837 | p51 = p5->next = mult(p5,p5); | - |
| 838 | p51->next = 0; | - |
| 839 | }executed 23 times by 5 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| 23 |
| 840 | p5 = p51; | - |
| 841 | }executed 4006 times by 5 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| 4006 |
| 842 | return b;executed 1268 times by 6 tests: return b;Executed by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 1268 |
| 843 | } | - |
| 844 | | - |
| 845 | static Bigint *lshift(Bigint *b, int k) | - |
| 846 | { | - |
| 847 | int i, k1, n, n1; | - |
| 848 | Bigint *b1; | - |
| 849 | ULong *x, *x1, *xe, z; | - |
| 850 | | - |
| 851 | #ifdef Pack_32 | - |
| 852 | n = k >> 5; | - |
| 853 | #else | - |
| 854 | n = k >> 4; | - |
| 855 | #endif | - |
| 856 | k1 = b->k; | - |
| 857 | n1 = n + b->wds + 1; | - |
| 858 | for(i = b->maxwds; n1 > i; i <<= 1)| TRUE | evaluated 5446 times by 11 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| | FALSE | evaluated 7021 times by 13 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
|
| 5446-7021 |
| 859 | k1++;executed 5446 times by 11 tests: k1++;Executed by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| 5446 |
| 860 | b1 = Balloc(k1); | - |
| 861 | x1 = b1->x; | - |
| 862 | for(i = 0; i < n; i++)| TRUE | evaluated 13623 times by 9 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| | FALSE | evaluated 7021 times by 13 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
|
| 7021-13623 |
| 863 | *x1++ = 0;executed 13623 times by 9 tests: *x1++ = 0;Executed by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| 13623 |
| 864 | x = b->x; | - |
| 865 | xe = x + b->wds; | - |
| 866 | #ifdef Pack_32 | - |
| 867 | if (k &= 0x1f) {| TRUE | evaluated 7012 times by 13 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| | FALSE | evaluated 9 times by 1 test |
| 9-7012 |
| 868 | k1 = 32 - k; | - |
| 869 | z = 0; | - |
| 870 | do { | - |
| 871 | *x1++ = *x << k | z; | - |
| 872 | z = *x++ >> k1; | - |
| 873 | }executed 26550 times by 13 tests: end of blockExecuted by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| 26550 |
| 874 | while(x < xe);| TRUE | evaluated 19538 times by 11 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| | FALSE | evaluated 7012 times by 13 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
|
| 7012-19538 |
| 875 | if ((*x1 = z) != 0)| TRUE | evaluated 112 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
| | FALSE | evaluated 6900 times by 13 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
|
| 112-6900 |
| 876 | ++n1;executed 112 times by 3 tests: ++n1;Executed by:- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
| 112 |
| 877 | }executed 7012 times by 13 tests: end of blockExecuted by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| 7012 |
| 878 | #else | - |
| 879 | if (k &= 0xf) { | - |
| 880 | k1 = 16 - k; | - |
| 881 | z = 0; | - |
| 882 | do { | - |
| 883 | *x1++ = *x << k & 0xffff | z; | - |
| 884 | z = *x++ >> k1; | - |
| 885 | } | - |
| 886 | while(x < xe); | - |
| 887 | if (*x1 = z) | - |
| 888 | ++n1; | - |
| 889 | } | - |
| 890 | #endif | - |
| 891 | else do | - |
| 892 | *x1++ = *x++;executed 26 times by 1 test: *x1++ = *x++; | 26 |
| 893 | while(x < xe);| TRUE | evaluated 17 times by 1 test | | FALSE | evaluated 9 times by 1 test |
| 9-17 |
| 894 | b1->wds = n1 - 1; | - |
| 895 | Bfree(b); | - |
| 896 | return b1;executed 7021 times by 13 tests: return b1;Executed by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| 7021 |
| 897 | } | - |
| 898 | | - |
| 899 | static int cmp(Bigint *a, Bigint *b) | - |
| 900 | { | - |
| 901 | ULong *xa, *xa0, *xb, *xb0; | - |
| 902 | int i, j; | - |
| 903 | | - |
| 904 | i = a->wds; | - |
| 905 | j = b->wds; | - |
| 906 | #ifdef BSD_QDTOA_DEBUG | - |
| 907 | if (i > 1 && !a->x[i-1]) | - |
| 908 | Bug("cmp called with a->x[a->wds-1] == 0"); | - |
| 909 | if (j > 1 && !b->x[j-1]) | - |
| 910 | Bug("cmp called with b->x[b->wds-1] == 0"); | - |
| 911 | #endif | - |
| 912 | if (i -= j)| TRUE | evaluated 546 times by 6 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
| | FALSE | evaluated 124493 times by 13 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
|
| 546-124493 |
| 913 | return i;executed 546 times by 6 tests: return i;Executed by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
| 546 |
| 914 | xa0 = a->x; | - |
| 915 | xa = xa0 + j; | - |
| 916 | xb0 = b->x; | - |
| 917 | xb = xb0 + j; | - |
| 918 | for(;;) { | - |
| 919 | if (*--xa != *--xb)| TRUE | evaluated 123906 times by 13 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| | FALSE | evaluated 4232 times by 10 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
|
| 4232-123906 |
| 920 | return *xa < *xb ? -1 : 1;executed 123906 times by 13 tests: return *xa < *xb ? -1 : 1;Executed by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| TRUE | evaluated 121740 times by 13 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| | FALSE | evaluated 2166 times by 9 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
|
| 2166-123906 |
| 921 | if (xa <= xa0)| TRUE | evaluated 587 times by 6 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
| | FALSE | evaluated 3645 times by 8 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
|
| 587-3645 |
| 922 | break;executed 587 times by 6 tests: break;Executed by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
| 587 |
| 923 | }executed 3645 times by 8 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| 3645 |
| 924 | return 0;executed 587 times by 6 tests: return 0;Executed by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
| 587 |
| 925 | } | - |
| 926 | | - |
| 927 | static Bigint *diff(Bigint *a, Bigint *b) | - |
| 928 | { | - |
| 929 | Bigint *c; | - |
| 930 | int i, wa, wb; | - |
| 931 | Long borrow, y; | - |
| 932 | ULong *xa, *xae, *xb, *xbe, *xc; | - |
| 933 | #ifdef Pack_32 | - |
| 934 | Long z; | - |
| 935 | #endif | - |
| 936 | | - |
| 937 | i = cmp(a,b); | - |
| 938 | if (!i) {| TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| | FALSE | evaluated 161 times by 7 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 4-161 |
| 939 | c = Balloc(0); | - |
| 940 | c->wds = 1; | - |
| 941 | c->x[0] = 0; | - |
| 942 | return c;executed 4 times by 2 tests: return c;Executed by:- tst_QString
- tst_QStringRef
| 4 |
| 943 | } | - |
| 944 | if (i < 0) {| TRUE | evaluated 151 times by 7 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 10 times by 1 test |
| 10-151 |
| 945 | c = a; | - |
| 946 | a = b; | - |
| 947 | b = c; | - |
| 948 | i = 1; | - |
| 949 | }executed 151 times by 7 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 151 |
| 950 | else | - |
| 951 | i = 0;executed 10 times by 1 test: i = 0; | 10 |
| 952 | c = Balloc(a->k); | - |
| 953 | c->sign = i; | - |
| 954 | wa = a->wds; | - |
| 955 | xa = a->x; | - |
| 956 | xae = xa + wa; | - |
| 957 | wb = b->wds; | - |
| 958 | xb = b->x; | - |
| 959 | xbe = xb + wb; | - |
| 960 | xc = c->x; | - |
| 961 | borrow = 0; | - |
| 962 | #ifdef Pack_32 | - |
| 963 | do { | - |
| 964 | y = (*xa & 0xffff) - (*xb & 0xffff) + borrow; | - |
| 965 | borrow = y >> 16; | - |
| 966 | Sign_Extend(borrow, y); | - |
| 967 | z = (*xa++ >> 16) - (*xb++ >> 16) + borrow; | - |
| 968 | borrow = z >> 16; | - |
| 969 | Sign_Extend(borrow, z); | - |
| 970 | Storeinc(xc, z, y); | - |
| 971 | }executed 2249 times by 7 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 2249 |
| 972 | while(xb < xbe);| TRUE | evaluated 2088 times by 7 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 161 times by 7 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 161-2088 |
| 973 | while(xa < xae) {| TRUE | never evaluated | | FALSE | evaluated 161 times by 7 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 0-161 |
| 974 | y = (*xa & 0xffff) + borrow; | - |
| 975 | borrow = y >> 16; | - |
| 976 | Sign_Extend(borrow, y); | - |
| 977 | z = (*xa++ >> 16) + borrow; | - |
| 978 | borrow = z >> 16; | - |
| 979 | Sign_Extend(borrow, z); | - |
| 980 | Storeinc(xc, z, y); | - |
| 981 | } never executed: end of block | 0 |
| 982 | #else | - |
| 983 | do { | - |
| 984 | y = *xa++ - *xb++ + borrow; | - |
| 985 | borrow = y >> 16; | - |
| 986 | Sign_Extend(borrow, y); | - |
| 987 | *xc++ = y & 0xffff; | - |
| 988 | } | - |
| 989 | while(xb < xbe); | - |
| 990 | while(xa < xae) { | - |
| 991 | y = *xa++ + borrow; | - |
| 992 | borrow = y >> 16; | - |
| 993 | Sign_Extend(borrow, y); | - |
| 994 | *xc++ = y & 0xffff; | - |
| 995 | } | - |
| 996 | #endif | - |
| 997 | while(!*--xc)| TRUE | evaluated 238 times by 7 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 161 times by 7 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 161-238 |
| 998 | wa--;executed 238 times by 7 tests: wa--;Executed by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 238 |
| 999 | c->wds = wa; | - |
| 1000 | return c;executed 161 times by 7 tests: return c;Executed by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 161 |
| 1001 | } | - |
| 1002 | | - |
| 1003 | static double ulp(double x) | - |
| 1004 | { | - |
| 1005 | Long L; | - |
| 1006 | double a; | - |
| 1007 | | - |
| 1008 | L = (getWord0(x) & Exp_mask) - (P-1)*Exp_msk1; | - |
| 1009 | #ifndef Sudden_Underflow | - |
| 1010 | if (L > 0) {| TRUE | evaluated 141 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | never evaluated |
| 0-141 |
| 1011 | #endif | - |
| 1012 | #ifdef IBM | - |
| 1013 | L |= Exp_msk1 >> 4; | - |
| 1014 | #endif | - |
| 1015 | setWord0(&a, L); | - |
| 1016 | setWord1(&a, 0); | - |
| 1017 | #ifndef Sudden_Underflow | - |
| 1018 | }executed 141 times by 6 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| 141 |
| 1019 | else { | - |
| 1020 | L = -L >> Exp_shift; | - |
| 1021 | if (L < Exp_shift) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1022 | setWord0(&a, 0x80000 >> L); | - |
| 1023 | setWord1(&a, 0); | - |
| 1024 | } never executed: end of block | 0 |
| 1025 | else { | - |
| 1026 | setWord0(&a, 0); | - |
| 1027 | L -= Exp_shift; | - |
| 1028 | setWord1(&a, L >= 31 ? 1U : 1U << (31 - L)); | - |
| 1029 | } never executed: end of block | 0 |
| 1030 | } | - |
| 1031 | #endif | - |
| 1032 | return a;executed 141 times by 6 tests: return a;Executed by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| 141 |
| 1033 | } | - |
| 1034 | | - |
| 1035 | static double b2d(Bigint *a, int *e) | - |
| 1036 | { | - |
| 1037 | ULong *xa, *xa0, w, y, z; | - |
| 1038 | int k; | - |
| 1039 | double d; | - |
| 1040 | | - |
| 1041 | xa0 = a->x; | - |
| 1042 | xa = xa0 + a->wds; | - |
| 1043 | y = *--xa; | - |
| 1044 | #ifdef BSD_QDTOA_DEBUG | - |
| 1045 | if (!y) Bug("zero y in b2d"); | - |
| 1046 | #endif | - |
| 1047 | k = hi0bits(y); | - |
| 1048 | *e = 32 - k; | - |
| 1049 | #ifdef Pack_32 | - |
| 1050 | if (k < Ebits) {| TRUE | evaluated 62 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
| | FALSE | evaluated 220 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 62-220 |
| 1051 | setWord0(&d, Exp_1 | y >> (Ebits - k)); | - |
| 1052 | w = xa > xa0 ? *--xa : 0;| TRUE | evaluated 62 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
| | FALSE | never evaluated |
| 0-62 |
| 1053 | setWord1(&d, y << ((32-Ebits) + k) | w >> (Ebits - k)); | - |
| 1054 | goto ret_d;executed 62 times by 3 tests: goto ret_d;Executed by:- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
| 62 |
| 1055 | } | - |
| 1056 | z = xa > xa0 ? *--xa : 0;| TRUE | evaluated 218 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 2 times by 1 test |
| 2-218 |
| 1057 | if (k -= Ebits) {| TRUE | evaluated 214 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 6 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
|
| 6-214 |
| 1058 | setWord0(&d, Exp_1 | y << k | z >> (32 - k)); | - |
| 1059 | y = xa > xa0 ? *--xa : 0;| TRUE | evaluated 159 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
| | FALSE | evaluated 55 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QVariant
|
| 55-159 |
| 1060 | setWord1(&d, z << k | y >> (32 - k)); | - |
| 1061 | }executed 214 times by 6 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| 214 |
| 1062 | else { | - |
| 1063 | setWord0(&d, Exp_1 | y); | - |
| 1064 | setWord1(&d, z); | - |
| 1065 | }executed 6 times by 3 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
| 6 |
| 1066 | #else | - |
| 1067 | if (k < Ebits + 16) { | - |
| 1068 | z = xa > xa0 ? *--xa : 0; | - |
| 1069 | setWord0(&d, Exp_1 | y << k - Ebits | z >> Ebits + 16 - k); | - |
| 1070 | w = xa > xa0 ? *--xa : 0; | - |
| 1071 | y = xa > xa0 ? *--xa : 0; | - |
| 1072 | setWord1(&d, z << k + 16 - Ebits | w << k - Ebits | y >> 16 + Ebits - k); | - |
| 1073 | goto ret_d; | - |
| 1074 | } | - |
| 1075 | z = xa > xa0 ? *--xa : 0; | - |
| 1076 | w = xa > xa0 ? *--xa : 0; | - |
| 1077 | k -= Ebits + 16; | - |
| 1078 | setWord0(&d, Exp_1 | y << k + 16 | z << k | w >> 16 - k); | - |
| 1079 | y = xa > xa0 ? *--xa : 0; | - |
| 1080 | setWord1(&d, w << k + 16 | y << k); | - |
| 1081 | #endif | - |
| 1082 | ret_d:code before this statement executed 220 times by 6 tests: ret_d:Executed by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| 220 |
| 1083 | return d;executed 282 times by 6 tests: return d;Executed by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| 282 |
| 1084 | } | - |
| 1085 | | - |
| 1086 | static Bigint *d2b(double d, int *e, int *bits) | - |
| 1087 | { | - |
| 1088 | Bigint *b; | - |
| 1089 | int de, i, k; | - |
| 1090 | ULong *x, y, z; | - |
| 1091 | | - |
| 1092 | #ifdef Pack_32 | - |
| 1093 | b = Balloc(1); | - |
| 1094 | #else | - |
| 1095 | b = Balloc(2); | - |
| 1096 | #endif | - |
| 1097 | x = b->x; | - |
| 1098 | | - |
| 1099 | z = getWord0(d) & Frac_mask; | - |
| 1100 | setWord0(&d, getWord0(d) & 0x7fffffff); | - |
| 1101 | #ifdef Sudden_Underflow | - |
| 1102 | de = (int)(getWord0(d) >> Exp_shift); | - |
| 1103 | #ifndef IBM | - |
| 1104 | z |= Exp_msk11; | - |
| 1105 | #endif | - |
| 1106 | #else | - |
| 1107 | if ((de = int(getWord0(d) >> Exp_shift)) != 0)| TRUE | evaluated 71593 times by 55 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- ...
| | FALSE | never evaluated |
| 0-71593 |
| 1108 | z |= Exp_msk1;executed 71593 times by 55 tests: z |= 0x100000;Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- ...
| 71593 |
| 1109 | #endif | - |
| 1110 | #ifdef Pack_32 | - |
| 1111 | if ((y = getWord1(d)) != 0) {| TRUE | evaluated 44973 times by 31 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QByteArray
- tst_QColor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPrinter
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- ...
| | FALSE | evaluated 26620 times by 46 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPageSize
- ...
|
| 26620-44973 |
| 1112 | if ((k = lo0bits(&y)) != 0) {| TRUE | evaluated 39794 times by 26 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QByteArray
- tst_QColor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPrinter
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
- tst_QTreeWidget
- ...
| | FALSE | evaluated 5179 times by 18 testsEvaluated by:- tst_QAccessibility
- tst_QByteArray
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPrinter
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTcpSocket
- tst_QTextStream
- tst_QVariant
|
| 5179-39794 |
| 1113 | x[0] = y | z << (32 - k); | - |
| 1114 | z >>= k; | - |
| 1115 | }executed 39794 times by 26 tests: end of blockExecuted by:- tst_PlatformSocketEngine
- tst_QByteArray
- tst_QColor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPrinter
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
- tst_QTreeWidget
- ...
| 39794 |
| 1116 | else | - |
| 1117 | x[0] = y;executed 5179 times by 18 tests: x[0] = y;Executed by:- tst_QAccessibility
- tst_QByteArray
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPrinter
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTcpSocket
- tst_QTextStream
- tst_QVariant
| 5179 |
| 1118 | i = b->wds = (x[1] = z) ? 2 : 1;| TRUE | evaluated 7980 times by 26 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QByteArray
- tst_QColor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPrinter
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
- tst_QTreeWidget
- ...
| | FALSE | evaluated 36993 times by 13 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsTransform
- tst_QHttpSocketEngine
- tst_QItemDelegate
- tst_QItemModel
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QTextStream
- tst_QVariant
|
| 7980-36993 |
| 1119 | }executed 44973 times by 31 tests: end of blockExecuted by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QByteArray
- tst_QColor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPrinter
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- ...
| 44973 |
| 1120 | else { | - |
| 1121 | #ifdef BSD_QDTOA_DEBUG | - |
| 1122 | if (!z) | - |
| 1123 | Bug("Zero passed to d2b"); | - |
| 1124 | #endif | - |
| 1125 | k = lo0bits(&z); | - |
| 1126 | x[0] = z; | - |
| 1127 | i = b->wds = 1; | - |
| 1128 | k += 32; | - |
| 1129 | }executed 26620 times by 46 tests: end of blockExecuted by:- tst_PlatformSocketEngine
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPageSize
- ...
| 26620 |
| 1130 | #else | - |
| 1131 | if (y = getWord1(d)) { | - |
| 1132 | if (k = lo0bits(&y)) | - |
| 1133 | if (k >= 16) { | - |
| 1134 | x[0] = y | z << 32 - k & 0xffff; | - |
| 1135 | x[1] = z >> k - 16 & 0xffff; | - |
| 1136 | x[2] = z >> k; | - |
| 1137 | i = 2; | - |
| 1138 | } | - |
| 1139 | else { | - |
| 1140 | x[0] = y & 0xffff; | - |
| 1141 | x[1] = y >> 16 | z << 16 - k & 0xffff; | - |
| 1142 | x[2] = z >> k & 0xffff; | - |
| 1143 | x[3] = z >> k+16; | - |
| 1144 | i = 3; | - |
| 1145 | } | - |
| 1146 | else { | - |
| 1147 | x[0] = y & 0xffff; | - |
| 1148 | x[1] = y >> 16; | - |
| 1149 | x[2] = z & 0xffff; | - |
| 1150 | x[3] = z >> 16; | - |
| 1151 | i = 3; | - |
| 1152 | } | - |
| 1153 | } | - |
| 1154 | else { | - |
| 1155 | #ifdef BSD_QDTOA_DEBUG | - |
| 1156 | if (!z) | - |
| 1157 | Bug("Zero passed to d2b"); | - |
| 1158 | #endif | - |
| 1159 | k = lo0bits(&z); | - |
| 1160 | if (k >= 16) { | - |
| 1161 | x[0] = z; | - |
| 1162 | i = 0; | - |
| 1163 | } | - |
| 1164 | else { | - |
| 1165 | x[0] = z & 0xffff; | - |
| 1166 | x[1] = z >> 16; | - |
| 1167 | i = 1; | - |
| 1168 | } | - |
| 1169 | k += 32; | - |
| 1170 | } | - |
| 1171 | while(!x[i]) | - |
| 1172 | --i; | - |
| 1173 | b->wds = i + 1; | - |
| 1174 | #endif | - |
| 1175 | #ifndef Sudden_Underflow | - |
| 1176 | if (de) {| TRUE | evaluated 71593 times by 55 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- ...
| | FALSE | never evaluated |
| 0-71593 |
| 1177 | #endif | - |
| 1178 | #ifdef IBM | - |
| 1179 | *e = (de - Bias - (P-1) << 2) + k; | - |
| 1180 | *bits = 4*P + 8 - k - hi0bits(getWord0(d) & Frac_mask); | - |
| 1181 | #else | - |
| 1182 | *e = de - Bias - (P-1) + k; | - |
| 1183 | *bits = P - k; | - |
| 1184 | #endif | - |
| 1185 | #ifndef Sudden_Underflow | - |
| 1186 | }executed 71593 times by 55 tests: end of blockExecuted by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- ...
| 71593 |
| 1187 | else { | - |
| 1188 | *e = de - Bias - (P-1) + 1 + k; | - |
| 1189 | #ifdef Pack_32 | - |
| 1190 | *bits = 32*i - hi0bits(x[i-1]); | - |
| 1191 | #else | - |
| 1192 | *bits = (i+2)*16 - hi0bits(x[i]); | - |
| 1193 | #endif | - |
| 1194 | } never executed: end of block | 0 |
| 1195 | #endif | - |
| 1196 | return b;executed 71593 times by 55 tests: return b;Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- ...
| 71593 |
| 1197 | } | - |
| 1198 | | - |
| 1199 | static double ratio(Bigint *a, Bigint *b) | - |
| 1200 | { | - |
| 1201 | double da, db; | - |
| 1202 | int k, ka, kb; | - |
| 1203 | | - |
| 1204 | da = b2d(a, &ka); | - |
| 1205 | db = b2d(b, &kb); | - |
| 1206 | #ifdef Pack_32 | - |
| 1207 | k = ka - kb + 32*(a->wds - b->wds); | - |
| 1208 | #else | - |
| 1209 | k = ka - kb + 16*(a->wds - b->wds); | - |
| 1210 | #endif | - |
| 1211 | #ifdef IBM | - |
| 1212 | if (k > 0) { | - |
| 1213 | setWord0(&da, getWord0(da) + (k >> 2)*Exp_msk1); | - |
| 1214 | if (k &= 3) | - |
| 1215 | da *= 1 << k; | - |
| 1216 | } | - |
| 1217 | else { | - |
| 1218 | k = -k; | - |
| 1219 | setWord0(&db, getWord0(db) + (k >> 2)*Exp_msk1); | - |
| 1220 | if (k &= 3) | - |
| 1221 | db *= 1 << k; | - |
| 1222 | } | - |
| 1223 | #else | - |
| 1224 | if (k > 0)| TRUE | evaluated 133 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
|
| 8-133 |
| 1225 | setWord0(&da, getWord0(da) + k*Exp_msk1);executed 133 times by 6 tests: setWord0(&da, getWord0(da) + k*0x100000);Executed by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| 133 |
| 1226 | else { | - |
| 1227 | k = -k; | - |
| 1228 | setWord0(&db, getWord0(db) + k*Exp_msk1); | - |
| 1229 | }executed 8 times by 2 tests: end of blockExecuted by:- tst_QString
- tst_QStringRef
| 8 |
| 1230 | #endif | - |
| 1231 | return da / db;executed 141 times by 6 tests: return da / db;Executed by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| 141 |
| 1232 | } | - |
| 1233 | | - |
| 1234 | static const double tens[] = { | - |
| 1235 | 1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, | - |
| 1236 | 1e10, 1e11, 1e12, 1e13, 1e14, 1e15, 1e16, 1e17, 1e18, 1e19, | - |
| 1237 | 1e20, 1e21, 1e22 | - |
| 1238 | #ifdef VAX | - |
| 1239 | , 1e23, 1e24 | - |
| 1240 | #endif | - |
| 1241 | }; | - |
| 1242 | | - |
| 1243 | #ifdef IEEE_Arith | - |
| 1244 | static const double bigtens[] = { 1e16, 1e32, 1e64, 1e128, 1e256 }; | - |
| 1245 | static const double tinytens[] = { 1e-16, 1e-32, 1e-64, 1e-128, 1e-256 }; | - |
| 1246 | #define n_bigtens 5 | - |
| 1247 | #else | - |
| 1248 | #ifdef IBM | - |
| 1249 | static const double bigtens[] = { 1e16, 1e32, 1e64 }; | - |
| 1250 | static const double tinytens[] = { 1e-16, 1e-32, 1e-64 }; | - |
| 1251 | #define n_bigtens 3 | - |
| 1252 | #else | - |
| 1253 | static const double bigtens[] = { 1e16, 1e32 }; | - |
| 1254 | static const double tinytens[] = { 1e-16, 1e-32 }; | - |
| 1255 | #define n_bigtens 2 | - |
| 1256 | #endif | - |
| 1257 | #endif | - |
| 1258 | | - |
| 1259 | | - |
| 1260 | | - |
| 1261 | | - |
| 1262 | | - |
| 1263 | | - |
| 1264 | | - |
| 1265 | | - |
| 1266 | | - |
| 1267 | | - |
| 1268 | static double g_double_zero = 0.0; | - |
| 1269 | | - |
| 1270 | Q_CORE_EXPORT double qstrtod(const char *s00, const char **se, bool *ok) | - |
| 1271 | { | - |
| 1272 | int bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, dsign, | - |
| 1273 | e, e1, esign, i, j, k, nd, nd0, nf, nz, nz0, sign; | - |
| 1274 | const char *s, *s0, *s1; | - |
| 1275 | double aadj, aadj1, adj, rv, rv0; | - |
| 1276 | Long L; | - |
| 1277 | ULong y, z; | - |
| 1278 | Bigint *bb1, *bd0; | - |
| 1279 | Bigint *bb = NULL, *bd = NULL, *bs = NULL, *delta = NULL; | - |
| 1280 | | - |
| 1281 | | - |
| 1282 | | - |
| 1283 | | - |
| 1284 | | - |
| 1285 | | - |
| 1286 | | - |
| 1287 | if (ok != 0)| TRUE | evaluated 4123 times by 28 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- ...
| | FALSE | never evaluated |
| 0-4123 |
| 1288 | *ok = true;executed 4123 times by 28 tests: *ok = true;Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- ...
| 4123 |
| 1289 | | - |
| 1290 | const char decimal_point = '.'; | - |
| 1291 | | - |
| 1292 | sign = nz0 = nz = 0; | - |
| 1293 | rv = 0.; | - |
| 1294 | | - |
| 1295 | | - |
| 1296 | for(s = s00; ascii_isspace(uchar(*s)); s++)| TRUE | never evaluated | | FALSE | evaluated 4123 times by 28 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- ...
|
| 0-4123 |
| 1297 | ; never executed: ; | 0 |
| 1298 | | - |
| 1299 | if (*s == '-') {| TRUE | evaluated 403 times by 9 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QItemDelegate
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QTextStream
| | FALSE | evaluated 3720 times by 28 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- ...
|
| 403-3720 |
| 1300 | sign = 1; | - |
| 1301 | s++; | - |
| 1302 | } else if (*s == '+') {executed 403 times by 9 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QItemDelegate
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QTextStream
| TRUE | evaluated 7 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QString
| | FALSE | evaluated 3713 times by 28 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- ...
|
| 7-3713 |
| 1303 | s++; | - |
| 1304 | }executed 7 times by 3 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QString
| 7 |
| 1305 | | - |
| 1306 | if (*s == '\0') {| TRUE | evaluated 10 times by 3 testsEvaluated by:- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
| | FALSE | evaluated 4113 times by 28 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- ...
|
| 10-4113 |
| 1307 | s = s00; | - |
| 1308 | goto ret;executed 10 times by 3 tests: goto ret;Executed by:- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
| 10 |
| 1309 | } | - |
| 1310 | | - |
| 1311 | if (*s == '0') {| TRUE | evaluated 1428 times by 20 testsEvaluated by:- tst_QAccessibility
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_Selftests
| | FALSE | evaluated 2685 times by 28 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- ...
|
| 1428-2685 |
| 1312 | nz0 = 1; | - |
| 1313 | while(*++s == '0') ;executed 81 times by 2 tests: ;Executed by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
| TRUE | evaluated 81 times by 2 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
| | FALSE | evaluated 1428 times by 20 testsEvaluated by:- tst_QAccessibility
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_Selftests
|
| 81-1428 |
| 1314 | if (!*s)| TRUE | evaluated 671 times by 15 testsEvaluated by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_Selftests
| | FALSE | evaluated 757 times by 10 testsEvaluated by:- tst_QAccessibility
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QStringRef
|
| 671-757 |
| 1315 | goto ret;executed 671 times by 15 tests: goto ret;Executed by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_Selftests
| 671 |
| 1316 | }executed 757 times by 10 tests: end of blockExecuted by:- tst_QAccessibility
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QStringRef
| 757 |
| 1317 | s0 = s; | - |
| 1318 | y = z = 0; | - |
| 1319 | for(nd = nf = 0; (c = *s) >= '0' && c <= '9'; nd++, s++)| TRUE | evaluated 23304 times by 28 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- ...
| | FALSE | evaluated 3122 times by 26 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- tst_QVariant
- tst_QWidget
- ...
|
| TRUE | evaluated 22984 times by 26 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- tst_QVariant
- tst_QWidget
- ...
| | FALSE | evaluated 320 times by 10 testsEvaluated by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QInputDialog
- tst_QMetaType
- tst_QObject
- tst_QString
- tst_QStringRef
- tst_QTextStream
- tst_QVariant
|
| 320-23304 |
| 1320 | if (nd < 9)| TRUE | evaluated 5535 times by 26 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- tst_QVariant
- tst_QWidget
- ...
| | FALSE | evaluated 17449 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
|
| 5535-17449 |
| 1321 | y = 10*y + c - '0';executed 5535 times by 26 tests: y = 10*y + c - '0';Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- tst_QVariant
- tst_QWidget
- ...
| 5535 |
| 1322 | else if (nd < 16)| TRUE | evaluated 428 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
| | FALSE | evaluated 17021 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
|
| 428-17021 |
| 1323 | z = 10*z + c - '0';executed 428 times by 4 tests: z = 10*z + c - '0';Executed by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
| 428 |
| 1324 | nd0 = nd; | - |
| 1325 | if (c == decimal_point) {| TRUE | evaluated 1664 times by 17 testsEvaluated by:- tst_QAccessibility
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QItemDelegate
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextStream
- tst_QVariant
- tst_Selftests
| | FALSE | evaluated 1778 times by 26 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaType
- tst_QObject
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- tst_QVariant
- tst_QWidget
- ...
|
| 1664-1778 |
| 1326 | c = *++s; | - |
| 1327 | if (!nd) {| TRUE | evaluated 775 times by 10 testsEvaluated by:- tst_QAccessibility
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QStringRef
| | FALSE | evaluated 889 times by 15 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QItemDelegate
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextStream
- tst_QVariant
- tst_Selftests
|
| 775-889 |
| 1328 | for(; c == '0'; c = *++s)| TRUE | evaluated 2853 times by 9 testsEvaluated by:- tst_QAccessibility
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QStringRef
| | FALSE | evaluated 775 times by 10 testsEvaluated by:- tst_QAccessibility
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QStringRef
|
| 775-2853 |
| 1329 | nz++;executed 2853 times by 9 tests: nz++;Executed by:- tst_QAccessibility
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QStringRef
| 2853 |
| 1330 | if (c > '0' && c <= '9') {| TRUE | evaluated 249 times by 8 testsEvaluated by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QPrinter
- tst_QString
- tst_QStringRef
| | FALSE | evaluated 526 times by 9 testsEvaluated by:- tst_QAccessibility
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QStringRef
|
| TRUE | evaluated 249 times by 8 testsEvaluated by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QPrinter
- tst_QString
- tst_QStringRef
| | FALSE | never evaluated |
| 0-526 |
| 1331 | s0 = s; | - |
| 1332 | nf += nz; | - |
| 1333 | nz = 0; | - |
| 1334 | goto have_dig;executed 249 times by 8 tests: goto have_dig;Executed by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QPrinter
- tst_QString
- tst_QStringRef
| 249 |
| 1335 | } | - |
| 1336 | goto dig_done;executed 526 times by 9 tests: goto dig_done;Executed by:- tst_QAccessibility
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QStringRef
| 526 |
| 1337 | } | - |
| 1338 | for(; c >= '0' && c <= '9'; c = *++s) {| TRUE | evaluated 6379 times by 15 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QItemDelegate
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextStream
- tst_QVariant
- tst_Selftests
| | FALSE | evaluated 1110 times by 16 testsEvaluated by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QItemDelegate
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextStream
- tst_QVariant
- tst_Selftests
|
| TRUE | evaluated 6351 times by 15 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QItemDelegate
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextStream
- tst_QVariant
- tst_Selftests
| | FALSE | evaluated 28 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
|
| 28-6379 |
| 1339 | have_dig: | - |
| 1340 | nz++; | - |
| 1341 | if (c -= '0') {| TRUE | evaluated 3141 times by 13 testsEvaluated by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QPrinter
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextStream
- tst_QVariant
| | FALSE | evaluated 3459 times by 13 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QItemDelegate
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QTextDocumentFragment
- tst_QTextStream
- tst_QVariant
- tst_Selftests
|
| 3141-3459 |
| 1342 | nf += nz; | - |
| 1343 | for(i = 1; i < nz; i++)| TRUE | evaluated 174 times by 7 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QEasingCurve
- tst_QInputDialog
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 3141 times by 13 testsEvaluated by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QPrinter
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextStream
- tst_QVariant
|
| 174-3141 |
| 1344 | if (nd++ < 9)| TRUE | evaluated 115 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QEasingCurve
- tst_QInputDialog
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 59 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QSqlDatabase
- tst_QVariant
|
| 59-115 |
| 1345 | y *= 10;executed 115 times by 6 tests: y *= 10;Executed by:- tst_QDoubleSpinBox
- tst_QEasingCurve
- tst_QInputDialog
- tst_QString
- tst_QStringRef
- tst_QVariant
| 115 |
| 1346 | else if (nd <= DBL_DIG + 1)| TRUE | evaluated 29 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QSqlDatabase
- tst_QVariant
| | FALSE | evaluated 30 times by 1 test |
| 29-30 |
| 1347 | z *= 10;executed 29 times by 3 tests: z *= 10;Executed by:- tst_QDoubleSpinBox
- tst_QSqlDatabase
- tst_QVariant
| 29 |
| 1348 | if (nd++ < 9)| TRUE | evaluated 1733 times by 12 testsEvaluated by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QPrinter
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextStream
- tst_QVariant
| | FALSE | evaluated 1408 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 1408-1733 |
| 1349 | y = 10*y + c;executed 1733 times by 12 tests: y = 10*y + c;Executed by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QPrinter
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextStream
- tst_QVariant
| 1733 |
| 1350 | else if (nd <= DBL_DIG + 1)| TRUE | evaluated 710 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 698 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 698-710 |
| 1351 | z = 10*z + c;executed 710 times by 4 tests: z = 10*z + c;Executed by:- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
- tst_QVariant
| 710 |
| 1352 | nz = 0; | - |
| 1353 | }executed 3141 times by 13 tests: end of blockExecuted by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QPrinter
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextStream
- tst_QVariant
| 3141 |
| 1354 | }executed 6600 times by 16 tests: end of blockExecuted by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QItemDelegate
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextStream
- tst_QVariant
- tst_Selftests
| 6600 |
| 1355 | }executed 1138 times by 16 tests: end of blockExecuted by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QItemDelegate
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextStream
- tst_QVariant
- tst_Selftests
| 1138 |
| 1356 | dig_done:code before this statement executed 2916 times by 28 tests: dig_done:Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- ...
| 2916 |
| 1357 | e = 0; | - |
| 1358 | if (c == 'e' || c == 'E') {| TRUE | evaluated 112 times by 4 testsEvaluated by:- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
- tst_QTextStream
| | FALSE | evaluated 3330 times by 28 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- ...
|
| TRUE | never evaluated | | FALSE | evaluated 3330 times by 28 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- ...
|
| 0-3330 |
| 1359 | if (!nd && !nz && !nz0) {| TRUE | evaluated 20 times by 1 test | | FALSE | evaluated 92 times by 4 testsEvaluated by:- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
- tst_QTextStream
|
| TRUE | evaluated 20 times by 1 test | | FALSE | never evaluated |
| TRUE | evaluated 20 times by 1 test | | FALSE | never evaluated |
| 0-92 |
| 1360 | s = s00; | - |
| 1361 | goto ret;executed 20 times by 1 test: goto ret; | 20 |
| 1362 | } | - |
| 1363 | s00 = s; | - |
| 1364 | esign = 0; | - |
| 1365 | switch(c = *++s) { | - |
| 1366 | case '-':executed 26 times by 4 tests: case '-':Executed by:- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
- tst_QTextStream
| 26 |
| 1367 | esign = 1; | - |
| 1368 | case '+':code before this statement executed 26 times by 4 tests: case '+':Executed by:- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
- tst_QTextStream
executed 68 times by 4 tests: case '+':Executed by:- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
- tst_QTextStream
| 26-68 |
| 1369 | c = *++s; | - |
| 1370 | }executed 68 times by 4 tests: end of blockExecuted by:- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
- tst_QTextStream
| 68 |
| 1371 | if (c >= '0' && c <= '9') {| TRUE | evaluated 70 times by 4 testsEvaluated by:- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
- tst_QTextStream
| | FALSE | evaluated 22 times by 3 testsEvaluated by:- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
|
| TRUE | evaluated 68 times by 4 testsEvaluated by:- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
- tst_QTextStream
| | FALSE | evaluated 2 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
|
| 2-70 |
| 1372 | while(c == '0')| TRUE | evaluated 12 times by 3 testsEvaluated by:- tst_QString
- tst_QStringRef
- tst_QTextStream
| | FALSE | evaluated 68 times by 4 testsEvaluated by:- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
- tst_QTextStream
|
| 12-68 |
| 1373 | c = *++s;executed 12 times by 3 tests: c = *++s;Executed by:- tst_QString
- tst_QStringRef
- tst_QTextStream
| 12 |
| 1374 | if (c > '0' && c <= '9') {| TRUE | evaluated 68 times by 4 testsEvaluated by:- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
- tst_QTextStream
| | FALSE | never evaluated |
| TRUE | evaluated 68 times by 4 testsEvaluated by:- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
- tst_QTextStream
| | FALSE | never evaluated |
| 0-68 |
| 1375 | L = c - '0'; | - |
| 1376 | s1 = s; | - |
| 1377 | while((c = *++s) >= '0' && c <= '9')| TRUE | evaluated 38 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| | FALSE | evaluated 68 times by 4 testsEvaluated by:- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
- tst_QTextStream
|
| TRUE | evaluated 38 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| | FALSE | never evaluated |
| 0-68 |
| 1378 | L = 10*L + c - '0';executed 38 times by 2 tests: L = 10*L + c - '0';Executed by:- tst_QString
- tst_QStringRef
| 38 |
| 1379 | if (s - s1 > 8 || L > 19999)| TRUE | never evaluated | | FALSE | evaluated 68 times by 4 testsEvaluated by:- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
- tst_QTextStream
|
| TRUE | never evaluated | | FALSE | evaluated 68 times by 4 testsEvaluated by:- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
- tst_QTextStream
|
| 0-68 |
| 1380 | | - |
| 1381 | | - |
| 1382 | | - |
| 1383 | e = 19999; never executed: e = 19999; | 0 |
| 1384 | else | - |
| 1385 | e = int(L);executed 68 times by 4 tests: e = int(L);Executed by:- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
- tst_QTextStream
| 68 |
| 1386 | if (esign)| TRUE | evaluated 20 times by 4 testsEvaluated by:- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
- tst_QTextStream
| | FALSE | evaluated 48 times by 4 testsEvaluated by:- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
- tst_QTextStream
|
| 20-48 |
| 1387 | e = -e;executed 20 times by 4 tests: e = -e;Executed by:- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
- tst_QTextStream
| 20 |
| 1388 | }executed 68 times by 4 tests: end of blockExecuted by:- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
- tst_QTextStream
| 68 |
| 1389 | else | - |
| 1390 | e = 0; never executed: e = 0; | 0 |
| 1391 | } | - |
| 1392 | else | - |
| 1393 | s = s00;executed 24 times by 3 tests: s = s00;Executed by:- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
| 24 |
| 1394 | } | - |
| 1395 | if (!nd) {| TRUE | evaluated 758 times by 13 testsEvaluated by:- tst_QAccessibility
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 2664 times by 26 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- tst_QVariant
- tst_QWidget
- ...
|
| 758-2664 |
| 1396 | if (!nz && !nz0)| TRUE | evaluated 291 times by 9 testsEvaluated by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QInputDialog
- tst_QMetaType
- tst_QObject
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 467 times by 7 testsEvaluated by:- tst_QAccessibility
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QPrinter
- tst_QSpinBox
|
| TRUE | evaluated 236 times by 9 testsEvaluated by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QInputDialog
- tst_QMetaType
- tst_QObject
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 55 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QInputDialog
- tst_QString
- tst_QStringRef
|
| 55-467 |
| 1397 | s = s00;executed 236 times by 9 tests: s = s00;Executed by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QInputDialog
- tst_QMetaType
- tst_QObject
- tst_QString
- tst_QStringRef
- tst_QVariant
| 236 |
| 1398 | goto ret;executed 758 times by 13 tests: goto ret;Executed by:- tst_QAccessibility
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QVariant
| 758 |
| 1399 | } | - |
| 1400 | e1 = e -= nf; | - |
| 1401 | | - |
| 1402 | | - |
| 1403 | | - |
| 1404 | | - |
| 1405 | | - |
| 1406 | | - |
| 1407 | if (!nd0)| TRUE | evaluated 249 times by 8 testsEvaluated by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QPrinter
- tst_QString
- tst_QStringRef
| | FALSE | evaluated 2415 times by 26 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- tst_QVariant
- tst_QWidget
- ...
|
| 249-2415 |
| 1408 | nd0 = nd;executed 249 times by 8 tests: nd0 = nd;Executed by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QPrinter
- tst_QString
- tst_QStringRef
| 249 |
| 1409 | k = nd < DBL_DIG + 1 ? nd : DBL_DIG + 1;| TRUE | evaluated 2503 times by 25 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- tst_QVariant
- tst_QWidget
- tst_Selftests
| | FALSE | evaluated 161 times by 7 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 161-2503 |
| 1410 | rv = y; | - |
| 1411 | if (k > 9)| TRUE | evaluated 172 times by 7 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 2492 times by 25 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- tst_QVariant
- tst_QWidget
- tst_Selftests
|
| 172-2492 |
| 1412 | rv = tens[k - 9] * rv + z;executed 172 times by 7 tests: rv = tens[k - 9] * rv + z;Executed by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 172 |
| 1413 | | - |
| 1414 | bd0 = 0; | - |
| 1415 | if (nd <= DBL_DIG| TRUE | evaluated 2503 times by 25 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- tst_QVariant
- tst_QWidget
- tst_Selftests
| | FALSE | evaluated 161 times by 7 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 161-2503 |
| 1416 | #ifndef RND_PRODQUOT | - |
| 1417 | && FLT_ROUNDS == 1| TRUE | evaluated 2503 times by 25 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- tst_QVariant
- tst_QWidget
- tst_Selftests
| | FALSE | never evaluated |
| 0-2503 |
| 1418 | #endif | - |
| 1419 | ) { | - |
| 1420 | if (!e)| TRUE | evaluated 2002 times by 24 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- tst_QVariant
- tst_QWidget
- tst_Selftests
| | FALSE | evaluated 501 times by 12 testsEvaluated by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QPrinter
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextStream
- tst_QVariant
|
| 501-2002 |
| 1421 | goto ret;executed 2002 times by 24 tests: goto ret;Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- tst_QVariant
- tst_QWidget
- tst_Selftests
| 2002 |
| 1422 | if (e > 0) {| TRUE | evaluated 32 times by 4 testsEvaluated by:- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
- tst_QTextStream
| | FALSE | evaluated 469 times by 12 testsEvaluated by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QPrinter
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextStream
- tst_QVariant
|
| 32-469 |
| 1423 | if (e <= Ten_pmax) {| TRUE | evaluated 32 times by 4 testsEvaluated by:- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
- tst_QTextStream
| | FALSE | never evaluated |
| 0-32 |
| 1424 | #ifdef VAX | - |
| 1425 | goto vax_ovfl_check; | - |
| 1426 | #else | - |
| 1427 | rounded_product(rv, tens[e]); | - |
| 1428 | goto ret;executed 32 times by 4 tests: goto ret;Executed by:- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
- tst_QTextStream
| 32 |
| 1429 | #endif | - |
| 1430 | } | - |
| 1431 | i = DBL_DIG - nd; | - |
| 1432 | if (e <= Ten_pmax + i) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1433 | | - |
| 1434 | | - |
| 1435 | | - |
| 1436 | e -= i; | - |
| 1437 | rv *= tens[i]; | - |
| 1438 | #ifdef VAX | - |
| 1439 | | - |
| 1440 | | - |
| 1441 | | - |
| 1442 | vax_ovfl_check: | - |
| 1443 | setWord0(&rv, getWord0(rv) - P*Exp_msk1); | - |
| 1444 | rounded_product(rv, tens[e]); | - |
| 1445 | if ((getWord0(rv) & Exp_mask) | - |
| 1446 | > Exp_msk1*(DBL_MAX_EXP+Bias-1-P)) | - |
| 1447 | goto ovfl; | - |
| 1448 | setWord0(&rv, getWord0(rv) + P*Exp_msk1); | - |
| 1449 | #else | - |
| 1450 | rounded_product(rv, tens[e]); | - |
| 1451 | #endif | - |
| 1452 | goto ret; never executed: goto ret; | 0 |
| 1453 | } | - |
| 1454 | } never executed: end of block | 0 |
| 1455 | #ifndef Inaccurate_Divide | - |
| 1456 | else if (e >= -Ten_pmax) {| TRUE | evaluated 469 times by 12 testsEvaluated by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QPrinter
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextStream
- tst_QVariant
| | FALSE | never evaluated |
| 0-469 |
| 1457 | rounded_quotient(rv, tens[-e]); | - |
| 1458 | goto ret;executed 469 times by 12 tests: goto ret;Executed by:- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QPrinter
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextStream
- tst_QVariant
| 469 |
| 1459 | } | - |
| 1460 | #endif | - |
| 1461 | } never executed: end of block | 0 |
| 1462 | e1 += nd - k; | - |
| 1463 | | - |
| 1464 | | - |
| 1465 | | - |
| 1466 | if (e1 > 0) {| TRUE | evaluated 72 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
| | FALSE | evaluated 89 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 72-89 |
| 1467 | if ((i = e1 & 15) != 0)| TRUE | evaluated 72 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
| | FALSE | never evaluated |
| 0-72 |
| 1468 | rv *= tens[i];executed 72 times by 5 tests: rv *= tens[i];Executed by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
| 72 |
| 1469 | if (e1 &= ~15) {| TRUE | evaluated 71 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
| | FALSE | evaluated 1 time by 1 test |
| 1-71 |
| 1470 | if (e1 > DBL_MAX_10_EXP) {| TRUE | never evaluated | | FALSE | evaluated 71 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
|
| 0-71 |
| 1471 | ovfl: | - |
| 1472 | | - |
| 1473 | if (ok != 0)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1474 | *ok = false; never executed: *ok = false; | 0 |
| 1475 | #ifdef __STDC__ | - |
| 1476 | rv = HUGE_VAL; | - |
| 1477 | #else | - |
| 1478 | | - |
| 1479 | #ifdef IEEE_Arith | - |
| 1480 | setWord0(&rv, Exp_mask); | - |
| 1481 | setWord1(&rv, 0); | - |
| 1482 | #else | - |
| 1483 | setWord0(&rv, Big0); | - |
| 1484 | setWord1(&rv, Big1); | - |
| 1485 | #endif | - |
| 1486 | #endif | - |
| 1487 | if (bd0)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1488 | goto retfree; never executed: goto retfree; | 0 |
| 1489 | goto ret; never executed: goto ret; | 0 |
| 1490 | } | - |
| 1491 | if (e1 >>= 4) {| TRUE | evaluated 71 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
| | FALSE | never evaluated |
| 0-71 |
| 1492 | for(j = 0; e1 > 1; j++, e1 >>= 1)| TRUE | evaluated 232 times by 2 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
| | FALSE | evaluated 71 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
|
| 71-232 |
| 1493 | if (e1 & 1)| TRUE | evaluated 58 times by 2 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
| | FALSE | evaluated 174 times by 2 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
|
| 58-174 |
| 1494 | rv *= bigtens[j];executed 58 times by 2 tests: rv *= bigtens[j];Executed by:- tst_QDoubleSpinBox
- tst_QItemDelegate
| 58 |
| 1495 | | - |
| 1496 | setWord0(&rv, getWord0(rv) - P*Exp_msk1); | - |
| 1497 | rv *= bigtens[j]; | - |
| 1498 | if ((z = getWord0(rv) & Exp_mask)| TRUE | never evaluated | | FALSE | evaluated 71 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
|
| 0-71 |
| 1499 | > Exp_msk1*(DBL_MAX_EXP+Bias-P))| TRUE | never evaluated | | FALSE | evaluated 71 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
|
| 0-71 |
| 1500 | goto ovfl; never executed: goto ovfl; | 0 |
| 1501 | if (z > Exp_msk1*(DBL_MAX_EXP+Bias-1-P)) {| TRUE | never evaluated | | FALSE | evaluated 71 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
|
| 0-71 |
| 1502 | | - |
| 1503 | | - |
| 1504 | setWord0(&rv, Big0); | - |
| 1505 | setWord1(&rv, Big1); | - |
| 1506 | } never executed: end of block | 0 |
| 1507 | else | - |
| 1508 | setWord0(&rv, getWord0(rv) + P*Exp_msk1);executed 71 times by 4 tests: setWord0(&rv, getWord0(rv) + 53*0x100000);Executed by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
| 71 |
| 1509 | } | - |
| 1510 | | - |
| 1511 | }executed 71 times by 4 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
| 71 |
| 1512 | }executed 72 times by 5 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
| 72 |
| 1513 | else if (e1 < 0) {| TRUE | evaluated 89 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | never evaluated |
| 0-89 |
| 1514 | e1 = -e1; | - |
| 1515 | if ((i = e1 & 15) != 0)| TRUE | evaluated 27 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 62 times by 1 test |
| 27-62 |
| 1516 | rv /= tens[i];executed 27 times by 5 tests: rv /= tens[i];Executed by:- tst_QDoubleSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 27 |
| 1517 | if (e1 &= ~15) {| TRUE | evaluated 66 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
| | FALSE | evaluated 23 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QSqlDatabase
- tst_QVariant
|
| 23-66 |
| 1518 | e1 >>= 4; | - |
| 1519 | if (e1 >= 1 << n_bigtens)| TRUE | never evaluated | | FALSE | evaluated 66 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
|
| 0-66 |
| 1520 | goto undfl; never executed: goto undfl; | 0 |
| 1521 | for(j = 0; e1 > 1; j++, e1 >>= 1)| TRUE | never evaluated | | FALSE | evaluated 66 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
|
| 0-66 |
| 1522 | if (e1 & 1)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1523 | rv *= tinytens[j]; never executed: rv *= tinytens[j]; | 0 |
| 1524 | | - |
| 1525 | rv0 = rv; | - |
| 1526 | rv *= tinytens[j]; | - |
| 1527 | if (rv == g_double_zero)| TRUE | never evaluated | | FALSE | evaluated 66 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
|
| 0-66 |
| 1528 | { | - |
| 1529 | rv = 2.*rv0; | - |
| 1530 | rv *= tinytens[j]; | - |
| 1531 | if (rv == g_double_zero)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1532 | { | - |
| 1533 | undfl: | - |
| 1534 | rv = 0.; | - |
| 1535 | | - |
| 1536 | if (ok != 0)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1537 | *ok = false; never executed: *ok = false; | 0 |
| 1538 | if (bd0)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1539 | goto retfree; never executed: goto retfree; | 0 |
| 1540 | goto ret; never executed: goto ret; | 0 |
| 1541 | } | - |
| 1542 | setWord0(&rv, Tiny0); | - |
| 1543 | setWord1(&rv, Tiny1); | - |
| 1544 | | - |
| 1545 | | - |
| 1546 | | - |
| 1547 | } never executed: end of block | 0 |
| 1548 | }executed 66 times by 3 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
| 66 |
| 1549 | }executed 89 times by 5 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 89 |
| 1550 | | - |
| 1551 | | - |
| 1552 | | - |
| 1553 | | - |
| 1554 | | - |
| 1555 | bd0 = s2b(s0, nd0, nd, y); | - |
| 1556 | | - |
| 1557 | for(;;) { | - |
| 1558 | bd = Balloc(bd0->k); | - |
| 1559 | Bcopy(bd, bd0); | - |
| 1560 | bb = d2b(rv, &bbe, &bbbits); | - |
| 1561 | bs = i2b(1); | - |
| 1562 | | - |
| 1563 | if (e >= 0) {| TRUE | evaluated 72 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
| | FALSE | evaluated 93 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 72-93 |
| 1564 | bb2 = bb5 = 0; | - |
| 1565 | bd2 = bd5 = e; | - |
| 1566 | }executed 72 times by 5 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
| 72 |
| 1567 | else { | - |
| 1568 | bb2 = bb5 = -e; | - |
| 1569 | bd2 = bd5 = 0; | - |
| 1570 | }executed 93 times by 5 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 93 |
| 1571 | if (bbe >= 0)| TRUE | evaluated 76 times by 7 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 89 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 76-89 |
| 1572 | bb2 += bbe;executed 76 times by 7 tests: bb2 += bbe;Executed by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 76 |
| 1573 | else | - |
| 1574 | bd2 -= bbe;executed 89 times by 4 tests: bd2 -= bbe;Executed by:- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
- tst_QVariant
| 89 |
| 1575 | bs2 = bb2; | - |
| 1576 | #ifdef Sudden_Underflow | - |
| 1577 | #ifdef IBM | - |
| 1578 | j = 1 + 4*P - 3 - bbbits + ((bbe + bbbits - 1) & 3); | - |
| 1579 | #else | - |
| 1580 | j = P + 1 - bbbits; | - |
| 1581 | #endif | - |
| 1582 | #else | - |
| 1583 | i = bbe + bbbits - 1; | - |
| 1584 | if (i < Emin) | TRUE | never evaluated | | FALSE | evaluated 165 times by 7 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 0-165 |
| 1585 | j = bbe + (P-Emin); never executed: j = bbe + (53 -(-1022)); | 0 |
| 1586 | else | - |
| 1587 | j = P + 1 - bbbits;executed 165 times by 7 tests: j = 53 + 1 - bbbits;Executed by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 165 |
| 1588 | #endif | - |
| 1589 | bb2 += j; | - |
| 1590 | bd2 += j; | - |
| 1591 | i = bb2 < bd2 ? bb2 : bd2;| TRUE | evaluated 85 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 80 times by 7 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 80-85 |
| 1592 | if (i > bs2)| TRUE | evaluated 93 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 72 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
|
| 72-93 |
| 1593 | i = bs2;executed 93 times by 5 tests: i = bs2;Executed by:- tst_QDoubleSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 93 |
| 1594 | if (i > 0) {| TRUE | evaluated 165 times by 7 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | never evaluated |
| 0-165 |
| 1595 | bb2 -= i; | - |
| 1596 | bd2 -= i; | - |
| 1597 | bs2 -= i; | - |
| 1598 | }executed 165 times by 7 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 165 |
| 1599 | if (bb5 > 0) {| TRUE | evaluated 93 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 72 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
|
| 72-93 |
| 1600 | bs = pow5mult(bs, bb5); | - |
| 1601 | bb1 = mult(bs, bb); | - |
| 1602 | Bfree(bb); | - |
| 1603 | bb = bb1; | - |
| 1604 | }executed 93 times by 5 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 93 |
| 1605 | if (bb2 > 0)| TRUE | evaluated 165 times by 7 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | never evaluated |
| 0-165 |
| 1606 | bb = lshift(bb, bb2);executed 165 times by 7 tests: bb = lshift(bb, bb2);Executed by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 165 |
| 1607 | if (bd5 > 0)| TRUE | evaluated 12 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
| | FALSE | evaluated 153 times by 7 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 12-153 |
| 1608 | bd = pow5mult(bd, bd5);executed 12 times by 2 tests: bd = pow5mult(bd, bd5);Executed by:- tst_QString
- tst_QStringRef
| 12 |
| 1609 | if (bd2 > 0)| TRUE | evaluated 93 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 72 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
|
| 72-93 |
| 1610 | bd = lshift(bd, bd2);executed 93 times by 5 tests: bd = lshift(bd, bd2);Executed by:- tst_QDoubleSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 93 |
| 1611 | if (bs2 > 0)| TRUE | evaluated 72 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
| | FALSE | evaluated 93 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 72-93 |
| 1612 | bs = lshift(bs, bs2);executed 72 times by 5 tests: bs = lshift(bs, bs2);Executed by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
| 72 |
| 1613 | delta = diff(bb, bd); | - |
| 1614 | dsign = delta->sign; | - |
| 1615 | delta->sign = 0; | - |
| 1616 | i = cmp(delta, bs); | - |
| 1617 | if (i < 0) {| TRUE | evaluated 24 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
| | FALSE | evaluated 141 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 24-141 |
| 1618 | | - |
| 1619 | | - |
| 1620 | | - |
| 1621 | if (dsign || getWord1(rv) || getWord0(rv) & Bndry_mask)| TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QSqlDatabase
| | FALSE | evaluated 14 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
|
| TRUE | evaluated 9 times by 1 test | | FALSE | evaluated 5 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
|
| TRUE | never evaluated | | FALSE | evaluated 5 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
|
| 0-14 |
| 1622 | break;executed 19 times by 2 tests: break;Executed by:- tst_QDoubleSpinBox
- tst_QSqlDatabase
| 19 |
| 1623 | delta = lshift(delta,Log2P); | - |
| 1624 | if (cmp(delta, bs) > 0)| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
|
| 1-4 |
| 1625 | goto drop_down;executed 1 time by 1 test: goto drop_down; | 1 |
| 1626 | break;executed 4 times by 2 tests: break;Executed by:- tst_QString
- tst_QStringRef
| 4 |
| 1627 | } | - |
| 1628 | if (i == 0) {| TRUE | never evaluated | | FALSE | evaluated 141 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 0-141 |
| 1629 | | - |
| 1630 | if (dsign) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1631 | if ((getWord0(rv) & Bndry_mask1) == Bndry_mask1| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1632 | && getWord1(rv) == 0xffffffff) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1633 | | - |
| 1634 | setWord0(&rv, (getWord0(rv) & Exp_mask) | - |
| 1635 | + Exp_msk1 | - |
| 1636 | #ifdef IBM | - |
| 1637 | | Exp_msk1 >> 4 | - |
| 1638 | #endif | - |
| 1639 | ); | - |
| 1640 | setWord1(&rv, 0); | - |
| 1641 | break; never executed: break; | 0 |
| 1642 | } | - |
| 1643 | } never executed: end of block | 0 |
| 1644 | else if (!(getWord0(rv) & Bndry_mask) && !getWord1(rv)) {| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1645 | drop_down: | - |
| 1646 | | - |
| 1647 | #ifdef Sudden_Underflow | - |
| 1648 | L = getWord0(rv) & Exp_mask; | - |
| 1649 | #ifdef IBM | - |
| 1650 | if (L < Exp_msk1) | - |
| 1651 | #else | - |
| 1652 | if (L <= Exp_msk1) | - |
| 1653 | #endif | - |
| 1654 | goto undfl; | - |
| 1655 | L -= Exp_msk1; | - |
| 1656 | #else | - |
| 1657 | L = (getWord0(rv) & Exp_mask) - Exp_msk1; | - |
| 1658 | #endif | - |
| 1659 | setWord0(&rv, L | Bndry_mask1); | - |
| 1660 | setWord1(&rv, 0xffffffff); | - |
| 1661 | #ifdef IBM | - |
| 1662 | goto cont; | - |
| 1663 | #else | - |
| 1664 | break;executed 1 time by 1 test: break; | 1 |
| 1665 | #endif | - |
| 1666 | } | - |
| 1667 | #ifndef ROUND_BIASED | - |
| 1668 | if (!(getWord1(rv) & LSB))| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1669 | break; never executed: break; | 0 |
| 1670 | #endif | - |
| 1671 | if (dsign)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1672 | rv += ulp(rv); never executed: rv += ulp(rv); | 0 |
| 1673 | #ifndef ROUND_BIASED | - |
| 1674 | else { | - |
| 1675 | rv -= ulp(rv); | - |
| 1676 | #ifndef Sudden_Underflow | - |
| 1677 | if (rv == g_double_zero)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1678 | goto undfl; never executed: goto undfl; | 0 |
| 1679 | #endif | - |
| 1680 | } never executed: end of block | 0 |
| 1681 | #endif | - |
| 1682 | break; never executed: break; | 0 |
| 1683 | } | - |
| 1684 | if ((aadj = ratio(delta, bs)) <= 2.) {| TRUE | evaluated 19 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 122 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
|
| 19-122 |
| 1685 | if (dsign)| TRUE | evaluated 19 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | never evaluated |
| 0-19 |
| 1686 | aadj = aadj1 = 1.;executed 19 times by 4 tests: aadj = aadj1 = 1.;Executed by:- tst_QDoubleSpinBox
- tst_QString
- tst_QStringRef
- tst_QVariant
| 19 |
| 1687 | else if (getWord1(rv) || getWord0(rv) & Bndry_mask) {| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1688 | #ifndef Sudden_Underflow | - |
| 1689 | if (getWord1(rv) == Tiny1 && !getWord0(rv))| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1690 | goto undfl; never executed: goto undfl; | 0 |
| 1691 | #endif | - |
| 1692 | aadj = 1.; | - |
| 1693 | aadj1 = -1.; | - |
| 1694 | } never executed: end of block | 0 |
| 1695 | else { | - |
| 1696 | | - |
| 1697 | | - |
| 1698 | | - |
| 1699 | if (aadj < 2./FLT_RADIX)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1700 | aadj = 1./FLT_RADIX; never executed: aadj = 1./2; | 0 |
| 1701 | else | - |
| 1702 | aadj *= 0.5; never executed: aadj *= 0.5; | 0 |
| 1703 | aadj1 = -aadj; | - |
| 1704 | } never executed: end of block | 0 |
| 1705 | } | - |
| 1706 | else { | - |
| 1707 | aadj *= 0.5; | - |
| 1708 | aadj1 = dsign ? aadj : -aadj;| TRUE | evaluated 122 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
| | FALSE | never evaluated |
| 0-122 |
| 1709 | #ifdef Check_FLT_ROUNDS | - |
| 1710 | switch(FLT_ROUNDS) { | - |
| 1711 | case 2: | - |
| 1712 | aadj1 -= 0.5; | - |
| 1713 | break; | - |
| 1714 | case 0: | - |
| 1715 | case 3: | - |
| 1716 | aadj1 += 0.5; | - |
| 1717 | } | - |
| 1718 | #else | - |
| 1719 | if (FLT_ROUNDS == 0)| TRUE | never evaluated | | FALSE | evaluated 122 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
|
| 0-122 |
| 1720 | aadj1 += 0.5; never executed: aadj1 += 0.5; | 0 |
| 1721 | #endif | - |
| 1722 | }executed 122 times by 5 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
| 122 |
| 1723 | y = getWord0(rv) & Exp_mask; | - |
| 1724 | | - |
| 1725 | | - |
| 1726 | | - |
| 1727 | if (y == Exp_msk1*(DBL_MAX_EXP+Bias-1)) {| TRUE | evaluated 58 times by 2 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
| | FALSE | evaluated 83 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 58-83 |
| 1728 | rv0 = rv; | - |
| 1729 | setWord0(&rv, getWord0(rv) - P*Exp_msk1); | - |
| 1730 | adj = aadj1 * ulp(rv); | - |
| 1731 | rv += adj; | - |
| 1732 | if ((getWord0(rv) & Exp_mask) >=| TRUE | never evaluated | | FALSE | evaluated 58 times by 2 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
|
| 0-58 |
| 1733 | Exp_msk1*(DBL_MAX_EXP+Bias-P)) {| TRUE | never evaluated | | FALSE | evaluated 58 times by 2 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
|
| 0-58 |
| 1734 | if (getWord0(rv0) == Big0 && getWord1(rv0) == Big1)| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1735 | goto ovfl; never executed: goto ovfl; | 0 |
| 1736 | setWord0(&rv, Big0); | - |
| 1737 | setWord1(&rv, Big1); | - |
| 1738 | goto cont; never executed: goto cont; | 0 |
| 1739 | } | - |
| 1740 | else | - |
| 1741 | setWord0(&rv, getWord0(rv) + P*Exp_msk1);executed 58 times by 2 tests: setWord0(&rv, getWord0(rv) + 53*0x100000);Executed by:- tst_QDoubleSpinBox
- tst_QItemDelegate
| 58 |
| 1742 | } | - |
| 1743 | else { | - |
| 1744 | #ifdef Sudden_Underflow | - |
| 1745 | if ((getWord0(rv) & Exp_mask) <= P*Exp_msk1) { | - |
| 1746 | rv0 = rv; | - |
| 1747 | setWord0(&rv, getWord0(rv) + P*Exp_msk1); | - |
| 1748 | adj = aadj1 * ulp(rv); | - |
| 1749 | rv += adj; | - |
| 1750 | #ifdef IBM | - |
| 1751 | if ((getWord0(rv) & Exp_mask) < P*Exp_msk1) | - |
| 1752 | #else | - |
| 1753 | if ((getWord0(rv) & Exp_mask) <= P*Exp_msk1) | - |
| 1754 | #endif | - |
| 1755 | { | - |
| 1756 | if (getWord0(rv0) == Tiny0 | - |
| 1757 | && getWord1(rv0) == Tiny1) | - |
| 1758 | goto undfl; | - |
| 1759 | setWord0(&rv, Tiny0); | - |
| 1760 | setWord1(&rv, Tiny1); | - |
| 1761 | goto cont; | - |
| 1762 | } | - |
| 1763 | else | - |
| 1764 | setWord0(&rv, getWord0(rv) - P*Exp_msk1); | - |
| 1765 | } | - |
| 1766 | else { | - |
| 1767 | adj = aadj1 * ulp(rv); | - |
| 1768 | rv += adj; | - |
| 1769 | } | - |
| 1770 | #else | - |
| 1771 | | - |
| 1772 | | - |
| 1773 | | - |
| 1774 | | - |
| 1775 | | - |
| 1776 | | - |
| 1777 | | - |
| 1778 | if (y <= (P-1)*Exp_msk1 && aadj >= 1.) {| TRUE | never evaluated | | FALSE | evaluated 83 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| TRUE | never evaluated | | FALSE | never evaluated |
| 0-83 |
| 1779 | aadj1 = int(aadj + 0.5); | - |
| 1780 | if (!dsign)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1781 | aadj1 = -aadj1; never executed: aadj1 = -aadj1; | 0 |
| 1782 | } never executed: end of block | 0 |
| 1783 | adj = aadj1 * ulp(rv); | - |
| 1784 | rv += adj; | - |
| 1785 | #endif | - |
| 1786 | }executed 83 times by 5 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QString
- tst_QStringRef
- tst_QVariant
| 83 |
| 1787 | z = getWord0(rv) & Exp_mask; | - |
| 1788 | if (y == z) {| TRUE | evaluated 137 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_QString
- tst_QStringRef
|
| 4-137 |
| 1789 | | - |
| 1790 | L = Long(aadj); | - |
| 1791 | aadj -= L; | - |
| 1792 | | - |
| 1793 | if (dsign || getWord1(rv) || getWord0(rv) & Bndry_mask) {| TRUE | evaluated 137 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0-137 |
| 1794 | if (aadj < .4999999 || aadj > .5000001)| TRUE | evaluated 125 times by 6 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 12 times by 1 test |
| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-125 |
| 1795 | break;executed 137 times by 6 tests: break;Executed by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| 137 |
| 1796 | } never executed: end of block | 0 |
| 1797 | else if (aadj < .4999999/FLT_RADIX)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1798 | break; never executed: break; | 0 |
| 1799 | } never executed: end of block | 0 |
| 1800 | cont:code before this statement executed 4 times by 2 tests: cont:Executed by:- tst_QString
- tst_QStringRef
| 4 |
| 1801 | Bfree(bb); | - |
| 1802 | Bfree(bd); | - |
| 1803 | Bfree(bs); | - |
| 1804 | Bfree(delta); | - |
| 1805 | }executed 4 times by 2 tests: end of blockExecuted by:- tst_QString
- tst_QStringRef
| 4 |
| 1806 | retfree:code before this statement executed 161 times by 7 tests: retfree:Executed by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 161 |
| 1807 | Bfree(bb); | - |
| 1808 | Bfree(bd); | - |
| 1809 | Bfree(bs); | - |
| 1810 | Bfree(bd0); | - |
| 1811 | Bfree(delta); | - |
| 1812 | ret:code before this statement executed 161 times by 7 tests: ret:Executed by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QItemDelegate
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QVariant
| 161 |
| 1813 | if (se)| TRUE | evaluated 4123 times by 28 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- ...
| | FALSE | never evaluated |
| 0-4123 |
| 1814 | *se = s;executed 4123 times by 28 tests: *se = s;Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- ...
| 4123 |
| 1815 | return sign ? -rv : rv;executed 4123 times by 28 tests: return sign ? -rv : rv;Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- ...
| TRUE | evaluated 403 times by 9 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QInputDialog
- tst_QItemDelegate
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QTextStream
| | FALSE | evaluated 3720 times by 28 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QDoubleValidator
- tst_QEasingCurve
- tst_QGraphicsProxyWidget
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMainWindow
- tst_QMetaType
- tst_QObject
- tst_QPrinter
- tst_QSpinBox
- tst_QSqlDatabase
- tst_QString
- tst_QStringRef
- tst_QStyleSheetStyle
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QTextStream
- ...
|
| 403-4123 |
| 1816 | } | - |
| 1817 | | - |
| 1818 | static int quorem(Bigint *b, Bigint *S) | - |
| 1819 | { | - |
| 1820 | int n; | - |
| 1821 | Long borrow, y; | - |
| 1822 | ULong carry, q, ys; | - |
| 1823 | ULong *bx, *bxe, *sx, *sxe; | - |
| 1824 | #ifdef Pack_32 | - |
| 1825 | Long z; | - |
| 1826 | ULong si, zs; | - |
| 1827 | #endif | - |
| 1828 | | - |
| 1829 | n = S->wds; | - |
| 1830 | #ifdef BSD_QDTOA_DEBUG | - |
| 1831 | if (b->wds > n) | - |
| 1832 | Bug("oversize b in quorem"); | - |
| 1833 | #endif | - |
| 1834 | if (b->wds < n)| TRUE | evaluated 3965 times by 7 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QString
- tst_QTreeWidget
- tst_QVariant
| | FALSE | evaluated 120900 times by 11 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
|
| 3965-120900 |
| 1835 | return 0;executed 3965 times by 7 tests: return 0;Executed by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QString
- tst_QTreeWidget
- tst_QVariant
| 3965 |
| 1836 | sx = S->x; | - |
| 1837 | sxe = sx + --n; | - |
| 1838 | bx = b->x; | - |
| 1839 | bxe = bx + n; | - |
| 1840 | q = *bxe / (*sxe + 1); | - |
| 1841 | #ifdef BSD_QDTOA_DEBUG | - |
| 1842 | if (q > 9) | - |
| 1843 | Bug("oversized quotient in quorem"); | - |
| 1844 | #endif | - |
| 1845 | if (q) {| TRUE | evaluated 111100 times by 11 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| | FALSE | evaluated 9800 times by 7 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
|
| 9800-111100 |
| 1846 | borrow = 0; | - |
| 1847 | carry = 0; | - |
| 1848 | do { | - |
| 1849 | #ifdef Pack_32 | - |
| 1850 | si = *sx++; | - |
| 1851 | ys = (si & 0xffff) * q + carry; | - |
| 1852 | zs = (si >> 16) * q + (ys >> 16); | - |
| 1853 | carry = zs >> 16; | - |
| 1854 | y = (*bx & 0xffff) - (ys & 0xffff) + borrow; | - |
| 1855 | borrow = y >> 16; | - |
| 1856 | Sign_Extend(borrow, y); | - |
| 1857 | z = (*bx >> 16) - (zs & 0xffff) + borrow; | - |
| 1858 | borrow = z >> 16; | - |
| 1859 | Sign_Extend(borrow, z); | - |
| 1860 | Storeinc(bx, z, y); | - |
| 1861 | #else | - |
| 1862 | ys = *sx++ * q + carry; | - |
| 1863 | carry = ys >> 16; | - |
| 1864 | y = *bx - (ys & 0xffff) + borrow; | - |
| 1865 | borrow = y >> 16; | - |
| 1866 | Sign_Extend(borrow, y); | - |
| 1867 | *bx++ = y & 0xffff; | - |
| 1868 | #endif | - |
| 1869 | }executed 900570 times by 11 tests: end of blockExecuted by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| 900570 |
| 1870 | while(sx <= sxe);| TRUE | evaluated 789470 times by 9 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| | FALSE | evaluated 111100 times by 11 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
|
| 111100-789470 |
| 1871 | if (!*bxe) {| TRUE | never evaluated | | FALSE | evaluated 111100 times by 11 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
|
| 0-111100 |
| 1872 | bx = b->x; | - |
| 1873 | while(--bxe > bx && !*bxe)| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1874 | --n; never executed: --n; | 0 |
| 1875 | b->wds = n; | - |
| 1876 | } never executed: end of block | 0 |
| 1877 | }executed 111100 times by 11 tests: end of blockExecuted by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| 111100 |
| 1878 | if (cmp(b, S) >= 0) {| TRUE | evaluated 592 times by 7 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QString
- tst_QTreeWidget
- tst_QVariant
| | FALSE | evaluated 120308 times by 11 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
|
| 592-120308 |
| 1879 | q++; | - |
| 1880 | borrow = 0; | - |
| 1881 | carry = 0; | - |
| 1882 | bx = b->x; | - |
| 1883 | sx = S->x; | - |
| 1884 | do { | - |
| 1885 | #ifdef Pack_32 | - |
| 1886 | si = *sx++; | - |
| 1887 | ys = (si & 0xffff) + carry; | - |
| 1888 | zs = (si >> 16) + (ys >> 16); | - |
| 1889 | carry = zs >> 16; | - |
| 1890 | y = (*bx & 0xffff) - (ys & 0xffff) + borrow; | - |
| 1891 | borrow = y >> 16; | - |
| 1892 | Sign_Extend(borrow, y); | - |
| 1893 | z = (*bx >> 16) - (zs & 0xffff) + borrow; | - |
| 1894 | borrow = z >> 16; | - |
| 1895 | Sign_Extend(borrow, z); | - |
| 1896 | Storeinc(bx, z, y); | - |
| 1897 | #else | - |
| 1898 | ys = *sx++ + carry; | - |
| 1899 | carry = ys >> 16; | - |
| 1900 | y = *bx - (ys & 0xffff) + borrow; | - |
| 1901 | borrow = y >> 16; | - |
| 1902 | Sign_Extend(borrow, y); | - |
| 1903 | *bx++ = y & 0xffff; | - |
| 1904 | #endif | - |
| 1905 | }executed 2783 times by 7 tests: end of blockExecuted by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QString
- tst_QTreeWidget
- tst_QVariant
| 2783 |
| 1906 | while(sx <= sxe);| TRUE | evaluated 2191 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QTreeWidget
- tst_QVariant
| | FALSE | evaluated 592 times by 7 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QString
- tst_QTreeWidget
- tst_QVariant
|
| 592-2191 |
| 1907 | bx = b->x; | - |
| 1908 | bxe = bx + n; | - |
| 1909 | if (!*bxe) {| TRUE | evaluated 592 times by 7 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QString
- tst_QTreeWidget
- tst_QVariant
| | FALSE | never evaluated |
| 0-592 |
| 1910 | while(--bxe > bx && !*bxe)| TRUE | evaluated 1603 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
| | FALSE | evaluated 592 times by 7 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QString
- tst_QTreeWidget
- tst_QVariant
|
| TRUE | evaluated 1603 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
| | FALSE | never evaluated |
| 0-1603 |
| 1911 | --n;executed 1603 times by 3 tests: --n;Executed by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
| 1603 |
| 1912 | b->wds = n; | - |
| 1913 | }executed 592 times by 7 tests: end of blockExecuted by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QString
- tst_QTreeWidget
- tst_QVariant
| 592 |
| 1914 | }executed 592 times by 7 tests: end of blockExecuted by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QString
- tst_QTreeWidget
- tst_QVariant
| 592 |
| 1915 | return q;executed 120900 times by 11 tests: return q;Executed by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| 120900 |
| 1916 | } | - |
| 1917 | | - |
| 1918 | | - |
| 1919 | | - |
| 1920 | | - |
| 1921 | | - |
| 1922 | | - |
| 1923 | | - |
| 1924 | | - |
| 1925 | | - |
| 1926 | | - |
| 1927 | | - |
| 1928 | | - |
| 1929 | | - |
| 1930 | | - |
| 1931 | | - |
| 1932 | | - |
| 1933 | | - |
| 1934 | | - |
| 1935 | | - |
| 1936 | | - |
| 1937 | | - |
| 1938 | | - |
| 1939 | | - |
| 1940 | | - |
| 1941 | | - |
| 1942 | | - |
| 1943 | | - |
| 1944 | | - |
| 1945 | | - |
| 1946 | | - |
| 1947 | | - |
| 1948 | | - |
| 1949 | | - |
| 1950 | | - |
| 1951 | | - |
| 1952 | #if defined(Q_OS_WIN) && defined (Q_CC_GNU) && !defined(_clear87) // See QTBUG-7576 | - |
| 1953 | extern "C" { | - |
| 1954 | __attribute__ ((dllimport)) unsigned int __cdecl __MINGW_NOTHROW _control87 (unsigned int unNew, unsigned int unMask); | - |
| 1955 | __attribute__ ((dllimport)) unsigned int __cdecl __MINGW_NOTHROW _clearfp (void); | - |
| 1956 | } | - |
| 1957 | # define _clear87 _clearfp | - |
| 1958 | #endif | - |
| 1959 | | - |
| 1960 | | - |
| 1961 | | - |
| 1962 | | - |
| 1963 | Q_CORE_EXPORT char *qdtoa ( double d, int mode, int ndigits, int *decpt, int *sign, char **rve, char **resultp) | - |
| 1964 | { | - |
| 1965 | | - |
| 1966 | | - |
| 1967 | #ifdef Q_OS_WIN | - |
| 1968 | _clear87(); | - |
| 1969 | unsigned int oldbits = _control87(0, 0); | - |
| 1970 | #ifndef MCW_EM | - |
| 1971 | # ifdef _MCW_EM | - |
| 1972 | # define MCW_EM _MCW_EM | - |
| 1973 | # else | - |
| 1974 | # define MCW_EM 0x0008001F | - |
| 1975 | # endif | - |
| 1976 | #endif | - |
| 1977 | _control87(MCW_EM, MCW_EM); | - |
| 1978 | #endif | - |
| 1979 | | - |
| 1980 | #if defined(Q_OS_LINUX) && !defined(__UCLIBC__) | - |
| 1981 | fenv_t envp; | - |
| 1982 | feholdexcept(&envp); | - |
| 1983 | #endif | - |
| 1984 | | - |
| 1985 | char *s = _qdtoa(d, mode, ndigits, decpt, sign, rve, resultp); | - |
| 1986 | | - |
| 1987 | #ifdef Q_OS_WIN | - |
| 1988 | _clear87(); | - |
| 1989 | #ifndef _M_X64 | - |
| 1990 | _control87(oldbits, 0xFFFFF); | - |
| 1991 | #else | - |
| 1992 | # ifndef _MCW_EM // Potentially missing on MinGW | - |
| 1993 | # define _MCW_EM 0x0008001f | - |
| 1994 | # endif | - |
| 1995 | # ifndef _MCW_RC | - |
| 1996 | # define _MCW_RC 0x00000300 | - |
| 1997 | # endif | - |
| 1998 | # ifndef _MCW_DN | - |
| 1999 | # define _MCW_DN 0x03000000 | - |
| 2000 | # endif | - |
| 2001 | _control87(oldbits, _MCW_EM|_MCW_DN|_MCW_RC); | - |
| 2002 | #endif //_M_X64 | - |
| 2003 | #endif //Q_OS_WIN | - |
| 2004 | | - |
| 2005 | #if defined(Q_OS_LINUX) && !defined(__UCLIBC__) | - |
| 2006 | fesetenv(&envp); | - |
| 2007 | #endif | - |
| 2008 | | - |
| 2009 | return s;executed 109846 times by 55 tests: return s;Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
| 109846 |
| 2010 | } | - |
| 2011 | | - |
| 2012 | static char *_qdtoa( NEEDS_VOLATILE double d, int mode, int ndigits, int *decpt, int *sign, char **rve, char **resultp) | - |
| 2013 | { | - |
| 2014 | | - |
| 2015 | | - |
| 2016 | | - |
| 2017 | | - |
| 2018 | | - |
| 2019 | | - |
| 2020 | | - |
| 2021 | | - |
| 2022 | | - |
| 2023 | | - |
| 2024 | | - |
| 2025 | | - |
| 2026 | | - |
| 2027 | | - |
| 2028 | | - |
| 2029 | | - |
| 2030 | | - |
| 2031 | | - |
| 2032 | | - |
| 2033 | | - |
| 2034 | | - |
| 2035 | | - |
| 2036 | | - |
| 2037 | | - |
| 2038 | | - |
| 2039 | | - |
| 2040 | | - |
| 2041 | | - |
| 2042 | | - |
| 2043 | | - |
| 2044 | | - |
| 2045 | | - |
| 2046 | | - |
| 2047 | | - |
| 2048 | | - |
| 2049 | int bbits, b2, b5, be, dig, i, ieps, ilim0, | - |
| 2050 | j, j1, k, k0, k_check, leftright, m2, m5, s2, s5, | - |
| 2051 | try_quick; | - |
| 2052 | int ilim = 0, ilim1 = 0, spec_case = 0; | - |
| 2053 | Long L; | - |
| 2054 | #ifndef Sudden_Underflow | - |
| 2055 | int denorm; | - |
| 2056 | ULong x; | - |
| 2057 | #endif | - |
| 2058 | Bigint *b, *b1, *delta, *mhi, *S; | - |
| 2059 | Bigint *mlo = NULL; | - |
| 2060 | double d2; | - |
| 2061 | double ds, eps; | - |
| 2062 | char *s, *s0; | - |
| 2063 | | - |
| 2064 | if (getWord0(d) & Sign_bit) {| TRUE | evaluated 22157 times by 15 testsEvaluated by:- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsTransform
- tst_QInputDialog
- tst_QItemDelegate
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextStream
- tst_QVariant
| | FALSE | evaluated 87689 times by 55 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
|
| 22157-87689 |
| 2065 | | - |
| 2066 | *sign = 1; | - |
| 2067 | setWord0(&d, getWord0(d) & ~Sign_bit); | - |
| 2068 | }executed 22157 times by 15 tests: end of blockExecuted by:- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsTransform
- tst_QInputDialog
- tst_QItemDelegate
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextStream
- tst_QVariant
| 22157 |
| 2069 | else | - |
| 2070 | *sign = 0;executed 87689 times by 55 tests: *sign = 0;Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
| 87689 |
| 2071 | | - |
| 2072 | #if defined(IEEE_Arith) + defined(VAX) | - |
| 2073 | #ifdef IEEE_Arith | - |
| 2074 | if ((getWord0(d) & Exp_mask) == Exp_mask)| TRUE | never evaluated | | FALSE | evaluated 109846 times by 55 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
|
| 0-109846 |
| 2075 | #else | - |
| 2076 | if (getWord0(d) == 0x8000) | - |
| 2077 | #endif | - |
| 2078 | { | - |
| 2079 | | - |
| 2080 | *decpt = 9999; | - |
| 2081 | s = | - |
| 2082 | #ifdef IEEE_Arith | - |
| 2083 | !getWord1(d) && !(getWord0(d) & 0xfffff) ? const_cast<char*>("Infinity") :| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2084 | #endif | - |
| 2085 | const_cast<char*>("NaN"); | - |
| 2086 | if (rve)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2087 | *rve = never executed: *rve = s[3] ? s + 8 : s + 3; | 0 |
| 2088 | #ifdef IEEE_Arith never executed: *rve = s[3] ? s + 8 : s + 3; | 0 |
| 2089 | s[3] ? s + 8 : never executed: *rve = s[3] ? s + 8 : s + 3; | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2090 | #endif never executed: *rve = s[3] ? s + 8 : s + 3; | 0 |
| 2091 | s + 3; never executed: *rve = s[3] ? s + 8 : s + 3; | 0 |
| 2092 | return s; never executed: return s; | 0 |
| 2093 | } | - |
| 2094 | #endif | - |
| 2095 | #ifdef IBM | - |
| 2096 | d += 0; | - |
| 2097 | #endif | - |
| 2098 | if (d == g_double_zero)| TRUE | evaluated 38418 times by 24 testsEvaluated by:- tst_QAccessibility
- tst_QBrush
- tst_QDoubleSpinBox
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsTransform
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextLayout
- tst_QTextList
- tst_QTextStream
- tst_QToolButton
- tst_QVariant
- tst_selftests - unknown status
| | FALSE | evaluated 71428 times by 53 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
|
| 38418-71428 |
| 2099 | { | - |
| 2100 | *decpt = 1; | - |
| 2101 | s = const_cast<char*>("0"); | - |
| 2102 | if (rve)| TRUE | evaluated 38418 times by 24 testsEvaluated by:- tst_QAccessibility
- tst_QBrush
- tst_QDoubleSpinBox
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsTransform
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextLayout
- tst_QTextList
- tst_QTextStream
- tst_QToolButton
- tst_QVariant
- tst_selftests - unknown status
| | FALSE | never evaluated |
| 0-38418 |
| 2103 | *rve = s + 1;executed 38418 times by 24 tests: *rve = s + 1;Executed by:- tst_QAccessibility
- tst_QBrush
- tst_QDoubleSpinBox
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsTransform
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextLayout
- tst_QTextList
- tst_QTextStream
- tst_QToolButton
- tst_QVariant
- tst_selftests - unknown status
| 38418 |
| 2104 | return s;executed 38418 times by 24 tests: return s;Executed by:- tst_QAccessibility
- tst_QBrush
- tst_QDoubleSpinBox
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsTransform
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLCDNumber
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextLayout
- tst_QTextList
- tst_QTextStream
- tst_QToolButton
- tst_QVariant
- tst_selftests - unknown status
| 38418 |
| 2105 | } | - |
| 2106 | | - |
| 2107 | b = d2b(d, &be, &bbits); | - |
| 2108 | i = (int)(getWord0(d) >> Exp_shift1 & (Exp_mask>>Exp_shift1)); | - |
| 2109 | #ifndef Sudden_Underflow | - |
| 2110 | if (i != 0) {| TRUE | evaluated 71428 times by 53 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
| | FALSE | never evaluated |
| 0-71428 |
| 2111 | #endif | - |
| 2112 | d2 = d; | - |
| 2113 | setWord0(&d2, getWord0(d2) & Frac_mask1); | - |
| 2114 | setWord0(&d2, getWord0(d2) | Exp_11); | - |
| 2115 | #ifdef IBM | - |
| 2116 | if (j = 11 - hi0bits(getWord0(d2) & Frac_mask)) | - |
| 2117 | d2 /= 1 << j; | - |
| 2118 | #endif | - |
| 2119 | | - |
| 2120 | | - |
| 2121 | | - |
| 2122 | | - |
| 2123 | | - |
| 2124 | | - |
| 2125 | | - |
| 2126 | | - |
| 2127 | | - |
| 2128 | | - |
| 2129 | | - |
| 2130 | | - |
| 2131 | | - |
| 2132 | | - |
| 2133 | | - |
| 2134 | | - |
| 2135 | | - |
| 2136 | | - |
| 2137 | | - |
| 2138 | | - |
| 2139 | | - |
| 2140 | | - |
| 2141 | | - |
| 2142 | i -= Bias; | - |
| 2143 | #ifdef IBM | - |
| 2144 | i <<= 2; | - |
| 2145 | i += j; | - |
| 2146 | #endif | - |
| 2147 | #ifndef Sudden_Underflow | - |
| 2148 | denorm = 0; | - |
| 2149 | }executed 71428 times by 53 tests: end of blockExecuted by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
| 71428 |
| 2150 | else { | - |
| 2151 | | - |
| 2152 | | - |
| 2153 | i = bbits + be + (Bias + (P-1) - 1); | - |
| 2154 | x = i > 32 ? getWord0(d) << (64 - i) | getWord1(d) >> (i - 32)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2155 | : getWord1(d) << (32 - i); | - |
| 2156 | d2 = x; | - |
| 2157 | setWord0(&d2, getWord0(d2) - 31*Exp_msk1); | - |
| 2158 | i -= (Bias + (P-1) - 1) + 1; | - |
| 2159 | denorm = 1; | - |
| 2160 | } never executed: end of block | 0 |
| 2161 | #endif | - |
| 2162 | ds = (d2-1.5)*0.289529654602168 + 0.1760912590558 + i*0.301029995663981; | - |
| 2163 | k = int(ds); | - |
| 2164 | if (ds < 0. && ds != k)| TRUE | evaluated 47424 times by 14 testsEvaluated by:- tst_QByteArray
- tst_QColor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
- tst_QTreeWidget
| | FALSE | evaluated 24004 times by 52 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
|
| TRUE | evaluated 47424 times by 14 testsEvaluated by:- tst_QByteArray
- tst_QColor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
- tst_QTreeWidget
| | FALSE | never evaluated |
| 0-47424 |
| 2165 | k--; executed 47424 times by 14 tests: k--;Executed by:- tst_QByteArray
- tst_QColor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
- tst_QTreeWidget
| 47424 |
| 2166 | k_check = 1; | - |
| 2167 | if (k >= 0 && k <= Ten_pmax) {| TRUE | evaluated 24004 times by 52 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
| | FALSE | evaluated 47424 times by 14 testsEvaluated by:- tst_QByteArray
- tst_QColor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
- tst_QTreeWidget
|
| TRUE | evaluated 22393 times by 51 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
| | FALSE | evaluated 1611 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
|
| 1611-47424 |
| 2168 | if (d < tens[k])| TRUE | evaluated 3288 times by 7 testsEvaluated by:- tst_QAccessibility
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QInputDialog
- tst_QPrinter
- tst_QString
- tst_qmakelib
| | FALSE | evaluated 19105 times by 49 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- ...
|
| 3288-19105 |
| 2169 | k--;executed 3288 times by 7 tests: k--;Executed by:- tst_QAccessibility
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QInputDialog
- tst_QPrinter
- tst_QString
- tst_qmakelib
| 3288 |
| 2170 | k_check = 0; | - |
| 2171 | }executed 22393 times by 51 tests: end of blockExecuted by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
| 22393 |
| 2172 | j = bbits - i - 1; | - |
| 2173 | if (j >= 0) {| TRUE | evaluated 67654 times by 46 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- ...
| | FALSE | evaluated 3774 times by 31 testsEvaluated by:- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextLayout
- ...
|
| 3774-67654 |
| 2174 | b2 = 0; | - |
| 2175 | s2 = j; | - |
| 2176 | }executed 67654 times by 46 tests: end of blockExecuted by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- ...
| 67654 |
| 2177 | else { | - |
| 2178 | b2 = -j; | - |
| 2179 | s2 = 0; | - |
| 2180 | }executed 3774 times by 31 tests: end of blockExecuted by:- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QString
- tst_QStringRef
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QTextLayout
- ...
| 3774 |
| 2181 | if (k >= 0) {| TRUE | evaluated 20880 times by 52 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
| | FALSE | evaluated 50548 times by 14 testsEvaluated by:- tst_QByteArray
- tst_QColor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
- tst_QTreeWidget
|
| 20880-50548 |
| 2182 | b5 = 0; | - |
| 2183 | s5 = k; | - |
| 2184 | s2 += k; | - |
| 2185 | }executed 20880 times by 52 tests: end of blockExecuted by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
| 20880 |
| 2186 | else { | - |
| 2187 | b2 -= k; | - |
| 2188 | b5 = -k; | - |
| 2189 | s5 = 0; | - |
| 2190 | }executed 50548 times by 14 tests: end of blockExecuted by:- tst_QByteArray
- tst_QColor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
- tst_QTreeWidget
| 50548 |
| 2191 | if (mode < 0 || mode > 9)| TRUE | never evaluated | | FALSE | evaluated 71428 times by 53 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
|
| TRUE | never evaluated | | FALSE | evaluated 71428 times by 53 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
|
| 0-71428 |
| 2192 | mode = 0; never executed: mode = 0; | 0 |
| 2193 | try_quick = 1; | - |
| 2194 | if (mode > 5) {| TRUE | never evaluated | | FALSE | evaluated 71428 times by 53 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
|
| 0-71428 |
| 2195 | mode -= 4; | - |
| 2196 | try_quick = 0; | - |
| 2197 | } never executed: end of block | 0 |
| 2198 | leftright = 1; | - |
| 2199 | switch(mode) { | - |
| 2200 | case 0: never executed: case 0: | 0 |
| 2201 | case 1: never executed: case 1: | 0 |
| 2202 | ilim = ilim1 = -1; | - |
| 2203 | i = 18; | - |
| 2204 | ndigits = 0; | - |
| 2205 | break; never executed: break; | 0 |
| 2206 | case 2:executed 69690 times by 41 tests: case 2:Executed by:- tst_QBrush
- tst_QByteArray
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSqlDriver
- ...
| 69690 |
| 2207 | leftright = 0; | - |
| 2208 | | - |
| 2209 | case 4:code before this statement executed 69690 times by 41 tests: case 4:Executed by:- tst_QBrush
- tst_QByteArray
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSqlDriver
- ...
never executed: case 4: | 0-69690 |
| 2210 | if (ndigits <= 0)| TRUE | evaluated 1681 times by 2 testsEvaluated by:- tst_QString
- tst_QTextStream
| | FALSE | evaluated 68009 times by 41 testsEvaluated by:- tst_QBrush
- tst_QByteArray
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSqlDriver
- ...
|
| 1681-68009 |
| 2211 | ndigits = 1;executed 1681 times by 2 tests: ndigits = 1;Executed by:- tst_QString
- tst_QTextStream
| 1681 |
| 2212 | ilim = ilim1 = i = ndigits; | - |
| 2213 | break;executed 69690 times by 41 tests: break;Executed by:- tst_QBrush
- tst_QByteArray
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMetaType
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSqlDriver
- ...
| 69690 |
| 2214 | case 3:executed 1738 times by 20 tests: case 3:Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QByteDataBuffer
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsItemAnimation
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
- tst_QUdpSocket
- tst_selftests - unknown status
| 1738 |
| 2215 | leftright = 0; | - |
| 2216 | | - |
| 2217 | case 5:code before this statement executed 1738 times by 20 tests: case 5:Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QByteDataBuffer
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsItemAnimation
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
- tst_QUdpSocket
- tst_selftests - unknown status
never executed: case 5: | 0-1738 |
| 2218 | i = ndigits + k + 1; | - |
| 2219 | ilim = i; | - |
| 2220 | ilim1 = i - 1; | - |
| 2221 | if (i <= 0)| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 1736 times by 20 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QByteDataBuffer
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsItemAnimation
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
- tst_QUdpSocket
- tst_selftests - unknown status
|
| 2-1736 |
| 2222 | i = 1;executed 2 times by 1 test: i = 1; | 2 |
| 2223 | }executed 1738 times by 20 tests: end of blockExecuted by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QByteDataBuffer
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsItemAnimation
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
- tst_QUdpSocket
- tst_selftests - unknown status
| 1738 |
| 2224 | QT_TRY { | - |
| 2225 | *resultp = static_cast<char *>(malloc(i + 1)); | - |
| 2226 | Q_CHECK_PTR(*resultp); never executed: qBadAlloc(); | TRUE | never evaluated | | FALSE | evaluated 71428 times by 53 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
|
| 0-71428 |
| 2227 | } QT_CATCH(...) {executed 71428 times by 53 tests: end of blockExecuted by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
| 71428 |
| 2228 | Bfree(b); | - |
| 2229 | QT_RETHROW; never executed: throw; | 0 |
| 2230 | } | - |
| 2231 | s = s0 = *resultp; | - |
| 2232 | | - |
| 2233 | if (ilim >= 0 && ilim <= Quick_max && try_quick) {| TRUE | evaluated 71428 times by 53 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
| | FALSE | never evaluated |
| TRUE | evaluated 68746 times by 45 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- tst_QOpenGlConfig
- ...
| | FALSE | evaluated 2682 times by 18 testsEvaluated by:- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QTreeWidget
- tst_QVariant
- tst_selftests - unknown status
|
| TRUE | evaluated 68746 times by 45 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- tst_QOpenGlConfig
- ...
| | FALSE | never evaluated |
| 0-71428 |
| 2234 | | - |
| 2235 | | - |
| 2236 | | - |
| 2237 | i = 0; | - |
| 2238 | d2 = d; | - |
| 2239 | k0 = k; | - |
| 2240 | ilim0 = ilim; | - |
| 2241 | ieps = 2; | - |
| 2242 | if (k > 0) {| TRUE | evaluated 3325 times by 36 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItemAnimation
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- ...
| | FALSE | evaluated 65421 times by 35 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QTcpSocket
- ...
|
| 3325-65421 |
| 2243 | ds = tens[k&0xf]; | - |
| 2244 | j = k >> 4; | - |
| 2245 | if (j & Bletch) {| TRUE | evaluated 192 times by 1 test | | FALSE | evaluated 3133 times by 36 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItemAnimation
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- ...
|
| 192-3133 |
| 2246 | | - |
| 2247 | j &= Bletch - 1; | - |
| 2248 | d /= bigtens[n_bigtens-1]; | - |
| 2249 | ieps++; | - |
| 2250 | }executed 192 times by 1 test: end of block | 192 |
| 2251 | for(; j; j >>= 1, i++)| TRUE | evaluated 3072 times by 1 test | | FALSE | evaluated 3325 times by 36 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItemAnimation
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- ...
|
| 3072-3325 |
| 2252 | if (j & 1) {| TRUE | evaluated 2112 times by 1 test | | FALSE | evaluated 960 times by 1 test |
| 960-2112 |
| 2253 | ieps++; | - |
| 2254 | ds *= bigtens[i]; | - |
| 2255 | }executed 2112 times by 1 test: end of block | 2112 |
| 2256 | d /= ds; | - |
| 2257 | }executed 3325 times by 36 tests: end of blockExecuted by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItemAnimation
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QString
- ...
| 3325 |
| 2258 | else if ((j1 = -k) != 0) {| TRUE | evaluated 49389 times by 13 testsEvaluated by:- tst_QByteArray
- tst_QColor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
| | FALSE | evaluated 16032 times by 35 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QTcpSocket
- ...
|
| 16032-49389 |
| 2259 | d *= tens[j1 & 0xf]; | - |
| 2260 | for(j = j1 >> 4; j; j >>= 1, i++)| TRUE | evaluated 3840 times by 1 test | | FALSE | evaluated 49389 times by 13 testsEvaluated by:- tst_QByteArray
- tst_QColor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
|
| 3840-49389 |
| 2261 | if (j & 1) {| TRUE | evaluated 2496 times by 1 test | | FALSE | evaluated 1344 times by 1 test |
| 1344-2496 |
| 2262 | ieps++; | - |
| 2263 | d *= bigtens[i]; | - |
| 2264 | }executed 2496 times by 1 test: end of block | 2496 |
| 2265 | }executed 49389 times by 13 tests: end of blockExecuted by:- tst_QByteArray
- tst_QColor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
| 49389 |
| 2266 | if (k_check && d < 1. && ilim > 0) {| TRUE | evaluated 47481 times by 13 testsEvaluated by:- tst_QByteArray
- tst_QColor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
| | FALSE | evaluated 21265 times by 45 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- tst_QOpenGlConfig
- ...
|
| TRUE | evaluated 3920 times by 3 testsEvaluated by:- tst_QByteArray
- tst_QGraphicsTransform
- tst_QString
| | FALSE | evaluated 43561 times by 12 testsEvaluated by:- tst_QColor
- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextDocument
- tst_QTextStream
|
| TRUE | evaluated 3920 times by 3 testsEvaluated by:- tst_QByteArray
- tst_QGraphicsTransform
- tst_QString
| | FALSE | never evaluated |
| 0-47481 |
| 2267 | if (ilim1 <= 0)| TRUE | never evaluated | | FALSE | evaluated 3920 times by 3 testsEvaluated by:- tst_QByteArray
- tst_QGraphicsTransform
- tst_QString
|
| 0-3920 |
| 2268 | goto fast_failed; never executed: goto fast_failed; | 0 |
| 2269 | ilim = ilim1; | - |
| 2270 | k--; | - |
| 2271 | d *= 10.; | - |
| 2272 | ieps++; | - |
| 2273 | }executed 3920 times by 3 tests: end of blockExecuted by:- tst_QByteArray
- tst_QGraphicsTransform
- tst_QString
| 3920 |
| 2274 | eps = ieps*d + 7.; | - |
| 2275 | setWord0(&eps, getWord0(eps) - (P-1)*Exp_msk1); | - |
| 2276 | if (ilim == 0) {| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 68744 times by 45 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- tst_QOpenGlConfig
- ...
|
| 2-68744 |
| 2277 | S = mhi = 0; | - |
| 2278 | d -= 5.; | - |
| 2279 | if (d > eps)| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
| 0-2 |
| 2280 | goto one_digit; never executed: goto one_digit; | 0 |
| 2281 | if (d < -eps)| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
| 0-2 |
| 2282 | goto no_digits;executed 2 times by 1 test: goto no_digits; | 2 |
| 2283 | goto fast_failed; never executed: goto fast_failed; | 0 |
| 2284 | } | - |
| 2285 | #ifndef No_leftright | - |
| 2286 | if (leftright) {| TRUE | never evaluated | | FALSE | evaluated 68744 times by 45 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- tst_QOpenGlConfig
- ...
|
| 0-68744 |
| 2287 | | - |
| 2288 | | - |
| 2289 | | - |
| 2290 | eps = 0.5/tens[ilim-1] - eps; | - |
| 2291 | for(i = 0;;) { | - |
| 2292 | L = Long(d); | - |
| 2293 | d -= L; | - |
| 2294 | *s++ = '0' + int(L); | - |
| 2295 | if (d < eps)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2296 | goto ret1; never executed: goto ret1; | 0 |
| 2297 | if (1. - d < eps)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2298 | goto bump_up; never executed: goto bump_up; | 0 |
| 2299 | if (++i >= ilim)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2300 | break; never executed: break; | 0 |
| 2301 | eps *= 10.; | - |
| 2302 | d *= 10.; | - |
| 2303 | } never executed: end of block | 0 |
| 2304 | } never executed: end of block | 0 |
| 2305 | else { | - |
| 2306 | #endif | - |
| 2307 | | - |
| 2308 | eps *= tens[ilim-1]; | - |
| 2309 | for(i = 1;; i++, d *= 10.) { | - |
| 2310 | L = Long(d); | - |
| 2311 | d -= L; | - |
| 2312 | *s++ = '0' + int(L); | - |
| 2313 | if (i == ilim) {| TRUE | evaluated 68744 times by 45 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- tst_QOpenGlConfig
- ...
| | FALSE | evaluated 319237 times by 44 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QColor
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- tst_QOpenGlConfig
- tst_QPageSize
- ...
|
| 68744-319237 |
| 2314 | if (d > 0.5 + eps)| TRUE | evaluated 27251 times by 27 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QByteArray
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextLayout
- tst_QTextStream
- tst_QToolButton
- ...
| | FALSE | evaluated 41493 times by 41 testsEvaluated by:- tst_QBrush
- tst_QByteDataBuffer
- tst_QColor
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- ...
|
| 27251-41493 |
| 2315 | goto bump_up;executed 27251 times by 27 tests: goto bump_up;Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QByteArray
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextLayout
- tst_QTextStream
- tst_QToolButton
- ...
| 27251 |
| 2316 | else if (d < 0.5 - eps) {| TRUE | evaluated 41491 times by 41 testsEvaluated by:- tst_QBrush
- tst_QByteDataBuffer
- tst_QColor
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- ...
| | FALSE | evaluated 2 times by 1 test |
| 2-41491 |
| 2317 | while(*--s == '0') {}executed 81744 times by 34 tests: end of blockExecuted by:- tst_QBrush
- tst_QColor
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- ...
| TRUE | evaluated 81744 times by 34 testsEvaluated by:- tst_QBrush
- tst_QColor
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- tst_QPrinter
- tst_QSpinBox
- tst_QString
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- ...
| | FALSE | evaluated 41491 times by 41 testsEvaluated by:- tst_QBrush
- tst_QByteDataBuffer
- tst_QColor
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- ...
|
| 41491-81744 |
| 2318 | s++; | - |
| 2319 | goto ret1;executed 41491 times by 41 tests: goto ret1;Executed by:- tst_QBrush
- tst_QByteDataBuffer
- tst_QColor
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPdfWriter
- ...
| 41491 |
| 2320 | } | - |
| 2321 | break;executed 2 times by 1 test: break; | 2 |
| 2322 | } | - |
| 2323 | }executed 319237 times by 44 tests: end of blockExecuted by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QColor
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QLabel
- tst_QOpenGlConfig
- tst_QPageSize
- ...
| 319237 |
| 2324 | #ifndef No_leftright | - |
| 2325 | }executed 2 times by 1 test: end of block | 2 |
| 2326 | #endif | - |
| 2327 | fast_failed:code before this statement executed 2 times by 1 test: fast_failed: | 2 |
| 2328 | s = s0; | - |
| 2329 | d = d2; | - |
| 2330 | k = k0; | - |
| 2331 | ilim = ilim0; | - |
| 2332 | }executed 2 times by 1 test: end of block | 2 |
| 2333 | | - |
| 2334 | | - |
| 2335 | | - |
| 2336 | if (be >= 0 && k <= Int_max) {| TRUE | evaluated 893 times by 13 testsEvaluated by:- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QString
- tst_QStringRef
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QVariant
- tst_selftests - unknown status
| | FALSE | evaluated 1791 times by 9 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QTreeWidget
- tst_QVariant
|
| TRUE | evaluated 434 times by 12 testsEvaluated by:- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QString
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QVariant
- tst_selftests - unknown status
| | FALSE | evaluated 459 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
|
| 434-1791 |
| 2337 | | - |
| 2338 | ds = tens[k]; | - |
| 2339 | if (ndigits < 0 && ilim <= 0) {| TRUE | never evaluated | | FALSE | evaluated 434 times by 12 testsEvaluated by:- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QString
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QVariant
- tst_selftests - unknown status
|
| TRUE | never evaluated | | FALSE | never evaluated |
| 0-434 |
| 2340 | S = mhi = 0; | - |
| 2341 | if (ilim < 0 || d <= 5*ds)| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2342 | goto no_digits; never executed: goto no_digits; | 0 |
| 2343 | goto one_digit; never executed: goto one_digit; | 0 |
| 2344 | } | - |
| 2345 | for(i = 1;; i++) { | - |
| 2346 | L = Long(d / ds); | - |
| 2347 | d -= L*ds; | - |
| 2348 | #ifdef Check_FLT_ROUNDS | - |
| 2349 | | - |
| 2350 | if (d < 0) { | - |
| 2351 | L--; | - |
| 2352 | d += ds; | - |
| 2353 | } | - |
| 2354 | #endif | - |
| 2355 | *s++ = '0' + int(L); | - |
| 2356 | if (i == ilim) {| TRUE | never evaluated | | FALSE | evaluated 483 times by 12 testsEvaluated by:- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QString
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QVariant
- tst_selftests - unknown status
|
| 0-483 |
| 2357 | d += d; | - |
| 2358 | if (d > ds || (d == ds && L & 1)) {| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2359 | bump_up: | - |
| 2360 | while(*--s == '9')| TRUE | evaluated 20374 times by 22 testsEvaluated by:- tst_QByteArray
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsTransform
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextLayout
- tst_QTextStream
- tst_QToolButton
- tst_QVariant
| | FALSE | evaluated 23695 times by 27 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QByteArray
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextLayout
- tst_QTextStream
- tst_QToolButton
- ...
|
| 20374-23695 |
| 2361 | if (s == s0) {| TRUE | evaluated 3556 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QInputDialog
- tst_QString
| | FALSE | evaluated 16818 times by 22 testsEvaluated by:- tst_QByteArray
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsTransform
- tst_QGuiVariant
- tst_QInputDialog
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextLayout
- tst_QTextStream
- tst_QToolButton
- tst_QVariant
|
| 3556-16818 |
| 2362 | k++; | - |
| 2363 | *s = '0'; | - |
| 2364 | break;executed 3556 times by 4 tests: break;Executed by:- tst_QDoubleSpinBox
- tst_QGraphicsTransform
- tst_QInputDialog
- tst_QString
| 3556 |
| 2365 | } | - |
| 2366 | ++*s++; | - |
| 2367 | }executed 27251 times by 27 tests: end of blockExecuted by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QByteArray
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextLayout
- tst_QTextStream
- tst_QToolButton
- ...
| 27251 |
| 2368 | break;executed 27251 times by 27 tests: break;Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QByteArray
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPrinter
- tst_QString
- tst_QTcpSocket
- tst_QTextLayout
- tst_QTextStream
- tst_QToolButton
- ...
| 27251 |
| 2369 | } | - |
| 2370 | if ((d *= 10.) == g_double_zero)| TRUE | evaluated 434 times by 12 testsEvaluated by:- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QString
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QVariant
- tst_selftests - unknown status
| | FALSE | evaluated 49 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QPropertyAnimation
- tst_QTextDocumentFragment
- tst_selftests - unknown status
|
| 49-434 |
| 2371 | break;executed 434 times by 12 tests: break;Executed by:- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QPropertyAnimation
- tst_QSpinBox
- tst_QString
- tst_QTextDocumentFragment
- tst_QTextList
- tst_QVariant
- tst_selftests - unknown status
| 434 |
| 2372 | }executed 49 times by 5 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QPropertyAnimation
- tst_QTextDocumentFragment
- tst_selftests - unknown status
| 49 |
| 2373 | goto ret1;executed 27685 times by 35 tests: goto ret1;Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsItem
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- tst_QOpenGlConfig
- tst_QPageSize
- tst_QPainter
- tst_QPrinter
- tst_QPropertyAnimation
- ...
| 27685 |
| 2374 | } | - |
| 2375 | | - |
| 2376 | m2 = b2; | - |
| 2377 | m5 = b5; | - |
| 2378 | mhi = mlo = 0; | - |
| 2379 | if (leftright) {| TRUE | never evaluated | | FALSE | evaluated 2250 times by 11 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
|
| 0-2250 |
| 2380 | if (mode < 2) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2381 | i = | - |
| 2382 | #ifndef Sudden_Underflow | - |
| 2383 | denorm ? be + (Bias + (P-1) - 1 + 1) :| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2384 | #endif | - |
| 2385 | #ifdef IBM | - |
| 2386 | 1 + 4*P - 3 - bbits + ((bbits + be - 1) & 3); | - |
| 2387 | #else | - |
| 2388 | 1 + P - bbits; | - |
| 2389 | #endif | - |
| 2390 | } never executed: end of block | 0 |
| 2391 | else { | - |
| 2392 | j = ilim - 1; | - |
| 2393 | if (m5 >= j)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2394 | m5 -= j; never executed: m5 -= j; | 0 |
| 2395 | else { | - |
| 2396 | s5 += j -= m5; | - |
| 2397 | b5 += j; | - |
| 2398 | m5 = 0; | - |
| 2399 | } never executed: end of block | 0 |
| 2400 | if ((i = ilim) < 0) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2401 | m2 -= i; | - |
| 2402 | i = 0; | - |
| 2403 | } never executed: end of block | 0 |
| 2404 | } never executed: end of block | 0 |
| 2405 | b2 += i; | - |
| 2406 | s2 += i; | - |
| 2407 | mhi = i2b(1); | - |
| 2408 | } never executed: end of block | 0 |
| 2409 | if (m2 > 0 && s2 > 0) {| TRUE | evaluated 1618 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
| | FALSE | evaluated 632 times by 8 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QVariant
|
| TRUE | evaluated 1618 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
| | FALSE | never evaluated |
| 0-1618 |
| 2410 | i = m2 < s2 ? m2 : s2;| TRUE | evaluated 1159 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QString
- tst_QTreeWidget
| | FALSE | evaluated 459 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
|
| 459-1159 |
| 2411 | b2 -= i; | - |
| 2412 | m2 -= i; | - |
| 2413 | s2 -= i; | - |
| 2414 | }executed 1618 times by 5 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
| 1618 |
| 2415 | if (b5 > 0) {| TRUE | evaluated 1159 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QString
- tst_QTreeWidget
| | FALSE | evaluated 1091 times by 10 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QVariant
|
| 1091-1159 |
| 2416 | if (leftright) {| TRUE | never evaluated | | FALSE | evaluated 1159 times by 3 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QString
- tst_QTreeWidget
|
| 0-1159 |
| 2417 | if (m5 > 0) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2418 | mhi = pow5mult(mhi, m5); | - |
| 2419 | b1 = mult(mhi, b); | - |
| 2420 | Bfree(b); | - |
| 2421 | b = b1; | - |
| 2422 | } never executed: end of block | 0 |
| 2423 | if ((j = b5 - m5) != 0)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2424 | b = pow5mult(b, j); never executed: b = pow5mult(b, j); | 0 |
| 2425 | } never executed: end of block | 0 |
| 2426 | else | - |
| 2427 | b = pow5mult(b, b5);executed 1159 times by 3 tests: b = pow5mult(b, b5);Executed by:- tst_QDoubleSpinBox
- tst_QString
- tst_QTreeWidget
| 1159 |
| 2428 | } | - |
| 2429 | S = i2b(1); | - |
| 2430 | if (s5 > 0)| TRUE | evaluated 625 times by 6 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 1625 times by 8 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QTreeWidget
- tst_QVariant
|
| 625-1625 |
| 2431 | S = pow5mult(S, s5);executed 625 times by 6 tests: S = pow5mult(S, s5);Executed by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| 625 |
| 2432 | | - |
| 2433 | | - |
| 2434 | | - |
| 2435 | if (mode < 2) {| TRUE | never evaluated | | FALSE | evaluated 2250 times by 11 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
|
| 0-2250 |
| 2436 | if (!getWord1(d) && !(getWord0(d) & Bndry_mask)| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2437 | #ifndef Sudden_Underflow | - |
| 2438 | && getWord0(d) & Exp_mask| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2439 | #endif | - |
| 2440 | ) { | - |
| 2441 | | - |
| 2442 | b2 += Log2P; | - |
| 2443 | s2 += Log2P; | - |
| 2444 | spec_case = 1; | - |
| 2445 | } never executed: end of block | 0 |
| 2446 | else | - |
| 2447 | spec_case = 0; never executed: spec_case = 0; | 0 |
| 2448 | } | - |
| 2449 | | - |
| 2450 | | - |
| 2451 | | - |
| 2452 | | - |
| 2453 | | - |
| 2454 | | - |
| 2455 | | - |
| 2456 | | - |
| 2457 | #ifdef Pack_32 | - |
| 2458 | if ((i = ((s5 ? 32 - hi0bits(S->x[S->wds-1]) : 1) + s2) & 0x1f) != 0)| TRUE | evaluated 2250 times by 11 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| | FALSE | never evaluated |
| TRUE | evaluated 625 times by 6 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QVariant
| | FALSE | evaluated 1625 times by 8 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QTreeWidget
- tst_QVariant
|
| 0-2250 |
| 2459 | i = 32 - i;executed 2250 times by 11 tests: i = 32 - i;Executed by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| 2250 |
| 2460 | #else | - |
| 2461 | if (i = ((s5 ? 32 - hi0bits(S->x[S->wds-1]) : 1) + s2) & 0xf) | - |
| 2462 | i = 16 - i; | - |
| 2463 | #endif | - |
| 2464 | if (i > 4) {| TRUE | evaluated 2122 times by 11 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| | FALSE | evaluated 128 times by 1 test |
| 128-2122 |
| 2465 | i -= 4; | - |
| 2466 | b2 += i; | - |
| 2467 | m2 += i; | - |
| 2468 | s2 += i; | - |
| 2469 | }executed 2122 times by 11 tests: end of blockExecuted by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| 2122 |
| 2470 | else if (i < 4) {| TRUE | evaluated 64 times by 1 test | | FALSE | evaluated 64 times by 1 test |
| 64 |
| 2471 | i += 28; | - |
| 2472 | b2 += i; | - |
| 2473 | m2 += i; | - |
| 2474 | s2 += i; | - |
| 2475 | }executed 64 times by 1 test: end of block | 64 |
| 2476 | if (b2 > 0)| TRUE | evaluated 2186 times by 11 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| | FALSE | evaluated 64 times by 1 test |
| 64-2186 |
| 2477 | b = lshift(b, b2);executed 2186 times by 11 tests: b = lshift(b, b2);Executed by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| 2186 |
| 2478 | if (s2 > 0)| TRUE | evaluated 2250 times by 11 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| | FALSE | never evaluated |
| 0-2250 |
| 2479 | S = lshift(S, s2);executed 2250 times by 11 tests: S = lshift(S, s2);Executed by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| 2250 |
| 2480 | if (k_check) {| TRUE | evaluated 1554 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
| | FALSE | evaluated 696 times by 8 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QVariant
|
| 696-1554 |
| 2481 | if (cmp(b,S) < 0) {| TRUE | evaluated 512 times by 1 test | | FALSE | evaluated 1042 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
|
| 512-1042 |
| 2482 | k--; | - |
| 2483 | b = multadd(b, 10, 0); | - |
| 2484 | if (leftright)| TRUE | never evaluated | | FALSE | evaluated 512 times by 1 test |
| 0-512 |
| 2485 | mhi = multadd(mhi, 10, 0); never executed: mhi = multadd(mhi, 10, 0); | 0 |
| 2486 | ilim = ilim1; | - |
| 2487 | }executed 512 times by 1 test: end of block | 512 |
| 2488 | }executed 1554 times by 5 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QItemDelegate
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
| 1554 |
| 2489 | if (ilim <= 0 && mode > 2) {| TRUE | never evaluated | | FALSE | evaluated 2250 times by 11 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
|
| TRUE | never evaluated | | FALSE | never evaluated |
| 0-2250 |
| 2490 | if (ilim < 0 || cmp(b,S = multadd(S,5,0)) <= 0) {| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2491 | | - |
| 2492 | no_digits: | - |
| 2493 | k = -1 - ndigits; | - |
| 2494 | goto ret;executed 2 times by 1 test: goto ret; | 2 |
| 2495 | } | - |
| 2496 | one_digit: code before this statement never executed: one_digit: | 0 |
| 2497 | *s++ = '1'; | - |
| 2498 | k++; | - |
| 2499 | goto ret; never executed: goto ret; | 0 |
| 2500 | } | - |
| 2501 | if (leftright) {| TRUE | never evaluated | | FALSE | evaluated 2250 times by 11 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
|
| 0-2250 |
| 2502 | if (m2 > 0)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2503 | mhi = lshift(mhi, m2); never executed: mhi = lshift(mhi, m2); | 0 |
| 2504 | | - |
| 2505 | | - |
| 2506 | | - |
| 2507 | | - |
| 2508 | | - |
| 2509 | mlo = mhi; | - |
| 2510 | if (spec_case) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2511 | mhi = Balloc(mhi->k); | - |
| 2512 | Bcopy(mhi, mlo); | - |
| 2513 | mhi = lshift(mhi, Log2P); | - |
| 2514 | } never executed: end of block | 0 |
| 2515 | | - |
| 2516 | for(i = 1;;i++) { | - |
| 2517 | dig = quorem(b,S) + '0'; | - |
| 2518 | | - |
| 2519 | | - |
| 2520 | | - |
| 2521 | j = cmp(b, mlo); | - |
| 2522 | delta = diff(S, mhi); | - |
| 2523 | j1 = delta->sign ? 1 : cmp(b, delta);| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2524 | Bfree(delta); | - |
| 2525 | #ifndef ROUND_BIASED | - |
| 2526 | if (j1 == 0 && !mode && !(getWord1(d) & 1)) {| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2527 | if (dig == '9')| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2528 | goto round_9_up; never executed: goto round_9_up; | 0 |
| 2529 | if (j > 0)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2530 | dig++; never executed: dig++; | 0 |
| 2531 | *s++ = dig; | - |
| 2532 | goto ret; never executed: goto ret; | 0 |
| 2533 | } | - |
| 2534 | #endif | - |
| 2535 | if (j < 0 || (j == 0 && !mode| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2536 | #ifndef ROUND_BIASED | - |
| 2537 | && !(getWord1(d) & 1)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2538 | #endif | - |
| 2539 | )) { | - |
| 2540 | if (j1 > 0) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2541 | b = lshift(b, 1); | - |
| 2542 | j1 = cmp(b, S); | - |
| 2543 | if ((j1 > 0 || (j1 == 0 && dig & 1))| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2544 | && dig++ == '9')| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2545 | goto round_9_up; never executed: goto round_9_up; | 0 |
| 2546 | } never executed: end of block | 0 |
| 2547 | *s++ = dig; | - |
| 2548 | goto ret; never executed: goto ret; | 0 |
| 2549 | } | - |
| 2550 | if (j1 > 0) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2551 | if (dig == '9') { | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2552 | round_9_up: | - |
| 2553 | *s++ = '9'; | - |
| 2554 | goto roundoff; never executed: goto roundoff; | 0 |
| 2555 | } | - |
| 2556 | *s++ = dig + 1; | - |
| 2557 | goto ret; never executed: goto ret; | 0 |
| 2558 | } | - |
| 2559 | *s++ = dig; | - |
| 2560 | if (i == ilim)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2561 | break; never executed: break; | 0 |
| 2562 | b = multadd(b, 10, 0); | - |
| 2563 | if (mlo == mhi)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2564 | mlo = mhi = multadd(mhi, 10, 0); never executed: mlo = mhi = multadd(mhi, 10, 0); | 0 |
| 2565 | else { | - |
| 2566 | mlo = multadd(mlo, 10, 0); | - |
| 2567 | mhi = multadd(mhi, 10, 0); | - |
| 2568 | } never executed: end of block | 0 |
| 2569 | } | - |
| 2570 | } never executed: end of block | 0 |
| 2571 | else | - |
| 2572 | for(i = 1;; i++) { | - |
| 2573 | *s++ = dig = quorem(b,S) + '0'; | - |
| 2574 | if (i >= ilim)| TRUE | evaluated 2250 times by 11 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| | FALSE | evaluated 122615 times by 11 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
|
| 2250-122615 |
| 2575 | break;executed 2250 times by 11 tests: break;Executed by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| 2250 |
| 2576 | b = multadd(b, 10, 0); | - |
| 2577 | }executed 122615 times by 11 tests: end of blockExecuted by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| 122615 |
| 2578 | | - |
| 2579 | | - |
| 2580 | | - |
| 2581 | b = lshift(b, 1); | - |
| 2582 | j = cmp(b, S); | - |
| 2583 | if (j > 0 || (j == 0 && dig & 1)) {| TRUE | evaluated 900 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
| | FALSE | evaluated 1350 times by 9 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
|
| TRUE | evaluated 66 times by 2 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QString
| | FALSE | evaluated 1284 times by 9 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
|
| TRUE | evaluated 64 times by 1 test | | FALSE | evaluated 2 times by 1 test |
| 2-1350 |
| 2584 | roundoff: | - |
| 2585 | while(*--s == '9')| TRUE | evaluated 149 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QSqlDriver
- tst_QString
- tst_QStringRef
| | FALSE | evaluated 964 times by 5 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
|
| 149-964 |
| 2586 | if (s == s0) {| TRUE | never evaluated | | FALSE | evaluated 149 times by 4 testsEvaluated by:- tst_QDoubleSpinBox
- tst_QSqlDriver
- tst_QString
- tst_QStringRef
|
| 0-149 |
| 2587 | k++; | - |
| 2588 | *s++ = '1'; | - |
| 2589 | goto ret; never executed: goto ret; | 0 |
| 2590 | } | - |
| 2591 | ++*s++; | - |
| 2592 | }executed 964 times by 5 tests: end of blockExecuted by:- tst_QDoubleSpinBox
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
| 964 |
| 2593 | else { | - |
| 2594 | while(*--s == '0') {}executed 3567 times by 6 tests: end of blockExecuted by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QString
- tst_QVariant
| TRUE | evaluated 3567 times by 6 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QString
- tst_QVariant
| | FALSE | evaluated 1286 times by 9 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
|
| 1286-3567 |
| 2595 | s++; | - |
| 2596 | }executed 1286 times by 9 tests: end of blockExecuted by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| 1286 |
| 2597 | ret:code before this statement executed 2250 times by 11 tests: ret:Executed by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| 2250 |
| 2598 | Bfree(S); | - |
| 2599 | if (mhi) {| TRUE | never evaluated | | FALSE | evaluated 2252 times by 11 testsEvaluated by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
|
| 0-2252 |
| 2600 | if (mlo && mlo != mhi)| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 2601 | Bfree(mlo); never executed: Bfree(mlo); | 0 |
| 2602 | Bfree(mhi); | - |
| 2603 | } never executed: end of block | 0 |
| 2604 | ret1:code before this statement executed 2252 times by 11 tests: ret1:Executed by:- tst_QDBusMarshall
- tst_QDoubleSpinBox
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QMetaType
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QString
- tst_QStringRef
- tst_QTreeWidget
- tst_QVariant
| 2252 |
| 2605 | Bfree(b); | - |
| 2606 | if (s == s0) { | TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 71426 times by 53 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
|
| 2-71426 |
| 2607 | *s++ = '0'; | - |
| 2608 | k = 0; | - |
| 2609 | }executed 2 times by 1 test: end of block | 2 |
| 2610 | *s = 0; | - |
| 2611 | *decpt = k + 1; | - |
| 2612 | if (rve)| TRUE | evaluated 71428 times by 53 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
| | FALSE | never evaluated |
| 0-71428 |
| 2613 | *rve = s;executed 71428 times by 53 tests: *rve = s;Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
| 71428 |
| 2614 | return s0;executed 71428 times by 53 tests: return s0;Executed by:- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QBrush
- tst_QByteArray
- tst_QByteDataBuffer
- tst_QColor
- tst_QCssParser
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDebug
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsTransform
- tst_QGraphicsView
- tst_QGuiVariant
- tst_QHttpSocketEngine
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemModel
- ...
| 71428 |
| 2615 | } | - |
| 2616 | | - |
| 2617 | QT_END_NAMESPACE | - |
| | |