Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | static inline void bm_init_skiptable(const uchar *cc, int len, uchar *skiptable) | - |
6 | { | - |
7 | int l = qMin(len, 255); | - |
8 | memset(skiptable, l, 256*sizeof(uchar)); | - |
9 | cc += len - l; | - |
10 | while (l--TRUE | evaluated 1032042 times by 28 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPrinter
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_Spdy
- ...
| FALSE | evaluated 46147 times by 28 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPrinter
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_Spdy
- ...
|
) | 46147-1032042 |
11 | skiptable[*cc++] = l;executed 1032042 times by 28 tests: skiptable[*cc++] = l; Executed by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPrinter
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_Spdy
- ...
| 1032042 |
12 | }executed 46147 times by 28 tests: end of block Executed by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPrinter
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_Spdy
- ...
| 46147 |
13 | | - |
14 | static inline int bm_find(const uchar *cc, int l, int index, const uchar *puc, uint pl, | - |
15 | const uchar *skiptable) | - |
16 | { | - |
17 | if (pl == 0TRUE | evaluated 8 times by 1 test | FALSE | evaluated 73136 times by 28 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPrinter
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_Spdy
- ...
|
) | 8-73136 |
18 | returnexecuted 8 times by 1 test: return index > l ? -1 : index; index > lTRUE | never evaluated | FALSE | evaluated 8 times by 1 test |
? -1 : index;executed 8 times by 1 test: return index > l ? -1 : index; | 0-8 |
19 | const uint pl_minus_one = pl - 1; | - |
20 | | - |
21 | const uchar *current = cc + index + pl_minus_one; | - |
22 | const uchar *end = cc + l; | - |
23 | while (current < endTRUE | evaluated 13716901 times by 28 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPrinter
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_Spdy
- ...
| FALSE | evaluated 4157 times by 23 testsEvaluated by:- tst_Collections
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_Selftests
- tst_Spdy
- tst_qlogging - unknown status
- tst_qmessagehandler
- tst_qnetworkreply - unknown status
|
) { | 4157-13716901 |
24 | uint skip = skiptable[*current]; | - |
25 | if (!skipTRUE | evaluated 79962 times by 27 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPrinter
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_Spdy
- tst_qlogging - unknown status
- ...
| FALSE | evaluated 13636939 times by 28 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPrinter
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_Spdy
- ...
|
) { | 79962-13636939 |
26 | | - |
27 | while (skip < plTRUE | evaluated 1103188 times by 27 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPrinter
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_Spdy
- tst_qlogging - unknown status
- ...
| FALSE | evaluated 68045 times by 25 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPrinter
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextEdit
- tst_Spdy
- tst_qmessagehandler
- tst_qnetworkreply - unknown status
|
) { | 68045-1103188 |
28 | if (*(TRUE | evaluated 11917 times by 13 testsEvaluated by:- tst_NetworkSelfTest
- tst_QByteArray
- tst_QNetworkReply
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_qlogging - unknown status
- tst_qmessagehandler
| FALSE | evaluated 1091271 times by 27 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPrinter
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_Spdy
- tst_qlogging - unknown status
- ...
|
current - skip) != puc[pl_minus_one - skip]TRUE | evaluated 11917 times by 13 testsEvaluated by:- tst_NetworkSelfTest
- tst_QByteArray
- tst_QNetworkReply
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_qlogging - unknown status
- tst_qmessagehandler
| FALSE | evaluated 1091271 times by 27 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPrinter
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_Spdy
- tst_qlogging - unknown status
- ...
|
) | 11917-1091271 |
29 | break;executed 11917 times by 13 tests: break; Executed by:- tst_NetworkSelfTest
- tst_QByteArray
- tst_QNetworkReply
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_qlogging - unknown status
- tst_qmessagehandler
| 11917 |
30 | skip++; | - |
31 | }executed 1091271 times by 27 tests: end of block Executed by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPrinter
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_Spdy
- tst_qlogging - unknown status
- ...
| 1091271 |
32 | if (skip > pl_minus_oneTRUE | evaluated 68045 times by 25 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPrinter
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextEdit
- tst_Spdy
- tst_qmessagehandler
- tst_qnetworkreply - unknown status
| FALSE | evaluated 11917 times by 13 testsEvaluated by:- tst_NetworkSelfTest
- tst_QByteArray
- tst_QNetworkReply
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_qlogging - unknown status
- tst_qmessagehandler
|
) | 11917-68045 |
33 | returnexecuted 68045 times by 25 tests: return (current - cc) - skip + 1; Executed by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPrinter
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextEdit
- tst_Spdy
- tst_qmessagehandler
- tst_qnetworkreply - unknown status
(current - cc) - skip + 1;executed 68045 times by 25 tests: return (current - cc) - skip + 1; Executed by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPrinter
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextEdit
- tst_Spdy
- tst_qmessagehandler
- tst_qnetworkreply - unknown status
| 68045 |
34 | | - |
35 | | - |
36 | | - |
37 | if (skiptable[*(current - skip)] == plTRUE | evaluated 4255 times by 11 testsEvaluated by:- tst_NetworkSelfTest
- tst_QNetworkReply
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_qlogging - unknown status
- tst_qmessagehandler
| FALSE | evaluated 7662 times by 9 testsEvaluated by:- tst_NetworkSelfTest
- tst_QByteArray
- tst_QNetworkReply
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_qmessagehandler
|
) | 4255-7662 |
38 | skip = pl - skip;executed 4255 times by 11 tests: skip = pl - skip; Executed by:- tst_NetworkSelfTest
- tst_QNetworkReply
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_qlogging - unknown status
- tst_qmessagehandler
| 4255 |
39 | else | - |
40 | skip = 1;executed 7662 times by 9 tests: skip = 1; Executed by:- tst_NetworkSelfTest
- tst_QByteArray
- tst_QNetworkReply
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_qmessagehandler
| 7662 |
41 | } | - |
42 | if (current > end - skipTRUE | evaluated 934 times by 8 testsEvaluated by:- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_Selftests
- tst_qlogging - unknown status
- tst_qmessagehandler
| FALSE | evaluated 13647922 times by 28 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPrinter
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_Spdy
- ...
|
) | 934-13647922 |
43 | break;executed 934 times by 8 tests: break; Executed by:- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_Selftests
- tst_qlogging - unknown status
- tst_qmessagehandler
| 934 |
44 | current += skip; | - |
45 | }executed 13647922 times by 28 tests: end of block Executed by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPrinter
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_Spdy
- ...
| 13647922 |
46 | returnexecuted 5091 times by 24 tests: return -1; Executed by:- tst_Collections
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_Selftests
- tst_Spdy
- tst_qlogging - unknown status
- tst_qmessagehandler
- tst_qnetworkreply - unknown status
-1;executed 5091 times by 24 tests: return -1; Executed by:- tst_Collections
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_Selftests
- tst_Spdy
- tst_qlogging - unknown status
- tst_qmessagehandler
- tst_qnetworkreply - unknown status
| 5091 |
47 | } | - |
48 | QByteArrayMatcher::QByteArrayMatcher() | - |
49 | : d(0) | - |
50 | { | - |
51 | p.p = 0; | - |
52 | p.l = 0; | - |
53 | memset(p.q_skiptable, 0, sizeof(p.q_skiptable)); | - |
54 | }executed 2 times by 1 test: end of block | 2 |
55 | | - |
56 | | - |
57 | | - |
58 | | - |
59 | | - |
60 | | - |
61 | QByteArrayMatcher::QByteArrayMatcher(const char *pattern, int length) | - |
62 | : d(0) | - |
63 | { | - |
64 | p.p = reinterpret_cast<const uchar *>(pattern); | - |
65 | p.l = length; | - |
66 | bm_init_skiptable(p.p, p.l, p.q_skiptable); | - |
67 | }executed 2073 times by 9 tests: end of block Executed by:- tst_Collections
- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_Selftests
- tst_qlogging - unknown status
- tst_qmessagehandler
| 2073 |
68 | | - |
69 | | - |
70 | | - |
71 | | - |
72 | | - |
73 | QByteArrayMatcher::QByteArrayMatcher(const QByteArray &pattern) | - |
74 | : d(0), q_pattern(pattern) | - |
75 | { | - |
76 | p.p = reinterpret_cast<const uchar *>(pattern.constData()); | - |
77 | p.l = pattern.size(); | - |
78 | bm_init_skiptable(p.p, p.l, p.q_skiptable); | - |
79 | }executed 4332 times by 16 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QByteArrayMatcher
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_Spdy
- tst_qnetworkreply - unknown status
| 4332 |
80 | | - |
81 | | - |
82 | | - |
83 | | - |
84 | QByteArrayMatcher::QByteArrayMatcher(const QByteArrayMatcher &other) | - |
85 | : d(0) | - |
86 | { | - |
87 | operator=(other); | - |
88 | }executed 1 time by 1 test: end of block | 1 |
89 | | - |
90 | | - |
91 | | - |
92 | | - |
93 | QByteArrayMatcher::~QByteArrayMatcher() | - |
94 | { | - |
95 | (void)d;; | - |
96 | }executed 6410 times by 25 tests: end of block Executed by:- tst_Collections
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_Selftests
- tst_Spdy
- tst_qbytearraymatcher - unknown status
- tst_qlogging - unknown status
- tst_qmessagehandler
- tst_qnetworkreply - unknown status
| 6410 |
97 | | - |
98 | | - |
99 | | - |
100 | | - |
101 | QByteArrayMatcher &QByteArrayMatcher::operator=(const QByteArrayMatcher &other) | - |
102 | { | - |
103 | q_pattern = other.q_pattern; | - |
104 | memcpy(&p, &other.p, sizeof(p)); | - |
105 | returnexecuted 5 times by 1 test: return *this; *this;executed 5 times by 1 test: return *this; | 5 |
106 | } | - |
107 | | - |
108 | | - |
109 | | - |
110 | | - |
111 | | - |
112 | | - |
113 | | - |
114 | void QByteArrayMatcher::setPattern(const QByteArray &pattern) | - |
115 | { | - |
116 | q_pattern = pattern; | - |
117 | p.p = reinterpret_cast<const uchar *>(pattern.constData()); | - |
118 | p.l = pattern.size(); | - |
119 | bm_init_skiptable(p.p, p.l, p.q_skiptable); | - |
120 | }executed 3 times by 1 test: end of block | 3 |
121 | int QByteArrayMatcher::indexIn(const QByteArray &ba, int from) const | - |
122 | { | - |
123 | if (from < 0TRUE | never evaluated | FALSE | evaluated 33402 times by 24 testsEvaluated by:- tst_Collections
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_Selftests
- tst_Spdy
- tst_qlogging - unknown status
- tst_qmessagehandler
- tst_qnetworkreply - unknown status
|
) | 0-33402 |
124 | from = 0; never executed: from = 0; | 0 |
125 | returnexecuted 33402 times by 24 tests: return bm_find(reinterpret_cast<const uchar *>(ba.constData()), ba.size(), from, p.p, p.l, p.q_skiptable); Executed by:- tst_Collections
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_Selftests
- tst_Spdy
- tst_qlogging - unknown status
- tst_qmessagehandler
- tst_qnetworkreply - unknown status
bm_find(reinterpret_cast<const uchar *>(ba.constData()), ba.size(), from,executed 33402 times by 24 tests: return bm_find(reinterpret_cast<const uchar *>(ba.constData()), ba.size(), from, p.p, p.l, p.q_skiptable); Executed by:- tst_Collections
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_Selftests
- tst_Spdy
- tst_qlogging - unknown status
- tst_qmessagehandler
- tst_qnetworkreply - unknown status
| 33402 |
126 | p.p, p.l, p.q_skiptable);executed 33402 times by 24 tests: return bm_find(reinterpret_cast<const uchar *>(ba.constData()), ba.size(), from, p.p, p.l, p.q_skiptable); Executed by:- tst_Collections
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_Selftests
- tst_Spdy
- tst_qlogging - unknown status
- tst_qmessagehandler
- tst_qnetworkreply - unknown status
| 33402 |
127 | } | - |
128 | int QByteArrayMatcher::indexIn(const char *str, int len, int from) const | - |
129 | { | - |
130 | if (from < 0TRUE | never evaluated | FALSE | evaluated 3 times by 1 test |
) | 0-3 |
131 | from = 0; never executed: from = 0; | 0 |
132 | returnexecuted 3 times by 1 test: return bm_find(reinterpret_cast<const uchar *>(str), len, from, p.p, p.l, p.q_skiptable); bm_find(reinterpret_cast<const uchar *>(str), len, from,executed 3 times by 1 test: return bm_find(reinterpret_cast<const uchar *>(str), len, from, p.p, p.l, p.q_skiptable); | 3 |
133 | p.p, p.l, p.q_skiptable);executed 3 times by 1 test: return bm_find(reinterpret_cast<const uchar *>(str), len, from, p.p, p.l, p.q_skiptable); | 3 |
134 | } | - |
135 | static int findChar(const char *str, int len, char ch, int from) | - |
136 | { | - |
137 | const uchar *s = (const uchar *)str; | - |
138 | uchar c = (uchar)ch; | - |
139 | if (from < 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
140 | from = qMax(from + len, 0); never executed: from = qMax(from + len, 0); | 0 |
141 | if (from < lenTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
142 | const uchar *n = s + from - 1; | - |
143 | const uchar *e = s + len; | - |
144 | while (++TRUE | never evaluated | FALSE | never evaluated |
n != eTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
145 | if (*TRUE | never evaluated | FALSE | never evaluated |
n == cTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
146 | return never executed: return n - s; n - s;never executed: return n - s; | 0 |
147 | } never executed: end of block | 0 |
148 | return never executed: return -1; -1;never executed: return -1; | 0 |
149 | } | - |
150 | | - |
151 | | - |
152 | | - |
153 | | - |
154 | static int qFindByteArrayBoyerMoore( | - |
155 | const char *haystack, int haystackLen, int haystackOffset, | - |
156 | const char *needle, int needleLen) | - |
157 | { | - |
158 | uchar skiptable[256]; | - |
159 | bm_init_skiptable((const uchar *)needle, needleLen, skiptable); | - |
160 | if (haystackOffset < 0TRUE | never evaluated | FALSE | evaluated 39739 times by 12 testsEvaluated by:- tst_NetworkSelfTest
- tst_QByteArray
- tst_QNetworkReply
- tst_QPrinter
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_qmessagehandler
|
) | 0-39739 |
161 | haystackOffset = 0; never executed: haystackOffset = 0; | 0 |
162 | returnexecuted 39739 times by 12 tests: return bm_find((const uchar *)haystack, haystackLen, haystackOffset, (const uchar *)needle, needleLen, skiptable); Executed by:- tst_NetworkSelfTest
- tst_QByteArray
- tst_QNetworkReply
- tst_QPrinter
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_qmessagehandler
bm_find((const uchar *)haystack, haystackLen, haystackOffset,executed 39739 times by 12 tests: return bm_find((const uchar *)haystack, haystackLen, haystackOffset, (const uchar *)needle, needleLen, skiptable); Executed by:- tst_NetworkSelfTest
- tst_QByteArray
- tst_QNetworkReply
- tst_QPrinter
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_qmessagehandler
| 39739 |
163 | (const uchar *)needle, needleLen, skiptable);executed 39739 times by 12 tests: return bm_find((const uchar *)haystack, haystackLen, haystackOffset, (const uchar *)needle, needleLen, skiptable); Executed by:- tst_NetworkSelfTest
- tst_QByteArray
- tst_QNetworkReply
- tst_QPrinter
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_qmessagehandler
| 39739 |
164 | } | - |
165 | int qFindByteArray( | - |
166 | const char *haystack0, int haystackLen, int from, | - |
167 | const char *needle, int needleLen) | - |
168 | { | - |
169 | const int l = haystackLen; | - |
170 | const int sl = needleLen; | - |
171 | if (from < 0TRUE | never evaluated | FALSE | evaluated 713757 times by 34 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QByteArray
- tst_QGuiApplication
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QPrinter
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextCodec
- tst_QTextDocument
- ...
|
) | 0-713757 |
172 | from += l; never executed: from += l; | 0 |
173 | if (uint(sl + from) > (uint)lTRUE | never evaluated | FALSE | evaluated 713757 times by 34 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QByteArray
- tst_QGuiApplication
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QPrinter
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextCodec
- tst_QTextDocument
- ...
|
) | 0-713757 |
174 | return never executed: return -1; -1;never executed: return -1; | 0 |
175 | if (!slTRUE | never evaluated | FALSE | evaluated 713757 times by 34 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QByteArray
- tst_QGuiApplication
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QPrinter
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextCodec
- tst_QTextDocument
- ...
|
) | 0-713757 |
176 | return never executed: return from; from;never executed: return from; | 0 |
177 | if (!lTRUE | never evaluated | FALSE | evaluated 713757 times by 34 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QByteArray
- tst_QGuiApplication
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QPrinter
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextCodec
- tst_QTextDocument
- ...
|
) | 0-713757 |
178 | return never executed: return -1; -1;never executed: return -1; | 0 |
179 | | - |
180 | if (sl == 1TRUE | never evaluated | FALSE | evaluated 713757 times by 34 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QByteArray
- tst_QGuiApplication
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QPrinter
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextCodec
- tst_QTextDocument
- ...
|
) | 0-713757 |
181 | return never executed: return findChar(haystack0, haystackLen, needle[0], from); findChar(haystack0, haystackLen, needle[0], from);never executed: return findChar(haystack0, haystackLen, needle[0], from); | 0 |
182 | | - |
183 | | - |
184 | | - |
185 | | - |
186 | | - |
187 | | - |
188 | if (l > 500TRUE | evaluated 39771 times by 13 testsEvaluated by:- tst_NetworkSelfTest
- tst_QByteArray
- tst_QNetworkReply
- tst_QPrinter
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QTextBrowser
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_qmessagehandler
| FALSE | evaluated 673986 times by 33 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QByteArray
- tst_QGuiApplication
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextCodec
- tst_QTextDocument
- tst_QTextEdit
- ...
|
&& sl > 5TRUE | evaluated 39739 times by 12 testsEvaluated by:- tst_NetworkSelfTest
- tst_QByteArray
- tst_QNetworkReply
- tst_QPrinter
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_qmessagehandler
| FALSE | evaluated 32 times by 4 testsEvaluated by:- tst_QNetworkReply
- tst_QTextBrowser
- tst_QTextCodec
- tst_QTextEdit
|
) | 32-673986 |
189 | returnexecuted 39739 times by 12 tests: return qFindByteArrayBoyerMoore(haystack0, haystackLen, from, needle, needleLen); Executed by:- tst_NetworkSelfTest
- tst_QByteArray
- tst_QNetworkReply
- tst_QPrinter
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_qmessagehandler
qFindByteArrayBoyerMoore(haystack0, haystackLen, from,executed 39739 times by 12 tests: return qFindByteArrayBoyerMoore(haystack0, haystackLen, from, needle, needleLen); Executed by:- tst_NetworkSelfTest
- tst_QByteArray
- tst_QNetworkReply
- tst_QPrinter
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_qmessagehandler
| 39739 |
190 | needle, needleLen);executed 39739 times by 12 tests: return qFindByteArrayBoyerMoore(haystack0, haystackLen, from, needle, needleLen); Executed by:- tst_NetworkSelfTest
- tst_QByteArray
- tst_QNetworkReply
- tst_QPrinter
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QTextCodec
- tst_QTextEdit
- tst_Selftests
- tst_qmessagehandler
| 39739 |
191 | | - |
192 | | - |
193 | | - |
194 | | - |
195 | | - |
196 | | - |
197 | const char *haystack = haystack0 + from; | - |
198 | const char *end = haystack0 + (l - sl); | - |
199 | const uint sl_minus_1 = sl - 1; | - |
200 | uint hashNeedle = 0, hashHaystack = 0; | - |
201 | int idx; | - |
202 | for (idx = 0; idx < slTRUE | evaluated 4789208 times by 33 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QByteArray
- tst_QGuiApplication
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextCodec
- tst_QTextDocument
- tst_QTextEdit
- ...
| FALSE | evaluated 674018 times by 33 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QByteArray
- tst_QGuiApplication
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextCodec
- tst_QTextDocument
- tst_QTextEdit
- ...
|
; ++idx) { | 674018-4789208 |
203 | hashNeedle = ((hashNeedle<<1) + needle[idx]); | - |
204 | hashHaystack = ((hashHaystack<<1) + haystack[idx]); | - |
205 | }executed 4789208 times by 33 tests: end of block Executed by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QByteArray
- tst_QGuiApplication
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextCodec
- tst_QTextDocument
- tst_QTextEdit
- ...
| 4789208 |
206 | hashHaystack -= *(haystack + sl_minus_1); | - |
207 | | - |
208 | while (haystack <= endTRUE | evaluated 18406755 times by 33 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QByteArray
- tst_QGuiApplication
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextCodec
- tst_QTextDocument
- tst_QTextEdit
- ...
| FALSE | evaluated 553112 times by 22 testsEvaluated by:- tst_Collections
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QByteArray
- tst_QGuiApplication
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QTextBrowser
- tst_QTextCodec
- tst_Selftests
- tst_Spdy
- tst_qapplication - unknown status
- tst_qmessagehandler
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) { | 553112-18406755 |
209 | hashHaystack += *(haystack + sl_minus_1); | - |
210 | if (hashHaystack == hashNeedleTRUE | evaluated 120930 times by 25 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextCodec
- tst_QTextDocument
- tst_QTextEdit
- tst_QXmlStream
- tst_Selftests
- tst_Spdy
- tst_qmake
- tst_qmessagehandler
| FALSE | evaluated 18285825 times by 29 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QByteArray
- tst_QGuiApplication
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QTextBrowser
- tst_QTextCodec
- tst_QTextDocument
- tst_QTextEdit
- tst_QXmlStream
- tst_Selftests
- tst_Spdy
- tst_qapplication - unknown status
- ...
|
&& *TRUE | evaluated 120908 times by 24 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextDocument
- tst_QTextEdit
- tst_QXmlStream
- tst_Selftests
- tst_Spdy
- tst_qmake
- tst_qmessagehandler
| FALSE | evaluated 22 times by 1 test |
needle == *haystackTRUE | evaluated 120908 times by 24 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextDocument
- tst_QTextEdit
- tst_QXmlStream
- tst_Selftests
- tst_Spdy
- tst_qmake
- tst_qmessagehandler
| FALSE | evaluated 22 times by 1 test |
| 22-18285825 |
211 | && memcmp(needle, haystack, sl) == 0TRUE | evaluated 120906 times by 24 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextDocument
- tst_QTextEdit
- tst_QXmlStream
- tst_Selftests
- tst_Spdy
- tst_qmake
- tst_qmessagehandler
| FALSE | evaluated 2 times by 1 test |
) | 2-120906 |
212 | returnexecuted 120906 times by 24 tests: return haystack - haystack0; Executed by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextDocument
- tst_QTextEdit
- tst_QXmlStream
- tst_Selftests
- tst_Spdy
- tst_qmake
- tst_qmessagehandler
haystack - haystack0;executed 120906 times by 24 tests: return haystack - haystack0; Executed by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextDocument
- tst_QTextEdit
- tst_QXmlStream
- tst_Selftests
- tst_Spdy
- tst_qmake
- tst_qmessagehandler
| 120906 |
213 | | - |
214 | if (sl_minus_1 < sizeof(uint) * 8TRUE | evaluated 18284318 times by 28 testsEvaluated by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QByteArray
- tst_QGuiApplication
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QTextBrowser
- tst_QTextCodec
- tst_QTextDocument
- tst_QTextEdit
- tst_QXmlStream
- tst_Selftests
- tst_Spdy
- tst_qapplication - unknown status
- tst_qmake
- ...
| FALSE | evaluated 1531 times by 3 testsEvaluated by:- tst_QOpenGlConfig
- tst_QString
- tst_qmessagehandler
|
) hashHaystack -= uint(*haystack) << sl_minus_1;executed 18284318 times by 28 tests: hashHaystack -= uint(*haystack) << sl_minus_1; Executed by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QByteArray
- tst_QGuiApplication
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QTextBrowser
- tst_QTextCodec
- tst_QTextDocument
- tst_QTextEdit
- tst_QXmlStream
- tst_Selftests
- tst_Spdy
- tst_qapplication - unknown status
- tst_qmake
- ...
hashHaystack <<= 1; | 1531-18284318 |
215 | ++haystack; | - |
216 | }executed 18285849 times by 29 tests: end of block Executed by:- tst_Collections
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QByteArray
- tst_QGuiApplication
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QOpenGlConfig
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QTextBrowser
- tst_QTextCodec
- tst_QTextDocument
- tst_QTextEdit
- tst_QXmlStream
- tst_Selftests
- tst_Spdy
- tst_qapplication - unknown status
- ...
| 18285849 |
217 | returnexecuted 553112 times by 22 tests: return -1; Executed by:- tst_Collections
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QByteArray
- tst_QGuiApplication
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QTextBrowser
- tst_QTextCodec
- tst_Selftests
- tst_Spdy
- tst_qapplication - unknown status
- tst_qmessagehandler
- tst_qprocess - unknown status
- tst_selftests - unknown status
-1;executed 553112 times by 22 tests: return -1; Executed by:- tst_Collections
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QByteArray
- tst_QGuiApplication
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSslCertificate
- tst_QSslKey
- tst_QString
- tst_QTextBrowser
- tst_QTextCodec
- tst_Selftests
- tst_Spdy
- tst_qapplication - unknown status
- tst_qmessagehandler
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 553112 |
218 | } | - |
219 | | - |
220 | | - |
| | |