ssl/qsslcipher.cpp

Switch to Source codePreprocessed file
LineSource CodeCoverage
1 -
2 -
3 -
4 -
5 -
6 -
7 -
8 -
9 -
10QSslCipher::QSslCipher() -
11 : d(new QSslCipherPrivate) -
12{ -
13}
executed: }
Execution Count:5009
5009
14QSslCipher::QSslCipher(const QString &name, QSsl::SslProtocol protocol) -
15 : d(new QSslCipherPrivate) -
16{ -
17 for (QForeachContainer<__typeof__(QSslSocket::supportedCiphers())> _container_(QSslSocket::supportedCiphers()); !_container_.brk && _container_.i != _container_.e; __extension__ ({ ++_container_.brk; ++_container_.i; })) for (const QSslCipher &cipher = *_container_.i;; __extension__ ({--_container_.brk; break;})) { -
18 if (cipher.name() == name && cipher.protocol() == protocol) {
never evaluated: cipher.name() == name
never evaluated: cipher.protocol() == protocol
0
19 *this = cipher; -
20 return;
never executed: return;
0
21 } -
22 }
never executed: }
0
23}
never executed: }
0
24 -
25 -
26 -
27 -
28QSslCipher::QSslCipher(const QSslCipher &other) -
29 : d(new QSslCipherPrivate) -
30{ -
31 *d.data() = *other.d.data(); -
32}
executed: }
Execution Count:386
386
33 -
34 -
35 -
36 -
37QSslCipher::~QSslCipher() -
38{ -
39} -
40 -
41 -
42 -
43 -
44 -
45QSslCipher &QSslCipher::operator=(const QSslCipher &other) -
46{ -
47 *d.data() = *other.d.data(); -
48 return *this;
executed: return *this;
Execution Count:259
259
49} -
50bool QSslCipher::operator==(const QSslCipher &other) const -
51{ -
52 return d->name == other.d->name && d->protocol == other.d->protocol;
executed: return d->name == other.d->name && d->protocol == other.d->protocol;
Execution Count:43
43
53} -
54bool QSslCipher::isNull() const -
55{ -
56 return d->isNull;
executed: return d->isNull;
Execution Count:225
225
57} -
58 -
59 -
60 -
61 -
62 -
63 -
64 -
65QString QSslCipher::name() const -
66{ -
67 return d->name;
executed: return d->name;
Execution Count:2400
2400
68} -
69 -
70 -
71 -
72 -
73 -
74 -
75int QSslCipher::supportedBits()const -
76{ -
77 return d->supportedBits;
never executed: return d->supportedBits;
0
78} -
79 -
80 -
81 -
82 -
83 -
84 -
85int QSslCipher::usedBits() const -
86{ -
87 return d->bits;
never executed: return d->bits;
0
88} -
89 -
90 -
91 -
92 -
93QString QSslCipher::keyExchangeMethod() const -
94{ -
95 return d->keyExchangeMethod;
never executed: return d->keyExchangeMethod;
0
96} -
97 -
98 -
99 -
100 -
101QString QSslCipher::authenticationMethod() const -
102{ -
103 return d->authenticationMethod;
never executed: return d->authenticationMethod;
0
104} -
105 -
106 -
107 -
108 -
109QString QSslCipher::encryptionMethod() const -
110{ -
111 return d->encryptionMethod;
never executed: return d->encryptionMethod;
0
112} -
113 -
114 -
115 -
116 -
117 -
118 -
119QString QSslCipher::protocolString() const -
120{ -
121 return d->protocolString;
never executed: return d->protocolString;
0
122} -
123QSsl::SslProtocol QSslCipher::protocol() const -
124{ -
125 return d->protocol;
never executed: return d->protocol;
0
126} -
127 -
128 -
129QDebug operator<<(QDebug debug, const QSslCipher &cipher) -
130{ -
131 debug << "QSslCipher(name=" << QString(cipher.name()).toLocal8Bit().constData() -
132 << ", bits=" << cipher.usedBits() -
133 << ", proto=" << QString(cipher.protocolString()).toLocal8Bit().constData() -
134 << ')'; -
135 return debug;
never executed: return debug;
0
136} -
137 -
138 -
139 -
140 -
Switch to Source codePreprocessed file

Generated by Squish Coco Non-Commercial