| 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 "qbytearraymatcher.h" | - |
| 35 | | - |
| 36 | #include <limits.h> | - |
| 37 | | - |
| 38 | QT_BEGIN_NAMESPACE | - |
| 39 | | - |
| 40 | static inline void bm_init_skiptable(const uchar *cc, int len, uchar *skiptable) | - |
| 41 | { | - |
| 42 | int l = qMin(len, 255); | - |
| 43 | memset(skiptable, l, 256*sizeof(uchar)); | - |
| 44 | cc += len - l; | - |
| 45 | 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 |
| 46 | 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 |
| 47 | }executed 46147 times by 28 tests: end of blockExecuted 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 |
| 48 | | - |
| 49 | static inline int bm_find(const uchar *cc, int l, int index, const uchar *puc, uint pl, | - |
| 50 | const uchar *skiptable) | - |
| 51 | { | - |
| 52 | if (pl == 0)| TRUE | 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 |
| 53 | return index > l ? -1 : index;executed 8 times by 1 test: return index > l ? -1 : index; | TRUE | never evaluated | | FALSE | evaluated 8 times by 1 test |
| 0-8 |
| 54 | const uint pl_minus_one = pl - 1; | - |
| 55 | | - |
| 56 | const uchar *current = cc + index + pl_minus_one; | - |
| 57 | const uchar *end = cc + l; | - |
| 58 | while (current < end) {| TRUE | 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 |
| 59 | uint skip = skiptable[*current]; | - |
| 60 | if (!skip) {| TRUE | 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 |
| 61 | | - |
| 62 | while (skip < pl) {| TRUE | 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 |
| 63 | if (*(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 |
| 64 | 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 |
| 65 | skip++; | - |
| 66 | }executed 1091271 times by 27 tests: end of blockExecuted 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 |
| 67 | if (skip > pl_minus_one) | TRUE | 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 |
| 68 | return (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 |
| 69 | | - |
| 70 | | - |
| 71 | | - |
| 72 | if (skiptable[*(current - skip)] == pl)| TRUE | 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 |
| 73 | 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 |
| 74 | else | - |
| 75 | 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 |
| 76 | } | - |
| 77 | if (current > end - skip)| TRUE | 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 |
| 78 | 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 |
| 79 | current += skip; | - |
| 80 | }executed 13647922 times by 28 tests: end of blockExecuted 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 |
| 81 | return -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 |
| 82 | } | - |
| 83 | | - |
| 84 | | - |
| 85 | | - |
| 86 | | - |
| 87 | | - |
| 88 | | - |
| 89 | | - |
| 90 | | - |
| 91 | | - |
| 92 | | - |
| 93 | | - |
| 94 | | - |
| 95 | | - |
| 96 | | - |
| 97 | | - |
| 98 | | - |
| 99 | | - |
| 100 | | - |
| 101 | | - |
| 102 | | - |
| 103 | | - |
| 104 | | - |
| 105 | | - |
| 106 | | - |
| 107 | | - |
| 108 | | - |
| 109 | | - |
| 110 | | - |
| 111 | | - |
| 112 | QByteArrayMatcher::QByteArrayMatcher() | - |
| 113 | : d(0) | - |
| 114 | { | - |
| 115 | p.p = 0; | - |
| 116 | p.l = 0; | - |
| 117 | memset(p.q_skiptable, 0, sizeof(p.q_skiptable)); | - |
| 118 | }executed 2 times by 1 test: end of block | 2 |
| 119 | | - |
| 120 | | - |
| 121 | | - |
| 122 | | - |
| 123 | | - |
| 124 | | - |
| 125 | QByteArrayMatcher::QByteArrayMatcher(const char *pattern, int length) | - |
| 126 | : d(0) | - |
| 127 | { | - |
| 128 | p.p = reinterpret_cast<const uchar *>(pattern); | - |
| 129 | p.l = length; | - |
| 130 | bm_init_skiptable(p.p, p.l, p.q_skiptable); | - |
| 131 | }executed 2073 times by 9 tests: end of blockExecuted by:- tst_Collections
- tst_QByteArray
- tst_QByteArrayMatcher
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_Selftests
- tst_qlogging - unknown status
- tst_qmessagehandler
| 2073 |
| 132 | | - |
| 133 | | - |
| 134 | | - |
| 135 | | - |
| 136 | | - |
| 137 | QByteArrayMatcher::QByteArrayMatcher(const QByteArray &pattern) | - |
| 138 | : d(0), q_pattern(pattern) | - |
| 139 | { | - |
| 140 | p.p = reinterpret_cast<const uchar *>(pattern.constData()); | - |
| 141 | p.l = pattern.size(); | - |
| 142 | bm_init_skiptable(p.p, p.l, p.q_skiptable); | - |
| 143 | }executed 4332 times by 16 tests: end of blockExecuted 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 |
| 144 | | - |
| 145 | | - |
| 146 | | - |
| 147 | | - |
| 148 | QByteArrayMatcher::QByteArrayMatcher(const QByteArrayMatcher &other) | - |
| 149 | : d(0) | - |
| 150 | { | - |
| 151 | operator=(other); | - |
| 152 | }executed 1 time by 1 test: end of block | 1 |
| 153 | | - |
| 154 | | - |
| 155 | | - |
| 156 | | - |
| 157 | QByteArrayMatcher::~QByteArrayMatcher() | - |
| 158 | { | - |
| 159 | Q_UNUSED(d); | - |
| 160 | }executed 6410 times by 25 tests: end of blockExecuted 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 |
| 161 | | - |
| 162 | | - |
| 163 | | - |
| 164 | | - |
| 165 | QByteArrayMatcher &QByteArrayMatcher::operator=(const QByteArrayMatcher &other) | - |
| 166 | { | - |
| 167 | q_pattern = other.q_pattern; | - |
| 168 | memcpy(&p, &other.p, sizeof(p)); | - |
| 169 | return *this;executed 5 times by 1 test: return *this; | 5 |
| 170 | } | - |
| 171 | | - |
| 172 | | - |
| 173 | | - |
| 174 | | - |
| 175 | | - |
| 176 | | - |
| 177 | | - |
| 178 | void QByteArrayMatcher::setPattern(const QByteArray &pattern) | - |
| 179 | { | - |
| 180 | q_pattern = pattern; | - |
| 181 | p.p = reinterpret_cast<const uchar *>(pattern.constData()); | - |
| 182 | p.l = pattern.size(); | - |
| 183 | bm_init_skiptable(p.p, p.l, p.q_skiptable); | - |
| 184 | }executed 3 times by 1 test: end of block | 3 |
| 185 | | - |
| 186 | | - |
| 187 | | - |
| 188 | | - |
| 189 | | - |
| 190 | | - |
| 191 | | - |
| 192 | | - |
| 193 | int QByteArrayMatcher::indexIn(const QByteArray &ba, int from) const | - |
| 194 | { | - |
| 195 | if (from < 0)| TRUE | 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 |
| 196 | from = 0; never executed: from = 0; | 0 |
| 197 | return 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 |
| 198 | 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 |
| 199 | } | - |
| 200 | | - |
| 201 | | - |
| 202 | | - |
| 203 | | - |
| 204 | | - |
| 205 | | - |
| 206 | | - |
| 207 | | - |
| 208 | int QByteArrayMatcher::indexIn(const char *str, int len, int from) const | - |
| 209 | { | - |
| 210 | if (from < 0)| TRUE | never evaluated | | FALSE | evaluated 3 times by 1 test |
| 0-3 |
| 211 | from = 0; never executed: from = 0; | 0 |
| 212 | return 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 |
| 213 | 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 |
| 214 | } | - |
| 215 | | - |
| 216 | | - |
| 217 | | - |
| 218 | | - |
| 219 | | - |
| 220 | | - |
| 221 | | - |
| 222 | | - |
| 223 | | - |
| 224 | | - |
| 225 | | - |
| 226 | static int findChar(const char *str, int len, char ch, int from) | - |
| 227 | { | - |
| 228 | const uchar *s = (const uchar *)str; | - |
| 229 | uchar c = (uchar)ch; | - |
| 230 | if (from < 0)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 231 | from = qMax(from + len, 0); never executed: from = qMax(from + len, 0); | 0 |
| 232 | if (from < len) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 233 | const uchar *n = s + from - 1; | - |
| 234 | const uchar *e = s + len; | - |
| 235 | while (++n != e)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 236 | if (*n == c)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 237 | return n - s; never executed: return n - s; | 0 |
| 238 | } never executed: end of block | 0 |
| 239 | return -1; never executed: return -1; | 0 |
| 240 | } | - |
| 241 | | - |
| 242 | | - |
| 243 | | - |
| 244 | | - |
| 245 | static int qFindByteArrayBoyerMoore( | - |
| 246 | const char *haystack, int haystackLen, int haystackOffset, | - |
| 247 | const char *needle, int needleLen) | - |
| 248 | { | - |
| 249 | uchar skiptable[256]; | - |
| 250 | bm_init_skiptable((const uchar *)needle, needleLen, skiptable); | - |
| 251 | if (haystackOffset < 0)| TRUE | 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 |
| 252 | haystackOffset = 0; never executed: haystackOffset = 0; | 0 |
| 253 | return 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 |
| 254 | (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 |
| 255 | } | - |
| 256 | | - |
| 257 | #define REHASH(a) \ | - |
| 258 | if (sl_minus_1 < sizeof(uint) * CHAR_BIT) \ | - |
| 259 | hashHaystack -= uint(a) << sl_minus_1; \ | - |
| 260 | hashHaystack <<= 1 | - |
| 261 | | - |
| 262 | | - |
| 263 | | - |
| 264 | | - |
| 265 | int qFindByteArray( | - |
| 266 | const char *haystack0, int haystackLen, int from, | - |
| 267 | const char *needle, int needleLen) | - |
| 268 | { | - |
| 269 | const int l = haystackLen; | - |
| 270 | const int sl = needleLen; | - |
| 271 | if (from < 0)| TRUE | 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 |
| 272 | from += l; never executed: from += l; | 0 |
| 273 | if (uint(sl + from) > (uint)l)| TRUE | 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 |
| 274 | return -1; never executed: return -1; | 0 |
| 275 | if (!sl)| TRUE | 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 |
| 276 | return from; never executed: return from; | 0 |
| 277 | if (!l)| TRUE | 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 |
| 278 | return -1; never executed: return -1; | 0 |
| 279 | | - |
| 280 | if (sl == 1)| TRUE | 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 |
| 281 | return findChar(haystack0, haystackLen, needle[0], from); never executed: return findChar(haystack0, haystackLen, needle[0], from); | 0 |
| 282 | | - |
| 283 | | - |
| 284 | | - |
| 285 | | - |
| 286 | | - |
| 287 | | - |
| 288 | if (l > 500 && sl > 5)| TRUE | 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
- ...
|
| TRUE | 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 |
| 289 | return 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 |
| 290 | 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 |
| 291 | | - |
| 292 | | - |
| 293 | | - |
| 294 | | - |
| 295 | | - |
| 296 | | - |
| 297 | const char *haystack = haystack0 + from; | - |
| 298 | const char *end = haystack0 + (l - sl); | - |
| 299 | const uint sl_minus_1 = sl - 1; | - |
| 300 | uint hashNeedle = 0, hashHaystack = 0; | - |
| 301 | int idx; | - |
| 302 | for (idx = 0; idx < sl; ++idx) {| TRUE | 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
- ...
|
| 674018-4789208 |
| 303 | hashNeedle = ((hashNeedle<<1) + needle[idx]); | - |
| 304 | hashHaystack = ((hashHaystack<<1) + haystack[idx]); | - |
| 305 | }executed 4789208 times by 33 tests: end of blockExecuted 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 |
| 306 | hashHaystack -= *(haystack + sl_minus_1); | - |
| 307 | | - |
| 308 | while (haystack <= end) {| TRUE | 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 |
| 309 | hashHaystack += *(haystack + sl_minus_1); | - |
| 310 | if (hashHaystack == hashNeedle && *needle == *haystack| TRUE | 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 |
| 22-18285825 |
| 311 | && memcmp(needle, haystack, sl) == 0)| TRUE | 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 |
| 312 | return 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 |
| 313 | | - |
| 314 | REHASH(*haystack);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
- ...
| TRUE | 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
|
| 1531-18284318 |
| 315 | ++haystack; | - |
| 316 | }executed 18285849 times by 29 tests: end of blockExecuted 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 |
| 317 | return -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 |
| 318 | } | - |
| 319 | | - |
| 320 | QT_END_NAMESPACE | - |
| | |