Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/objects/obj_xref.h |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | typedef struct { | - |
2 | int sign_id; | - |
3 | int hash_id; | - |
4 | int pkey_id; | - |
5 | } nid_triple; | - |
6 | - | |
7 | struct stack_st_nid_triple; typedef int (*sk_nid_triple_compfunc)(const nid_triple * const *a, const nid_triple *const *b); typedef void (*sk_nid_triple_freefunc)(nid_triple *a); typedef nid_triple * (*sk_nid_triple_copyfunc)(const nid_triple *a); static inline int sk_nid_triple_num(const struct stack_st_nid_triple *sk) { return never executed: OPENSSL_sk_num((const OPENSSL_STACK *)sk);return OPENSSL_sk_num((const OPENSSL_STACK *)sk); never executed: } static inline nid_triple *sk_nid_triple_value(const struct stack_st_nid_triple *sk, int idx) { returnreturn OPENSSL_sk_num((const OPENSSL_STACK *)sk); never executed: (nid_triple *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx);return (nid_triple *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); never executed: } static inline struct stack_st_nid_triple *sk_nid_triple_new(sk_nid_triple_compfunc compare) { returnreturn (nid_triple *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); never executed: (struct stack_st_nid_triple *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare);return (struct stack_st_nid_triple *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); never executed: } static inline struct stack_st_nid_triple *sk_nid_triple_new_null(void) { returnreturn (struct stack_st_nid_triple *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); never executed: (struct stack_st_nid_triple *)OPENSSL_sk_new_null();return (struct stack_st_nid_triple *)OPENSSL_sk_new_null(); never executed: } static inline struct stack_st_nid_triple *sk_nid_triple_new_reserve(sk_nid_triple_compfunc compare, int n) { returnreturn (struct stack_st_nid_triple *)OPENSSL_sk_new_null(); never executed: (struct stack_st_nid_triple *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n);return (struct stack_st_nid_triple *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); never executed: } static inline int sk_nid_triple_reserve(struct stack_st_nid_triple *sk, int n) { returnreturn (struct stack_st_nid_triple *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); never executed: OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n);return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); never executed: } static inline void sk_nid_triple_free(struct stack_st_nid_triple *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); }return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); executed 2076 times by 12 tests: static inline void sk_nid_triple_zero(struct stack_st_nid_triple *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); }end of block Executed by:
never executed: static inline nid_triple *sk_nid_triple_delete(struct stack_st_nid_triple *sk, int i) { returnend of block never executed: (nid_triple *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i);return (nid_triple *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); never executed: } static inline nid_triple *sk_nid_triple_delete_ptr(struct stack_st_nid_triple *sk, nid_triple *ptr) { returnreturn (nid_triple *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); never executed: (nid_triple *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr);return (nid_triple *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); never executed: } static inline int sk_nid_triple_push(struct stack_st_nid_triple *sk, nid_triple *ptr) { returnreturn (nid_triple *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); never executed: OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr);return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); never executed: } static inline int sk_nid_triple_unshift(struct stack_st_nid_triple *sk, nid_triple *ptr) { returnreturn OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); never executed: OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr);return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); never executed: } static inline nid_triple *sk_nid_triple_pop(struct stack_st_nid_triple *sk) { returnreturn OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); never executed: (nid_triple *)OPENSSL_sk_pop((OPENSSL_STACK *)sk);return (nid_triple *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); never executed: } static inline nid_triple *sk_nid_triple_shift(struct stack_st_nid_triple *sk) { returnreturn (nid_triple *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); never executed: (nid_triple *)OPENSSL_sk_shift((OPENSSL_STACK *)sk);return (nid_triple *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); never executed: } static inline void sk_nid_triple_pop_free(struct stack_st_nid_triple *sk, sk_nid_triple_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); }return (nid_triple *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); executed 2076 times by 12 tests: static inline int sk_nid_triple_insert(struct stack_st_nid_triple *sk, nid_triple *ptr, int idx) { returnend of block Executed by:
never executed: OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx);return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); never executed: } static inline nid_triple *sk_nid_triple_set(struct stack_st_nid_triple *sk, int idx, nid_triple *ptr) { returnreturn OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); never executed: (nid_triple *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr);return (nid_triple *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); never executed: } static inline int sk_nid_triple_find(struct stack_st_nid_triple *sk, nid_triple *ptr) { returnreturn (nid_triple *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); never executed: OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr);return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); never executed: } static inline int sk_nid_triple_find_ex(struct stack_st_nid_triple *sk, nid_triple *ptr) { returnreturn OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); never executed: OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr);return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); never executed: } static inline void sk_nid_triple_sort(struct stack_st_nid_triple *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); }return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); never executed: static inline int sk_nid_triple_is_sorted(const struct stack_st_nid_triple *sk) { returnend of block never executed: OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk);return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); never executed: } static inline struct stack_st_nid_triple * sk_nid_triple_dup(const struct stack_st_nid_triple *sk) { returnreturn OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); never executed: (struct stack_st_nid_triple *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk);return (struct stack_st_nid_triple *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); never executed: } static inline struct stack_st_nid_triple *sk_nid_triple_deep_copy(const struct stack_st_nid_triple *sk, sk_nid_triple_copyfunc copyfunc, sk_nid_triple_freefunc freefunc) { returnreturn (struct stack_st_nid_triple *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); never executed: (struct stack_st_nid_triple *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc);return (struct stack_st_nid_triple *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); never executed: } static inline sk_nid_triple_compfunc sk_nid_triple_set_cmp_func(struct stack_st_nid_triple *sk, sk_nid_triple_compfunc compare) { returnreturn (struct stack_st_nid_triple *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); never executed: (sk_nid_triple_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare);return (sk_nid_triple_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); never executed: }return (sk_nid_triple_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); | 0-2076 |
8 | - | |
9 | static const nid_triple sigoid_srt[] = { | - |
10 | {7, 3, 6}, | - |
11 | {8, 4, 6}, | - |
12 | {42, 41, 6}, | - |
13 | {65, 64, 6}, | - |
14 | {66, 41, 116}, | - |
15 | {70, 64, 67}, | - |
16 | {96, 95, 6}, | - |
17 | {104, 4, 19}, | - |
18 | {113, 64, 116}, | - |
19 | {115, 64, 19}, | - |
20 | {119, 117, 6}, | - |
21 | {396, 257, 6}, | - |
22 | {416, 64, 408}, | - |
23 | {668, 672, 6}, | - |
24 | {669, 673, 6}, | - |
25 | {670, 674, 6}, | - |
26 | {671, 675, 6}, | - |
27 | {791, 0, 408}, | - |
28 | {792, 0, 408}, | - |
29 | {793, 675, 408}, | - |
30 | {794, 672, 408}, | - |
31 | {795, 673, 408}, | - |
32 | {796, 674, 408}, | - |
33 | {802, 675, 116}, | - |
34 | {803, 672, 116}, | - |
35 | {807, 809, | - |
36 | 811}, | - |
37 | {808, 809, | - |
38 | 812}, | - |
39 | {852, 809, | - |
40 | 850}, | - |
41 | {853, 809, | - |
42 | 851}, | - |
43 | {912, 0, 6}, | - |
44 | {936, 64, 946}, | - |
45 | {937, 675, 946}, | - |
46 | {938, 672, 946}, | - |
47 | {939, 673, 946}, | - |
48 | {940, 674, 946}, | - |
49 | {941, 64, | - |
50 | 947}, | - |
51 | {942, 675, | - |
52 | 947}, | - |
53 | {943, 672, | - |
54 | 947}, | - |
55 | {944, 673, | - |
56 | 947}, | - |
57 | {945, 674, | - |
58 | 947}, | - |
59 | {985, 982, | - |
60 | 979}, | - |
61 | {986, 983, | - |
62 | 980}, | - |
63 | {1087, 0, 1087}, | - |
64 | {1088, 0, 1088}, | - |
65 | {1116, 1096, 6}, | - |
66 | {1117, 1097, 6}, | - |
67 | {1118, 1098, 6}, | - |
68 | {1119, 1099, 6}, | - |
69 | }; | - |
70 | - | |
71 | static const nid_triple *const sigoid_srt_xref[] = { | - |
72 | &sigoid_srt[0], | - |
73 | &sigoid_srt[1], | - |
74 | &sigoid_srt[7], | - |
75 | &sigoid_srt[2], | - |
76 | &sigoid_srt[4], | - |
77 | &sigoid_srt[3], | - |
78 | &sigoid_srt[9], | - |
79 | &sigoid_srt[5], | - |
80 | &sigoid_srt[8], | - |
81 | &sigoid_srt[12], | - |
82 | &sigoid_srt[30], | - |
83 | &sigoid_srt[35], | - |
84 | &sigoid_srt[6], | - |
85 | &sigoid_srt[10], | - |
86 | &sigoid_srt[11], | - |
87 | &sigoid_srt[13], | - |
88 | &sigoid_srt[24], | - |
89 | &sigoid_srt[20], | - |
90 | &sigoid_srt[32], | - |
91 | &sigoid_srt[37], | - |
92 | &sigoid_srt[14], | - |
93 | &sigoid_srt[21], | - |
94 | &sigoid_srt[33], | - |
95 | &sigoid_srt[38], | - |
96 | &sigoid_srt[15], | - |
97 | &sigoid_srt[22], | - |
98 | &sigoid_srt[34], | - |
99 | &sigoid_srt[39], | - |
100 | &sigoid_srt[16], | - |
101 | &sigoid_srt[23], | - |
102 | &sigoid_srt[19], | - |
103 | &sigoid_srt[31], | - |
104 | &sigoid_srt[36], | - |
105 | &sigoid_srt[25], | - |
106 | &sigoid_srt[26], | - |
107 | &sigoid_srt[27], | - |
108 | &sigoid_srt[28], | - |
109 | &sigoid_srt[40], | - |
110 | &sigoid_srt[41], | - |
111 | &sigoid_srt[44], | - |
112 | &sigoid_srt[45], | - |
113 | &sigoid_srt[46], | - |
114 | &sigoid_srt[47], | - |
115 | }; | - |
Switch to Source code | Preprocessed file |