Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | #include "qstringmatcher.h" | - |
41 | | - |
42 | QT_BEGIN_NAMESPACE | - |
43 | | - |
44 | static void bm_init_skiptable(const ushort *uc, int len, uchar *skiptable, Qt::CaseSensitivity cs) | - |
45 | { | - |
46 | int l = qMin(len, 255); | - |
47 | memset(skiptable, l, 256*sizeof(uchar)); | - |
48 | uc += len - l; | - |
49 | if (cs == Qt::CaseSensitive) {TRUE | evaluated 393398 times by 115 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QEventLoop
- tst_QFileDialog2
- ...
| FALSE | evaluated 190 times by 12 testsEvaluated by:- tst_Collections
- tst_QRegExp
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringMatcher
- tst_QStringRef
|
| 190-393398 |
50 | while (l--) {TRUE | evaluated 4688427 times by 115 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QEventLoop
- tst_QFileDialog2
- ...
| FALSE | evaluated 393398 times by 115 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QEventLoop
- tst_QFileDialog2
- ...
|
| 393398-4688427 |
51 | skiptable[*uc & 0xff] = l; | - |
52 | uc++; | - |
53 | }executed 4688427 times by 115 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QEventLoop
- tst_QFileDialog2
- ...
| 4688427 |
54 | } else {executed 393398 times by 115 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QEventLoop
- tst_QFileDialog2
- ...
| 393398 |
55 | const ushort *start = uc; | - |
56 | while (l--) {TRUE | evaluated 6581 times by 12 testsEvaluated by:- tst_Collections
- tst_QRegExp
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringMatcher
- tst_QStringRef
| FALSE | evaluated 190 times by 12 testsEvaluated by:- tst_Collections
- tst_QRegExp
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringMatcher
- tst_QStringRef
|
| 190-6581 |
57 | skiptable[foldCase(uc, start) & 0xff] = l; | - |
58 | uc++; | - |
59 | }executed 6581 times by 12 tests: end of block Executed by:- tst_Collections
- tst_QRegExp
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringMatcher
- tst_QStringRef
| 6581 |
60 | }executed 190 times by 12 tests: end of block Executed by:- tst_Collections
- tst_QRegExp
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringMatcher
- tst_QStringRef
| 190 |
61 | } | - |
62 | | - |
63 | static inline int bm_find(const ushort *uc, uint l, int index, const ushort *puc, uint pl, | - |
64 | const uchar *skiptable, Qt::CaseSensitivity cs) | - |
65 | { | - |
66 | if (pl == 0)TRUE | evaluated 34 times by 2 testsEvaluated by:- tst_QString
- tst_QStringMatcher
| FALSE | evaluated 397045 times by 115 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QEventLoop
- tst_QFileDialog2
- ...
|
| 34-397045 |
67 | return index > (int)l ? -1 : index;executed 34 times by 2 tests: return index > (int)l ? -1 : index; Executed by:- tst_QString
- tst_QStringMatcher
| 34 |
68 | const uint pl_minus_one = pl - 1; | - |
69 | | - |
70 | const ushort *current = uc + index + pl_minus_one; | - |
71 | const ushort *end = uc + l; | - |
72 | if (cs == Qt::CaseSensitive) {TRUE | evaluated 396242 times by 115 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QEventLoop
- tst_QFileDialog2
- ...
| FALSE | evaluated 803 times by 12 testsEvaluated by:- tst_Collections
- tst_QRegExp
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringMatcher
- tst_QStringRef
|
| 803-396242 |
73 | while (current < end) {TRUE | evaluated 164594537 times by 115 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QEventLoop
- tst_QFileDialog2
- ...
| FALSE | evaluated 78537 times by 99 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QComboBox
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDockWidget
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFont
- ...
|
| 78537-164594537 |
74 | uint skip = skiptable[*current & 0xff]; | - |
75 | if (!skip) {TRUE | evaluated 220408 times by 48 testsEvaluated by:- tst_Collections
- tst_QAction
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QFileInfo
- tst_QFont
- tst_QFontDialog
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- ...
| FALSE | evaluated 164255192 times by 114 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileInfo
- ...
|
| 220408-164255192 |
76 | | - |
77 | while (skip < pl) {TRUE | evaluated 736857 times by 48 testsEvaluated by:- tst_Collections
- tst_QAction
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QFileInfo
- tst_QFont
- tst_QFontDialog
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- ...
| FALSE | evaluated 203495 times by 46 testsEvaluated by:- tst_Collections
- tst_QAction
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QFileInfo
- tst_QFont
- tst_QFontDialog
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- ...
|
| 203495-736857 |
78 | if (*(current - skip) != puc[pl_minus_one-skip])TRUE | evaluated 16913 times by 17 testsEvaluated by:- tst_Collections
- tst_QMdiSubWindow
- tst_QNetworkReply
- tst_QString
- tst_QStringList
- tst_QStringMatcher
- tst_QStringRef
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QWidget_window
- tst_qmakelib
- tst_selftests - unknown status
- tst_uic
| FALSE | evaluated 719944 times by 48 testsEvaluated by:- tst_Collections
- tst_QAction
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QFileInfo
- tst_QFont
- tst_QFontDialog
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- ...
|
| 16913-719944 |
79 | break;executed 16913 times by 17 tests: break; Executed by:- tst_Collections
- tst_QMdiSubWindow
- tst_QNetworkReply
- tst_QString
- tst_QStringList
- tst_QStringMatcher
- tst_QStringRef
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QWidget_window
- tst_qmakelib
- tst_selftests - unknown status
- tst_uic
| 16913 |
80 | skip++; | - |
81 | }executed 719944 times by 48 tests: end of block Executed by:- tst_Collections
- tst_QAction
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QFileInfo
- tst_QFont
- tst_QFontDialog
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- ...
| 719944 |
82 | if (skip > pl_minus_one) TRUE | evaluated 203495 times by 46 testsEvaluated by:- tst_Collections
- tst_QAction
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QFileInfo
- tst_QFont
- tst_QFontDialog
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- ...
| FALSE | evaluated 16913 times by 17 testsEvaluated by:- tst_Collections
- tst_QMdiSubWindow
- tst_QNetworkReply
- tst_QString
- tst_QStringList
- tst_QStringMatcher
- tst_QStringRef
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QWidget_window
- tst_qmakelib
- tst_selftests - unknown status
- tst_uic
|
| 16913-203495 |
83 | return (current - uc) - pl_minus_one;executed 203495 times by 46 tests: return (current - uc) - pl_minus_one; Executed by:- tst_Collections
- tst_QAction
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QFileInfo
- tst_QFont
- tst_QFontDialog
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- ...
| 203495 |
84 | | - |
85 | | - |
86 | | - |
87 | if (skiptable[*(current - skip) & 0xff] == pl)TRUE | evaluated 1865 times by 14 testsEvaluated by:- tst_Collections
- tst_QMdiSubWindow
- tst_QNetworkReply
- tst_QString
- tst_QStringList
- tst_QStringMatcher
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_qmakelib
- tst_selftests - unknown status
- tst_uic
| FALSE | evaluated 15048 times by 8 testsEvaluated by:- tst_QString
- tst_QStringMatcher
- tst_QStringRef
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentLayout
- tst_QWidget_window
- tst_uic
|
| 1865-15048 |
88 | skip = pl - skip;executed 1865 times by 14 tests: skip = pl - skip; Executed by:- tst_Collections
- tst_QMdiSubWindow
- tst_QNetworkReply
- tst_QString
- tst_QStringList
- tst_QStringMatcher
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_qmakelib
- tst_selftests - unknown status
- tst_uic
| 1865 |
89 | else | - |
90 | skip = 1;executed 15048 times by 8 tests: skip = 1; Executed by:- tst_QString
- tst_QStringMatcher
- tst_QStringRef
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentLayout
- tst_QWidget_window
- tst_uic
| 15048 |
91 | } | - |
92 | if (current > end - skip)TRUE | evaluated 114210 times by 57 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenuBar
- tst_QMessageBox
- ...
| FALSE | evaluated 169078831 times by 114 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QEventLoop
- tst_QFileDialog2
- ...
|
| 114210-169078831 |
93 | break;executed 114210 times by 57 tests: break; Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenuBar
- tst_QMessageBox
- ...
| 114210 |
94 | current += skip; | - |
95 | }executed 175264912 times by 114 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QEventLoop
- tst_QFileDialog2
- ...
| 175264912 |
96 | } else {executed 192747 times by 112 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QEventLoop
- tst_QFileDialog2
- ...
| 192747 |
97 | while (current < end) {TRUE | evaluated 900 times by 12 testsEvaluated by:- tst_Collections
- tst_QRegExp
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringMatcher
- tst_QStringRef
| FALSE | evaluated 255 times by 7 testsEvaluated by:- tst_Collections
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QString
|
| 255-900 |
98 | uint skip = skiptable[foldCase(current, uc) & 0xff]; | - |
99 | if (!skip) {TRUE | evaluated 234 times by 12 testsEvaluated by:- tst_Collections
- tst_QRegExp
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringMatcher
- tst_QStringRef
| FALSE | evaluated 666 times by 7 testsEvaluated by:- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
|
| 234-666 |
100 | | - |
101 | while (skip < pl) {TRUE | evaluated 10022 times by 12 testsEvaluated by:- tst_Collections
- tst_QRegExp
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringMatcher
- tst_QStringRef
| FALSE | evaluated 188 times by 12 testsEvaluated by:- tst_Collections
- tst_QRegExp
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringMatcher
- tst_QStringRef
|
| 188-10022 |
102 | if (foldCase(current - skip, uc) != foldCase(puc + pl_minus_one - skip, puc))TRUE | evaluated 46 times by 8 testsEvaluated by:- tst_QRegExp
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringMatcher
| FALSE | evaluated 9976 times by 12 testsEvaluated by:- tst_Collections
- tst_QRegExp
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringMatcher
- tst_QStringRef
|
| 46-9976 |
103 | break;executed 46 times by 8 tests: break; Executed by:- tst_QRegExp
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringMatcher
| 46 |
104 | skip++; | - |
105 | }executed 9976 times by 12 tests: end of block Executed by:- tst_Collections
- tst_QRegExp
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringMatcher
- tst_QStringRef
| 9976 |
106 | if (skip > pl_minus_one) TRUE | evaluated 188 times by 12 testsEvaluated by:- tst_Collections
- tst_QRegExp
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringMatcher
- tst_QStringRef
| FALSE | evaluated 46 times by 8 testsEvaluated by:- tst_QRegExp
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringMatcher
|
| 46-188 |
107 | return (current - uc) - pl_minus_one;executed 188 times by 12 tests: return (current - uc) - pl_minus_one; Executed by:- tst_Collections
- tst_QRegExp
- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringMatcher
- tst_QStringRef
| 188 |
108 | | - |
109 | | - |
110 | if (skiptable[foldCase(current - skip, uc) & 0xff] == pl)TRUE | evaluated 19 times by 4 testsEvaluated by:- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlTableModel
| FALSE | evaluated 27 times by 6 testsEvaluated by:- tst_QRegExp
- tst_QSqlQuery
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringMatcher
|
| 19-27 |
111 | skip = pl - skip;executed 19 times by 4 tests: skip = pl - skip; Executed by:- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlTableModel
| 19 |
112 | else | - |
113 | skip = 1;executed 27 times by 6 tests: skip = 1; Executed by:- tst_QRegExp
- tst_QSqlQuery
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringMatcher
| 27 |
114 | } | - |
115 | if (current > end - skip)TRUE | evaluated 360 times by 7 testsEvaluated by:- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
| FALSE | evaluated 352 times by 9 testsEvaluated by:- tst_QRegExp
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringMatcher
|
| 352-360 |
116 | break;executed 360 times by 7 tests: break; Executed by:- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
| 360 |
117 | current += skip; | - |
118 | }executed 352 times by 9 tests: end of block Executed by:- tst_QRegExp
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringMatcher
| 352 |
119 | }executed 615 times by 8 tests: end of block Executed by:- tst_Collections
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
| 615 |
120 | return -1; executed 193362 times by 112 tests: return -1; Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QEventLoop
- tst_QFileDialog2
- ...
| 193362 |
121 | } | - |
122 | | - |
123 | | - |
124 | | - |
125 | | - |
126 | | - |
127 | | - |
128 | | - |
129 | | - |
130 | | - |
131 | | - |
132 | | - |
133 | | - |
134 | | - |
135 | | - |
136 | | - |
137 | | - |
138 | | - |
139 | | - |
140 | | - |
141 | | - |
142 | | - |
143 | | - |
144 | | - |
145 | | - |
146 | | - |
147 | | - |
148 | | - |
149 | | - |
150 | QStringMatcher::QStringMatcher() | - |
151 | : d_ptr(0), q_cs(Qt::CaseSensitive) | - |
152 | { | - |
153 | memset(q_data, 0, sizeof(q_data)); | - |
154 | }executed 14 times by 1 test: end of block | 14 |
155 | | - |
156 | | - |
157 | | - |
158 | | - |
159 | | - |
160 | | - |
161 | | - |
162 | QStringMatcher::QStringMatcher(const QString &pattern, Qt::CaseSensitivity cs) | - |
163 | : d_ptr(0), q_pattern(pattern), q_cs(cs) | - |
164 | { | - |
165 | p.uc = pattern.unicode(); | - |
166 | p.len = pattern.size(); | - |
167 | bm_init_skiptable((const ushort *)p.uc, p.len, p.q_skiptable, cs); | - |
168 | }executed 216 times by 11 tests: end of block Executed by:- tst_QSqlDatabase
- tst_QSqlDriver
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringList
- tst_QStringMatcher
- tst_selftests - unknown status
| 216 |
169 | | - |
170 | | - |
171 | | - |
172 | | - |
173 | | - |
174 | | - |
175 | | - |
176 | | - |
177 | QStringMatcher::QStringMatcher(const QChar *uc, int len, Qt::CaseSensitivity cs) | - |
178 | : d_ptr(0), q_cs(cs) | - |
179 | { | - |
180 | p.uc = uc; | - |
181 | p.len = len; | - |
182 | bm_init_skiptable((const ushort *)p.uc, len, p.q_skiptable, cs); | - |
183 | }executed 393182 times by 112 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QEventLoop
- tst_QFileDialog2
- ...
| 393182 |
184 | | - |
185 | | - |
186 | | - |
187 | | - |
188 | QStringMatcher::QStringMatcher(const QStringMatcher &other) | - |
189 | : d_ptr(0) | - |
190 | { | - |
191 | operator=(other); | - |
192 | }executed 1 time by 1 test: end of block | 1 |
193 | | - |
194 | | - |
195 | | - |
196 | | - |
197 | QStringMatcher::~QStringMatcher() | - |
198 | { | - |
199 | Q_UNUSED(d_ptr); | - |
200 | }executed 393413 times by 113 tests: end of block Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QEventLoop
- tst_QFileDialog2
- ...
| 393413 |
201 | | - |
202 | | - |
203 | | - |
204 | | - |
205 | QStringMatcher &QStringMatcher::operator=(const QStringMatcher &other) | - |
206 | { | - |
207 | if (this != &other) {TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_QString
- tst_QStringMatcher
| FALSE | never evaluated |
| 0-2 |
208 | q_pattern = other.q_pattern; | - |
209 | q_cs = other.q_cs; | - |
210 | memcpy(q_data, other.q_data, sizeof(q_data)); | - |
211 | }executed 2 times by 2 tests: end of block Executed by:- tst_QString
- tst_QStringMatcher
| 2 |
212 | return *this;executed 2 times by 2 tests: return *this; Executed by:- tst_QString
- tst_QStringMatcher
| 2 |
213 | } | - |
214 | | - |
215 | | - |
216 | | - |
217 | | - |
218 | | - |
219 | | - |
220 | | - |
221 | void QStringMatcher::setPattern(const QString &pattern) | - |
222 | { | - |
223 | q_pattern = pattern; | - |
224 | p.uc = pattern.unicode(); | - |
225 | p.len = pattern.size(); | - |
226 | bm_init_skiptable((const ushort *)pattern.unicode(), pattern.size(), p.q_skiptable, q_cs); | - |
227 | }executed 12 times by 1 test: end of block | 12 |
228 | | - |
229 | | - |
230 | | - |
231 | | - |
232 | | - |
233 | | - |
234 | | - |
235 | | - |
236 | | - |
237 | | - |
238 | QString QStringMatcher::pattern() const | - |
239 | { | - |
240 | if (!q_pattern.isEmpty())TRUE | evaluated 1 time by 1 test | FALSE | evaluated 1 time by 1 test |
| 1 |
241 | return q_pattern;executed 1 time by 1 test: return q_pattern; | 1 |
242 | return QString(p.uc, p.len);executed 1 time by 1 test: return QString(p.uc, p.len); | 1 |
243 | } | - |
244 | | - |
245 | | - |
246 | | - |
247 | | - |
248 | | - |
249 | | - |
250 | | - |
251 | void QStringMatcher::setCaseSensitivity(Qt::CaseSensitivity cs) | - |
252 | { | - |
253 | if (cs == q_cs)TRUE | evaluated 3 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-3 |
254 | return;executed 3 times by 1 test: return; | 3 |
255 | bm_init_skiptable((const ushort *)q_pattern.unicode(), q_pattern.size(), p.q_skiptable, cs); | - |
256 | q_cs = cs; | - |
257 | }executed 2 times by 1 test: end of block | 2 |
258 | | - |
259 | | - |
260 | | - |
261 | | - |
262 | | - |
263 | | - |
264 | | - |
265 | | - |
266 | | - |
267 | | - |
268 | int QStringMatcher::indexIn(const QString &str, int from) const | - |
269 | { | - |
270 | if (from < 0)TRUE | evaluated 1 time by 1 test | FALSE | evaluated 195806 times by 106 testsEvaluated by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QEventLoop
- tst_QFileDialog2
- ...
|
| 1-195806 |
271 | from = 0;executed 1 time by 1 test: from = 0; | 1 |
272 | return bm_find((const ushort *)str.unicode(), str.size(), from,executed 195807 times by 106 tests: return bm_find((const ushort *)str.unicode(), str.size(), from, (const ushort *)p.uc, p.len, p.q_skiptable, q_cs); Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QEventLoop
- tst_QFileDialog2
- ...
| 195807 |
273 | (const ushort *)p.uc, p.len,executed 195807 times by 106 tests: return bm_find((const ushort *)str.unicode(), str.size(), from, (const ushort *)p.uc, p.len, p.q_skiptable, q_cs); Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QEventLoop
- tst_QFileDialog2
- ...
| 195807 |
274 | p.q_skiptable, q_cs);executed 195807 times by 106 tests: return bm_find((const ushort *)str.unicode(), str.size(), from, (const ushort *)p.uc, p.len, p.q_skiptable, q_cs); Executed by:- tst_Collections
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDialog
- tst_QDockWidget
- tst_QEventLoop
- tst_QFileDialog2
- ...
| 195807 |
275 | } | - |
276 | | - |
277 | | - |
278 | | - |
279 | | - |
280 | | - |
281 | | - |
282 | | - |
283 | | - |
284 | | - |
285 | | - |
286 | | - |
287 | | - |
288 | | - |
289 | int QStringMatcher::indexIn(const QChar *str, int length, int from) const | - |
290 | { | - |
291 | if (from < 0)TRUE | never evaluated | FALSE | evaluated 201096 times by 16 testsEvaluated by:- tst_QDBusInterface
- tst_QFontComboBox
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QString
- tst_QStringList
- tst_QTextDocument
- tst_QTextEdit
- tst_qmakelib
- tst_selftests - unknown status
- tst_uic
|
| 0-201096 |
292 | from = 0; never executed: from = 0; | 0 |
293 | return bm_find((const ushort *)str, length, from,executed 201096 times by 16 tests: return bm_find((const ushort *)str, length, from, (const ushort *)p.uc, p.len, p.q_skiptable, q_cs); Executed by:- tst_QDBusInterface
- tst_QFontComboBox
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QString
- tst_QStringList
- tst_QTextDocument
- tst_QTextEdit
- tst_qmakelib
- tst_selftests - unknown status
- tst_uic
| 201096 |
294 | (const ushort *)p.uc, p.len,executed 201096 times by 16 tests: return bm_find((const ushort *)str, length, from, (const ushort *)p.uc, p.len, p.q_skiptable, q_cs); Executed by:- tst_QDBusInterface
- tst_QFontComboBox
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QString
- tst_QStringList
- tst_QTextDocument
- tst_QTextEdit
- tst_qmakelib
- tst_selftests - unknown status
- tst_uic
| 201096 |
295 | p.q_skiptable, q_cs);executed 201096 times by 16 tests: return bm_find((const ushort *)str, length, from, (const ushort *)p.uc, p.len, p.q_skiptable, q_cs); Executed by:- tst_QDBusInterface
- tst_QFontComboBox
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- tst_QRegExp
- tst_QSortFilterProxyModel
- tst_QString
- tst_QStringList
- tst_QTextDocument
- tst_QTextEdit
- tst_qmakelib
- tst_selftests - unknown status
- tst_uic
| 201096 |
296 | } | - |
297 | | - |
298 | | - |
299 | | - |
300 | | - |
301 | | - |
302 | | - |
303 | | - |
304 | | - |
305 | | - |
306 | | - |
307 | | - |
308 | | - |
309 | | - |
310 | int qFindStringBoyerMoore( | - |
311 | const QChar *haystack, int haystackLen, int haystackOffset, | - |
312 | const QChar *needle, int needleLen, Qt::CaseSensitivity cs) | - |
313 | { | - |
314 | uchar skiptable[256]; | - |
315 | bm_init_skiptable((const ushort *)needle, needleLen, skiptable, cs); | - |
316 | if (haystackOffset < 0)TRUE | never evaluated | FALSE | evaluated 176 times by 12 testsEvaluated by:- tst_QGraphicsProxyWidget
- tst_QMessageBox
- tst_QString
- tst_QStringRef
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QXmlSimpleReader
- tst_QXmlStream
|
| 0-176 |
317 | haystackOffset = 0; never executed: haystackOffset = 0; | 0 |
318 | return bm_find((const ushort *)haystack, haystackLen, haystackOffset,executed 176 times by 12 tests: return bm_find((const ushort *)haystack, haystackLen, haystackOffset, (const ushort *)needle, needleLen, skiptable, cs); Executed by:- tst_QGraphicsProxyWidget
- tst_QMessageBox
- tst_QString
- tst_QStringRef
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QXmlSimpleReader
- tst_QXmlStream
| 176 |
319 | (const ushort *)needle, needleLen, skiptable, cs);executed 176 times by 12 tests: return bm_find((const ushort *)haystack, haystackLen, haystackOffset, (const ushort *)needle, needleLen, skiptable, cs); Executed by:- tst_QGraphicsProxyWidget
- tst_QMessageBox
- tst_QString
- tst_QStringRef
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextList
- tst_QXmlSimpleReader
- tst_QXmlStream
| 176 |
320 | } | - |
321 | | - |
322 | QT_END_NAMESPACE | - |
| | |