Searched refs:packed_error (Results 1 – 3 of 3) sorted by relevance
/external/boringssl/src/crypto/err/ |
D | err.c | 344 char *ERR_error_string(uint32_t packed_error, char *ret) { in ERR_error_string() argument 358 ERR_error_string_n(packed_error, ret, ERR_ERROR_STRING_BUF_LEN); in ERR_error_string() 363 void ERR_error_string_n(uint32_t packed_error, char *buf, size_t len) { in ERR_error_string_n() argument 372 lib = ERR_GET_LIB(packed_error); in ERR_error_string_n() 373 func = ERR_GET_FUNC(packed_error); in ERR_error_string_n() 374 reason = ERR_GET_REASON(packed_error); in ERR_error_string_n() 376 lib_str = ERR_lib_error_string(packed_error); in ERR_error_string_n() 377 func_str = ERR_func_error_string(packed_error); in ERR_error_string_n() 378 reason_str = ERR_reason_error_string(packed_error); in ERR_error_string_n() 396 packed_error, lib_str, func_str, reason_str); in ERR_error_string_n() [all …]
|
D | err_test.cc | 61 uint32_t packed_error = ERR_get_error_line_data(&file, &line, &data, &flags); in TestPutError() local 63 if (peeked_packed_error != packed_error || in TestPutError() 74 ERR_GET_LIB(packed_error) != 1 || in TestPutError() 75 ERR_GET_FUNC(packed_error) != 2 || in TestPutError() 76 ERR_GET_REASON(packed_error) != 3 || in TestPutError() 105 uint32_t packed_error = ERR_get_error(); in TestPrint() local 109 ERR_error_string_n(packed_error, buf, i); in TestPrint()
|
/external/boringssl/src/include/openssl/ |
D | err.h | 211 OPENSSL_EXPORT char *ERR_error_string(uint32_t packed_error, char *buf); 218 OPENSSL_EXPORT void ERR_error_string_n(uint32_t packed_error, char *buf, 223 OPENSSL_EXPORT const char *ERR_lib_error_string(uint32_t packed_error); 227 OPENSSL_EXPORT const char *ERR_func_error_string(uint32_t packed_error); 231 OPENSSL_EXPORT const char *ERR_reason_error_string(uint32_t packed_error); 486 #define ERR_GET_LIB(packed_error) ((int)(((packed_error) >> 24) & 0xff)) argument 487 #define ERR_GET_FUNC(packed_error) ((int)(((packed_error) >> 12) & 0xfff)) argument 488 #define ERR_GET_REASON(packed_error) ((int)((packed_error) & 0xfff)) argument
|