Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssl/src/include/openssl/err.h |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | - | |
3 | - | |
4 | - | |
5 | - | |
6 | - | |
7 | - | |
8 | typedef struct err_state_st { | - |
9 | int err_flags[16]; | - |
10 | unsigned long err_buffer[16]; | - |
11 | char *err_data[16]; | - |
12 | int err_data_flags[16]; | - |
13 | const char *err_file[16]; | - |
14 | int err_line[16]; | - |
15 | int top, bottom; | - |
16 | } ERR_STATE; | - |
17 | typedef struct ERR_string_data_st { | - |
18 | unsigned long error; | - |
19 | const char *string; | - |
20 | } ERR_STRING_DATA; | - |
21 | - | |
22 | struct lhash_st_ERR_STRING_DATA { union lh_ERR_STRING_DATA_dummy { void* d1; unsigned long d2; int d3; } dummy; }; static inline struct lhash_st_ERR_STRING_DATA * lh_ERR_STRING_DATA_new(unsigned long (*hfn)(const ERR_STRING_DATA *), int (*cfn)(const ERR_STRING_DATA *, const ERR_STRING_DATA *)) { return executed 2074 times by 11 tests: (struct lhash_st_ERR_STRING_DATA *) OPENSSL_LH_new((OPENSSL_LH_HASHFUNC)hfn, (OPENSSL_LH_COMPFUNC)cfn);return (struct lhash_st_ERR_STRING_DATA *) OPENSSL_LH_new((OPENSSL_LH_HASHFUNC)hfn, (OPENSSL_LH_COMPFUNC)cfn); Executed by:
executed 2074 times by 11 tests: } static inline void lh_ERR_STRING_DATA_free(struct lhash_st_ERR_STRING_DATA *lh) { OPENSSL_LH_free((OPENSSL_LHASH *)lh); }return (struct lhash_st_ERR_STRING_DATA *) OPENSSL_LH_new((OPENSSL_LH_HASHFUNC)hfn, (OPENSSL_LH_COMPFUNC)cfn); Executed by:
executed 2076 times by 12 tests: static inline ERR_STRING_DATA *lh_ERR_STRING_DATA_insert(struct lhash_st_ERR_STRING_DATA *lh, ERR_STRING_DATA *d) { returnend of block Executed by:
executed 16141763 times by 11 tests: (ERR_STRING_DATA *)OPENSSL_LH_insert((OPENSSL_LHASH *)lh, d);return (ERR_STRING_DATA *)OPENSSL_LH_insert((OPENSSL_LHASH *)lh, d); Executed by:
executed 16141763 times by 11 tests: } static inline ERR_STRING_DATA *lh_ERR_STRING_DATA_delete(struct lhash_st_ERR_STRING_DATA *lh, const ERR_STRING_DATA *d) { returnreturn (ERR_STRING_DATA *)OPENSSL_LH_insert((OPENSSL_LHASH *)lh, d); Executed by:
executed 1119 times by 1 test: (ERR_STRING_DATA *)OPENSSL_LH_delete((OPENSSL_LHASH *)lh, d);return (ERR_STRING_DATA *)OPENSSL_LH_delete((OPENSSL_LHASH *)lh, d); Executed by:
executed 1119 times by 1 test: } static inline ERR_STRING_DATA *lh_ERR_STRING_DATA_retrieve(struct lhash_st_ERR_STRING_DATA *lh, const ERR_STRING_DATA *d) { returnreturn (ERR_STRING_DATA *)OPENSSL_LH_delete((OPENSSL_LHASH *)lh, d); Executed by:
executed 73868 times by 11 tests: (ERR_STRING_DATA *)OPENSSL_LH_retrieve((OPENSSL_LHASH *)lh, d);return (ERR_STRING_DATA *)OPENSSL_LH_retrieve((OPENSSL_LHASH *)lh, d); Executed by:
executed 73868 times by 11 tests: } static inline int lh_ERR_STRING_DATA_error(struct lhash_st_ERR_STRING_DATA *lh) { returnreturn (ERR_STRING_DATA *)OPENSSL_LH_retrieve((OPENSSL_LHASH *)lh, d); Executed by:
never executed: OPENSSL_LH_error((OPENSSL_LHASH *)lh);return OPENSSL_LH_error((OPENSSL_LHASH *)lh); never executed: } static inline unsigned long lh_ERR_STRING_DATA_num_items(struct lhash_st_ERR_STRING_DATA *lh) { returnreturn OPENSSL_LH_error((OPENSSL_LHASH *)lh); never executed: OPENSSL_LH_num_items((OPENSSL_LHASH *)lh);return OPENSSL_LH_num_items((OPENSSL_LHASH *)lh); never executed: } static inline void lh_ERR_STRING_DATA_node_stats_bio(const struct lhash_st_ERR_STRING_DATA *lh, BIO *out) { OPENSSL_LH_node_stats_bio((const OPENSSL_LHASH *)lh, out); }return OPENSSL_LH_num_items((OPENSSL_LHASH *)lh); never executed: static inline void lh_ERR_STRING_DATA_node_usage_stats_bio(const struct lhash_st_ERR_STRING_DATA *lh, BIO *out) { OPENSSL_LH_node_usage_stats_bio((const OPENSSL_LHASH *)lh, out); }end of block never executed: static inline void lh_ERR_STRING_DATA_stats_bio(const struct lhash_st_ERR_STRING_DATA *lh, BIO *out) { OPENSSL_LH_stats_bio((const OPENSSL_LHASH *)lh, out); }end of block never executed: static inline unsigned long lh_ERR_STRING_DATA_get_down_load(struct lhash_st_ERR_STRING_DATA *lh) { returnend of block never executed: OPENSSL_LH_get_down_load((OPENSSL_LHASH *)lh);return OPENSSL_LH_get_down_load((OPENSSL_LHASH *)lh); never executed: } static inline void lh_ERR_STRING_DATA_set_down_load(struct lhash_st_ERR_STRING_DATA *lh, unsigned long dl) { OPENSSL_LH_set_down_load((OPENSSL_LHASH *)lh, dl); }return OPENSSL_LH_get_down_load((OPENSSL_LHASH *)lh); never executed: static inline void lh_ERR_STRING_DATA_doall(struct lhash_st_ERR_STRING_DATA *lh, void (*doall)(ERR_STRING_DATA *)) { OPENSSL_LH_doall((OPENSSL_LHASH *)lh, (OPENSSL_LH_DOALL_FUNC)doall); }end of block never executed: struct lhash_st_ERR_STRING_DATA;end of block | 0-16141763 |
23 | - | |
24 | void ERR_put_error(int lib, int func, int reason, const char *file, int line); | - |
25 | void ERR_set_error_data(char *data, int flags); | - |
26 | - | |
27 | unsigned long ERR_get_error(void); | - |
28 | unsigned long ERR_get_error_line(const char **file, int *line); | - |
29 | unsigned long ERR_get_error_line_data(const char **file, int *line, | - |
30 | const char **data, int *flags); | - |
31 | unsigned long ERR_peek_error(void); | - |
32 | unsigned long ERR_peek_error_line(const char **file, int *line); | - |
33 | unsigned long ERR_peek_error_line_data(const char **file, int *line, | - |
34 | const char **data, int *flags); | - |
35 | unsigned long ERR_peek_last_error(void); | - |
36 | unsigned long ERR_peek_last_error_line(const char **file, int *line); | - |
37 | unsigned long ERR_peek_last_error_line_data(const char **file, int *line, | - |
38 | const char **data, int *flags); | - |
39 | void ERR_clear_error(void); | - |
40 | char *ERR_error_string(unsigned long e, char *buf); | - |
41 | void ERR_error_string_n(unsigned long e, char *buf, size_t len); | - |
42 | const char *ERR_lib_error_string(unsigned long e); | - |
43 | const char *ERR_func_error_string(unsigned long e); | - |
44 | const char *ERR_reason_error_string(unsigned long e); | - |
45 | void ERR_print_errors_cb(int (*cb) (const char *str, size_t len, void *u), | - |
46 | void *u); | - |
47 | - | |
48 | void ERR_print_errors_fp(FILE *fp); | - |
49 | - | |
50 | void ERR_print_errors(BIO *bp); | - |
51 | void ERR_add_error_data(int num, ...); | - |
52 | void ERR_add_error_vdata(int num, va_list args); | - |
53 | int ERR_load_strings(int lib, ERR_STRING_DATA *str); | - |
54 | int ERR_load_strings_const(const ERR_STRING_DATA *str); | - |
55 | int ERR_unload_strings(int lib, ERR_STRING_DATA *str); | - |
56 | int ERR_load_ERR_strings(void); | - |
57 | - | |
58 | - | |
59 | - | |
60 | - | |
61 | - | |
62 | - | |
63 | - | |
64 | void ERR_remove_thread_state(void *) __attribute__ ((deprecated)); | - |
65 | void ERR_remove_state(unsigned long pid) __attribute__ ((deprecated)); | - |
66 | ERR_STATE *ERR_get_state(void); | - |
67 | - | |
68 | int ERR_get_next_error_library(void); | - |
69 | - | |
70 | int ERR_set_mark(void); | - |
71 | int ERR_pop_to_mark(void); | - |
72 | int ERR_clear_last_mark(void); | - |
Switch to Source code | Preprocessed file |