Home
last modified time | relevance | path

Searched refs:packed_error (Results 1 – 25 of 25) sorted by relevance

/external/rust/android-crates-io/crates/quiche/deps/boringssl/src/crypto/err/
Derr_test.cc65 uint32_t packed_error = ERR_get_error_line_data(&file, &line, &data, &flags); in TEST() local
67 EXPECT_EQ(peeked_packed_error, packed_error); in TEST()
75 EXPECT_EQ(1, ERR_GET_LIB(packed_error)); in TEST()
76 EXPECT_EQ(2, ERR_GET_REASON(packed_error)); in TEST()
94 uint32_t packed_error = ERR_get_error(); in TEST() local
98 ERR_error_string_n(packed_error, buf, i); in TEST()
153 uint32_t packed_error = ERR_get_error_line_data(&file, &line, &data, &flags); in TEST() local
154 EXPECT_EQ(ERR_GET_LIB(packed_error), 1); in TEST()
155 EXPECT_EQ(ERR_GET_REASON(packed_error), 1); in TEST()
166 packed_error = ERR_get_error_line_data(&file, &line, &data, &flags); in TEST()
[all …]
Derr.c455 static const char *err_lib_error_string(uint32_t packed_error) { in err_lib_error_string() argument
456 const uint32_t lib = ERR_GET_LIB(packed_error); in err_lib_error_string()
464 const char *ERR_lib_error_string(uint32_t packed_error) { in ERR_lib_error_string() argument
465 const char *ret = err_lib_error_string(packed_error); in ERR_lib_error_string()
469 const char *ERR_func_error_string(uint32_t packed_error) { in ERR_func_error_string() argument
473 static const char *err_reason_error_string(uint32_t packed_error) { in err_reason_error_string() argument
474 const uint32_t lib = ERR_GET_LIB(packed_error); in err_reason_error_string()
475 const uint32_t reason = ERR_GET_REASON(packed_error); in err_reason_error_string()
509 const char *ERR_reason_error_string(uint32_t packed_error) { in ERR_reason_error_string() argument
510 const char *ret = err_reason_error_string(packed_error); in ERR_reason_error_string()
[all …]
/external/boringssl/src/crypto/err/
Derr_test.cc67 uint32_t packed_error = ERR_get_error_line_data(&file, &line, &data, &flags); in TEST() local
69 EXPECT_EQ(peeked_packed_error, packed_error); in TEST()
77 EXPECT_EQ(1, ERR_GET_LIB(packed_error)); in TEST()
78 EXPECT_EQ(2, ERR_GET_REASON(packed_error)); in TEST()
83 packed_error = ERR_get_error_line_data(&file, &line, &data, &flags); in TEST()
89 packed_error = ERR_get_error_line_data(&file, &line, &data, &flags); in TEST()
107 uint32_t packed_error = ERR_get_error(); in TEST() local
111 ERR_error_string_n(packed_error, buf, i); in TEST()
166 uint32_t packed_error = ERR_get_error_line_data(&file, &line, &data, &flags); in TEST() local
167 EXPECT_EQ(ERR_GET_LIB(packed_error), 1); in TEST()
[all …]
Derr.cc382 static const char *err_lib_error_string(uint32_t packed_error) { in err_lib_error_string() argument
383 const uint32_t lib = ERR_GET_LIB(packed_error); in err_lib_error_string()
387 const char *ERR_lib_error_string(uint32_t packed_error) { in ERR_lib_error_string() argument
388 const char *ret = err_lib_error_string(packed_error); in ERR_lib_error_string()
392 const char *ERR_lib_symbol_name(uint32_t packed_error) { in ERR_lib_symbol_name() argument
393 const uint32_t lib = ERR_GET_LIB(packed_error); in ERR_lib_symbol_name()
397 const char *ERR_func_error_string(uint32_t packed_error) { in ERR_func_error_string() argument
401 static const char *err_reason_error_string(uint32_t packed_error, int symbol) { in err_reason_error_string() argument
402 const uint32_t lib = ERR_GET_LIB(packed_error); in err_reason_error_string()
403 const uint32_t reason = ERR_GET_REASON(packed_error); in err_reason_error_string()
[all …]
/external/cronet/stable/third_party/boringssl/src/crypto/err/
Derr_test.cc67 uint32_t packed_error = ERR_get_error_line_data(&file, &line, &data, &flags); in TEST() local
69 EXPECT_EQ(peeked_packed_error, packed_error); in TEST()
77 EXPECT_EQ(1, ERR_GET_LIB(packed_error)); in TEST()
78 EXPECT_EQ(2, ERR_GET_REASON(packed_error)); in TEST()
83 packed_error = ERR_get_error_line_data(&file, &line, &data, &flags); in TEST()
89 packed_error = ERR_get_error_line_data(&file, &line, &data, &flags); in TEST()
107 uint32_t packed_error = ERR_get_error(); in TEST() local
111 ERR_error_string_n(packed_error, buf, i); in TEST()
166 uint32_t packed_error = ERR_get_error_line_data(&file, &line, &data, &flags); in TEST() local
167 EXPECT_EQ(ERR_GET_LIB(packed_error), 1); in TEST()
[all …]
Derr.cc477 static const char *err_lib_error_string(uint32_t packed_error) { in err_lib_error_string() argument
478 const uint32_t lib = ERR_GET_LIB(packed_error); in err_lib_error_string()
482 const char *ERR_lib_error_string(uint32_t packed_error) { in ERR_lib_error_string() argument
483 const char *ret = err_lib_error_string(packed_error); in ERR_lib_error_string()
487 const char *ERR_lib_symbol_name(uint32_t packed_error) { in ERR_lib_symbol_name() argument
488 const uint32_t lib = ERR_GET_LIB(packed_error); in ERR_lib_symbol_name()
492 const char *ERR_func_error_string(uint32_t packed_error) { in ERR_func_error_string() argument
496 static const char *err_reason_error_string(uint32_t packed_error, int symbol) { in err_reason_error_string() argument
497 const uint32_t lib = ERR_GET_LIB(packed_error); in err_reason_error_string()
498 const uint32_t reason = ERR_GET_REASON(packed_error); in err_reason_error_string()
[all …]
/external/cronet/tot/third_party/boringssl/src/crypto/err/
Derr_test.cc67 uint32_t packed_error = ERR_get_error_line_data(&file, &line, &data, &flags); in TEST() local
69 EXPECT_EQ(peeked_packed_error, packed_error); in TEST()
77 EXPECT_EQ(1, ERR_GET_LIB(packed_error)); in TEST()
78 EXPECT_EQ(2, ERR_GET_REASON(packed_error)); in TEST()
83 packed_error = ERR_get_error_line_data(&file, &line, &data, &flags); in TEST()
89 packed_error = ERR_get_error_line_data(&file, &line, &data, &flags); in TEST()
107 uint32_t packed_error = ERR_get_error(); in TEST() local
111 ERR_error_string_n(packed_error, buf, i); in TEST()
166 uint32_t packed_error = ERR_get_error_line_data(&file, &line, &data, &flags); in TEST() local
167 EXPECT_EQ(ERR_GET_LIB(packed_error), 1); in TEST()
[all …]
Derr.cc477 static const char *err_lib_error_string(uint32_t packed_error) { in err_lib_error_string() argument
478 const uint32_t lib = ERR_GET_LIB(packed_error); in err_lib_error_string()
482 const char *ERR_lib_error_string(uint32_t packed_error) { in ERR_lib_error_string() argument
483 const char *ret = err_lib_error_string(packed_error); in ERR_lib_error_string()
487 const char *ERR_lib_symbol_name(uint32_t packed_error) { in ERR_lib_symbol_name() argument
488 const uint32_t lib = ERR_GET_LIB(packed_error); in ERR_lib_symbol_name()
492 const char *ERR_func_error_string(uint32_t packed_error) { in ERR_func_error_string() argument
496 static const char *err_reason_error_string(uint32_t packed_error, int symbol) { in err_reason_error_string() argument
497 const uint32_t lib = ERR_GET_LIB(packed_error); in err_reason_error_string()
498 const uint32_t reason = ERR_GET_REASON(packed_error); in err_reason_error_string()
[all …]
/external/boringssl/src/include/openssl/
Derr.h67 OPENSSL_INLINE int ERR_GET_LIB(uint32_t packed_error) { in ERR_GET_LIB() argument
68 return (int)((packed_error >> 24) & 0xff); in ERR_GET_LIB()
74 OPENSSL_INLINE int ERR_GET_REASON(uint32_t packed_error) { in ERR_GET_REASON() argument
75 return (int)(packed_error & 0xfff); in ERR_GET_REASON()
136 OPENSSL_EXPORT char *ERR_error_string_n(uint32_t packed_error, char *buf,
142 OPENSSL_EXPORT const char *ERR_lib_error_string(uint32_t packed_error);
146 OPENSSL_EXPORT const char *ERR_reason_error_string(uint32_t packed_error);
151 OPENSSL_EXPORT const char *ERR_lib_symbol_name(uint32_t packed_error);
159 OPENSSL_EXPORT const char *ERR_reason_symbol_name(uint32_t packed_error);
319 OPENSSL_EXPORT const char *ERR_func_error_string(uint32_t packed_error);
[all …]
/external/cronet/stable/third_party/boringssl/src/include/openssl/
Derr.h166 OPENSSL_INLINE int ERR_GET_LIB(uint32_t packed_error) { in ERR_GET_LIB() argument
167 return (int)((packed_error >> 24) & 0xff); in ERR_GET_LIB()
173 OPENSSL_INLINE int ERR_GET_REASON(uint32_t packed_error) { in ERR_GET_REASON() argument
174 return (int)(packed_error & 0xfff); in ERR_GET_REASON()
235 OPENSSL_EXPORT char *ERR_error_string_n(uint32_t packed_error, char *buf,
241 OPENSSL_EXPORT const char *ERR_lib_error_string(uint32_t packed_error);
245 OPENSSL_EXPORT const char *ERR_reason_error_string(uint32_t packed_error);
250 OPENSSL_EXPORT const char *ERR_lib_symbol_name(uint32_t packed_error);
258 OPENSSL_EXPORT const char *ERR_reason_symbol_name(uint32_t packed_error);
418 OPENSSL_EXPORT const char *ERR_func_error_string(uint32_t packed_error);
[all …]
/external/cronet/tot/third_party/boringssl/src/include/openssl/
Derr.h166 OPENSSL_INLINE int ERR_GET_LIB(uint32_t packed_error) { in ERR_GET_LIB() argument
167 return (int)((packed_error >> 24) & 0xff); in ERR_GET_LIB()
173 OPENSSL_INLINE int ERR_GET_REASON(uint32_t packed_error) { in ERR_GET_REASON() argument
174 return (int)(packed_error & 0xfff); in ERR_GET_REASON()
235 OPENSSL_EXPORT char *ERR_error_string_n(uint32_t packed_error, char *buf,
241 OPENSSL_EXPORT const char *ERR_lib_error_string(uint32_t packed_error);
245 OPENSSL_EXPORT const char *ERR_reason_error_string(uint32_t packed_error);
250 OPENSSL_EXPORT const char *ERR_lib_symbol_name(uint32_t packed_error);
258 OPENSSL_EXPORT const char *ERR_reason_symbol_name(uint32_t packed_error);
418 OPENSSL_EXPORT const char *ERR_func_error_string(uint32_t packed_error);
[all …]
/external/cronet/stable/third_party/boringssl/src/rust/bssl-sys/
Drust_wrapper.c18 int ERR_GET_LIB_RUST(uint32_t packed_error) { in ERR_GET_LIB_RUST() argument
19 return ERR_GET_LIB(packed_error); in ERR_GET_LIB_RUST()
22 int ERR_GET_REASON_RUST(uint32_t packed_error) { in ERR_GET_REASON_RUST() argument
23 return ERR_GET_REASON(packed_error); in ERR_GET_REASON_RUST()
26 int ERR_GET_FUNC_RUST(uint32_t packed_error) { in ERR_GET_FUNC_RUST() argument
27 return ERR_GET_FUNC(packed_error); in ERR_GET_FUNC_RUST()
Drust_wrapper.h31 int ERR_GET_LIB_RUST(uint32_t packed_error);
32 int ERR_GET_REASON_RUST(uint32_t packed_error);
33 int ERR_GET_FUNC_RUST(uint32_t packed_error);
/external/cronet/tot/third_party/boringssl/src/rust/bssl-sys/
Drust_wrapper.c18 int ERR_GET_LIB_RUST(uint32_t packed_error) { in ERR_GET_LIB_RUST() argument
19 return ERR_GET_LIB(packed_error); in ERR_GET_LIB_RUST()
22 int ERR_GET_REASON_RUST(uint32_t packed_error) { in ERR_GET_REASON_RUST() argument
23 return ERR_GET_REASON(packed_error); in ERR_GET_REASON_RUST()
26 int ERR_GET_FUNC_RUST(uint32_t packed_error) { in ERR_GET_FUNC_RUST() argument
27 return ERR_GET_FUNC(packed_error); in ERR_GET_FUNC_RUST()
Drust_wrapper.h31 int ERR_GET_LIB_RUST(uint32_t packed_error);
32 int ERR_GET_REASON_RUST(uint32_t packed_error);
33 int ERR_GET_FUNC_RUST(uint32_t packed_error);
/external/boringssl/src/rust/bssl-sys/
Drust_wrapper.c18 int ERR_GET_LIB_RUST(uint32_t packed_error) { in ERR_GET_LIB_RUST() argument
19 return ERR_GET_LIB(packed_error); in ERR_GET_LIB_RUST()
22 int ERR_GET_REASON_RUST(uint32_t packed_error) { in ERR_GET_REASON_RUST() argument
23 return ERR_GET_REASON(packed_error); in ERR_GET_REASON_RUST()
26 int ERR_GET_FUNC_RUST(uint32_t packed_error) { in ERR_GET_FUNC_RUST() argument
27 return ERR_GET_FUNC(packed_error); in ERR_GET_FUNC_RUST()
Drust_wrapper.h31 int ERR_GET_LIB_RUST(uint32_t packed_error);
32 int ERR_GET_REASON_RUST(uint32_t packed_error);
33 int ERR_GET_FUNC_RUST(uint32_t packed_error);
/external/rust/android-crates-io/crates/quiche/deps/boringssl/src/include/openssl/
Derr.h166 #define ERR_GET_LIB(packed_error) ((int)(((packed_error) >> 24) & 0xff)) argument
171 #define ERR_GET_REASON(packed_error) ((int)((packed_error) & 0xfff)) argument
222 OPENSSL_EXPORT char *ERR_error_string_n(uint32_t packed_error, char *buf,
228 OPENSSL_EXPORT const char *ERR_lib_error_string(uint32_t packed_error);
232 OPENSSL_EXPORT const char *ERR_reason_error_string(uint32_t packed_error);
392 OPENSSL_EXPORT const char *ERR_func_error_string(uint32_t packed_error);
405 OPENSSL_EXPORT char *ERR_error_string(uint32_t packed_error, char *buf);
409 #define ERR_GET_FUNC(packed_error) 0 argument
/external/cronet/stable/net/third_party/quiche/src/quiche/quic/tools/
Dquic_reject_reason_decoder_bin.cc33 uint32_t packed_error = 0; in main() local
34 if (!absl::SimpleAtoi(args[0], &packed_error)) { in main()
40 if ((packed_error & (1 << (i - 1))) == 0) { in main()
/external/cronet/tot/net/third_party/quiche/src/quiche/quic/tools/
Dquic_reject_reason_decoder_bin.cc33 uint32_t packed_error = 0; in main() local
34 if (!absl::SimpleAtoi(args[0], &packed_error)) { in main()
40 if ((packed_error & (1 << (i - 1))) == 0) { in main()
/external/openscreen/util/crypto/
Dopenssl_util.cc76 while (uint32_t packed_error = ERR_get_error()) { in GetSSLError() local
77 msg << "\nerr stack: " << ERR_reason_error_string(packed_error); in GetSSLError()
/external/cronet/stable/net/third_party/quiche/src/quiche/quic/core/crypto/
Dcrypto_utils.cc816 int packed_error = ERR_get_error_line_data(&file, &line, &data, &flags); in GetSSLErrorStack() local
817 if (packed_error != 0) { in GetSSLErrorStack()
819 while (packed_error != 0) { in GetSSLErrorStack()
820 ERR_error_string_n(packed_error, buffer, sizeof(buffer)); in GetSSLErrorStack()
826 packed_error = ERR_get_error_line_data(&file, &line, &data, &flags); in GetSSLErrorStack()
827 if (packed_error != 0) { in GetSSLErrorStack()
/external/cronet/tot/net/third_party/quiche/src/quiche/quic/core/crypto/
Dcrypto_utils.cc816 int packed_error = ERR_get_error_line_data(&file, &line, &data, &flags); in GetSSLErrorStack() local
817 if (packed_error != 0) { in GetSSLErrorStack()
819 while (packed_error != 0) { in GetSSLErrorStack()
820 ERR_error_string_n(packed_error, buffer, sizeof(buffer)); in GetSSLErrorStack()
826 packed_error = ERR_get_error_line_data(&file, &line, &data, &flags); in GetSSLErrorStack()
827 if (packed_error != 0) { in GetSSLErrorStack()
/external/cronet/tot/net/third_party/quiche/src/quiche/quic/core/
Dquic_crypto_client_handshaker.cc428 uint32_t packed_error = 0; in DoReceiveREJ() local
436 packed_error |= 1 << (reason - 1); in DoReceiveREJ()
438 QUIC_DVLOG(1) << "Reasons for rejection: " << packed_error; in DoReceiveREJ()
/external/cronet/stable/net/third_party/quiche/src/quiche/quic/core/
Dquic_crypto_client_handshaker.cc428 uint32_t packed_error = 0; in DoReceiveREJ() local
436 packed_error |= 1 << (reason - 1); in DoReceiveREJ()
438 QUIC_DVLOG(1) << "Reasons for rejection: " << packed_error; in DoReceiveREJ()