| 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 | #include "qplatformdefs.h" | - |
| 35 | | - |
| 36 | #include <qfile.h> | - |
| 37 | #include "qlibrary_p.h" | - |
| 38 | #include <qcoreapplication.h> | - |
| 39 | #include <private/qfilesystementry_p.h> | - |
| 40 | | - |
| 41 | #ifndef QT_NO_LIBRARY | - |
| 42 | | - |
| 43 | #ifdef Q_OS_MAC | - |
| 44 | # include <private/qcore_mac_p.h> | - |
| 45 | #endif | - |
| 46 | | - |
| 47 | #if defined(QT_AOUT_UNDERSCORE) | - |
| 48 | #include <string.h> | - |
| 49 | #endif | - |
| 50 | | - |
| 51 | #if (defined(Q_OS_VXWORKS) && !defined(VXWORKS_RTP)) || defined (Q_OS_NACL) | - |
| 52 | #define QT_NO_DYNAMIC_LIBRARY | - |
| 53 | #endif | - |
| 54 | | - |
| 55 | QT_BEGIN_NAMESPACE | - |
| 56 | | - |
| 57 | #if !defined(QT_HPUX_LD) && !defined(QT_NO_DYNAMIC_LIBRARY) | - |
| 58 | QT_BEGIN_INCLUDE_NAMESPACE | - |
| 59 | #include <dlfcn.h> | - |
| 60 | QT_END_INCLUDE_NAMESPACE | - |
| 61 | #endif | - |
| 62 | | - |
| 63 | static QString qdlerror() | - |
| 64 | { | - |
| 65 | #if defined(QT_NO_DYNAMIC_LIBRARY) | - |
| 66 | const char *err = "This platform does not support dynamic libraries."; | - |
| 67 | #elif !defined(QT_HPUX_LD) | - |
| 68 | const char *err = dlerror(); | - |
| 69 | #else | - |
| 70 | const char *err = strerror(errno); | - |
| 71 | #endif | - |
| 72 | return err ? QLatin1Char('(') + QString::fromLocal8Bit(err) + QLatin1Char(')'): QString();executed 33 times by 26 tests: return err ? QLatin1Char('(') + QString::fromLocal8Bit(err) + QLatin1Char(')'): QString();Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPluginLoader
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTextStream
- tst_QUdpSocket
- tst_Spdy
- ...
| TRUE | evaluated 33 times by 26 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPluginLoader
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTextStream
- tst_QUdpSocket
- tst_Spdy
- ...
| | FALSE | never evaluated |
| 0-33 |
| 73 | } | - |
| 74 | | - |
| 75 | QStringList QLibraryPrivate::suffixes_sys(const QString& fullVersion) | - |
| 76 | { | - |
| 77 | QStringList suffixes; | - |
| 78 | #if defined(Q_OS_HPUX) | - |
| 79 | | - |
| 80 | | - |
| 81 | | - |
| 82 | | - |
| 83 | | - |
| 84 | | - |
| 85 | | - |
| 86 | | - |
| 87 | | - |
| 88 | | - |
| 89 | | - |
| 90 | # if defined(__ia64) | - |
| 91 | if (!fullVersion.isEmpty()) { | - |
| 92 | suffixes << QString::fromLatin1(".so.%1").arg(fullVersion); | - |
| 93 | } else { | - |
| 94 | suffixes << QLatin1String(".so"); | - |
| 95 | } | - |
| 96 | # endif | - |
| 97 | if (!fullVersion.isEmpty()) { | - |
| 98 | suffixes << QString::fromLatin1(".sl.%1").arg(fullVersion); | - |
| 99 | suffixes << QString::fromLatin1(".%1").arg(fullVersion); | - |
| 100 | } else { | - |
| 101 | suffixes << QLatin1String(".sl"); | - |
| 102 | } | - |
| 103 | #elif defined(Q_OS_AIX) | - |
| 104 | suffixes << ".a"; | - |
| 105 | | - |
| 106 | #else | - |
| 107 | if (!fullVersion.isEmpty()) {| TRUE | evaluated 78 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QHttpNetworkConnection
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QProgressBar
- tst_QPushButton
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QStyle
- tst_QTcpSocket
- tst_QTextBoundaryFinder
- tst_QTextLayout
- tst_QXmlInputSource
- ...
| | FALSE | evaluated 57 times by 28 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPluginLoader
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTextStream
- ...
|
| 57-78 |
| 108 | suffixes << QString::fromLatin1(".so.%1").arg(fullVersion); | - |
| 109 | } else {executed 78 times by 30 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QHttpNetworkConnection
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QProgressBar
- tst_QPushButton
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QStyle
- tst_QTcpSocket
- tst_QTextBoundaryFinder
- tst_QTextLayout
- tst_QXmlInputSource
- ...
| 78 |
| 110 | suffixes << QLatin1String(".so"); | - |
| 111 | }executed 57 times by 28 tests: end of blockExecuted by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPluginLoader
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTextStream
- ...
| 57 |
| 112 | #endif | - |
| 113 | # ifdef Q_OS_MAC | - |
| 114 | if (!fullVersion.isEmpty()) { | - |
| 115 | suffixes << QString::fromLatin1(".%1.bundle").arg(fullVersion); | - |
| 116 | suffixes << QString::fromLatin1(".%1.dylib").arg(fullVersion); | - |
| 117 | } else { | - |
| 118 | suffixes << QLatin1String(".bundle") << QLatin1String(".dylib"); | - |
| 119 | } | - |
| 120 | #endif | - |
| 121 | return suffixes;executed 135 times by 46 tests: return suffixes;Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPluginLoader
- tst_QProcess
- tst_QProgressBar
- tst_QPushButton
- ...
| 135 |
| 122 | } | - |
| 123 | | - |
| 124 | QStringList QLibraryPrivate::prefixes_sys() | - |
| 125 | { | - |
| 126 | return QStringList() << QLatin1String("lib");executed 135 times by 46 tests: return QStringList() << QLatin1String("lib");Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPluginLoader
- tst_QProcess
- tst_QProgressBar
- tst_QPushButton
- ...
| 135 |
| 127 | } | - |
| 128 | | - |
| 129 | bool QLibraryPrivate::load_sys() | - |
| 130 | { | - |
| 131 | QString attempt; | - |
| 132 | #if !defined(QT_NO_DYNAMIC_LIBRARY) | - |
| 133 | QFileSystemEntry fsEntry(fileName); | - |
| 134 | | - |
| 135 | QString path = fsEntry.path(); | - |
| 136 | QString name = fsEntry.fileName(); | - |
| 137 | if (path == QLatin1String(".") && !fileName.startsWith(path))| TRUE | evaluated 102 times by 44 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QProcess
- tst_QProgressBar
- tst_QPushButton
- tst_QSocks5SocketEngine
- ...
| | FALSE | evaluated 418 times by 112 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
| TRUE | evaluated 102 times by 44 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QProcess
- tst_QProgressBar
- tst_QPushButton
- tst_QSocks5SocketEngine
- ...
| | FALSE | never evaluated |
| 0-418 |
| 138 | path.clear();executed 102 times by 44 tests: path.clear();Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QProcess
- tst_QProgressBar
- tst_QPushButton
- tst_QSocks5SocketEngine
- ...
| 102 |
| 139 | else | - |
| 140 | path += QLatin1Char('/');executed 418 times by 112 tests: path += QLatin1Char('/');Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| 418 |
| 141 | | - |
| 142 | QStringList suffixes; | - |
| 143 | QStringList prefixes; | - |
| 144 | if (pluginState != IsAPlugin) {| TRUE | evaluated 131 times by 46 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPluginLoader
- tst_QProcess
- tst_QProgressBar
- tst_QPushButton
- ...
| | FALSE | evaluated 389 times by 110 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
| 131-389 |
| 145 | prefixes = prefixes_sys(); | - |
| 146 | suffixes = suffixes_sys(fullVersion); | - |
| 147 | }executed 131 times by 46 tests: end of blockExecuted by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPluginLoader
- tst_QProcess
- tst_QProgressBar
- tst_QPushButton
- ...
| 131 |
| 148 | int dlFlags = 0; | - |
| 149 | #if defined(QT_HPUX_LD) | - |
| 150 | dlFlags = DYNAMIC_PATH | BIND_NONFATAL; | - |
| 151 | if (loadHints & QLibrary::ResolveAllSymbolsHint) { | - |
| 152 | dlFlags |= BIND_IMMEDIATE; | - |
| 153 | } else { | - |
| 154 | dlFlags |= BIND_DEFERRED; | - |
| 155 | } | - |
| 156 | #else | - |
| 157 | int loadHints = this->loadHints(); | - |
| 158 | if (loadHints & QLibrary::ResolveAllSymbolsHint) {| TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 517 times by 134 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
|
| 3-517 |
| 159 | dlFlags |= RTLD_NOW; | - |
| 160 | } else {executed 3 times by 1 test: end of block | 3 |
| 161 | dlFlags |= RTLD_LAZY; | - |
| 162 | }executed 517 times by 134 tests: end of blockExecuted by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| 517 |
| 163 | if (loadHints & QLibrary::ExportExternalSymbolsHint) {| TRUE | never evaluated | | FALSE | evaluated 520 times by 134 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
|
| 0-520 |
| 164 | dlFlags |= RTLD_GLOBAL; | - |
| 165 | } never executed: end of block | 0 |
| 166 | #if !defined(Q_OS_CYGWIN) | - |
| 167 | else { | - |
| 168 | #if defined(Q_OS_MAC) | - |
| 169 | if (QSysInfo::MacintoshVersion >= QSysInfo::MV_10_4) | - |
| 170 | #endif | - |
| 171 | dlFlags |= RTLD_LOCAL; | - |
| 172 | }executed 520 times by 134 tests: end of blockExecuted by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| 520 |
| 173 | #endif | - |
| 174 | #if defined(RTLD_DEEPBIND) | - |
| 175 | if (loadHints & QLibrary::DeepBindHint)| TRUE | never evaluated | | FALSE | evaluated 520 times by 134 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
|
| 0-520 |
| 176 | dlFlags |= RTLD_DEEPBIND; never executed: dlFlags |= 0x00008; | 0 |
| 177 | #endif | - |
| 178 | | - |
| 179 | | - |
| 180 | | - |
| 181 | | - |
| 182 | | - |
| 183 | | - |
| 184 | #ifdef RTLD_NODELETE | - |
| 185 | if (loadHints & QLibrary::PreventUnloadHint) {| TRUE | evaluated 389 times by 110 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| | FALSE | evaluated 131 times by 46 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPluginLoader
- tst_QProcess
- tst_QProgressBar
- tst_QPushButton
- ...
|
| 131-389 |
| 186 | dlFlags |= RTLD_NODELETE; | - |
| 187 | }executed 389 times by 110 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| 389 |
| 188 | #endif | - |
| 189 | | - |
| 190 | #if defined(Q_OS_AIX) // Not sure if any other platform actually support this thing. | - |
| 191 | if (loadHints & QLibrary::LoadArchiveMemberHint) { | - |
| 192 | dlFlags |= RTLD_MEMBER; | - |
| 193 | } | - |
| 194 | #endif | - |
| 195 | #endif // QT_HPUX_LD | - |
| 196 | | - |
| 197 | | - |
| 198 | | - |
| 199 | | - |
| 200 | if (fsEntry.isAbsolute()) {| TRUE | evaluated 418 times by 112 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| | FALSE | evaluated 102 times by 44 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QProcess
- tst_QProgressBar
- tst_QPushButton
- tst_QSocks5SocketEngine
- ...
|
| 102-418 |
| 201 | suffixes.prepend(QString()); | - |
| 202 | prefixes.prepend(QString()); | - |
| 203 | } else {executed 418 times by 112 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| 418 |
| 204 | suffixes.append(QString()); | - |
| 205 | prefixes.append(QString()); | - |
| 206 | }executed 102 times by 44 tests: end of blockExecuted by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QProcess
- tst_QProgressBar
- tst_QPushButton
- tst_QSocks5SocketEngine
- ...
| 102 |
| 207 | | - |
| 208 | bool retry = true; | - |
| 209 | for(int prefix = 0; retry && !pHnd && prefix < prefixes.size(); prefix++) {| TRUE | evaluated 1080 times by 134 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| | FALSE | evaluated 2 times by 2 testsEvaluated by:- tst_QLibrary
- tst_qlibrary - unknown status
|
| TRUE | evaluated 566 times by 134 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| | FALSE | evaluated 514 times by 134 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
|
| TRUE | evaluated 562 times by 134 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_QLibrary
- tst_qlibrary - unknown status
|
| 2-1080 |
| 210 | for(int suffix = 0; retry && !pHnd && suffix < suffixes.size(); suffix++) {| TRUE | evaluated 1206 times by 134 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| | FALSE | evaluated 2 times by 2 testsEvaluated by:- tst_QLibrary
- tst_qlibrary - unknown status
|
| TRUE | evaluated 692 times by 134 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| | FALSE | evaluated 514 times by 134 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
|
| TRUE | evaluated 646 times by 134 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| | FALSE | evaluated 46 times by 27 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTextStream
- tst_QUdpSocket
- ...
|
| 2-1206 |
| 211 | if (!prefixes.at(prefix).isEmpty() && name.startsWith(prefixes.at(prefix)))| TRUE | evaluated 160 times by 45 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QProcess
- tst_QProgressBar
- tst_QPushButton
- tst_QSocks5SocketEngine
- ...
| | FALSE | evaluated 486 times by 126 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
|
| TRUE | evaluated 50 times by 25 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTextStream
- tst_QUdpSocket
- tst_Spdy
| | FALSE | evaluated 110 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QHttpNetworkConnection
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QProgressBar
- tst_QPushButton
- tst_QSslCertificate
- tst_QSslEllipticCurve
- tst_QSslError
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QStyle
- tst_QTcpSocket
- tst_QTextBoundaryFinder
- tst_QTextLayout
- tst_QXmlInputSource
- ...
|
| 50-486 |
| 212 | continue;executed 50 times by 25 tests: continue;Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTextStream
- tst_QUdpSocket
- tst_Spdy
| 50 |
| 213 | if (!suffixes.at(suffix).isEmpty() && name.endsWith(suffixes.at(suffix)))| TRUE | evaluated 135 times by 45 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QProcess
- tst_QProgressBar
- tst_QPushButton
- tst_QSocks5SocketEngine
- ...
| | FALSE | evaluated 461 times by 126 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
|
| TRUE | never evaluated | | FALSE | evaluated 135 times by 45 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLabel
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QProcess
- tst_QProgressBar
- tst_QPushButton
- tst_QSocks5SocketEngine
- ...
|
| 0-461 |
| 214 | continue; never executed: continue; | 0 |
| 215 | if (loadHints & QLibrary::LoadArchiveMemberHint) {| TRUE | never evaluated | | FALSE | evaluated 596 times by 134 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
|
| 0-596 |
| 216 | attempt = name; | - |
| 217 | int lparen = attempt.indexOf(QLatin1Char('(')); | - |
| 218 | if (lparen == -1)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 219 | lparen = attempt.count(); never executed: lparen = attempt.count(); | 0 |
| 220 | attempt = path + prefixes.at(prefix) + attempt.insert(lparen, suffixes.at(suffix)); | - |
| 221 | } else { never executed: end of block | 0 |
| 222 | attempt = path + prefixes.at(prefix) + name + suffixes.at(suffix); | - |
| 223 | }executed 596 times by 134 tests: end of blockExecuted by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| 596 |
| 224 | #if defined(QT_HPUX_LD) | - |
| 225 | pHnd = (void*)shl_load(QFile::encodeName(attempt), dlFlags, 0); | - |
| 226 | #else | - |
| 227 | pHnd = dlopen(QFile::encodeName(attempt), dlFlags); | - |
| 228 | #endif | - |
| 229 | | - |
| 230 | if (!pHnd && fileName.startsWith(QLatin1Char('/')) && QFile::exists(attempt)) {| TRUE | evaluated 82 times by 27 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTextStream
- tst_QUdpSocket
- ...
| | FALSE | evaluated 514 times by 134 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
|
| TRUE | evaluated 53 times by 2 testsEvaluated by:- tst_QLibrary
- tst_qlibrary - unknown status
| | FALSE | evaluated 29 times by 26 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTextStream
- tst_QUdpSocket
- ...
|
| TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_QLibrary
- tst_qlibrary - unknown status
| | FALSE | evaluated 51 times by 2 testsEvaluated by:- tst_QLibrary
- tst_qlibrary - unknown status
|
| 2-514 |
| 231 | | - |
| 232 | | - |
| 233 | | - |
| 234 | | - |
| 235 | retry = false; | - |
| 236 | }executed 2 times by 2 tests: end of blockExecuted by:- tst_QLibrary
- tst_qlibrary - unknown status
| 2 |
| 237 | }executed 596 times by 134 tests: end of blockExecuted by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| 596 |
| 238 | }executed 562 times by 134 tests: end of blockExecuted by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| 562 |
| 239 | | - |
| 240 | #ifdef Q_OS_MAC | - |
| 241 | if (!pHnd) { | - |
| 242 | QByteArray utf8Bundle = fileName.toUtf8(); | - |
| 243 | QCFType<CFURLRef> bundleUrl = CFURLCreateFromFileSystemRepresentation(NULL, reinterpret_cast<const UInt8*>(utf8Bundle.data()), utf8Bundle.length(), true); | - |
| 244 | QCFType<CFBundleRef> bundle = CFBundleCreate(NULL, bundleUrl); | - |
| 245 | if(bundle) { | - |
| 246 | QCFType<CFURLRef> url = CFBundleCopyExecutableURL(bundle); | - |
| 247 | char executableFile[FILENAME_MAX]; | - |
| 248 | CFURLGetFileSystemRepresentation(url, true, reinterpret_cast<UInt8*>(executableFile), FILENAME_MAX); | - |
| 249 | attempt = QString::fromUtf8(executableFile); | - |
| 250 | pHnd = dlopen(QFile::encodeName(attempt), dlFlags); | - |
| 251 | } | - |
| 252 | } | - |
| 253 | #endif | - |
| 254 | #endif // QT_NO_DYNAMIC_LIBRARY | - |
| 255 | if (!pHnd) {| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_QLibrary
- tst_qlibrary - unknown status
| | FALSE | evaluated 514 times by 134 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
|
| 6-514 |
| 256 | errorString = QLibrary::tr("Cannot load library %1: %2").arg(fileName).arg(qdlerror()); | - |
| 257 | }executed 6 times by 2 tests: end of blockExecuted by:- tst_QLibrary
- tst_qlibrary - unknown status
| 6 |
| 258 | if (pHnd) {| TRUE | evaluated 514 times by 134 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_QLibrary
- tst_qlibrary - unknown status
|
| 6-514 |
| 259 | qualifiedFileName = attempt; | - |
| 260 | errorString.clear(); | - |
| 261 | }executed 514 times by 134 tests: end of blockExecuted by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| 514 |
| 262 | return (pHnd != 0);executed 520 times by 134 tests: return (pHnd != 0);Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| 520 |
| 263 | } | - |
| 264 | | - |
| 265 | bool QLibraryPrivate::unload_sys() | - |
| 266 | { | - |
| 267 | #if !defined(QT_NO_DYNAMIC_LIBRARY) | - |
| 268 | # if defined(QT_HPUX_LD) | - |
| 269 | if (shl_unload((shl_t)pHnd)) { | - |
| 270 | # else | - |
| 271 | if (dlclose(pHnd)) {| TRUE | never evaluated | | FALSE | evaluated 1062 times by 249 testsEvaluated by:- tst_QFactoryLoader
- tst_QLibrary
- tst_QPluginLoader
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qbackingstore - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuttongroup - unknown status
- ...
|
| 0-1062 |
| 272 | # endif | - |
| 273 | # if defined (Q_OS_QNX) // Workaround until fixed in QNX; fixes crash in | - |
| 274 | char *error = dlerror(); | - |
| 275 | if (!qstrcmp(error, "Shared objects still referenced")) | - |
| 276 | return true; | - |
| 277 | errorString = QLibrary::tr("Cannot unload library %1: %2").arg(fileName) | - |
| 278 | .arg(QLatin1String(error)); | - |
| 279 | # else | - |
| 280 | errorString = QLibrary::tr("Cannot unload library %1: %2").arg(fileName).arg(qdlerror()); | - |
| 281 | # endif | - |
| 282 | return false; never executed: return false; | 0 |
| 283 | } | - |
| 284 | #endif | - |
| 285 | errorString.clear(); | - |
| 286 | return true;executed 1062 times by 249 tests: return true;Executed by:- tst_QFactoryLoader
- tst_QLibrary
- tst_QPluginLoader
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qbackingstore - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuttongroup - unknown status
- ...
| 1062 |
| 287 | } | - |
| 288 | | - |
| 289 | #if defined(Q_OS_LINUX) && !defined(QT_NO_DYNAMIC_LIBRARY) | - |
| 290 | Q_CORE_EXPORT QFunctionPointer qt_linux_find_symbol_sys(const char *symbol) | - |
| 291 | { | - |
| 292 | return QFunctionPointer(dlsym(RTLD_DEFAULT, symbol)); never executed: return QFunctionPointer(dlsym(((void *) 0), symbol)); | 0 |
| 293 | } | - |
| 294 | #endif | - |
| 295 | | - |
| 296 | #ifdef Q_OS_MAC | - |
| 297 | Q_CORE_EXPORT QFunctionPointer qt_mac_resolve_sys(void *handle, const char *symbol) | - |
| 298 | { | - |
| 299 | return QFunctionPointer(dlsym(handle, symbol)); | - |
| 300 | } | - |
| 301 | #endif | - |
| 302 | | - |
| 303 | QFunctionPointer QLibraryPrivate::resolve_sys(const char* symbol) | - |
| 304 | { | - |
| 305 | #if defined(QT_AOUT_UNDERSCORE) | - |
| 306 | | - |
| 307 | char* undrscr_symbol = new char[strlen(symbol)+2]; | - |
| 308 | undrscr_symbol[0] = '_'; | - |
| 309 | strcpy(undrscr_symbol+1, symbol); | - |
| 310 | QFunctionPointer address = QFunctionPointer(dlsym(pHnd, undrscr_symbol)); | - |
| 311 | delete [] undrscr_symbol; | - |
| 312 | #elif defined(QT_HPUX_LD) | - |
| 313 | QFunctionPointer address = 0; | - |
| 314 | if (shl_findsym((shl_t*)&pHnd, symbol, TYPE_UNDEFINED, &address) < 0) | - |
| 315 | address = 0; | - |
| 316 | #elif defined (QT_NO_DYNAMIC_LIBRARY) | - |
| 317 | QFunctionPointer address = 0; | - |
| 318 | #else | - |
| 319 | QFunctionPointer address = QFunctionPointer(dlsym(pHnd, symbol)); | - |
| 320 | #endif | - |
| 321 | if (!address) {| TRUE | evaluated 27 times by 26 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPluginLoader
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTextStream
- tst_QUdpSocket
- tst_Spdy
- ...
| | FALSE | evaluated 12840 times by 134 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
|
| 27-12840 |
| 322 | errorString = QLibrary::tr("Cannot resolve symbol \"%1\" in %2: %3").arg( | - |
| 323 | QString::fromLatin1(symbol)).arg(fileName).arg(qdlerror()); | - |
| 324 | } else {executed 27 times by 26 tests: end of blockExecuted by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QLibrary
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QObject
- tst_QPluginLoader
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTextStream
- tst_QUdpSocket
- tst_Spdy
- ...
| 27 |
| 325 | errorString.clear(); | - |
| 326 | }executed 12840 times by 134 tests: end of blockExecuted by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| 12840 |
| 327 | return address;executed 12867 times by 134 tests: return address;Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| 12867 |
| 328 | } | - |
| 329 | | - |
| 330 | QT_END_NAMESPACE | - |
| 331 | | - |
| 332 | #endif // QT_NO_LIBRARY | - |
| | |