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 "qstringmatcher.h" | - |
35 | | - |
36 | QT_BEGIN_NAMESPACE | - |
37 | | - |
38 | static void bm_init_skiptable(const ushort *uc, int len, uchar *skiptable, Qt::CaseSensitivity cs) | - |
39 | { | - |
40 | int l = qMin(len, 255); | - |
41 | memset(skiptable, l, 256*sizeof(uchar)); | - |
42 | uc += len - l; | - |
43 | if (cs == Qt::CaseSensitive) {TRUE | evaluated 375431 times by 87 testsEvaluated by:- tst_Collections
- 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_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- ...
| 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-375431 |
44 | while (l--) {TRUE | evaluated 4575759 times by 87 testsEvaluated by:- tst_Collections
- 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_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- ...
| FALSE | evaluated 375431 times by 87 testsEvaluated by:- tst_Collections
- 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_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- ...
|
| 375431-4575759 |
45 | skiptable[*uc & 0xff] = l; | - |
46 | uc++; | - |
47 | }executed 4575759 times by 87 tests: end of block Executed by:- tst_Collections
- 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_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- ...
| 4575759 |
48 | } else {executed 375431 times by 87 tests: end of block Executed by:- tst_Collections
- 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_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- ...
| 375431 |
49 | const ushort *start = uc; | - |
50 | while (l--) {TRUE | evaluated 6584 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-6584 |
51 | skiptable[foldCase(uc, start) & 0xff] = l; | - |
52 | uc++; | - |
53 | }executed 6584 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
| 6584 |
54 | }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 |
55 | } | - |
56 | | - |
57 | static inline int bm_find(const ushort *uc, uint l, int index, const ushort *puc, uint pl, | - |
58 | const uchar *skiptable, Qt::CaseSensitivity cs) | - |
59 | { | - |
60 | if (pl == 0)TRUE | evaluated 34 times by 2 testsEvaluated by:- tst_QString
- tst_QStringMatcher
| FALSE | evaluated 379071 times by 87 testsEvaluated by:- tst_Collections
- 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_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- ...
|
| 34-379071 |
61 | return index > (int)l ? -1 : index;executed 34 times by 2 tests: return index > (int)l ? -1 : index; Executed by:- tst_QString
- tst_QStringMatcher
TRUE | evaluated 5 times by 2 testsEvaluated by:- tst_QString
- tst_QStringMatcher
| FALSE | evaluated 29 times by 2 testsEvaluated by:- tst_QString
- tst_QStringMatcher
|
| 5-34 |
62 | const uint pl_minus_one = pl - 1; | - |
63 | | - |
64 | const ushort *current = uc + index + pl_minus_one; | - |
65 | const ushort *end = uc + l; | - |
66 | if (cs == Qt::CaseSensitive) {TRUE | evaluated 378250 times by 87 testsEvaluated by:- tst_Collections
- 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_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- ...
| FALSE | evaluated 821 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
|
| 821-378250 |
67 | while (current < end) {TRUE | evaluated 184146747 times by 86 testsEvaluated by:- tst_Collections
- 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_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- ...
| FALSE | evaluated 64409 times by 68 testsEvaluated by:- tst_Collections
- 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_QFileDialog2
- tst_QFiledialog
- tst_QFont
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsProxyWidget
- ...
|
| 64409-184146747 |
68 | uint skip = skiptable[*current & 0xff]; | - |
69 | if (!skip) {TRUE | evaluated 220152 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_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- ...
| FALSE | evaluated 163132035 times by 85 testsEvaluated by:- 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_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- tst_QFontComboBox
- ...
|
| 220152-163132035 |
70 | | - |
71 | while (skip < pl) {TRUE | evaluated 736653 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_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- ...
| FALSE | evaluated 203478 times by 43 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_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- tst_QProgressBar
- ...
|
| 203478-736653 |
72 | if (*(current - skip) != puc[pl_minus_one-skip])TRUE | evaluated 16674 times by 18 testsEvaluated by:- tst_Collections
- tst_QMdiSubWindow
- tst_QMessageBox
- 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 719979 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_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- ...
|
| 16674-719979 |
73 | break;executed 16674 times by 18 tests: break; Executed by:- tst_Collections
- tst_QMdiSubWindow
- tst_QMessageBox
- 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
| 16674 |
74 | skip++; | - |
75 | }executed 719979 times by 46 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_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- ...
| 719979 |
76 | if (skip > pl_minus_one) TRUE | evaluated 203478 times by 43 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_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- tst_QProgressBar
- ...
| FALSE | evaluated 16674 times by 18 testsEvaluated by:- tst_Collections
- tst_QMdiSubWindow
- tst_QMessageBox
- 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
|
| 16674-203478 |
77 | return (current - uc) - pl_minus_one;executed 203478 times by 43 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_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- tst_QProgressBar
- ...
| 203478 |
78 | | - |
79 | | - |
80 | | - |
81 | if (skiptable[*(current - skip) & 0xff] == pl)TRUE | evaluated 1887 times by 15 testsEvaluated by:- tst_Collections
- tst_QMdiSubWindow
- tst_QMessageBox
- 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 14787 times by 9 testsEvaluated by:- tst_QMessageBox
- tst_QString
- tst_QStringMatcher
- tst_QStringRef
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentLayout
- tst_QWidget_window
- tst_uic
|
| 1887-14787 |
82 | skip = pl - skip;executed 1887 times by 15 tests: skip = pl - skip; Executed by:- tst_Collections
- tst_QMdiSubWindow
- tst_QMessageBox
- 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
| 1887 |
83 | else | - |
84 | skip = 1;executed 14787 times by 9 tests: skip = 1; Executed by:- tst_QMessageBox
- tst_QString
- tst_QStringMatcher
- tst_QStringRef
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentLayout
- tst_QWidget_window
- tst_uic
| 14787 |
85 | } | - |
86 | if (current > end - skip)TRUE | evaluated 110363 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 184049768 times by 85 testsEvaluated by:- tst_Collections
- 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_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- ...
|
| 110363-184049768 |
87 | break;executed 110363 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
- ...
| 110363 |
88 | current += skip; | - |
89 | }executed 168829084 times by 85 tests: end of block Executed by:- tst_Collections
- 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_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- ...
| 168829084 |
90 | } else {executed 174772 times by 83 tests: end of block Executed by:- tst_Collections
- 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_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- ...
| 174772 |
91 | while (current < end) {TRUE | evaluated 913 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 261 times by 7 testsEvaluated by:- tst_Collections
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QString
|
| 261-913 |
92 | uint skip = skiptable[foldCase(current, uc) & 0xff]; | - |
93 | if (!skip) {TRUE | evaluated 235 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 678 times by 7 testsEvaluated by:- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
|
| 235-678 |
94 | | - |
95 | while (skip < pl) {TRUE | evaluated 10025 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 189 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
|
| 189-10025 |
96 | 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 9979 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-9979 |
97 | 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 |
98 | skip++; | - |
99 | }executed 9979 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
| 9979 |
100 | if (skip > pl_minus_one) TRUE | evaluated 189 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-189 |
101 | return (current - uc) - pl_minus_one;executed 189 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
| 189 |
102 | | - |
103 | | - |
104 | 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 |
105 | skip = pl - skip;executed 19 times by 4 tests: skip = pl - skip; Executed by:- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlTableModel
| 19 |
106 | else | - |
107 | 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 |
108 | } | - |
109 | if (current > end - skip)TRUE | evaluated 371 times by 7 testsEvaluated by:- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
| FALSE | evaluated 353 times by 9 testsEvaluated by:- tst_QRegExp
- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
- tst_QStringMatcher
|
| 353-371 |
110 | break;executed 371 times by 7 tests: break; Executed by:- tst_QSqlDatabase
- tst_QSqlQuery
- tst_QSqlQueryModel
- tst_QSqlRelationalTableModel
- tst_QSqlTableModel
- tst_QSqlThread
- tst_QString
| 371 |
111 | current += skip; | - |
112 | }executed 353 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
| 353 |
113 | }executed 632 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
| 632 |
114 | return -1; executed 175404 times by 83 tests: return -1; Executed by:- tst_Collections
- 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_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- ...
| 175404 |
115 | } | - |
116 | | - |
117 | | - |
118 | | - |
119 | | - |
120 | | - |
121 | | - |
122 | | - |
123 | | - |
124 | | - |
125 | | - |
126 | | - |
127 | | - |
128 | | - |
129 | | - |
130 | | - |
131 | | - |
132 | | - |
133 | | - |
134 | | - |
135 | | - |
136 | | - |
137 | | - |
138 | | - |
139 | | - |
140 | | - |
141 | | - |
142 | | - |
143 | | - |
144 | QStringMatcher::QStringMatcher() | - |
145 | : d_ptr(0), q_cs(Qt::CaseSensitive) | - |
146 | { | - |
147 | memset(q_data, 0, sizeof(q_data)); | - |
148 | }executed 13 times by 1 test: end of block | 13 |
149 | | - |
150 | | - |
151 | | - |
152 | | - |
153 | | - |
154 | | - |
155 | | - |
156 | QStringMatcher::QStringMatcher(const QString &pattern, Qt::CaseSensitivity cs) | - |
157 | : d_ptr(0), q_pattern(pattern), q_cs(cs) | - |
158 | { | - |
159 | p.uc = pattern.unicode(); | - |
160 | p.len = pattern.size(); | - |
161 | bm_init_skiptable((const ushort *)p.uc, p.len, p.q_skiptable, cs); | - |
162 | }executed 212 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
| 212 |
163 | | - |
164 | | - |
165 | | - |
166 | | - |
167 | | - |
168 | | - |
169 | | - |
170 | | - |
171 | QStringMatcher::QStringMatcher(const QChar *uc, int len, Qt::CaseSensitivity cs) | - |
172 | : d_ptr(0), q_cs(cs) | - |
173 | { | - |
174 | p.uc = uc; | - |
175 | p.len = len; | - |
176 | bm_init_skiptable((const ushort *)p.uc, len, p.q_skiptable, cs); | - |
177 | }executed 375218 times by 83 tests: end of block Executed by:- tst_Collections
- 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_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- ...
| 375218 |
178 | | - |
179 | | - |
180 | | - |
181 | | - |
182 | QStringMatcher::QStringMatcher(const QStringMatcher &other) | - |
183 | : d_ptr(0) | - |
184 | { | - |
185 | operator=(other); | - |
186 | }executed 1 time by 1 test: end of block | 1 |
187 | | - |
188 | | - |
189 | | - |
190 | | - |
191 | QStringMatcher::~QStringMatcher() | - |
192 | { | - |
193 | Q_UNUSED(d_ptr); | - |
194 | }executed 375444 times by 83 tests: end of block Executed by:- tst_Collections
- 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_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- ...
| 375444 |
195 | | - |
196 | | - |
197 | | - |
198 | | - |
199 | QStringMatcher &QStringMatcher::operator=(const QStringMatcher &other) | - |
200 | { | - |
201 | if (this != &other) {TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_QString
- tst_QStringMatcher
| FALSE | never evaluated |
| 0-2 |
202 | q_pattern = other.q_pattern; | - |
203 | q_cs = other.q_cs; | - |
204 | memcpy(q_data, other.q_data, sizeof(q_data)); | - |
205 | }executed 2 times by 2 tests: end of block Executed by:- tst_QString
- tst_QStringMatcher
| 2 |
206 | return *this;executed 2 times by 2 tests: return *this; Executed by:- tst_QString
- tst_QStringMatcher
| 2 |
207 | } | - |
208 | | - |
209 | | - |
210 | | - |
211 | | - |
212 | | - |
213 | | - |
214 | | - |
215 | void QStringMatcher::setPattern(const QString &pattern) | - |
216 | { | - |
217 | q_pattern = pattern; | - |
218 | p.uc = pattern.unicode(); | - |
219 | p.len = pattern.size(); | - |
220 | bm_init_skiptable((const ushort *)pattern.unicode(), pattern.size(), p.q_skiptable, q_cs); | - |
221 | }executed 12 times by 1 test: end of block | 12 |
222 | | - |
223 | | - |
224 | | - |
225 | | - |
226 | | - |
227 | | - |
228 | | - |
229 | | - |
230 | | - |
231 | | - |
232 | QString QStringMatcher::pattern() const | - |
233 | { | - |
234 | if (!q_pattern.isEmpty())TRUE | evaluated 1 time by 1 test | FALSE | evaluated 1 time by 1 test |
| 1 |
235 | return q_pattern;executed 1 time by 1 test: return q_pattern; | 1 |
236 | return QString(p.uc, p.len);executed 1 time by 1 test: return QString(p.uc, p.len); | 1 |
237 | } | - |
238 | | - |
239 | | - |
240 | | - |
241 | | - |
242 | | - |
243 | | - |
244 | | - |
245 | void QStringMatcher::setCaseSensitivity(Qt::CaseSensitivity cs) | - |
246 | { | - |
247 | if (cs == q_cs)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 2-3 |
248 | return;executed 2 times by 1 test: return; | 2 |
249 | bm_init_skiptable((const ushort *)p.uc, p.len, p.q_skiptable, cs); | - |
250 | q_cs = cs; | - |
251 | }executed 3 times by 1 test: end of block | 3 |
252 | | - |
253 | | - |
254 | | - |
255 | | - |
256 | | - |
257 | | - |
258 | | - |
259 | | - |
260 | | - |
261 | | - |
262 | int QStringMatcher::indexIn(const QString &str, int from) const | - |
263 | { | - |
264 | if (from < 0)TRUE | evaluated 1 time by 1 test | FALSE | evaluated 177866 times by 75 testsEvaluated by:- tst_Collections
- 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_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- ...
|
| 1-177866 |
265 | from = 0;executed 1 time by 1 test: from = 0; | 1 |
266 | return bm_find((const ushort *)str.unicode(), str.size(), from,executed 177867 times by 75 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_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_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- ...
| 177867 |
267 | (const ushort *)p.uc, p.len,executed 177867 times by 75 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_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_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- ...
| 177867 |
268 | p.q_skiptable, q_cs);executed 177867 times by 75 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_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_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- ...
| 177867 |
269 | } | - |
270 | | - |
271 | | - |
272 | | - |
273 | | - |
274 | | - |
275 | | - |
276 | | - |
277 | | - |
278 | | - |
279 | | - |
280 | | - |
281 | | - |
282 | | - |
283 | int QStringMatcher::indexIn(const QChar *str, int length, int from) const | - |
284 | { | - |
285 | if (from < 0)TRUE | never evaluated | FALSE | evaluated 201062 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-201062 |
286 | from = 0; never executed: from = 0; | 0 |
287 | return bm_find((const ushort *)str, length, from,executed 201062 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
| 201062 |
288 | (const ushort *)p.uc, p.len,executed 201062 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
| 201062 |
289 | p.q_skiptable, q_cs);executed 201062 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
| 201062 |
290 | } | - |
291 | | - |
292 | | - |
293 | | - |
294 | | - |
295 | | - |
296 | | - |
297 | | - |
298 | | - |
299 | | - |
300 | | - |
301 | | - |
302 | | - |
303 | | - |
304 | int qFindStringBoyerMoore( | - |
305 | const QChar *haystack, int haystackLen, int haystackOffset, | - |
306 | const QChar *needle, int needleLen, Qt::CaseSensitivity cs) | - |
307 | { | - |
308 | uchar skiptable[256]; | - |
309 | bm_init_skiptable((const ushort *)needle, needleLen, skiptable, cs); | - |
310 | 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 |
311 | haystackOffset = 0; never executed: haystackOffset = 0; | 0 |
312 | 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 |
313 | (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 |
314 | } | - |
315 | | - |
316 | QT_END_NAMESPACE | - |
| | |