Coverage Report

Created: 2026-10-19 07:10

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/boringssl/include/openssl/base.h
Line
Count
Source
1
// Copyright 2001-2016 The OpenSSL Project Authors. All Rights Reserved.
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
//     https://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
#ifndef OPENSSL_HEADER_BASE_H
16
#define OPENSSL_HEADER_BASE_H
17
18
19
// This file should be the first included by all BoringSSL headers. All
20
// BoringSSL headers can be assumed to import this file, and this header can be
21
// assumed to include stddef.h (size_t) and stdint.h (uint*_t, etc).
22
23
#include <stddef.h>  // IWYU pragma: export
24
#include <stdint.h>  // IWYU pragma: export
25
#include <stdlib.h>
26
#include <sys/types.h>
27
28
#if defined(__MINGW32__)
29
// stdio.h is needed on MinGW for __MINGW_PRINTF_FORMAT.
30
#include <stdio.h>
31
#endif
32
33
#if defined(__APPLE__)
34
#include <TargetConditionals.h>
35
#endif
36
37
// Include a BoringSSL-only header so consumers including this header without
38
// setting up include paths do not accidentally pick up the system
39
// opensslconf.h.
40
#include <openssl/is_boringssl.h>
41
#include <openssl/opensslconf.h>
42
#include <openssl/target.h>  // IWYU pragma: export
43
44
#if defined(BORINGSSL_PREFIX)
45
#include <openssl/prefix_symbols.h>  // IWYU pragma: export
46
#endif
47
48
#if defined(__cplusplus)
49
extern "C" {
50
#endif
51
52
53
#if defined(__APPLE__)
54
// Note `TARGET_OS_MAC` is set for all Apple OS variants. `TARGET_OS_OSX`
55
// targets macOS specifically.
56
#if defined(TARGET_OS_OSX) && TARGET_OS_OSX
57
#define OPENSSL_MACOS
58
#endif
59
#if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE
60
#define OPENSSL_IOS
61
#endif
62
#endif
63
64
#define OPENSSL_IS_BORINGSSL
65
0
#define OPENSSL_VERSION_NUMBER 0x1010107f
66
#define SSLEAY_VERSION_NUMBER OPENSSL_VERSION_NUMBER
67
68
// BORINGSSL_API_VERSION is a positive integer that increments as BoringSSL
69
// changes over time. The value itself is not meaningful. It will be incremented
70
// whenever is convenient to coordinate an API change with consumers. This will
71
// not denote any special point in development.
72
//
73
// A consumer may use this symbol in the preprocessor to temporarily build
74
// against multiple revisions of BoringSSL at the same time. It is not
75
// recommended to do so for longer than is necessary.
76
#define BORINGSSL_API_VERSION 44
77
78
#if defined(BORINGSSL_SHARED_LIBRARY)
79
80
#if defined(OPENSSL_WINDOWS)
81
82
#if defined(BORINGSSL_IMPLEMENTATION)
83
#define OPENSSL_EXPORT __declspec(dllexport)
84
#else
85
#define OPENSSL_EXPORT __declspec(dllimport)
86
#endif
87
88
#else  // defined(OPENSSL_WINDOWS)
89
90
#if defined(BORINGSSL_IMPLEMENTATION)
91
#define OPENSSL_EXPORT __attribute__((visibility("default")))
92
#else
93
#define OPENSSL_EXPORT
94
#endif
95
96
#endif  // defined(OPENSSL_WINDOWS)
97
98
#else  // defined(BORINGSSL_SHARED_LIBRARY)
99
100
#define OPENSSL_EXPORT
101
102
#endif  // defined(BORINGSSL_SHARED_LIBRARY)
103
104
#if defined(_MSC_VER)
105
106
// OPENSSL_DEPRECATED is used to mark a function as deprecated. Use
107
// of any functions so marked in caller code will produce a warning.
108
// OPENSSL_BEGIN_ALLOW_DEPRECATED and OPENSSL_END_ALLOW_DEPRECATED
109
// can be used to suppress the warning in regions of caller code.
110
#define OPENSSL_DEPRECATED __declspec(deprecated)
111
#define OPENSSL_BEGIN_ALLOW_DEPRECATED \
112
  __pragma(warning(push)) __pragma(warning(disable : 4996))
113
#define OPENSSL_END_ALLOW_DEPRECATED __pragma(warning(pop))
114
115
#elif defined(__GNUC__) || defined(__clang__)
116
117
#define OPENSSL_DEPRECATED __attribute__((__deprecated__))
118
#define OPENSSL_BEGIN_ALLOW_DEPRECATED \
119
  _Pragma("GCC diagnostic push")       \
120
      _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"")
121
#define OPENSSL_END_ALLOW_DEPRECATED _Pragma("GCC diagnostic pop")
122
123
#else
124
125
#define OPENSSL_DEPRECATED
126
#define OPENSSL_BEGIN_ALLOW_DEPRECATED
127
#define OPENSSL_END_ALLOW_DEPRECATED
128
129
#endif
130
131
132
#if defined(__GNUC__) || defined(__clang__)
133
// MinGW has two different printf implementations. Ensure the format macro
134
// matches the selected implementation. See
135
// https://sourceforge.net/p/mingw-w64/wiki2/gnu%20printf/.
136
#if defined(__MINGW_PRINTF_FORMAT)
137
#define OPENSSL_PRINTF_FORMAT_FUNC(string_index, first_to_check) \
138
  __attribute__((                                                \
139
      __format__(__MINGW_PRINTF_FORMAT, string_index, first_to_check)))
140
#else
141
#define OPENSSL_PRINTF_FORMAT_FUNC(string_index, first_to_check) \
142
  __attribute__((__format__(__printf__, string_index, first_to_check)))
143
#endif
144
#else
145
#define OPENSSL_PRINTF_FORMAT_FUNC(string_index, first_to_check)
146
#endif
147
148
// OPENSSL_GNUC_CLANG_PRAGMA emits a pragma on GCC or clang and nothing on other
149
// compilers.
150
#if defined(__GNUC__) || defined(__clang__)
151
#define OPENSSL_GNUC_CLANG_PRAGMA(arg) _Pragma(arg)
152
#else
153
#define OPENSSL_GNUC_CLANG_PRAGMA(arg)
154
#endif
155
156
// OPENSSL_CLANG_PRAGMA emits a pragma on clang and nothing on other compilers.
157
#if defined(__clang__)
158
#define OPENSSL_CLANG_PRAGMA(arg) _Pragma(arg)
159
#else
160
#define OPENSSL_CLANG_PRAGMA(arg)
161
#endif
162
163
// OPENSSL_MSVC_PRAGMA emits a pragma on MSVC and nothing on other compilers.
164
#if defined(_MSC_VER)
165
#define OPENSSL_MSVC_PRAGMA(arg) __pragma(arg)
166
#else
167
#define OPENSSL_MSVC_PRAGMA(arg)
168
#endif
169
170
#if defined(__GNUC__) || defined(__clang__)
171
#define OPENSSL_UNUSED __attribute__((unused))
172
#elif defined(_MSC_VER)
173
// __pragma wants to be on a separate line. The following is what it takes to
174
// stop clang-format from messing with that.
175
// clang-format off
176
#define OPENSSL_UNUSED __pragma(warning(suppress : 4505)) \
177
/* */
178
// clang-format on
179
#else
180
#define OPENSSL_UNUSED
181
#endif
182
183
#if defined(BORINGSSL_ALWAYS_USE_STATIC_INLINE)
184
// Add OPENSSL_UNUSED so that, should an inline function be emitted via macro
185
// (e.g. a `STACK_OF(T)` implementation) in a source file without tripping
186
// clang's -Wunused-function.
187
#define OPENSSL_INLINE static inline OPENSSL_UNUSED
188
#else
189
#define OPENSSL_INLINE inline
190
#endif
191
192
#if defined(__cplusplus)
193
// enums can be predeclared, but only in C++ and only if given an explicit type.
194
// C doesn't support setting an explicit type for enums thus a #define is used
195
// to do this only for C++. However, the ABI type between C and C++ need to have
196
// equal sizes, which is confirmed in a unittest.
197
#define BORINGSSL_ENUM_INT : int
198
enum ssl_early_data_reason_t BORINGSSL_ENUM_INT;
199
enum ssl_encryption_level_t BORINGSSL_ENUM_INT;
200
enum ssl_private_key_result_t BORINGSSL_ENUM_INT;
201
enum ssl_renegotiate_mode_t BORINGSSL_ENUM_INT;
202
enum ssl_select_cert_result_t BORINGSSL_ENUM_INT;
203
enum ssl_select_cert_result_t BORINGSSL_ENUM_INT;
204
enum ssl_ticket_aead_result_t BORINGSSL_ENUM_INT;
205
enum ssl_verify_result_t BORINGSSL_ENUM_INT;
206
#else
207
#define BORINGSSL_ENUM_INT
208
#endif
209
210
// ossl_ssize_t is a signed type which is large enough to fit the size of any
211
// valid memory allocation. We prefer using `size_t`, but sometimes we need a
212
// signed type for OpenSSL API compatibility. This type can be used in such
213
// cases to avoid overflow.
214
//
215
// Not all `size_t` values fit in `ossl_ssize_t`, but all `size_t` values that
216
// are sizes of or indices into C objects, can be converted without overflow.
217
typedef ptrdiff_t ossl_ssize_t;
218
219
// CBS_ASN1_TAG is the type used by `CBS` and `CBB` for ASN.1 tags. See that
220
// header for details. This type is defined in base.h as a forward declaration.
221
typedef uint32_t CBS_ASN1_TAG;
222
223
// CRYPTO_THREADID is a dummy value.
224
typedef int CRYPTO_THREADID;
225
226
// An `ASN1_NULL` is an opaque type. asn1.h represents the ASN.1 NULL value as
227
// an opaque, non-NULL `ASN1_NULL*` pointer.
228
typedef struct asn1_null_st ASN1_NULL;
229
230
// CRYPTO_MUST_BE_NULL is an opaque type that is never returned from BoringSSL.
231
// It is used in function parameters that must be NULL.
232
typedef struct crypto_must_be_null_st CRYPTO_MUST_BE_NULL;
233
234
typedef int ASN1_BOOLEAN;
235
typedef struct ASN1_ITEM_st ASN1_ITEM;
236
typedef struct asn1_object_st ASN1_OBJECT;
237
typedef struct asn1_pctx_st ASN1_PCTX;
238
typedef struct asn1_string_st ASN1_BIT_STRING;
239
typedef struct asn1_string_st ASN1_BMPSTRING;
240
typedef struct asn1_string_st ASN1_ENUMERATED;
241
typedef struct asn1_string_st ASN1_GENERALIZEDTIME;
242
typedef struct asn1_string_st ASN1_GENERALSTRING;
243
typedef struct asn1_string_st ASN1_IA5STRING;
244
typedef struct asn1_string_st ASN1_INTEGER;
245
typedef struct asn1_string_st ASN1_OCTET_STRING;
246
typedef struct asn1_string_st ASN1_PRINTABLESTRING;
247
typedef struct asn1_string_st ASN1_STRING;
248
typedef struct asn1_string_st ASN1_T61STRING;
249
typedef struct asn1_string_st ASN1_TIME;
250
typedef struct asn1_string_st ASN1_UNIVERSALSTRING;
251
typedef struct asn1_string_st ASN1_UTCTIME;
252
typedef struct asn1_string_st ASN1_UTF8STRING;
253
typedef struct asn1_string_st ASN1_VISIBLESTRING;
254
typedef struct asn1_type_st ASN1_TYPE;
255
typedef struct AUTHORITY_KEYID_st AUTHORITY_KEYID;
256
typedef struct BASIC_CONSTRAINTS_st BASIC_CONSTRAINTS;
257
typedef struct CMS_ContentInfo_st CMS_ContentInfo;
258
typedef struct CMS_SignerInfo_st CMS_SignerInfo;
259
typedef struct DIST_POINT_st DIST_POINT;
260
typedef struct DSA_SIG_st DSA_SIG;
261
typedef struct GENERAL_NAME_st GENERAL_NAME;
262
typedef struct ISSUING_DIST_POINT_st ISSUING_DIST_POINT;
263
typedef struct NAME_CONSTRAINTS_st NAME_CONSTRAINTS;
264
typedef struct Netscape_spkac_st NETSCAPE_SPKAC;
265
typedef struct Netscape_spki_st NETSCAPE_SPKI;
266
typedef struct RIPEMD160state_st RIPEMD160_CTX;
267
typedef struct X509_VERIFY_PARAM_st X509_VERIFY_PARAM;
268
typedef struct X509_algor_st X509_ALGOR;
269
typedef struct X509_crl_st X509_CRL;
270
typedef struct X509_extension_st X509_EXTENSION;
271
typedef struct X509_info_st X509_INFO;
272
typedef struct X509_name_entry_st X509_NAME_ENTRY;
273
typedef struct X509_name_st X509_NAME;
274
typedef struct X509_pubkey_st X509_PUBKEY;
275
typedef struct X509_req_st X509_REQ;
276
typedef struct X509_sig_st X509_SIG;
277
typedef struct bignum_ctx BN_CTX;
278
typedef struct bignum_st BIGNUM;
279
typedef struct bio_method_st BIO_METHOD;
280
typedef struct bio_st BIO;
281
typedef struct blake2b_state_st BLAKE2B_CTX;
282
typedef struct bn_gencb_st BN_GENCB;
283
typedef struct bn_mont_ctx_st BN_MONT_CTX;
284
typedef struct buf_mem_st BUF_MEM;
285
typedef struct cbb_st CBB;
286
typedef struct cbs_st CBS;
287
typedef struct cmac_ctx_st CMAC_CTX;
288
typedef struct conf_st CONF;
289
typedef struct conf_value_st CONF_VALUE;
290
typedef struct cpace_ctx_st CPACE_CTX;
291
typedef struct crypto_buffer_pool_st CRYPTO_BUFFER_POOL;
292
typedef struct crypto_buffer_st CRYPTO_BUFFER;
293
typedef struct crypto_ivec_st CRYPTO_IVEC;
294
typedef struct crypto_iovec_st CRYPTO_IOVEC;
295
typedef struct ctr_drbg_state_st CTR_DRBG_STATE;
296
typedef struct dh_st DH;
297
typedef struct dsa_st DSA;
298
typedef struct ec_group_st EC_GROUP;
299
typedef struct ec_key_st EC_KEY;
300
typedef struct ec_point_st EC_POINT;
301
typedef struct ecdsa_method_st ECDSA_METHOD;
302
typedef struct ecdsa_sig_st ECDSA_SIG;
303
typedef struct engine_st ENGINE;
304
typedef struct env_md_ctx_st EVP_MD_CTX;
305
typedef struct env_md_st EVP_MD;
306
typedef struct evp_aead_st EVP_AEAD;
307
typedef struct evp_aead_ctx_st EVP_AEAD_CTX;
308
typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
309
typedef struct evp_cipher_st EVP_CIPHER;
310
typedef struct evp_encode_ctx_st EVP_ENCODE_CTX;
311
typedef struct evp_hpke_aead_st EVP_HPKE_AEAD;
312
typedef struct evp_hpke_ctx_st EVP_HPKE_CTX;
313
typedef struct evp_hpke_kdf_st EVP_HPKE_KDF;
314
typedef struct evp_hpke_kem_st EVP_HPKE_KEM;
315
typedef struct evp_hpke_key_st EVP_HPKE_KEY;
316
typedef struct evp_kem_st EVP_KEM;
317
typedef struct evp_pkey_alg_st EVP_PKEY_ALG;
318
typedef struct evp_pkey_ctx_st EVP_PKEY_CTX;
319
typedef struct evp_pkey_st EVP_PKEY;
320
typedef struct hmac_ctx_st HMAC_CTX;
321
typedef struct md4_state_st MD4_CTX;
322
typedef struct md5_state_st MD5_CTX;
323
typedef struct ossl_init_settings_st OPENSSL_INIT_SETTINGS;
324
typedef struct ossl_lib_ctx_st OSSL_LIB_CTX;
325
typedef struct ossl_param_st OSSL_PARAM;
326
typedef struct pkcs12_st PKCS12;
327
typedef struct pkcs8_priv_key_info_st PKCS8_PRIV_KEY_INFO;
328
typedef struct private_key_st X509_PKEY;
329
typedef struct rand_meth_st RAND_METHOD;
330
typedef struct rc4_key_st RC4_KEY;
331
typedef struct rsa_meth_st RSA_METHOD;
332
typedef struct rsa_pss_params_st RSA_PSS_PARAMS;
333
typedef struct rsa_st RSA;
334
typedef struct sha256_state_st SHA256_CTX;
335
typedef struct sha512_state_st SHA512_CTX;
336
typedef struct sha_state_st SHA_CTX;
337
typedef struct spake2_ctx_st SPAKE2_CTX;
338
typedef struct srtp_protection_profile_st SRTP_PROTECTION_PROFILE;
339
typedef struct ssl_cipher_st SSL_CIPHER;
340
typedef struct ssl_credential_st SSL_CREDENTIAL;
341
typedef struct ssl_ctx_st SSL_CTX;
342
typedef struct ssl_early_callback_ctx SSL_CLIENT_HELLO;
343
typedef struct ssl_ech_keys_st SSL_ECH_KEYS;
344
typedef struct ssl_method_st SSL_METHOD;
345
typedef struct ssl_private_key_method_st SSL_PRIVATE_KEY_METHOD;
346
typedef struct ssl_quic_method_st SSL_QUIC_METHOD;
347
typedef struct ssl_session_st SSL_SESSION;
348
typedef struct ssl_st SSL;
349
typedef struct ssl_ticket_aead_method_st SSL_TICKET_AEAD_METHOD;
350
typedef struct st_ERR_FNS ERR_FNS;
351
typedef struct trust_token_st TRUST_TOKEN;
352
typedef struct trust_token_client_st TRUST_TOKEN_CLIENT;
353
typedef struct trust_token_issuer_st TRUST_TOKEN_ISSUER;
354
typedef struct trust_token_method_st TRUST_TOKEN_METHOD;
355
typedef struct v3_ext_ctx X509V3_CTX;
356
typedef struct v3_ext_method X509V3_EXT_METHOD;
357
typedef struct x509_attributes_st X509_ATTRIBUTE;
358
typedef struct x509_lookup_st X509_LOOKUP;
359
typedef struct x509_lookup_method_st X509_LOOKUP_METHOD;
360
typedef struct x509_object_st X509_OBJECT;
361
typedef struct x509_purpose_st X509_PURPOSE;
362
typedef struct x509_revoked_st X509_REVOKED;
363
typedef struct x509_st X509;
364
typedef struct x509_store_ctx_st X509_STORE_CTX;
365
typedef struct x509_store_st X509_STORE;
366
367
typedef void *OPENSSL_BLOCK;
368
369
// BSSL_CHECK aborts if `condition` is not true.
370
#define BSSL_CHECK(condition) \
371
154M
  do {                        \
372
154M
    if (!(condition)) {       \
373
0
      abort();                \
374
0
    }                         \
375
154M
  } while (0);
376
377
#if defined(__cplusplus)
378
}  // extern C
379
#elif !defined(BORINGSSL_NO_CXX)
380
#define BORINGSSL_NO_CXX
381
#endif
382
383
#if defined(BORINGSSL_PREFIX)
384
#define BSSL_NAMESPACE_BEGIN \
385
  namespace bssl {           \
386
  inline namespace BORINGSSL_PREFIX {
387
#define BSSL_NAMESPACE_END \
388
  }                        \
389
  }
390
#else
391
#define BSSL_NAMESPACE_BEGIN namespace bssl {
392
#define BSSL_NAMESPACE_END }
393
#endif
394
395
#if defined(BORINGSSL_NO_CXX)
396
397
#define BORINGSSL_MAKE_DELETER(type, deleter)
398
#define BORINGSSL_MAKE_UP_REF(type, dup_ref_func)
399
#define BORINGSSL_MAKE_STACK_TRAITS(type, init_func, cleanup_func)
400
#define BORINGSSL_MAKE_STACK_TRAITS_MOVABLE(type, init_func, cleanup_func, \
401
                                            move_func)
402
403
#else
404
405
// Work around consumers including our headers under extern "C".
406
extern "C++" {
407
408
#include <memory>
409
410
BSSL_NAMESPACE_BEGIN
411
412
namespace internal {
413
414
// The Enable parameter is ignored and only exists so specializations can use
415
// SFINAE.
416
template <typename T, typename Enable = void>
417
struct DeleterImpl {};
418
419
struct Deleter {
420
  template <typename T>
421
6.91M
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
6.91M
    DeleterImpl<T>::Free(ptr);
431
6.91M
  }
void bssl::internal::Deleter::operator()<ssl_ctx_st>(ssl_ctx_st*)
Line
Count
Source
421
4.97k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
4.97k
    DeleterImpl<T>::Free(ptr);
431
4.97k
  }
void bssl::internal::Deleter::operator()<evp_pkey_st>(evp_pkey_st*)
Line
Count
Source
421
338k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
338k
    DeleterImpl<T>::Free(ptr);
431
338k
  }
void bssl::internal::Deleter::operator()<unsigned char>(unsigned char*)
Line
Count
Source
421
1.52k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
1.52k
    DeleterImpl<T>::Free(ptr);
431
1.52k
  }
void bssl::internal::Deleter::operator()<ssl_ech_keys_st>(ssl_ech_keys_st*)
Line
Count
Source
421
14.9k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
14.9k
    DeleterImpl<T>::Free(ptr);
431
14.9k
  }
void bssl::internal::Deleter::operator()<x509_st>(x509_st*)
Line
Count
Source
421
27.5k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
27.5k
    DeleterImpl<T>::Free(ptr);
431
27.5k
  }
void bssl::internal::Deleter::operator()<ssl_session_st>(ssl_session_st*)
Line
Count
Source
421
126k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
126k
    DeleterImpl<T>::Free(ptr);
431
126k
  }
void bssl::internal::Deleter::operator()<bio_st>(bio_st*)
Line
Count
Source
421
73.8k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
73.8k
    DeleterImpl<T>::Free(ptr);
431
73.8k
  }
void bssl::internal::Deleter::operator()<ssl_st>(ssl_st*)
Line
Count
Source
421
58.8k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
58.8k
    DeleterImpl<T>::Free(ptr);
431
58.8k
  }
Unexecuted instantiation: void bssl::internal::Deleter::operator()<dh_st>(dh_st*)
Unexecuted instantiation: void bssl::internal::Deleter::operator()<dsa_st>(dsa_st*)
void bssl::internal::Deleter::operator()<ec_key_st>(ec_key_st*)
Line
Count
Source
421
16.0k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
16.0k
    DeleterImpl<T>::Free(ptr);
431
16.0k
  }
Unexecuted instantiation: void bssl::internal::Deleter::operator()<crypto_buffer_pool_st>(crypto_buffer_pool_st*)
void bssl::internal::Deleter::operator()<crypto_buffer_st>(crypto_buffer_st*)
Line
Count
Source
421
423k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
423k
    DeleterImpl<T>::Free(ptr);
431
423k
  }
Unexecuted instantiation: void bssl::internal::Deleter::operator()<rsa_st>(rsa_st*)
Unexecuted instantiation: void bssl::internal::Deleter::operator()<X509_crl_st>(X509_crl_st*)
Unexecuted instantiation: void bssl::internal::Deleter::operator()<x509_store_st>(x509_store_st*)
Unexecuted instantiation: void bssl::internal::Deleter::operator()<ssl_credential_st>(ssl_credential_st*)
Unexecuted instantiation: void bssl::internal::Deleter::operator()<bssl::ECHConfig>(bssl::ECHConfig*)
void bssl::internal::Deleter::operator()<bssl::ECHServerConfig>(bssl::ECHServerConfig*)
Line
Count
Source
421
12.8k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
12.8k
    DeleterImpl<T>::Free(ptr);
431
12.8k
  }
void bssl::internal::Deleter::operator()<bssl::SSLECHKeys>(bssl::SSLECHKeys*)
Line
Count
Source
421
422
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
422
    DeleterImpl<T>::Free(ptr);
431
422
  }
void bssl::internal::Deleter::operator()<bssl::SSLCredential>(bssl::SSLCredential*)
Line
Count
Source
421
143k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
143k
    DeleterImpl<T>::Free(ptr);
431
143k
  }
void bssl::internal::Deleter::operator()<bssl::SSLSession>(bssl::SSLSession*)
Line
Count
Source
421
239k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
239k
    DeleterImpl<T>::Free(ptr);
431
239k
  }
void bssl::internal::Deleter::operator()<stack_st_CRYPTO_BUFFER>(stack_st_CRYPTO_BUFFER*)
Line
Count
Source
421
260k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
260k
    DeleterImpl<T>::Free(ptr);
431
260k
  }
void bssl::internal::Deleter::operator()<bssl::SSLPAKEShare>(bssl::SSLPAKEShare*)
Line
Count
Source
421
44
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
44
    DeleterImpl<T>::Free(ptr);
431
44
  }
void bssl::internal::Deleter::operator()<bssl::SSLKeyShare>(bssl::SSLKeyShare*)
Line
Count
Source
421
150k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
150k
    DeleterImpl<T>::Free(ptr);
431
150k
  }
Unexecuted instantiation: void bssl::internal::Deleter::operator()<bssl::spake2plus::Prover>(bssl::spake2plus::Prover*)
void bssl::internal::Deleter::operator()<ecdsa_sig_st>(ecdsa_sig_st*)
Line
Count
Source
421
16.7k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
16.7k
    DeleterImpl<T>::Free(ptr);
431
16.7k
  }
void bssl::internal::Deleter::operator()<bignum_st>(bignum_st*)
Line
Count
Source
421
614k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
614k
    DeleterImpl<T>::Free(ptr);
431
614k
  }
void bssl::internal::Deleter::operator()<ec_point_st>(ec_point_st*)
Line
Count
Source
421
99.5k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
99.5k
    DeleterImpl<T>::Free(ptr);
431
99.5k
  }
void bssl::internal::Deleter::operator()<bssl::SSLCipherPreferenceList>(bssl::SSLCipherPreferenceList*)
Line
Count
Source
421
19.7k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
19.7k
    DeleterImpl<T>::Free(ptr);
431
19.7k
  }
void bssl::internal::Deleter::operator()<stack_st_SSL_CIPHER>(stack_st_SSL_CIPHER*)
Line
Count
Source
421
83.5k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
83.5k
    DeleterImpl<T>::Free(ptr);
431
83.5k
  }
void bssl::internal::Deleter::operator()<bssl::SSL_HANDSHAKE_HINTS>(bssl::SSL_HANDSHAKE_HINTS*)
Line
Count
Source
421
77.4k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
77.4k
    DeleterImpl<T>::Free(ptr);
431
77.4k
  }
void bssl::internal::Deleter::operator()<buf_mem_st>(buf_mem_st*)
Line
Count
Source
421
383k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
383k
    DeleterImpl<T>::Free(ptr);
431
383k
  }
void bssl::internal::Deleter::operator()<std::__1::variant<bssl::SSLImportedPSK, std::__1::unique_ptr<bssl::SSLSession, bssl::internal::Deleter> > >(std::__1::variant<bssl::SSLImportedPSK, std::__1::unique_ptr<bssl::SSLSession, bssl::internal::Deleter> >*)
Line
Count
Source
421
308
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
308
    DeleterImpl<T>::Free(ptr);
431
308
  }
void bssl::internal::Deleter::operator()<char>(char*)
Line
Count
Source
421
27.8k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
27.8k
    DeleterImpl<T>::Free(ptr);
431
27.8k
  }
Unexecuted instantiation: void bssl::internal::Deleter::operator()<bssl::spake2plus::Verifier>(bssl::spake2plus::Verifier*)
void bssl::internal::Deleter::operator()<bssl::SSL_HANDSHAKE>(bssl::SSL_HANDSHAKE*)
Line
Count
Source
421
97.2k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
97.2k
    DeleterImpl<T>::Free(ptr);
431
97.2k
  }
void bssl::internal::Deleter::operator()<bssl::err_save_state_st>(bssl::err_save_state_st*)
Line
Count
Source
421
30.3k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
30.3k
    DeleterImpl<T>::Free(ptr);
431
30.3k
  }
void bssl::internal::Deleter::operator()<bssl::SSLAEADContext>(bssl::SSLAEADContext*)
Line
Count
Source
421
251k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
251k
    DeleterImpl<T>::Free(ptr);
431
251k
  }
void bssl::internal::Deleter::operator()<bssl::CERT>(bssl::CERT*)
Line
Count
Source
421
63.7k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
63.7k
    DeleterImpl<T>::Free(ptr);
431
63.7k
  }
Unexecuted instantiation: ssl_key_share.cc:void bssl::internal::Deleter::operator()<bssl::(anonymous namespace)::ECKeyShare>(bssl::(anonymous namespace)::ECKeyShare*)
Unexecuted instantiation: ssl_key_share.cc:void bssl::internal::Deleter::operator()<bssl::(anonymous namespace)::X25519KeyShare>(bssl::(anonymous namespace)::X25519KeyShare*)
Unexecuted instantiation: ssl_key_share.cc:void bssl::internal::Deleter::operator()<bssl::(anonymous namespace)::X25519MLKEM768KeyShare>(bssl::(anonymous namespace)::X25519MLKEM768KeyShare*)
Unexecuted instantiation: ssl_key_share.cc:void bssl::internal::Deleter::operator()<bssl::(anonymous namespace)::MLKEM1024KeyShare>(bssl::(anonymous namespace)::MLKEM1024KeyShare*)
void bssl::internal::Deleter::operator()<bssl::SSL_CONFIG>(bssl::SSL_CONFIG*)
Line
Count
Source
421
58.8k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
58.8k
    DeleterImpl<T>::Free(ptr);
431
58.8k
  }
void bssl::internal::Deleter::operator()<stack_st_SRTP_PROTECTION_PROFILE>(stack_st_SRTP_PROTECTION_PROFILE*)
Line
Count
Source
421
3.55k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
3.55k
    DeleterImpl<T>::Free(ptr);
431
3.55k
  }
void bssl::internal::Deleter::operator()<bssl::SSLContext>(bssl::SSLContext*)
Line
Count
Source
421
117k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
117k
    DeleterImpl<T>::Free(ptr);
431
117k
  }
Unexecuted instantiation: void bssl::internal::Deleter::operator()<bssl::SSLImpl>(bssl::SSLImpl*)
void bssl::internal::Deleter::operator()<bssl::TicketKey>(bssl::TicketKey*)
Line
Count
Source
421
470
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
470
    DeleterImpl<T>::Free(ptr);
431
470
  }
void bssl::internal::Deleter::operator()<X509_name_st>(X509_name_st*)
Line
Count
Source
421
3.75k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
3.75k
    DeleterImpl<T>::Free(ptr);
431
3.75k
  }
void bssl::internal::Deleter::operator()<stack_st_X509>(stack_st_X509*)
Line
Count
Source
421
18.2k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
18.2k
    DeleterImpl<T>::Free(ptr);
431
18.2k
  }
void bssl::internal::Deleter::operator()<x509_store_ctx_st>(x509_store_ctx_st*)
Line
Count
Source
421
7.85k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
7.85k
    DeleterImpl<T>::Free(ptr);
431
7.85k
  }
Unexecuted instantiation: void bssl::internal::Deleter::operator()<stack_st_X509_NAME>(stack_st_X509_NAME*)
void bssl::internal::Deleter::operator()<bssl::RecordNumberEncrypter>(bssl::RecordNumberEncrypter*)
Line
Count
Source
421
41.4k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
41.4k
    DeleterImpl<T>::Free(ptr);
431
41.4k
  }
Unexecuted instantiation: tls13_enc.cc:void bssl::internal::Deleter::operator()<bssl::(anonymous namespace)::NullRecordNumberEncrypter>(bssl::(anonymous namespace)::NullRecordNumberEncrypter*)
Unexecuted instantiation: tls13_enc.cc:void bssl::internal::Deleter::operator()<bssl::(anonymous namespace)::AES128RecordNumberEncrypter>(bssl::(anonymous namespace)::AES128RecordNumberEncrypter*)
Unexecuted instantiation: tls13_enc.cc:void bssl::internal::Deleter::operator()<bssl::(anonymous namespace)::AES256RecordNumberEncrypter>(bssl::(anonymous namespace)::AES256RecordNumberEncrypter*)
Unexecuted instantiation: tls13_enc.cc:void bssl::internal::Deleter::operator()<bssl::(anonymous namespace)::ChaChaRecordNumberEncrypter>(bssl::(anonymous namespace)::ChaChaRecordNumberEncrypter*)
void bssl::internal::Deleter::operator()<bssl::MRUQueue<bssl::DTLSSentRecord, 32ul> >(bssl::MRUQueue<bssl::DTLSSentRecord, 32ul>*)
Line
Count
Source
421
10.8k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
10.8k
    DeleterImpl<T>::Free(ptr);
431
10.8k
  }
void bssl::internal::Deleter::operator()<bssl::DTLSIncomingMessage>(bssl::DTLSIncomingMessage*)
Line
Count
Source
421
49.9k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
49.9k
    DeleterImpl<T>::Free(ptr);
431
49.9k
  }
void bssl::internal::Deleter::operator()<bssl::DTLSWriteEpoch>(bssl::DTLSWriteEpoch*)
Line
Count
Source
421
7.95k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
7.95k
    DeleterImpl<T>::Free(ptr);
431
7.95k
  }
void bssl::internal::Deleter::operator()<bssl::DTLSReadEpoch>(bssl::DTLSReadEpoch*)
Line
Count
Source
421
34.1k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
34.1k
    DeleterImpl<T>::Free(ptr);
431
34.1k
  }
void bssl::internal::Deleter::operator()<bssl::DTLSPrevReadEpoch>(bssl::DTLSPrevReadEpoch*)
Line
Count
Source
421
31.7k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
31.7k
    DeleterImpl<T>::Free(ptr);
431
31.7k
  }
Unexecuted instantiation: void bssl::internal::Deleter::operator()<bssl::DTLS1_STATE>(bssl::DTLS1_STATE*)
Unexecuted instantiation: void bssl::internal::Deleter::operator()<bssl::SSL3_STATE>(bssl::SSL3_STATE*)
Unexecuted instantiation: void bssl::internal::Deleter::operator()<evp_pkey_ctx_st>(evp_pkey_ctx_st*)
bcm.cc:void bssl::internal::Deleter::operator()<mldsa::(anonymous namespace)::mldsa_finish_keygen<6, 5>(unsigned char*, mldsa::(anonymous namespace)::private_key<6, 5>*)::Values>(mldsa::(anonymous namespace)::mldsa_finish_keygen<6, 5>(unsigned char*, mldsa::(anonymous namespace)::private_key<6, 5>*)::Values*)
Line
Count
Source
421
339
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
339
    DeleterImpl<T>::Free(ptr);
431
339
  }
Unexecuted instantiation: bcm.cc:void bssl::internal::Deleter::operator()<mldsa::(anonymous namespace)::fips::keygen_self_test()::Values>(mldsa::(anonymous namespace)::fips::keygen_self_test()::Values*)
Unexecuted instantiation: bcm.cc:void bssl::internal::Deleter::operator()<mldsa::(anonymous namespace)::mldsa_sign_mu_no_self_test<6, 5>(unsigned char*, mldsa::(anonymous namespace)::private_key<6, 5> const*, unsigned char const*, unsigned char const*)::Values>(mldsa::(anonymous namespace)::mldsa_sign_mu_no_self_test<6, 5>(unsigned char*, mldsa::(anonymous namespace)::private_key<6, 5> const*, unsigned char const*, unsigned char const*)::Values*)
Unexecuted instantiation: bcm.cc:void bssl::internal::Deleter::operator()<mldsa::(anonymous namespace)::fips::sign_self_test()::Values>(mldsa::(anonymous namespace)::fips::sign_self_test()::Values*)
Unexecuted instantiation: bcm.cc:void bssl::internal::Deleter::operator()<mldsa::(anonymous namespace)::mldsa_verify_mu_no_self_test<6, 5>(mldsa::(anonymous namespace)::public_key<6> const*, unsigned char const*, unsigned char const*)::Values>(mldsa::(anonymous namespace)::mldsa_verify_mu_no_self_test<6, 5>(mldsa::(anonymous namespace)::public_key<6> const*, unsigned char const*, unsigned char const*)::Values*)
Unexecuted instantiation: bcm.cc:void bssl::internal::Deleter::operator()<mldsa::(anonymous namespace)::fips::verify_self_test()::Values>(mldsa::(anonymous namespace)::fips::verify_self_test()::Values*)
Unexecuted instantiation: void bssl::internal::Deleter::operator()<bssl::RSAImpl>(bssl::RSAImpl*)
void bssl::internal::Deleter::operator()<bn_mont_ctx_st>(bn_mont_ctx_st*)
Line
Count
Source
421
24.3k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
24.3k
    DeleterImpl<T>::Free(ptr);
431
24.3k
  }
void bssl::internal::Deleter::operator()<bignum_ctx>(bignum_ctx*)
Line
Count
Source
421
66.5k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
66.5k
    DeleterImpl<T>::Free(ptr);
431
66.5k
  }
Unexecuted instantiation: void bssl::internal::Deleter::operator()<bssl::ECCustomGroup>(bssl::ECCustomGroup*)
void bssl::internal::Deleter::operator()<bssl::ECKey>(bssl::ECKey*)
Line
Count
Source
421
2.66k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
2.66k
    DeleterImpl<T>::Free(ptr);
431
2.66k
  }
bcm.cc:void bssl::internal::Deleter::operator()<mldsa::(anonymous namespace)::mldsa_finish_keygen<8, 7>(unsigned char*, mldsa::(anonymous namespace)::private_key<8, 7>*)::Values>(mldsa::(anonymous namespace)::mldsa_finish_keygen<8, 7>(unsigned char*, mldsa::(anonymous namespace)::private_key<8, 7>*)::Values*)
Line
Count
Source
421
302
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
302
    DeleterImpl<T>::Free(ptr);
431
302
  }
Unexecuted instantiation: bcm.cc:void bssl::internal::Deleter::operator()<mldsa::(anonymous namespace)::mldsa_sign_mu_no_self_test<8, 7>(unsigned char*, mldsa::(anonymous namespace)::private_key<8, 7> const*, unsigned char const*, unsigned char const*)::Values>(mldsa::(anonymous namespace)::mldsa_sign_mu_no_self_test<8, 7>(unsigned char*, mldsa::(anonymous namespace)::private_key<8, 7> const*, unsigned char const*, unsigned char const*)::Values*)
Unexecuted instantiation: bcm.cc:void bssl::internal::Deleter::operator()<mldsa::(anonymous namespace)::mldsa_verify_mu_no_self_test<8, 7>(mldsa::(anonymous namespace)::public_key<8> const*, unsigned char const*, unsigned char const*)::Values>(mldsa::(anonymous namespace)::mldsa_verify_mu_no_self_test<8, 7>(mldsa::(anonymous namespace)::public_key<8> const*, unsigned char const*, unsigned char const*)::Values*)
bcm.cc:void bssl::internal::Deleter::operator()<mldsa::(anonymous namespace)::mldsa_finish_keygen<4, 4>(unsigned char*, mldsa::(anonymous namespace)::private_key<4, 4>*)::Values>(mldsa::(anonymous namespace)::mldsa_finish_keygen<4, 4>(unsigned char*, mldsa::(anonymous namespace)::private_key<4, 4>*)::Values*)
Line
Count
Source
421
161
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
161
    DeleterImpl<T>::Free(ptr);
431
161
  }
Unexecuted instantiation: bcm.cc:void bssl::internal::Deleter::operator()<mldsa::(anonymous namespace)::mldsa_sign_mu_no_self_test<4, 4>(unsigned char*, mldsa::(anonymous namespace)::private_key<4, 4> const*, unsigned char const*, unsigned char const*)::Values>(mldsa::(anonymous namespace)::mldsa_sign_mu_no_self_test<4, 4>(unsigned char*, mldsa::(anonymous namespace)::private_key<4, 4> const*, unsigned char const*, unsigned char const*)::Values*)
Unexecuted instantiation: bcm.cc:void bssl::internal::Deleter::operator()<mldsa::(anonymous namespace)::mldsa_verify_mu_no_self_test<4, 4>(mldsa::(anonymous namespace)::public_key<4> const*, unsigned char const*, unsigned char const*)::Values>(mldsa::(anonymous namespace)::mldsa_verify_mu_no_self_test<4, 4>(mldsa::(anonymous namespace)::public_key<4> const*, unsigned char const*, unsigned char const*)::Values*)
Unexecuted instantiation: void bssl::internal::Deleter::operator()<bssl::Bio>(bssl::Bio*)
Unexecuted instantiation: void bssl::internal::Deleter::operator()<ec_group_st>(ec_group_st*)
void bssl::internal::Deleter::operator()<bssl::EvpPkey>(bssl::EvpPkey*)
Line
Count
Source
421
222k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
222k
    DeleterImpl<T>::Free(ptr);
431
222k
  }
Unexecuted instantiation: void bssl::internal::Deleter::operator()<bssl::EvpPkeyCtx>(bssl::EvpPkeyCtx*)
void bssl::internal::Deleter::operator()<bssl::DSAImpl>(bssl::DSAImpl*)
Line
Count
Source
421
5.82k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
5.82k
    DeleterImpl<T>::Free(ptr);
431
5.82k
  }
p_mldsa.cc:void bssl::internal::Deleter::operator()<(anonymous namespace)::PrivateKeyData<(anonymous namespace)::MLDSA44Traits> >((anonymous namespace)::PrivateKeyData<(anonymous namespace)::MLDSA44Traits>*)
Line
Count
Source
421
25
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
25
    DeleterImpl<T>::Free(ptr);
431
25
  }
p_mldsa.cc:void bssl::internal::Deleter::operator()<(anonymous namespace)::PublicKeyData<(anonymous namespace)::MLDSA44Traits> >((anonymous namespace)::PublicKeyData<(anonymous namespace)::MLDSA44Traits>*)
Line
Count
Source
421
13
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
13
    DeleterImpl<T>::Free(ptr);
431
13
  }
p_mldsa.cc:void bssl::internal::Deleter::operator()<(anonymous namespace)::PrivateKeyData<(anonymous namespace)::MLDSA65Traits> >((anonymous namespace)::PrivateKeyData<(anonymous namespace)::MLDSA65Traits>*)
Line
Count
Source
421
38
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
38
    DeleterImpl<T>::Free(ptr);
431
38
  }
p_mldsa.cc:void bssl::internal::Deleter::operator()<(anonymous namespace)::PublicKeyData<(anonymous namespace)::MLDSA65Traits> >((anonymous namespace)::PublicKeyData<(anonymous namespace)::MLDSA65Traits>*)
Line
Count
Source
421
11
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
11
    DeleterImpl<T>::Free(ptr);
431
11
  }
p_mldsa.cc:void bssl::internal::Deleter::operator()<(anonymous namespace)::PrivateKeyData<(anonymous namespace)::MLDSA87Traits> >((anonymous namespace)::PrivateKeyData<(anonymous namespace)::MLDSA87Traits>*)
Line
Count
Source
421
39
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
39
    DeleterImpl<T>::Free(ptr);
431
39
  }
p_mldsa.cc:void bssl::internal::Deleter::operator()<(anonymous namespace)::PublicKeyData<(anonymous namespace)::MLDSA87Traits> >((anonymous namespace)::PublicKeyData<(anonymous namespace)::MLDSA87Traits>*)
Line
Count
Source
421
13
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
13
    DeleterImpl<T>::Free(ptr);
431
13
  }
p_mlkem.cc:void bssl::internal::Deleter::operator()<(anonymous namespace)::PrivateKeyData<(anonymous namespace)::MLKEM768Traits> >((anonymous namespace)::PrivateKeyData<(anonymous namespace)::MLKEM768Traits>*)
Line
Count
Source
421
24
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
24
    DeleterImpl<T>::Free(ptr);
431
24
  }
p_mlkem.cc:void bssl::internal::Deleter::operator()<(anonymous namespace)::PublicKeyData<(anonymous namespace)::MLKEM768Traits> >((anonymous namespace)::PublicKeyData<(anonymous namespace)::MLKEM768Traits>*)
Line
Count
Source
421
149
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
149
    DeleterImpl<T>::Free(ptr);
431
149
  }
p_mlkem.cc:void bssl::internal::Deleter::operator()<(anonymous namespace)::PrivateKeyData<(anonymous namespace)::MLKEM1024Traits> >((anonymous namespace)::PrivateKeyData<(anonymous namespace)::MLKEM1024Traits>*)
Line
Count
Source
421
17
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
17
    DeleterImpl<T>::Free(ptr);
431
17
  }
p_mlkem.cc:void bssl::internal::Deleter::operator()<(anonymous namespace)::PublicKeyData<(anonymous namespace)::MLKEM1024Traits> >((anonymous namespace)::PublicKeyData<(anonymous namespace)::MLKEM1024Traits>*)
Line
Count
Source
421
90
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
90
    DeleterImpl<T>::Free(ptr);
431
90
  }
void bssl::internal::Deleter::operator()<asn1_object_st>(asn1_object_st*)
Line
Count
Source
421
1.99M
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
1.99M
    DeleterImpl<T>::Free(ptr);
431
1.99M
  }
Unexecuted instantiation: void bssl::internal::Deleter::operator()<bssl::CryptoBufferPoolHandle>(bssl::CryptoBufferPoolHandle*)
Unexecuted instantiation: void bssl::internal::Deleter::operator()<bssl::CryptoBufferPool>(bssl::CryptoBufferPool*)
Unexecuted instantiation: void bssl::internal::Deleter::operator()<bssl::CryptoBuffer>(bssl::CryptoBuffer*)
void bssl::internal::Deleter::operator()<stack_st_X509_OBJECT>(stack_st_X509_OBJECT*)
Line
Count
Source
421
4.97k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
4.97k
    DeleterImpl<T>::Free(ptr);
431
4.97k
  }
Unexecuted instantiation: void bssl::internal::Deleter::operator()<bssl::X509Store>(bssl::X509Store*)
void bssl::internal::Deleter::operator()<X509_VERIFY_PARAM_st>(X509_VERIFY_PARAM_st*)
Line
Count
Source
421
4.97k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
4.97k
    DeleterImpl<T>::Free(ptr);
431
4.97k
  }
Unexecuted instantiation: void bssl::internal::Deleter::operator()<x509_lookup_st>(x509_lookup_st*)
Unexecuted instantiation: void bssl::internal::Deleter::operator()<stack_st_X509_CRL>(stack_st_X509_CRL*)
void bssl::internal::Deleter::operator()<stack_st_X509_NAME_ENTRY>(stack_st_X509_NAME_ENTRY*)
Line
Count
Source
421
411k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
411k
    DeleterImpl<T>::Free(ptr);
431
411k
  }
void bssl::internal::Deleter::operator()<X509_name_entry_st>(X509_name_entry_st*)
Line
Count
Source
421
35
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
35
    DeleterImpl<T>::Free(ptr);
431
35
  }
Unexecuted instantiation: void bssl::internal::Deleter::operator()<X509_algor_st>(X509_algor_st*)
void bssl::internal::Deleter::operator()<asn1_type_st>(asn1_type_st*)
Line
Count
Source
421
525
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
525
    DeleterImpl<T>::Free(ptr);
431
525
  }
void bssl::internal::Deleter::operator()<bssl::X509NameEntry>(bssl::X509NameEntry*)
Line
Count
Source
421
1.28k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
1.28k
    DeleterImpl<T>::Free(ptr);
431
1.28k
  }
Unexecuted instantiation: void bssl::internal::Deleter::operator()<bssl::X509NameCache>(bssl::X509NameCache*)
Unexecuted instantiation: void bssl::internal::Deleter::operator()<X509_pubkey_st>(X509_pubkey_st*)
void bssl::internal::Deleter::operator()<AUTHORITY_KEYID_st>(AUTHORITY_KEYID_st*)
Line
Count
Source
421
120
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
120
    DeleterImpl<T>::Free(ptr);
431
120
  }
void bssl::internal::Deleter::operator()<stack_st_DIST_POINT>(stack_st_DIST_POINT*)
Line
Count
Source
421
2.78k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
2.78k
    DeleterImpl<T>::Free(ptr);
431
2.78k
  }
void bssl::internal::Deleter::operator()<stack_st_GENERAL_NAME>(stack_st_GENERAL_NAME*)
Line
Count
Source
421
138
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
138
    DeleterImpl<T>::Free(ptr);
431
138
  }
void bssl::internal::Deleter::operator()<NAME_CONSTRAINTS_st>(NAME_CONSTRAINTS_st*)
Line
Count
Source
421
387
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
387
    DeleterImpl<T>::Free(ptr);
431
387
  }
void bssl::internal::Deleter::operator()<bssl::X509Impl>(bssl::X509Impl*)
Line
Count
Source
421
16.3k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
16.3k
    DeleterImpl<T>::Free(ptr);
431
16.3k
  }
void bssl::internal::Deleter::operator()<asn1_string_st>(asn1_string_st*)
Line
Count
Source
421
19.4k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
19.4k
    DeleterImpl<T>::Free(ptr);
431
19.4k
  }
Unexecuted instantiation: void bssl::internal::Deleter::operator()<DSA_SIG_st>(DSA_SIG_st*)
Unexecuted instantiation: p_xwing.cc:void bssl::internal::Deleter::operator()<(anonymous namespace)::XWING_KEY>((anonymous namespace)::XWING_KEY*)
Unexecuted instantiation: void bssl::internal::Deleter::operator()<bssl::ByDirEntry>(bssl::ByDirEntry*)
void bssl::internal::Deleter::operator()<stack_st_POLICYINFO>(stack_st_POLICYINFO*)
Line
Count
Source
421
435
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
435
    DeleterImpl<T>::Free(ptr);
431
435
  }
Unexecuted instantiation: void bssl::internal::Deleter::operator()<stack_st_POLICY_MAPPING>(stack_st_POLICY_MAPPING*)
Unexecuted instantiation: void bssl::internal::Deleter::operator()<POLICY_MAPPING_st>(POLICY_MAPPING_st*)
Unexecuted instantiation: void bssl::internal::Deleter::operator()<POLICY_CONSTRAINTS_st>(POLICY_CONSTRAINTS_st*)
void bssl::internal::Deleter::operator()<POLICYQUALINFO_st>(POLICYQUALINFO_st*)
Line
Count
Source
421
211
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
211
    DeleterImpl<T>::Free(ptr);
431
211
  }
void bssl::internal::Deleter::operator()<POLICYINFO_st>(POLICYINFO_st*)
Line
Count
Source
421
321
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
321
    DeleterImpl<T>::Free(ptr);
431
321
  }
void bssl::internal::Deleter::operator()<stack_st_CONF_VALUE>(stack_st_CONF_VALUE*)
Line
Count
Source
421
64.9k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
64.9k
    DeleterImpl<T>::Free(ptr);
431
64.9k
  }
void bssl::internal::Deleter::operator()<DIST_POINT_st>(DIST_POINT_st*)
Line
Count
Source
421
165
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
165
    DeleterImpl<T>::Free(ptr);
431
165
  }
Unexecuted instantiation: void bssl::internal::Deleter::operator()<GENERAL_NAME_st>(GENERAL_NAME_st*)
void bssl::internal::Deleter::operator()<GENERAL_SUBTREE_st>(GENERAL_SUBTREE_st*)
Line
Count
Source
421
52
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
52
    DeleterImpl<T>::Free(ptr);
431
52
  }
Unexecuted instantiation: void bssl::internal::Deleter::operator()<stack_st_OPENSSL_STRING>(stack_st_OPENSSL_STRING*)
void bssl::internal::Deleter::operator()<stack_st_ACCESS_DESCRIPTION>(stack_st_ACCESS_DESCRIPTION*)
Line
Count
Source
421
44
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
44
    DeleterImpl<T>::Free(ptr);
431
44
  }
Unexecuted instantiation: void bssl::internal::Deleter::operator()<stack_st_X509_EXTENSION>(stack_st_X509_EXTENSION*)
void bssl::internal::Deleter::operator()<ACCESS_DESCRIPTION_st>(ACCESS_DESCRIPTION_st*)
Line
Count
Source
421
44
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
44
    DeleterImpl<T>::Free(ptr);
431
44
  }
void bssl::internal::Deleter::operator()<conf_st>(conf_st*)
Line
Count
Source
421
12.9k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
12.9k
    DeleterImpl<T>::Free(ptr);
431
12.9k
  }
void bssl::internal::Deleter::operator()<X509_extension_st>(X509_extension_st*)
Line
Count
Source
421
3.71k
  void operator()(T *ptr) {
422
    // Rather than specialize Deleter for each type, we specialize
423
    // DeleterImpl. This allows bssl::UniquePtr<T> to be used while only
424
    // including base.h as long as the destructor is not emitted. This matches
425
    // std::unique_ptr's behavior on forward-declared types.
426
    //
427
    // DeleterImpl itself is specialized in the corresponding module's header
428
    // and must be included to release an object. If not included, the compiler
429
    // will error that DeleterImpl<T> does not have a method Free.
430
3.71k
    DeleterImpl<T>::Free(ptr);
431
3.71k
  }
432
};
433
434
template <typename T>
435
struct StackAllocatedTraits {};
436
437
template <typename T, typename Traits = StackAllocatedTraits<T> >
438
class StackAllocated {
439
 public:
440
2.38M
  StackAllocated() { Traits::Init(&ctx_); }
bssl::internal::StackAllocated<cbb_st, bssl::internal::StackAllocatedTraits<cbb_st> >::StackAllocated()
Line
Count
Source
440
1.32M
  StackAllocated() { Traits::Init(&ctx_); }
bssl::internal::StackAllocated<evp_cipher_ctx_st, bssl::internal::StackAllocatedTraits<evp_cipher_ctx_st> >::StackAllocated()
Line
Count
Source
440
1.66k
  StackAllocated() { Traits::Init(&ctx_); }
bssl::internal::StackAllocated<hmac_ctx_st, bssl::internal::StackAllocatedTraits<hmac_ctx_st> >::StackAllocated()
Line
Count
Source
440
1.65k
  StackAllocated() { Traits::Init(&ctx_); }
bssl::internal::StackAllocated<evp_hpke_ctx_st, bssl::internal::StackAllocatedTraits<evp_hpke_ctx_st> >::StackAllocated()
Line
Count
Source
440
97.2k
  StackAllocated() { Traits::Init(&ctx_); }
bssl::internal::StackAllocated<evp_aead_ctx_st, bssl::internal::StackAllocatedTraits<evp_aead_ctx_st> >::StackAllocated()
Line
Count
Source
440
251k
  StackAllocated() { Traits::Init(&ctx_); }
bssl::internal::StackAllocated<X509_algor_st, bssl::internal::StackAllocatedTraits<X509_algor_st> >::StackAllocated()
Line
Count
Source
440
707k
  StackAllocated() { Traits::Init(&ctx_); }
441
2.38M
  ~StackAllocated() { Traits::Cleanup(&ctx_); }
bssl::internal::StackAllocated<cbb_st, bssl::internal::StackAllocatedTraits<cbb_st> >::~StackAllocated()
Line
Count
Source
441
1.32M
  ~StackAllocated() { Traits::Cleanup(&ctx_); }
bssl::internal::StackAllocated<hmac_ctx_st, bssl::internal::StackAllocatedTraits<hmac_ctx_st> >::~StackAllocated()
Line
Count
Source
441
1.65k
  ~StackAllocated() { Traits::Cleanup(&ctx_); }
bssl::internal::StackAllocated<evp_cipher_ctx_st, bssl::internal::StackAllocatedTraits<evp_cipher_ctx_st> >::~StackAllocated()
Line
Count
Source
441
1.66k
  ~StackAllocated() { Traits::Cleanup(&ctx_); }
bssl::internal::StackAllocated<evp_hpke_ctx_st, bssl::internal::StackAllocatedTraits<evp_hpke_ctx_st> >::~StackAllocated()
Line
Count
Source
441
97.2k
  ~StackAllocated() { Traits::Cleanup(&ctx_); }
bssl::internal::StackAllocated<evp_aead_ctx_st, bssl::internal::StackAllocatedTraits<evp_aead_ctx_st> >::~StackAllocated()
Line
Count
Source
441
251k
  ~StackAllocated() { Traits::Cleanup(&ctx_); }
bssl::internal::StackAllocated<X509_algor_st, bssl::internal::StackAllocatedTraits<X509_algor_st> >::~StackAllocated()
Line
Count
Source
441
707k
  ~StackAllocated() { Traits::Cleanup(&ctx_); }
442
443
  StackAllocated(const StackAllocated &) = delete;
444
  StackAllocated &operator=(const StackAllocated &) = delete;
445
446
13.6M
  T *get() { return &ctx_; }
bssl::internal::StackAllocated<cbb_st, bssl::internal::StackAllocatedTraits<cbb_st> >::get()
Line
Count
Source
446
12.8M
  T *get() { return &ctx_; }
bssl::internal::StackAllocated<evp_hpke_ctx_st, bssl::internal::StackAllocatedTraits<evp_hpke_ctx_st> >::get()
Line
Count
Source
446
533
  T *get() { return &ctx_; }
bssl::internal::StackAllocated<evp_cipher_ctx_st, bssl::internal::StackAllocatedTraits<evp_cipher_ctx_st> >::get()
Line
Count
Source
446
3.41k
  T *get() { return &ctx_; }
bssl::internal::StackAllocated<hmac_ctx_st, bssl::internal::StackAllocatedTraits<hmac_ctx_st> >::get()
Line
Count
Source
446
16.8k
  T *get() { return &ctx_; }
bssl::internal::StackAllocated<evp_aead_ctx_st, bssl::internal::StackAllocatedTraits<evp_aead_ctx_st> >::get()
Line
Count
Source
446
143k
  T *get() { return &ctx_; }
bssl::internal::StackAllocated<X509_algor_st, bssl::internal::StackAllocatedTraits<X509_algor_st> >::get()
Line
Count
Source
446
613k
  T *get() { return &ctx_; }
447
260k
  const T *get() const { return &ctx_; }
bssl::internal::StackAllocated<evp_aead_ctx_st, bssl::internal::StackAllocatedTraits<evp_aead_ctx_st> >::get() const
Line
Count
Source
447
20.6k
  const T *get() const { return &ctx_; }
bssl::internal::StackAllocated<X509_algor_st, bssl::internal::StackAllocatedTraits<X509_algor_st> >::get() const
Line
Count
Source
447
239k
  const T *get() const { return &ctx_; }
448
449
0
  T *operator->() { return &ctx_; }
450
2.88k
  const T *operator->() const { return &ctx_; }
451
452
422
  void Reset() {
453
422
    Traits::Cleanup(&ctx_);
454
422
    Traits::Init(&ctx_);
455
422
  }
456
457
 private:
458
  T ctx_;
459
};
460
461
template <typename T>
462
struct StackAllocatedMovableTraits {};
463
464
template <typename T, typename Traits = StackAllocatedMovableTraits<T> >
465
class StackAllocatedMovable {
466
 public:
467
522k
  StackAllocatedMovable() { Traits::Init(&ctx_); }
bssl::internal::StackAllocatedMovable<evp_hpke_key_st, bssl::internal::StackAllocatedMovableTraits<evp_hpke_key_st> >::StackAllocatedMovable()
Line
Count
Source
467
26.4k
  StackAllocatedMovable() { Traits::Init(&ctx_); }
bssl::internal::StackAllocatedMovable<env_md_ctx_st, bssl::internal::StackAllocatedMovableTraits<env_md_ctx_st> >::StackAllocatedMovable()
Line
Count
Source
467
496k
  StackAllocatedMovable() { Traits::Init(&ctx_); }
468
522k
  ~StackAllocatedMovable() { Traits::Cleanup(&ctx_); }
bssl::internal::StackAllocatedMovable<evp_hpke_key_st, bssl::internal::StackAllocatedMovableTraits<evp_hpke_key_st> >::~StackAllocatedMovable()
Line
Count
Source
468
26.4k
  ~StackAllocatedMovable() { Traits::Cleanup(&ctx_); }
bssl::internal::StackAllocatedMovable<env_md_ctx_st, bssl::internal::StackAllocatedMovableTraits<env_md_ctx_st> >::~StackAllocatedMovable()
Line
Count
Source
468
496k
  ~StackAllocatedMovable() { Traits::Cleanup(&ctx_); }
469
470
  StackAllocatedMovable(StackAllocatedMovable &&other) {
471
    Traits::Init(&ctx_);
472
    Traits::Move(&ctx_, &other.ctx_);
473
  }
474
0
  StackAllocatedMovable &operator=(StackAllocatedMovable &&other) {
475
0
    Traits::Move(&ctx_, &other.ctx_);
476
0
    return *this;
477
0
  }
478
479
1.98M
  T *get() { return &ctx_; }
bssl::internal::StackAllocatedMovable<evp_hpke_key_st, bssl::internal::StackAllocatedMovableTraits<evp_hpke_key_st> >::get()
Line
Count
Source
479
26.4k
  T *get() { return &ctx_; }
bssl::internal::StackAllocatedMovable<env_md_ctx_st, bssl::internal::StackAllocatedMovableTraits<env_md_ctx_st> >::get()
Line
Count
Source
479
1.95M
  T *get() { return &ctx_; }
480
542k
  const T *get() const { return &ctx_; }
bssl::internal::StackAllocatedMovable<evp_hpke_key_st, bssl::internal::StackAllocatedMovableTraits<evp_hpke_key_st> >::get() const
Line
Count
Source
480
303
  const T *get() const { return &ctx_; }
bssl::internal::StackAllocatedMovable<env_md_ctx_st, bssl::internal::StackAllocatedMovableTraits<env_md_ctx_st> >::get() const
Line
Count
Source
480
542k
  const T *get() const { return &ctx_; }
481
482
0
  T *operator->() { return &ctx_; }
483
  const T *operator->() const { return &ctx_; }
484
485
98.4k
  void Reset() {
486
98.4k
    Traits::Cleanup(&ctx_);
487
98.4k
    Traits::Init(&ctx_);
488
98.4k
  }
489
490
 private:
491
  T ctx_;
492
};
493
494
}  // namespace internal
495
496
#define BORINGSSL_MAKE_DELETER(type, deleter)     \
497
  namespace internal {                            \
498
  template <>                                     \
499
  struct DeleterImpl<type> {                      \
500
5.81M
    static void Free(type *ptr) { deleter(ptr); } \
bssl::internal::DeleterImpl<ssl_ctx_st, void>::Free(ssl_ctx_st*)
Line
Count
Source
500
4.97k
    static void Free(type *ptr) { deleter(ptr); } \
bssl::internal::DeleterImpl<evp_pkey_st, void>::Free(evp_pkey_st*)
Line
Count
Source
500
338k
    static void Free(type *ptr) { deleter(ptr); } \
bssl::internal::DeleterImpl<unsigned char, void>::Free(unsigned char*)
Line
Count
Source
500
1.52k
    static void Free(type *ptr) { deleter(ptr); } \
bssl::internal::DeleterImpl<ssl_ech_keys_st, void>::Free(ssl_ech_keys_st*)
Line
Count
Source
500
14.9k
    static void Free(type *ptr) { deleter(ptr); } \
bssl::internal::DeleterImpl<x509_st, void>::Free(x509_st*)
Line
Count
Source
500
28.7k
    static void Free(type *ptr) { deleter(ptr); } \
bssl::internal::DeleterImpl<ssl_session_st, void>::Free(ssl_session_st*)
Line
Count
Source
500
126k
    static void Free(type *ptr) { deleter(ptr); } \
bssl::internal::DeleterImpl<bio_st, void>::Free(bio_st*)
Line
Count
Source
500
73.8k
    static void Free(type *ptr) { deleter(ptr); } \
bssl::internal::DeleterImpl<ssl_st, void>::Free(ssl_st*)
Line
Count
Source
500
58.8k
    static void Free(type *ptr) { deleter(ptr); } \
bssl::internal::DeleterImpl<buf_mem_st, void>::Free(buf_mem_st*)
Line
Count
Source
500
383k
    static void Free(type *ptr) { deleter(ptr); } \
Unexecuted instantiation: bssl::internal::DeleterImpl<bio_method_st, void>::Free(bio_method_st*)
bssl::internal::DeleterImpl<char, void>::Free(char*)
Line
Count
Source
500
27.8k
    static void Free(type *ptr) { deleter(ptr); } \
Unexecuted instantiation: bssl::internal::DeleterImpl<evp_aead_ctx_st, void>::Free(evp_aead_ctx_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<evp_cipher_ctx_st, void>::Free(evp_cipher_ctx_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<env_md_ctx_st, void>::Free(env_md_ctx_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<evp_pkey_ctx_st, void>::Free(evp_pkey_ctx_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<cpace_ctx_st, void>::Free(cpace_ctx_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<spake2_ctx_st, void>::Free(spake2_ctx_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<evp_hpke_ctx_st, void>::Free(evp_hpke_ctx_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<evp_hpke_key_st, void>::Free(evp_hpke_key_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<PKCS7, void>::Free(PKCS7*)
bssl::internal::DeleterImpl<bignum_st, void>::Free(bignum_st*)
Line
Count
Source
500
614k
    static void Free(type *ptr) { deleter(ptr); } \
bssl::internal::DeleterImpl<bignum_ctx, void>::Free(bignum_ctx*)
Line
Count
Source
500
66.5k
    static void Free(type *ptr) { deleter(ptr); } \
bssl::internal::DeleterImpl<bn_mont_ctx_st, void>::Free(bn_mont_ctx_st*)
Line
Count
Source
500
24.3k
    static void Free(type *ptr) { deleter(ptr); } \
bssl::internal::DeleterImpl<asn1_object_st, void>::Free(asn1_object_st*)
Line
Count
Source
500
1.99M
    static void Free(type *ptr) { deleter(ptr); } \
bssl::internal::DeleterImpl<asn1_string_st, void>::Free(asn1_string_st*)
Line
Count
Source
500
19.4k
    static void Free(type *ptr) { deleter(ptr); } \
bssl::internal::DeleterImpl<asn1_type_st, void>::Free(asn1_type_st*)
Line
Count
Source
500
525
    static void Free(type *ptr) { deleter(ptr); } \
Unexecuted instantiation: bssl::internal::DeleterImpl<dh_st, void>::Free(dh_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<dsa_st, void>::Free(dsa_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<DSA_SIG_st, void>::Free(DSA_SIG_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<engine_st, void>::Free(engine_st*)
bssl::internal::DeleterImpl<ec_key_st, void>::Free(ec_key_st*)
Line
Count
Source
500
16.0k
    static void Free(type *ptr) { deleter(ptr); } \
bssl::internal::DeleterImpl<ec_point_st, void>::Free(ec_point_st*)
Line
Count
Source
500
99.5k
    static void Free(type *ptr) { deleter(ptr); } \
Unexecuted instantiation: bssl::internal::DeleterImpl<ec_group_st, void>::Free(ec_group_st*)
bssl::internal::DeleterImpl<ecdsa_sig_st, void>::Free(ecdsa_sig_st*)
Line
Count
Source
500
16.7k
    static void Free(type *ptr) { deleter(ptr); } \
Unexecuted instantiation: bssl::internal::DeleterImpl<crypto_buffer_pool_st, void>::Free(crypto_buffer_pool_st*)
bssl::internal::DeleterImpl<crypto_buffer_st, void>::Free(crypto_buffer_st*)
Line
Count
Source
500
775k
    static void Free(type *ptr) { deleter(ptr); } \
Unexecuted instantiation: bssl::internal::DeleterImpl<rsa_st, void>::Free(rsa_st*)
bssl::internal::DeleterImpl<ACCESS_DESCRIPTION_st, void>::Free(ACCESS_DESCRIPTION_st*)
Line
Count
Source
500
314
    static void Free(type *ptr) { deleter(ptr); } \
bssl::internal::DeleterImpl<AUTHORITY_KEYID_st, void>::Free(AUTHORITY_KEYID_st*)
Line
Count
Source
500
120
    static void Free(type *ptr) { deleter(ptr); } \
Unexecuted instantiation: bssl::internal::DeleterImpl<BASIC_CONSTRAINTS_st, void>::Free(BASIC_CONSTRAINTS_st*)
bssl::internal::DeleterImpl<conf_value_st, void>::Free(conf_value_st*)
Line
Count
Source
500
76.8k
    static void Free(type *ptr) { deleter(ptr); } \
bssl::internal::DeleterImpl<DIST_POINT_st, void>::Free(DIST_POINT_st*)
Line
Count
Source
500
7.55k
    static void Free(type *ptr) { deleter(ptr); } \
Unexecuted instantiation: bssl::internal::DeleterImpl<DIST_POINT_NAME_st, void>::Free(DIST_POINT_NAME_st*)
bssl::internal::DeleterImpl<GENERAL_NAME_st, void>::Free(GENERAL_NAME_st*)
Line
Count
Source
500
12.9k
    static void Free(type *ptr) { deleter(ptr); } \
bssl::internal::DeleterImpl<GENERAL_SUBTREE_st, void>::Free(GENERAL_SUBTREE_st*)
Line
Count
Source
500
52
    static void Free(type *ptr) { deleter(ptr); } \
Unexecuted instantiation: bssl::internal::DeleterImpl<ISSUING_DIST_POINT_st, void>::Free(ISSUING_DIST_POINT_st*)
bssl::internal::DeleterImpl<NAME_CONSTRAINTS_st, void>::Free(NAME_CONSTRAINTS_st*)
Line
Count
Source
500
387
    static void Free(type *ptr) { deleter(ptr); } \
Unexecuted instantiation: bssl::internal::DeleterImpl<Netscape_spki_st, void>::Free(Netscape_spki_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<NOTICEREF_st, void>::Free(NOTICEREF_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<POLICY_CONSTRAINTS_st, void>::Free(POLICY_CONSTRAINTS_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<POLICY_MAPPING_st, void>::Free(POLICY_MAPPING_st*)
bssl::internal::DeleterImpl<POLICYINFO_st, void>::Free(POLICYINFO_st*)
Line
Count
Source
500
797
    static void Free(type *ptr) { deleter(ptr); } \
bssl::internal::DeleterImpl<POLICYQUALINFO_st, void>::Free(POLICYQUALINFO_st*)
Line
Count
Source
500
211
    static void Free(type *ptr) { deleter(ptr); } \
Unexecuted instantiation: bssl::internal::DeleterImpl<rsa_pss_params_st, void>::Free(rsa_pss_params_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<USERNOTICE_st, void>::Free(USERNOTICE_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<X509_algor_st, void>::Free(X509_algor_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<x509_attributes_st, void>::Free(x509_attributes_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<X509_crl_st, void>::Free(X509_crl_st*)
bssl::internal::DeleterImpl<X509_extension_st, void>::Free(X509_extension_st*)
Line
Count
Source
500
3.71k
    static void Free(type *ptr) { deleter(ptr); } \
Unexecuted instantiation: bssl::internal::DeleterImpl<X509_info_st, void>::Free(X509_info_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<x509_lookup_st, void>::Free(x509_lookup_st*)
bssl::internal::DeleterImpl<X509_name_st, void>::Free(X509_name_st*)
Line
Count
Source
500
3.75k
    static void Free(type *ptr) { deleter(ptr); } \
bssl::internal::DeleterImpl<X509_name_entry_st, void>::Free(X509_name_entry_st*)
Line
Count
Source
500
964k
    static void Free(type *ptr) { deleter(ptr); } \
Unexecuted instantiation: bssl::internal::DeleterImpl<x509_object_st, void>::Free(x509_object_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<X509_pubkey_st, void>::Free(X509_pubkey_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<X509_req_st, void>::Free(X509_req_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<x509_revoked_st, void>::Free(x509_revoked_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<X509_sig_st, void>::Free(X509_sig_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<x509_store_st, void>::Free(x509_store_st*)
bssl::internal::DeleterImpl<x509_store_ctx_st, void>::Free(x509_store_ctx_st*)
Line
Count
Source
500
7.85k
    static void Free(type *ptr) { deleter(ptr); } \
bssl::internal::DeleterImpl<X509_VERIFY_PARAM_st, void>::Free(X509_VERIFY_PARAM_st*)
Line
Count
Source
500
4.97k
    static void Free(type *ptr) { deleter(ptr); } \
Unexecuted instantiation: bssl::internal::DeleterImpl<ssl_credential_st, void>::Free(ssl_credential_st*)
bssl::internal::DeleterImpl<bssl::err_save_state_st, void>::Free(bssl::err_save_state_st*)
Line
Count
Source
500
30.3k
    static void Free(type *ptr) { deleter(ptr); } \
bssl::internal::DeleterImpl<std::__1::variant<bssl::SSLImportedPSK, std::__1::unique_ptr<bssl::SSLSession, bssl::internal::Deleter> >, void>::Free(std::__1::variant<bssl::SSLImportedPSK, std::__1::unique_ptr<bssl::SSLSession, bssl::internal::Deleter> >*)
Line
Count
Source
500
308
    static void Free(type *ptr) { deleter(ptr); } \
Unexecuted instantiation: bssl::internal::DeleterImpl<hmac_ctx_st, void>::Free(hmac_ctx_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<cmac_ctx_st, void>::Free(cmac_ctx_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<ctr_drbg_state_st, void>::Free(ctr_drbg_state_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<pkcs12_st, void>::Free(pkcs12_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<pkcs8_priv_key_info_st, void>::Free(pkcs8_priv_key_info_st*)
Unexecuted instantiation: bssl::internal::DeleterImpl<CMS_ContentInfo_st, void>::Free(CMS_ContentInfo_st*)
bssl::internal::DeleterImpl<conf_st, void>::Free(conf_st*)
Line
Count
Source
500
12.9k
    static void Free(type *ptr) { deleter(ptr); } \
501
  };                                              \
502
  }
503
504
#define BORINGSSL_MAKE_STACK_TRAITS(type, init_func, cleanup_func) \
505
  namespace internal {                                             \
506
  template <>                                                      \
507
  struct StackAllocatedTraits<type> {                              \
508
2.38M
    static void Init(type *ptr) { init_func(ptr); }                \
bssl::internal::StackAllocatedTraits<cbb_st>::Init(cbb_st*)
Line
Count
Source
508
1.32M
    static void Init(type *ptr) { init_func(ptr); }                \
bssl::internal::StackAllocatedTraits<evp_aead_ctx_st>::Init(evp_aead_ctx_st*)
Line
Count
Source
508
251k
    static void Init(type *ptr) { init_func(ptr); }                \
bssl::internal::StackAllocatedTraits<evp_cipher_ctx_st>::Init(evp_cipher_ctx_st*)
Line
Count
Source
508
1.66k
    static void Init(type *ptr) { init_func(ptr); }                \
bssl::internal::StackAllocatedTraits<evp_hpke_ctx_st>::Init(evp_hpke_ctx_st*)
Line
Count
Source
508
97.6k
    static void Init(type *ptr) { init_func(ptr); }                \
bssl::internal::StackAllocatedTraits<hmac_ctx_st>::Init(hmac_ctx_st*)
Line
Count
Source
508
1.65k
    static void Init(type *ptr) { init_func(ptr); }                \
bssl::internal::StackAllocatedTraits<X509_algor_st>::Init(X509_algor_st*)
Line
Count
Source
508
707k
    static void Init(type *ptr) { init_func(ptr); }                \
509
2.38M
    static void Cleanup(type *ptr) { cleanup_func(ptr); }          \
bssl::internal::StackAllocatedTraits<cbb_st>::Cleanup(cbb_st*)
Line
Count
Source
509
1.32M
    static void Cleanup(type *ptr) { cleanup_func(ptr); }          \
bssl::internal::StackAllocatedTraits<evp_aead_ctx_st>::Cleanup(evp_aead_ctx_st*)
Line
Count
Source
509
251k
    static void Cleanup(type *ptr) { cleanup_func(ptr); }          \
bssl::internal::StackAllocatedTraits<evp_cipher_ctx_st>::Cleanup(evp_cipher_ctx_st*)
Line
Count
Source
509
1.66k
    static void Cleanup(type *ptr) { cleanup_func(ptr); }          \
bssl::internal::StackAllocatedTraits<evp_hpke_ctx_st>::Cleanup(evp_hpke_ctx_st*)
Line
Count
Source
509
97.6k
    static void Cleanup(type *ptr) { cleanup_func(ptr); }          \
bssl::internal::StackAllocatedTraits<hmac_ctx_st>::Cleanup(hmac_ctx_st*)
Line
Count
Source
509
1.65k
    static void Cleanup(type *ptr) { cleanup_func(ptr); }          \
bssl::internal::StackAllocatedTraits<X509_algor_st>::Cleanup(X509_algor_st*)
Line
Count
Source
509
707k
    static void Cleanup(type *ptr) { cleanup_func(ptr); }          \
510
  };                                                               \
511
  }
512
513
#define BORINGSSL_MAKE_STACK_TRAITS_MOVABLE(type, init_func, cleanup_func, \
514
                                            move_func)                     \
515
  namespace internal {                                                     \
516
  template <>                                                              \
517
  struct StackAllocatedMovableTraits<type> {                               \
518
621k
    static void Init(type *ptr) { init_func(ptr); }                        \
bssl::internal::StackAllocatedMovableTraits<evp_hpke_key_st>::Init(evp_hpke_key_st*)
Line
Count
Source
518
26.4k
    static void Init(type *ptr) { init_func(ptr); }                        \
bssl::internal::StackAllocatedMovableTraits<env_md_ctx_st>::Init(env_md_ctx_st*)
Line
Count
Source
518
594k
    static void Init(type *ptr) { init_func(ptr); }                        \
519
621k
    static void Cleanup(type *ptr) { cleanup_func(ptr); }                  \
bssl::internal::StackAllocatedMovableTraits<evp_hpke_key_st>::Cleanup(evp_hpke_key_st*)
Line
Count
Source
519
26.4k
    static void Cleanup(type *ptr) { cleanup_func(ptr); }                  \
bssl::internal::StackAllocatedMovableTraits<env_md_ctx_st>::Cleanup(env_md_ctx_st*)
Line
Count
Source
519
594k
    static void Cleanup(type *ptr) { cleanup_func(ptr); }                  \
520
0
    static void Move(type *out, type *in) { move_func(out, in); }          \
Unexecuted instantiation: bssl::internal::StackAllocatedMovableTraits<env_md_ctx_st>::Move(env_md_ctx_st*, env_md_ctx_st*)
Unexecuted instantiation: bssl::internal::StackAllocatedMovableTraits<evp_hpke_key_st>::Move(evp_hpke_key_st*, evp_hpke_key_st*)
521
  };                                                                       \
522
  }
523
524
// Holds ownership of heap-allocated BoringSSL structures. Sample usage:
525
//   bssl::UniquePtr<RSA> rsa(RSA_new());
526
//   bssl::UniquePtr<BIO> bio(BIO_new(BIO_s_mem()));
527
template <typename T>
528
using UniquePtr = std::unique_ptr<T, internal::Deleter>;
529
530
#define BORINGSSL_MAKE_UP_REF(type, dup_ref_func)            \
531
882k
  inline UniquePtr<type> UpRef(const type *v) {              \
532
882k
    return UniquePtr<type>(dup_ref_func(v));                 \
533
882k
  }                                                          \
Unexecuted instantiation: bssl::UpRef(bio_st const*)
bssl::UpRef(evp_pkey_st const*)
Line
Count
Source
531
184k
  inline UniquePtr<type> UpRef(const type *v) {              \
532
184k
    return UniquePtr<type>(dup_ref_func(v));                 \
533
184k
  }                                                          \
Unexecuted instantiation: bssl::UpRef(dh_st const*)
Unexecuted instantiation: bssl::UpRef(dsa_st const*)
Unexecuted instantiation: bssl::UpRef(ec_key_st const*)
Unexecuted instantiation: bssl::UpRef(crypto_buffer_pool_st const*)
bssl::UpRef(crypto_buffer_st const*)
Line
Count
Source
531
514k
  inline UniquePtr<type> UpRef(const type *v) {              \
532
514k
    return UniquePtr<type>(dup_ref_func(v));                 \
533
514k
  }                                                          \
Unexecuted instantiation: bssl::UpRef(rsa_st const*)
bssl::UpRef(x509_st const*)
Line
Count
Source
531
182k
  inline UniquePtr<type> UpRef(const type *v) {              \
532
182k
    return UniquePtr<type>(dup_ref_func(v));                 \
533
182k
  }                                                          \
Unexecuted instantiation: bssl::UpRef(X509_crl_st const*)
Unexecuted instantiation: bssl::UpRef(x509_store_st const*)
Unexecuted instantiation: bssl::UpRef(ssl_credential_st const*)
Unexecuted instantiation: bssl::UpRef(ssl_ctx_st const*)
Unexecuted instantiation: bssl::UpRef(ssl_ech_keys_st const*)
Unexecuted instantiation: bssl::UpRef(ssl_session_st const*)
534
                                                             \
535
600k
  inline UniquePtr<type> UpRef(const UniquePtr<type> &ptr) { \
536
600k
    return UpRef(ptr.get());                                 \
537
600k
  }
Unexecuted instantiation: bssl::UpRef(std::__1::unique_ptr<bio_st, bssl::internal::Deleter> const&)
bssl::UpRef(std::__1::unique_ptr<evp_pkey_st, bssl::internal::Deleter> const&)
Line
Count
Source
535
176k
  inline UniquePtr<type> UpRef(const UniquePtr<type> &ptr) { \
536
176k
    return UpRef(ptr.get());                                 \
537
176k
  }
Unexecuted instantiation: bssl::UpRef(std::__1::unique_ptr<dh_st, bssl::internal::Deleter> const&)
Unexecuted instantiation: bssl::UpRef(std::__1::unique_ptr<dsa_st, bssl::internal::Deleter> const&)
Unexecuted instantiation: bssl::UpRef(std::__1::unique_ptr<ec_key_st, bssl::internal::Deleter> const&)
Unexecuted instantiation: bssl::UpRef(std::__1::unique_ptr<crypto_buffer_pool_st, bssl::internal::Deleter> const&)
bssl::UpRef(std::__1::unique_ptr<crypto_buffer_st, bssl::internal::Deleter> const&)
Line
Count
Source
535
289k
  inline UniquePtr<type> UpRef(const UniquePtr<type> &ptr) { \
536
289k
    return UpRef(ptr.get());                                 \
537
289k
  }
Unexecuted instantiation: bssl::UpRef(std::__1::unique_ptr<rsa_st, bssl::internal::Deleter> const&)
bssl::UpRef(std::__1::unique_ptr<x509_st, bssl::internal::Deleter> const&)
Line
Count
Source
535
134k
  inline UniquePtr<type> UpRef(const UniquePtr<type> &ptr) { \
536
134k
    return UpRef(ptr.get());                                 \
537
134k
  }
Unexecuted instantiation: bssl::UpRef(std::__1::unique_ptr<X509_crl_st, bssl::internal::Deleter> const&)
Unexecuted instantiation: bssl::UpRef(std::__1::unique_ptr<x509_store_st, bssl::internal::Deleter> const&)
Unexecuted instantiation: bssl::UpRef(std::__1::unique_ptr<ssl_credential_st, bssl::internal::Deleter> const&)
Unexecuted instantiation: bssl::UpRef(std::__1::unique_ptr<ssl_ctx_st, bssl::internal::Deleter> const&)
Unexecuted instantiation: bssl::UpRef(std::__1::unique_ptr<ssl_ech_keys_st, bssl::internal::Deleter> const&)
Unexecuted instantiation: bssl::UpRef(std::__1::unique_ptr<ssl_session_st, bssl::internal::Deleter> const&)
538
539
BSSL_NAMESPACE_END
540
541
}  // extern C++
542
543
#endif  // !BORINGSSL_NO_CXX
544
545
#endif  // OPENSSL_HEADER_BASE_H