Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | struct revoked_serial { | - |
7 | u_int64_t lo, hi; | - |
8 | struct { struct revoked_serial *rbe_left; struct revoked_serial *rbe_right; struct revoked_serial *rbe_parent; int rbe_color; } tree_entry; | - |
9 | }; | - |
10 | static int serial_cmp(struct revoked_serial *a, struct revoked_serial *b); | - |
11 | struct revoked_serial_tree { struct revoked_serial *rbh_root; }; | - |
12 | __attribute__((__unused__)) static void revoked_serial_tree_RB_INSERT_COLOR(struct revoked_serial_tree *head, struct revoked_serial *elm) { struct revoked_serial *parent, *gparent, *tmp; while ((TRUE | never evaluated | FALSE | never evaluated |
parent = (elm)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
&& (TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_color == 1TRUE | never evaluated | FALSE | never evaluated |
) { gparent = (parent)->tree_entry.rbe_parent; if (parent == (gparent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) { tmp = (gparent)->tree_entry.rbe_right; if (tmpTRUE | never evaluated | FALSE | never evaluated |
&& (TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_color == 1TRUE | never evaluated | FALSE | never evaluated |
) { (tmp)->tree_entry.rbe_color = 0; do { (parent)->tree_entry.rbe_color = 0; (gparent)->tree_entry.rbe_color = 1; } while (0); elm = gparent; continue;never executed: continue; } if ((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_right == elmTRUE | never evaluated | FALSE | never evaluated |
) { do { (tmp) = (parent)->tree_entry.rbe_right; if (((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_right = (tmp)->tree_entry.rbe_left)TRUE | never evaluated | FALSE | never evaluated |
) { ((tmp)->tree_entry.rbe_left)->tree_entry.rbe_parent = (parent); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent = (parent)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
parent) == ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); else ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); } else (never executed: (head)->rbh_root = (tmp); head)->rbh_root = (tmp);never executed: (head)->rbh_root = (tmp); (tmp)->tree_entry.rbe_left = (parent); (parent)->tree_entry.rbe_parent = (tmp); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); tmp = parent; parent = elm; elm = tmp; }never executed: end of block do { (parent)->tree_entry.rbe_color = 0; (gparent)->tree_entry.rbe_color = 1; } while (0); do { (tmp) = (gparent)->tree_entry.rbe_left; if (((TRUE | never evaluated | FALSE | never evaluated |
gparent)->tree_entry.rbe_left = (tmp)->tree_entry.rbe_right)TRUE | never evaluated | FALSE | never evaluated |
) { ((tmp)->tree_entry.rbe_right)->tree_entry.rbe_parent = (gparent); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent = (gparent)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
gparent) == ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); gparent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp);never executed: ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); else ((never executed: ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); gparent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp);never executed: ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); } else (never executed: (head)->rbh_root = (tmp); head)->rbh_root = (tmp);never executed: (head)->rbh_root = (tmp); (tmp)->tree_entry.rbe_right = (gparent); (gparent)->tree_entry.rbe_parent = (tmp); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); }never executed: end of block else { tmp = (gparent)->tree_entry.rbe_left; if (tmpTRUE | never evaluated | FALSE | never evaluated |
&& (TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_color == 1TRUE | never evaluated | FALSE | never evaluated |
) { (tmp)->tree_entry.rbe_color = 0; do { (parent)->tree_entry.rbe_color = 0; (gparent)->tree_entry.rbe_color = 1; } while (0); elm = gparent; continue;never executed: continue; } if ((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_left == elmTRUE | never evaluated | FALSE | never evaluated |
) { do { (tmp) = (parent)->tree_entry.rbe_left; if (((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_left = (tmp)->tree_entry.rbe_right)TRUE | never evaluated | FALSE | never evaluated |
) { ((tmp)->tree_entry.rbe_right)->tree_entry.rbe_parent = (parent); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent = (parent)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
parent) == ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); else ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); } else (never executed: (head)->rbh_root = (tmp); head)->rbh_root = (tmp);never executed: (head)->rbh_root = (tmp); (tmp)->tree_entry.rbe_right = (parent); (parent)->tree_entry.rbe_parent = (tmp); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); tmp = parent; parent = elm; elm = tmp; }never executed: end of block do { (parent)->tree_entry.rbe_color = 0; (gparent)->tree_entry.rbe_color = 1; } while (0); do { (tmp) = (gparent)->tree_entry.rbe_right; if (((TRUE | never evaluated | FALSE | never evaluated |
gparent)->tree_entry.rbe_right = (tmp)->tree_entry.rbe_left)TRUE | never evaluated | FALSE | never evaluated |
) { ((tmp)->tree_entry.rbe_left)->tree_entry.rbe_parent = (gparent); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent = (gparent)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
gparent) == ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); gparent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp);never executed: ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); else ((never executed: ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); gparent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp);never executed: ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); } else (never executed: (head)->rbh_root = (tmp); head)->rbh_root = (tmp);never executed: (head)->rbh_root = (tmp); (tmp)->tree_entry.rbe_left = (gparent); (gparent)->tree_entry.rbe_parent = (tmp); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); }never executed: end of block } (head->rbh_root)->tree_entry.rbe_color = 0; }never executed: end of block __attribute__((__unused__)) static void revoked_serial_tree_RB_REMOVE_COLOR(struct revoked_serial_tree *head, struct revoked_serial *parent, struct revoked_serial *elm) { struct revoked_serial *tmp; while ((elm == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
13 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
14 | || (TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_color == 0TRUE | never evaluated | FALSE | never evaluated |
) && elm != (head)->rbh_rootTRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_left == elmTRUE | never evaluated | FALSE | never evaluated |
) { tmp = (parent)->tree_entry.rbe_right; if ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_color == 1TRUE | never evaluated | FALSE | never evaluated |
) { do { (tmp)->tree_entry.rbe_color = 0; (parent)->tree_entry.rbe_color = 1; } while (0); do { (tmp) = (parent)->tree_entry.rbe_right; if (((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_right = (tmp)->tree_entry.rbe_left)TRUE | never evaluated | FALSE | never evaluated |
) { ((tmp)->tree_entry.rbe_left)->tree_entry.rbe_parent = (parent); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent = (parent)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
parent) == ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); else ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); } else (never executed: (head)->rbh_root = (tmp); head)->rbh_root = (tmp);never executed: (head)->rbh_root = (tmp); (tmp)->tree_entry.rbe_left = (parent); (parent)->tree_entry.rbe_parent = (tmp); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); tmp = (parent)->tree_entry.rbe_right; }never executed: end of block if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_left == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
15 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
16 | || ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_left)->tree_entry.rbe_color == 0TRUE | never evaluated | FALSE | never evaluated |
) && ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_right == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
17 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
18 | || ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_right)->tree_entry.rbe_color == 0TRUE | never evaluated | FALSE | never evaluated |
)) { (tmp)->tree_entry.rbe_color = 1; elm = parent; parent = (elm)->tree_entry.rbe_parent; }never executed: end of block else { if ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_right == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
19 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
20 | || ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_right)->tree_entry.rbe_color == 0TRUE | never evaluated | FALSE | never evaluated |
) { struct revoked_serial *oleft; if ((TRUE | never evaluated | FALSE | never evaluated |
oleft = (tmp)->tree_entry.rbe_left)TRUE | never evaluated | FALSE | never evaluated |
) (never executed: (oleft)->tree_entry.rbe_color = 0; oleft)->tree_entry.rbe_color = 0;never executed: (oleft)->tree_entry.rbe_color = 0; (tmp)->tree_entry.rbe_color = 1; do { (oleft) = (tmp)->tree_entry.rbe_left; if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_left = (oleft)->tree_entry.rbe_right)TRUE | never evaluated | FALSE | never evaluated |
) { ((oleft)->tree_entry.rbe_right)->tree_entry.rbe_parent = (tmp); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
oleft)->tree_entry.rbe_parent = (tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
tmp) == ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_left = (oleft); tmp)->tree_entry.rbe_parent)->tree_entry.rbe_left = (oleft);never executed: ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_left = (oleft); else ((never executed: ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_right = (oleft); tmp)->tree_entry.rbe_parent)->tree_entry.rbe_right = (oleft);never executed: ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_right = (oleft); } else (never executed: (head)->rbh_root = (oleft); head)->rbh_root = (oleft);never executed: (head)->rbh_root = (oleft); (oleft)->tree_entry.rbe_right = (tmp); (tmp)->tree_entry.rbe_parent = (oleft); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
oleft)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); tmp = (parent)->tree_entry.rbe_right; }never executed: end of block (tmp)->tree_entry.rbe_color = (parent)->tree_entry.rbe_color; (parent)->tree_entry.rbe_color = 0; if ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_rightTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((tmp)->tree_entry.rbe_right)->tree_entry.rbe_color = 0; tmp)->tree_entry.rbe_right)->tree_entry.rbe_color = 0;never executed: ((tmp)->tree_entry.rbe_right)->tree_entry.rbe_color = 0; do { (tmp) = (parent)->tree_entry.rbe_right; if (((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_right = (tmp)->tree_entry.rbe_left)TRUE | never evaluated | FALSE | never evaluated |
) { ((tmp)->tree_entry.rbe_left)->tree_entry.rbe_parent = (parent); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent = (parent)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
parent) == ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); else ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); } else (never executed: (head)->rbh_root = (tmp); head)->rbh_root = (tmp);never executed: (head)->rbh_root = (tmp); (tmp)->tree_entry.rbe_left = (parent); (parent)->tree_entry.rbe_parent = (tmp); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); elm = (head)->rbh_root; break;never executed: break; } } else { tmp = (parent)->tree_entry.rbe_left; if ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_color == 1TRUE | never evaluated | FALSE | never evaluated |
) { do { (tmp)->tree_entry.rbe_color = 0; (parent)->tree_entry.rbe_color = 1; } while (0); do { (tmp) = (parent)->tree_entry.rbe_left; if (((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_left = (tmp)->tree_entry.rbe_right)TRUE | never evaluated | FALSE | never evaluated |
) { ((tmp)->tree_entry.rbe_right)->tree_entry.rbe_parent = (parent); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent = (parent)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
parent) == ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); else ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); } else (never executed: (head)->rbh_root = (tmp); head)->rbh_root = (tmp);never executed: (head)->rbh_root = (tmp); (tmp)->tree_entry.rbe_right = (parent); (parent)->tree_entry.rbe_parent = (tmp); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); tmp = (parent)->tree_entry.rbe_left; }never executed: end of block if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_left == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
21 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
22 | || ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_left)->tree_entry.rbe_color == 0TRUE | never evaluated | FALSE | never evaluated |
) && ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_right == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
23 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
24 | || ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_right)->tree_entry.rbe_color == 0TRUE | never evaluated | FALSE | never evaluated |
)) { (tmp)->tree_entry.rbe_color = 1; elm = parent; parent = (elm)->tree_entry.rbe_parent; }never executed: end of block else { if ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_left == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
25 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
26 | || ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_left)->tree_entry.rbe_color == 0TRUE | never evaluated | FALSE | never evaluated |
) { struct revoked_serial *oright; if ((TRUE | never evaluated | FALSE | never evaluated |
oright = (tmp)->tree_entry.rbe_right)TRUE | never evaluated | FALSE | never evaluated |
) (never executed: (oright)->tree_entry.rbe_color = 0; oright)->tree_entry.rbe_color = 0;never executed: (oright)->tree_entry.rbe_color = 0; (tmp)->tree_entry.rbe_color = 1; do { (oright) = (tmp)->tree_entry.rbe_right; if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_right = (oright)->tree_entry.rbe_left)TRUE | never evaluated | FALSE | never evaluated |
) { ((oright)->tree_entry.rbe_left)->tree_entry.rbe_parent = (tmp); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
oright)->tree_entry.rbe_parent = (tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
tmp) == ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_left = (oright); tmp)->tree_entry.rbe_parent)->tree_entry.rbe_left = (oright);never executed: ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_left = (oright); else ((never executed: ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_right = (oright); tmp)->tree_entry.rbe_parent)->tree_entry.rbe_right = (oright);never executed: ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_right = (oright); } else (never executed: (head)->rbh_root = (oright); head)->rbh_root = (oright);never executed: (head)->rbh_root = (oright); (oright)->tree_entry.rbe_left = (tmp); (tmp)->tree_entry.rbe_parent = (oright); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
oright)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); tmp = (parent)->tree_entry.rbe_left; }never executed: end of block (tmp)->tree_entry.rbe_color = (parent)->tree_entry.rbe_color; (parent)->tree_entry.rbe_color = 0; if ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((tmp)->tree_entry.rbe_left)->tree_entry.rbe_color = 0; tmp)->tree_entry.rbe_left)->tree_entry.rbe_color = 0;never executed: ((tmp)->tree_entry.rbe_left)->tree_entry.rbe_color = 0; do { (tmp) = (parent)->tree_entry.rbe_left; if (((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_left = (tmp)->tree_entry.rbe_right)TRUE | never evaluated | FALSE | never evaluated |
) { ((tmp)->tree_entry.rbe_right)->tree_entry.rbe_parent = (parent); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent = (parent)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
parent) == ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); else ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); } else (never executed: (head)->rbh_root = (tmp); head)->rbh_root = (tmp);never executed: (head)->rbh_root = (tmp); (tmp)->tree_entry.rbe_right = (parent); (parent)->tree_entry.rbe_parent = (tmp); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); elm = (head)->rbh_root; break;never executed: break; } } } if (elmTRUE | never evaluated | FALSE | never evaluated |
) (never executed: (elm)->tree_entry.rbe_color = 0; elm)->tree_entry.rbe_color = 0;never executed: (elm)->tree_entry.rbe_color = 0; }never executed: end of block __attribute__((__unused__)) static struct revoked_serial * revoked_serial_tree_RB_REMOVE(struct revoked_serial_tree *head, struct revoked_serial *elm) { struct revoked_serial *child, *parent, *old = elm; int color; if ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_left == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
27 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
28 | ) child = (elm)->tree_entry.rbe_right; never executed: child = (elm)->tree_entry.rbe_right; else if ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_right == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
29 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
30 | ) child = (elm)->tree_entry.rbe_left; never executed: child = (elm)->tree_entry.rbe_left; else { struct revoked_serial *left; elm = (elm)->tree_entry.rbe_right; while ((TRUE | never evaluated | FALSE | never evaluated |
left = (elm)->tree_entry.rbe_left)TRUE | never evaluated | FALSE | never evaluated |
) elm = left;never executed: elm = left; child = (elm)->tree_entry.rbe_right; parent = (elm)->tree_entry.rbe_parent; color = (elm)->tree_entry.rbe_color; if (childTRUE | never evaluated | FALSE | never evaluated |
) (never executed: (child)->tree_entry.rbe_parent = parent; child)->tree_entry.rbe_parent = parent;never executed: (child)->tree_entry.rbe_parent = parent; if (parentTRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_left == elmTRUE | never evaluated | FALSE | never evaluated |
) (never executed: (parent)->tree_entry.rbe_left = child; parent)->tree_entry.rbe_left = child;never executed: (parent)->tree_entry.rbe_left = child; else (never executed: (parent)->tree_entry.rbe_right = child; parent)->tree_entry.rbe_right = child;never executed: (parent)->tree_entry.rbe_right = child; do {} while (0); }never executed: end of block else (never executed: (head)->rbh_root = child; head)->rbh_root = child;never executed: (head)->rbh_root = child; if ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_parent == oldTRUE | never evaluated | FALSE | never evaluated |
) parent = elm;never executed: parent = elm; (elm)->tree_entry = (old)->tree_entry; if ((TRUE | never evaluated | FALSE | never evaluated |
old)->tree_entry.rbe_parentTRUE | never evaluated | FALSE | never evaluated |
) { if (((TRUE | never evaluated | FALSE | never evaluated |
old)->tree_entry.rbe_parent)->tree_entry.rbe_left == oldTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((old)->tree_entry.rbe_parent)->tree_entry.rbe_left = elm; old)->tree_entry.rbe_parent)->tree_entry.rbe_left = elm;never executed: ((old)->tree_entry.rbe_parent)->tree_entry.rbe_left = elm; else ((never executed: ((old)->tree_entry.rbe_parent)->tree_entry.rbe_right = elm; old)->tree_entry.rbe_parent)->tree_entry.rbe_right = elm;never executed: ((old)->tree_entry.rbe_parent)->tree_entry.rbe_right = elm; do {} while (0); }never executed: end of block else (never executed: (head)->rbh_root = elm; head)->rbh_root = elm;never executed: (head)->rbh_root = elm; ((old)->tree_entry.rbe_left)->tree_entry.rbe_parent = elm; if ((TRUE | never evaluated | FALSE | never evaluated |
old)->tree_entry.rbe_rightTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((old)->tree_entry.rbe_right)->tree_entry.rbe_parent = elm; old)->tree_entry.rbe_right)->tree_entry.rbe_parent = elm;never executed: ((old)->tree_entry.rbe_right)->tree_entry.rbe_parent = elm; if (parentTRUE | never evaluated | FALSE | never evaluated |
) { left = parent; do { do {} while (0); }never executed: end of block while ((TRUE | never evaluated | FALSE | never evaluated |
left = (left)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
); }never executed: end of block gotonever executed: goto color; color;never executed: goto color; } parent = (elm)->tree_entry.rbe_parent; color = (elm)->tree_entry.rbe_color; if (childTRUE | never evaluated | FALSE | never evaluated |
) (never executed: (child)->tree_entry.rbe_parent = parent; child)->tree_entry.rbe_parent = parent;never executed: (child)->tree_entry.rbe_parent = parent; if (parentTRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_left == elmTRUE | never evaluated | FALSE | never evaluated |
) (never executed: (parent)->tree_entry.rbe_left = child; parent)->tree_entry.rbe_left = child;never executed: (parent)->tree_entry.rbe_left = child; else (never executed: (parent)->tree_entry.rbe_right = child; parent)->tree_entry.rbe_right = child;never executed: (parent)->tree_entry.rbe_right = child; do {} while (0); }never executed: end of block else (never executed: (head)->rbh_root = child; head)->rbh_root = child;never executed: (head)->rbh_root = child; color:code before this statement never executed: color: if (color == 0TRUE | never evaluated | FALSE | never evaluated |
) revoked_serial_tree_RB_REMOVE_COLOR(head, parent, child);never executed: revoked_serial_tree_RB_REMOVE_COLOR(head, parent, child); returnnever executed: return (old); (old);never executed: return (old); } __attribute__((__unused__)) static struct revoked_serial * revoked_serial_tree_RB_INSERT(struct revoked_serial_tree *head, struct revoked_serial *elm) { struct revoked_serial *tmp; struct revoked_serial *parent = | 0 |
31 | ((void *)0) | - |
32 | ; int comp = 0; tmp = (head)->rbh_root; while (tmpTRUE | never evaluated | FALSE | never evaluated |
) { parent = tmp; comp = (serial_cmp)(elm, parent); if (comp < 0TRUE | never evaluated | FALSE | never evaluated |
) tmp = (tmp)->tree_entry.rbe_left;never executed: tmp = (tmp)->tree_entry.rbe_left; else if (comp > 0TRUE | never evaluated | FALSE | never evaluated |
) tmp = (tmp)->tree_entry.rbe_right;never executed: tmp = (tmp)->tree_entry.rbe_right; else returnnever executed: return (tmp); (tmp);never executed: return (tmp); } do { (elm)->tree_entry.rbe_parent = parent; (elm)->tree_entry.rbe_left = (elm)->tree_entry.rbe_right = | 0 |
33 | ((void *)0) | - |
34 | ; (elm)->tree_entry.rbe_color = 1; } while (0); if (parent != TRUE | never evaluated | FALSE | never evaluated |
| 0 |
35 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
36 | ) { if (comp < 0TRUE | never evaluated | FALSE | never evaluated |
) (never executed: (parent)->tree_entry.rbe_left = elm; parent)->tree_entry.rbe_left = elm;never executed: (parent)->tree_entry.rbe_left = elm; else (never executed: (parent)->tree_entry.rbe_right = elm; parent)->tree_entry.rbe_right = elm;never executed: (parent)->tree_entry.rbe_right = elm; do {} while (0); }never executed: end of block else (never executed: (head)->rbh_root = elm; head)->rbh_root = elm;never executed: (head)->rbh_root = elm; revoked_serial_tree_RB_INSERT_COLOR(head, elm); returnnever executed: return ( ((void *)0) ); (never executed: return ( ((void *)0) ); | 0 |
37 | (( never executed: return ( ((void *)0) ); never executed: return ( ((void *)0) ); void *)0)never executed: return ( ((void *)0) ); | 0 |
38 | ) never executed: return ( ((void *)0) ); never executed: return ( ((void *)0) ); ;never executed: return ( ((void *)0) ); } __attribute__((__unused__)) static struct revoked_serial * revoked_serial_tree_RB_FIND(struct revoked_serial_tree *head, struct revoked_serial *elm) { struct revoked_serial *tmp = (head)->rbh_root; int comp; while (tmpTRUE | never evaluated | FALSE | never evaluated |
) { comp = serial_cmp(elm, tmp); if (comp < 0TRUE | never evaluated | FALSE | never evaluated |
) tmp = (tmp)->tree_entry.rbe_left;never executed: tmp = (tmp)->tree_entry.rbe_left; else if (comp > 0TRUE | never evaluated | FALSE | never evaluated |
) tmp = (tmp)->tree_entry.rbe_right;never executed: tmp = (tmp)->tree_entry.rbe_right; else returnnever executed: return (tmp); (tmp);never executed: return (tmp); } returnnever executed: return ( ((void *)0) ); (never executed: return ( ((void *)0) ); | 0 |
39 | (( never executed: return ( ((void *)0) ); never executed: return ( ((void *)0) ); void *)0)never executed: return ( ((void *)0) ); | 0 |
40 | ) never executed: return ( ((void *)0) ); never executed: return ( ((void *)0) ); ;never executed: return ( ((void *)0) ); } __attribute__((__unused__)) static struct revoked_serial * revoked_serial_tree_RB_NFIND(struct revoked_serial_tree *head, struct revoked_serial *elm) { struct revoked_serial *tmp = (head)->rbh_root; struct revoked_serial *res = | 0 |
41 | ((void *)0) | - |
42 | ; int comp; while (tmpTRUE | never evaluated | FALSE | never evaluated |
) { comp = serial_cmp(elm, tmp); if (comp < 0TRUE | never evaluated | FALSE | never evaluated |
) { res = tmp; tmp = (tmp)->tree_entry.rbe_left; }never executed: end of block else if (comp > 0TRUE | never evaluated | FALSE | never evaluated |
) tmp = (tmp)->tree_entry.rbe_right;never executed: tmp = (tmp)->tree_entry.rbe_right; else returnnever executed: return (tmp); (tmp);never executed: return (tmp); } returnnever executed: return (res); (res);never executed: return (res); } __attribute__((__unused__)) static struct revoked_serial * revoked_serial_tree_RB_NEXT(struct revoked_serial *elm) { if ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_rightTRUE | never evaluated | FALSE | never evaluated |
) { elm = (elm)->tree_entry.rbe_right; while ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) elm = (elm)->tree_entry.rbe_left;never executed: elm = (elm)->tree_entry.rbe_left; }never executed: end of block else { if ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_parentTRUE | never evaluated | FALSE | never evaluated |
&& (TRUE | never evaluated | FALSE | never evaluated |
elm == ((elm)->tree_entry.rbe_parent)->tree_entry.rbe_left)TRUE | never evaluated | FALSE | never evaluated |
) elm = (elm)->tree_entry.rbe_parent;never executed: elm = (elm)->tree_entry.rbe_parent; else { while ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_parentTRUE | never evaluated | FALSE | never evaluated |
&& (TRUE | never evaluated | FALSE | never evaluated |
elm == ((elm)->tree_entry.rbe_parent)->tree_entry.rbe_right)TRUE | never evaluated | FALSE | never evaluated |
) elm = (elm)->tree_entry.rbe_parent;never executed: elm = (elm)->tree_entry.rbe_parent; elm = (elm)->tree_entry.rbe_parent; }never executed: end of block } returnnever executed: return (elm); (elm);never executed: return (elm); } __attribute__((__unused__)) static struct revoked_serial * revoked_serial_tree_RB_PREV(struct revoked_serial *elm) { if ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) { elm = (elm)->tree_entry.rbe_left; while ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_rightTRUE | never evaluated | FALSE | never evaluated |
) elm = (elm)->tree_entry.rbe_right;never executed: elm = (elm)->tree_entry.rbe_right; }never executed: end of block else { if ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_parentTRUE | never evaluated | FALSE | never evaluated |
&& (TRUE | never evaluated | FALSE | never evaluated |
elm == ((elm)->tree_entry.rbe_parent)->tree_entry.rbe_right)TRUE | never evaluated | FALSE | never evaluated |
) elm = (elm)->tree_entry.rbe_parent;never executed: elm = (elm)->tree_entry.rbe_parent; else { while ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_parentTRUE | never evaluated | FALSE | never evaluated |
&& (TRUE | never evaluated | FALSE | never evaluated |
elm == ((elm)->tree_entry.rbe_parent)->tree_entry.rbe_left)TRUE | never evaluated | FALSE | never evaluated |
) elm = (elm)->tree_entry.rbe_parent;never executed: elm = (elm)->tree_entry.rbe_parent; elm = (elm)->tree_entry.rbe_parent; }never executed: end of block } returnnever executed: return (elm); (elm);never executed: return (elm); } __attribute__((__unused__)) static struct revoked_serial * revoked_serial_tree_RB_MINMAX(struct revoked_serial_tree *head, int val) { struct revoked_serial *tmp = (head)->rbh_root; struct revoked_serial *parent = | 0 |
43 | ((void *)0) | - |
44 | ; while (tmpTRUE | never evaluated | FALSE | never evaluated |
) { parent = tmp; if (val < 0TRUE | never evaluated | FALSE | never evaluated |
) tmp = (tmp)->tree_entry.rbe_left;never executed: tmp = (tmp)->tree_entry.rbe_left; else tmp = (tmp)->tree_entry.rbe_right;never executed: tmp = (tmp)->tree_entry.rbe_right; } returnnever executed: return (parent); (parent);never executed: return (parent); }; | 0 |
45 | | - |
46 | | - |
47 | struct revoked_key_id { | - |
48 | char *key_id; | - |
49 | struct { struct revoked_key_id *rbe_left; struct revoked_key_id *rbe_right; struct revoked_key_id *rbe_parent; int rbe_color; } tree_entry; | - |
50 | }; | - |
51 | static int key_id_cmp(struct revoked_key_id *a, struct revoked_key_id *b); | - |
52 | struct revoked_key_id_tree { struct revoked_key_id *rbh_root; }; | - |
53 | __attribute__((__unused__)) static void revoked_key_id_tree_RB_INSERT_COLOR(struct revoked_key_id_tree *head, struct revoked_key_id *elm) { struct revoked_key_id *parent, *gparent, *tmp; while ((TRUE | never evaluated | FALSE | never evaluated |
parent = (elm)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
&& (TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_color == 1TRUE | never evaluated | FALSE | never evaluated |
) { gparent = (parent)->tree_entry.rbe_parent; if (parent == (gparent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) { tmp = (gparent)->tree_entry.rbe_right; if (tmpTRUE | never evaluated | FALSE | never evaluated |
&& (TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_color == 1TRUE | never evaluated | FALSE | never evaluated |
) { (tmp)->tree_entry.rbe_color = 0; do { (parent)->tree_entry.rbe_color = 0; (gparent)->tree_entry.rbe_color = 1; } while (0); elm = gparent; continue;never executed: continue; } if ((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_right == elmTRUE | never evaluated | FALSE | never evaluated |
) { do { (tmp) = (parent)->tree_entry.rbe_right; if (((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_right = (tmp)->tree_entry.rbe_left)TRUE | never evaluated | FALSE | never evaluated |
) { ((tmp)->tree_entry.rbe_left)->tree_entry.rbe_parent = (parent); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent = (parent)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
parent) == ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); else ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); } else (never executed: (head)->rbh_root = (tmp); head)->rbh_root = (tmp);never executed: (head)->rbh_root = (tmp); (tmp)->tree_entry.rbe_left = (parent); (parent)->tree_entry.rbe_parent = (tmp); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); tmp = parent; parent = elm; elm = tmp; }never executed: end of block do { (parent)->tree_entry.rbe_color = 0; (gparent)->tree_entry.rbe_color = 1; } while (0); do { (tmp) = (gparent)->tree_entry.rbe_left; if (((TRUE | never evaluated | FALSE | never evaluated |
gparent)->tree_entry.rbe_left = (tmp)->tree_entry.rbe_right)TRUE | never evaluated | FALSE | never evaluated |
) { ((tmp)->tree_entry.rbe_right)->tree_entry.rbe_parent = (gparent); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent = (gparent)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
gparent) == ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); gparent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp);never executed: ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); else ((never executed: ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); gparent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp);never executed: ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); } else (never executed: (head)->rbh_root = (tmp); head)->rbh_root = (tmp);never executed: (head)->rbh_root = (tmp); (tmp)->tree_entry.rbe_right = (gparent); (gparent)->tree_entry.rbe_parent = (tmp); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); }never executed: end of block else { tmp = (gparent)->tree_entry.rbe_left; if (tmpTRUE | never evaluated | FALSE | never evaluated |
&& (TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_color == 1TRUE | never evaluated | FALSE | never evaluated |
) { (tmp)->tree_entry.rbe_color = 0; do { (parent)->tree_entry.rbe_color = 0; (gparent)->tree_entry.rbe_color = 1; } while (0); elm = gparent; continue;never executed: continue; } if ((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_left == elmTRUE | never evaluated | FALSE | never evaluated |
) { do { (tmp) = (parent)->tree_entry.rbe_left; if (((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_left = (tmp)->tree_entry.rbe_right)TRUE | never evaluated | FALSE | never evaluated |
) { ((tmp)->tree_entry.rbe_right)->tree_entry.rbe_parent = (parent); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent = (parent)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
parent) == ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); else ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); } else (never executed: (head)->rbh_root = (tmp); head)->rbh_root = (tmp);never executed: (head)->rbh_root = (tmp); (tmp)->tree_entry.rbe_right = (parent); (parent)->tree_entry.rbe_parent = (tmp); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); tmp = parent; parent = elm; elm = tmp; }never executed: end of block do { (parent)->tree_entry.rbe_color = 0; (gparent)->tree_entry.rbe_color = 1; } while (0); do { (tmp) = (gparent)->tree_entry.rbe_right; if (((TRUE | never evaluated | FALSE | never evaluated |
gparent)->tree_entry.rbe_right = (tmp)->tree_entry.rbe_left)TRUE | never evaluated | FALSE | never evaluated |
) { ((tmp)->tree_entry.rbe_left)->tree_entry.rbe_parent = (gparent); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent = (gparent)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
gparent) == ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); gparent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp);never executed: ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); else ((never executed: ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); gparent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp);never executed: ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); } else (never executed: (head)->rbh_root = (tmp); head)->rbh_root = (tmp);never executed: (head)->rbh_root = (tmp); (tmp)->tree_entry.rbe_left = (gparent); (gparent)->tree_entry.rbe_parent = (tmp); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); }never executed: end of block } (head->rbh_root)->tree_entry.rbe_color = 0; }never executed: end of block __attribute__((__unused__)) static void revoked_key_id_tree_RB_REMOVE_COLOR(struct revoked_key_id_tree *head, struct revoked_key_id *parent, struct revoked_key_id *elm) { struct revoked_key_id *tmp; while ((elm == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
54 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
55 | || (TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_color == 0TRUE | never evaluated | FALSE | never evaluated |
) && elm != (head)->rbh_rootTRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_left == elmTRUE | never evaluated | FALSE | never evaluated |
) { tmp = (parent)->tree_entry.rbe_right; if ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_color == 1TRUE | never evaluated | FALSE | never evaluated |
) { do { (tmp)->tree_entry.rbe_color = 0; (parent)->tree_entry.rbe_color = 1; } while (0); do { (tmp) = (parent)->tree_entry.rbe_right; if (((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_right = (tmp)->tree_entry.rbe_left)TRUE | never evaluated | FALSE | never evaluated |
) { ((tmp)->tree_entry.rbe_left)->tree_entry.rbe_parent = (parent); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent = (parent)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
parent) == ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); else ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); } else (never executed: (head)->rbh_root = (tmp); head)->rbh_root = (tmp);never executed: (head)->rbh_root = (tmp); (tmp)->tree_entry.rbe_left = (parent); (parent)->tree_entry.rbe_parent = (tmp); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); tmp = (parent)->tree_entry.rbe_right; }never executed: end of block if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_left == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
56 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
57 | || ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_left)->tree_entry.rbe_color == 0TRUE | never evaluated | FALSE | never evaluated |
) && ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_right == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
58 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
59 | || ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_right)->tree_entry.rbe_color == 0TRUE | never evaluated | FALSE | never evaluated |
)) { (tmp)->tree_entry.rbe_color = 1; elm = parent; parent = (elm)->tree_entry.rbe_parent; }never executed: end of block else { if ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_right == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
60 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
61 | || ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_right)->tree_entry.rbe_color == 0TRUE | never evaluated | FALSE | never evaluated |
) { struct revoked_key_id *oleft; if ((TRUE | never evaluated | FALSE | never evaluated |
oleft = (tmp)->tree_entry.rbe_left)TRUE | never evaluated | FALSE | never evaluated |
) (never executed: (oleft)->tree_entry.rbe_color = 0; oleft)->tree_entry.rbe_color = 0;never executed: (oleft)->tree_entry.rbe_color = 0; (tmp)->tree_entry.rbe_color = 1; do { (oleft) = (tmp)->tree_entry.rbe_left; if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_left = (oleft)->tree_entry.rbe_right)TRUE | never evaluated | FALSE | never evaluated |
) { ((oleft)->tree_entry.rbe_right)->tree_entry.rbe_parent = (tmp); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
oleft)->tree_entry.rbe_parent = (tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
tmp) == ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_left = (oleft); tmp)->tree_entry.rbe_parent)->tree_entry.rbe_left = (oleft);never executed: ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_left = (oleft); else ((never executed: ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_right = (oleft); tmp)->tree_entry.rbe_parent)->tree_entry.rbe_right = (oleft);never executed: ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_right = (oleft); } else (never executed: (head)->rbh_root = (oleft); head)->rbh_root = (oleft);never executed: (head)->rbh_root = (oleft); (oleft)->tree_entry.rbe_right = (tmp); (tmp)->tree_entry.rbe_parent = (oleft); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
oleft)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); tmp = (parent)->tree_entry.rbe_right; }never executed: end of block (tmp)->tree_entry.rbe_color = (parent)->tree_entry.rbe_color; (parent)->tree_entry.rbe_color = 0; if ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_rightTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((tmp)->tree_entry.rbe_right)->tree_entry.rbe_color = 0; tmp)->tree_entry.rbe_right)->tree_entry.rbe_color = 0;never executed: ((tmp)->tree_entry.rbe_right)->tree_entry.rbe_color = 0; do { (tmp) = (parent)->tree_entry.rbe_right; if (((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_right = (tmp)->tree_entry.rbe_left)TRUE | never evaluated | FALSE | never evaluated |
) { ((tmp)->tree_entry.rbe_left)->tree_entry.rbe_parent = (parent); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent = (parent)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
parent) == ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); else ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); } else (never executed: (head)->rbh_root = (tmp); head)->rbh_root = (tmp);never executed: (head)->rbh_root = (tmp); (tmp)->tree_entry.rbe_left = (parent); (parent)->tree_entry.rbe_parent = (tmp); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); elm = (head)->rbh_root; break;never executed: break; } } else { tmp = (parent)->tree_entry.rbe_left; if ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_color == 1TRUE | never evaluated | FALSE | never evaluated |
) { do { (tmp)->tree_entry.rbe_color = 0; (parent)->tree_entry.rbe_color = 1; } while (0); do { (tmp) = (parent)->tree_entry.rbe_left; if (((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_left = (tmp)->tree_entry.rbe_right)TRUE | never evaluated | FALSE | never evaluated |
) { ((tmp)->tree_entry.rbe_right)->tree_entry.rbe_parent = (parent); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent = (parent)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
parent) == ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); else ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); } else (never executed: (head)->rbh_root = (tmp); head)->rbh_root = (tmp);never executed: (head)->rbh_root = (tmp); (tmp)->tree_entry.rbe_right = (parent); (parent)->tree_entry.rbe_parent = (tmp); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); tmp = (parent)->tree_entry.rbe_left; }never executed: end of block if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_left == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
62 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
63 | || ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_left)->tree_entry.rbe_color == 0TRUE | never evaluated | FALSE | never evaluated |
) && ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_right == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
64 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
65 | || ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_right)->tree_entry.rbe_color == 0TRUE | never evaluated | FALSE | never evaluated |
)) { (tmp)->tree_entry.rbe_color = 1; elm = parent; parent = (elm)->tree_entry.rbe_parent; }never executed: end of block else { if ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_left == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
66 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
67 | || ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_left)->tree_entry.rbe_color == 0TRUE | never evaluated | FALSE | never evaluated |
) { struct revoked_key_id *oright; if ((TRUE | never evaluated | FALSE | never evaluated |
oright = (tmp)->tree_entry.rbe_right)TRUE | never evaluated | FALSE | never evaluated |
) (never executed: (oright)->tree_entry.rbe_color = 0; oright)->tree_entry.rbe_color = 0;never executed: (oright)->tree_entry.rbe_color = 0; (tmp)->tree_entry.rbe_color = 1; do { (oright) = (tmp)->tree_entry.rbe_right; if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_right = (oright)->tree_entry.rbe_left)TRUE | never evaluated | FALSE | never evaluated |
) { ((oright)->tree_entry.rbe_left)->tree_entry.rbe_parent = (tmp); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
oright)->tree_entry.rbe_parent = (tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
tmp) == ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_left = (oright); tmp)->tree_entry.rbe_parent)->tree_entry.rbe_left = (oright);never executed: ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_left = (oright); else ((never executed: ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_right = (oright); tmp)->tree_entry.rbe_parent)->tree_entry.rbe_right = (oright);never executed: ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_right = (oright); } else (never executed: (head)->rbh_root = (oright); head)->rbh_root = (oright);never executed: (head)->rbh_root = (oright); (oright)->tree_entry.rbe_left = (tmp); (tmp)->tree_entry.rbe_parent = (oright); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
oright)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); tmp = (parent)->tree_entry.rbe_left; }never executed: end of block (tmp)->tree_entry.rbe_color = (parent)->tree_entry.rbe_color; (parent)->tree_entry.rbe_color = 0; if ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((tmp)->tree_entry.rbe_left)->tree_entry.rbe_color = 0; tmp)->tree_entry.rbe_left)->tree_entry.rbe_color = 0;never executed: ((tmp)->tree_entry.rbe_left)->tree_entry.rbe_color = 0; do { (tmp) = (parent)->tree_entry.rbe_left; if (((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_left = (tmp)->tree_entry.rbe_right)TRUE | never evaluated | FALSE | never evaluated |
) { ((tmp)->tree_entry.rbe_right)->tree_entry.rbe_parent = (parent); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent = (parent)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
parent) == ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); else ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); } else (never executed: (head)->rbh_root = (tmp); head)->rbh_root = (tmp);never executed: (head)->rbh_root = (tmp); (tmp)->tree_entry.rbe_right = (parent); (parent)->tree_entry.rbe_parent = (tmp); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); elm = (head)->rbh_root; break;never executed: break; } } } if (elmTRUE | never evaluated | FALSE | never evaluated |
) (never executed: (elm)->tree_entry.rbe_color = 0; elm)->tree_entry.rbe_color = 0;never executed: (elm)->tree_entry.rbe_color = 0; }never executed: end of block __attribute__((__unused__)) static struct revoked_key_id * revoked_key_id_tree_RB_REMOVE(struct revoked_key_id_tree *head, struct revoked_key_id *elm) { struct revoked_key_id *child, *parent, *old = elm; int color; if ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_left == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
68 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
69 | ) child = (elm)->tree_entry.rbe_right; never executed: child = (elm)->tree_entry.rbe_right; else if ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_right == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
70 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
71 | ) child = (elm)->tree_entry.rbe_left; never executed: child = (elm)->tree_entry.rbe_left; else { struct revoked_key_id *left; elm = (elm)->tree_entry.rbe_right; while ((TRUE | never evaluated | FALSE | never evaluated |
left = (elm)->tree_entry.rbe_left)TRUE | never evaluated | FALSE | never evaluated |
) elm = left;never executed: elm = left; child = (elm)->tree_entry.rbe_right; parent = (elm)->tree_entry.rbe_parent; color = (elm)->tree_entry.rbe_color; if (childTRUE | never evaluated | FALSE | never evaluated |
) (never executed: (child)->tree_entry.rbe_parent = parent; child)->tree_entry.rbe_parent = parent;never executed: (child)->tree_entry.rbe_parent = parent; if (parentTRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_left == elmTRUE | never evaluated | FALSE | never evaluated |
) (never executed: (parent)->tree_entry.rbe_left = child; parent)->tree_entry.rbe_left = child;never executed: (parent)->tree_entry.rbe_left = child; else (never executed: (parent)->tree_entry.rbe_right = child; parent)->tree_entry.rbe_right = child;never executed: (parent)->tree_entry.rbe_right = child; do {} while (0); }never executed: end of block else (never executed: (head)->rbh_root = child; head)->rbh_root = child;never executed: (head)->rbh_root = child; if ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_parent == oldTRUE | never evaluated | FALSE | never evaluated |
) parent = elm;never executed: parent = elm; (elm)->tree_entry = (old)->tree_entry; if ((TRUE | never evaluated | FALSE | never evaluated |
old)->tree_entry.rbe_parentTRUE | never evaluated | FALSE | never evaluated |
) { if (((TRUE | never evaluated | FALSE | never evaluated |
old)->tree_entry.rbe_parent)->tree_entry.rbe_left == oldTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((old)->tree_entry.rbe_parent)->tree_entry.rbe_left = elm; old)->tree_entry.rbe_parent)->tree_entry.rbe_left = elm;never executed: ((old)->tree_entry.rbe_parent)->tree_entry.rbe_left = elm; else ((never executed: ((old)->tree_entry.rbe_parent)->tree_entry.rbe_right = elm; old)->tree_entry.rbe_parent)->tree_entry.rbe_right = elm;never executed: ((old)->tree_entry.rbe_parent)->tree_entry.rbe_right = elm; do {} while (0); }never executed: end of block else (never executed: (head)->rbh_root = elm; head)->rbh_root = elm;never executed: (head)->rbh_root = elm; ((old)->tree_entry.rbe_left)->tree_entry.rbe_parent = elm; if ((TRUE | never evaluated | FALSE | never evaluated |
old)->tree_entry.rbe_rightTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((old)->tree_entry.rbe_right)->tree_entry.rbe_parent = elm; old)->tree_entry.rbe_right)->tree_entry.rbe_parent = elm;never executed: ((old)->tree_entry.rbe_right)->tree_entry.rbe_parent = elm; if (parentTRUE | never evaluated | FALSE | never evaluated |
) { left = parent; do { do {} while (0); }never executed: end of block while ((TRUE | never evaluated | FALSE | never evaluated |
left = (left)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
); }never executed: end of block gotonever executed: goto color; color;never executed: goto color; } parent = (elm)->tree_entry.rbe_parent; color = (elm)->tree_entry.rbe_color; if (childTRUE | never evaluated | FALSE | never evaluated |
) (never executed: (child)->tree_entry.rbe_parent = parent; child)->tree_entry.rbe_parent = parent;never executed: (child)->tree_entry.rbe_parent = parent; if (parentTRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_left == elmTRUE | never evaluated | FALSE | never evaluated |
) (never executed: (parent)->tree_entry.rbe_left = child; parent)->tree_entry.rbe_left = child;never executed: (parent)->tree_entry.rbe_left = child; else (never executed: (parent)->tree_entry.rbe_right = child; parent)->tree_entry.rbe_right = child;never executed: (parent)->tree_entry.rbe_right = child; do {} while (0); }never executed: end of block else (never executed: (head)->rbh_root = child; head)->rbh_root = child;never executed: (head)->rbh_root = child; color:code before this statement never executed: color: if (color == 0TRUE | never evaluated | FALSE | never evaluated |
) revoked_key_id_tree_RB_REMOVE_COLOR(head, parent, child);never executed: revoked_key_id_tree_RB_REMOVE_COLOR(head, parent, child); returnnever executed: return (old); (old);never executed: return (old); } __attribute__((__unused__)) static struct revoked_key_id * revoked_key_id_tree_RB_INSERT(struct revoked_key_id_tree *head, struct revoked_key_id *elm) { struct revoked_key_id *tmp; struct revoked_key_id *parent = | 0 |
72 | ((void *)0) | - |
73 | ; int comp = 0; tmp = (head)->rbh_root; while (tmpTRUE | never evaluated | FALSE | never evaluated |
) { parent = tmp; comp = (key_id_cmp)(elm, parent); if (comp < 0TRUE | never evaluated | FALSE | never evaluated |
) tmp = (tmp)->tree_entry.rbe_left;never executed: tmp = (tmp)->tree_entry.rbe_left; else if (comp > 0TRUE | never evaluated | FALSE | never evaluated |
) tmp = (tmp)->tree_entry.rbe_right;never executed: tmp = (tmp)->tree_entry.rbe_right; else returnnever executed: return (tmp); (tmp);never executed: return (tmp); } do { (elm)->tree_entry.rbe_parent = parent; (elm)->tree_entry.rbe_left = (elm)->tree_entry.rbe_right = | 0 |
74 | ((void *)0) | - |
75 | ; (elm)->tree_entry.rbe_color = 1; } while (0); if (parent != TRUE | never evaluated | FALSE | never evaluated |
| 0 |
76 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
77 | ) { if (comp < 0TRUE | never evaluated | FALSE | never evaluated |
) (never executed: (parent)->tree_entry.rbe_left = elm; parent)->tree_entry.rbe_left = elm;never executed: (parent)->tree_entry.rbe_left = elm; else (never executed: (parent)->tree_entry.rbe_right = elm; parent)->tree_entry.rbe_right = elm;never executed: (parent)->tree_entry.rbe_right = elm; do {} while (0); }never executed: end of block else (never executed: (head)->rbh_root = elm; head)->rbh_root = elm;never executed: (head)->rbh_root = elm; revoked_key_id_tree_RB_INSERT_COLOR(head, elm); returnnever executed: return ( ((void *)0) ); (never executed: return ( ((void *)0) ); | 0 |
78 | (( never executed: return ( ((void *)0) ); never executed: return ( ((void *)0) ); void *)0)never executed: return ( ((void *)0) ); | 0 |
79 | ) never executed: return ( ((void *)0) ); never executed: return ( ((void *)0) ); ;never executed: return ( ((void *)0) ); } __attribute__((__unused__)) static struct revoked_key_id * revoked_key_id_tree_RB_FIND(struct revoked_key_id_tree *head, struct revoked_key_id *elm) { struct revoked_key_id *tmp = (head)->rbh_root; int comp; while (tmpTRUE | never evaluated | FALSE | never evaluated |
) { comp = key_id_cmp(elm, tmp); if (comp < 0TRUE | never evaluated | FALSE | never evaluated |
) tmp = (tmp)->tree_entry.rbe_left;never executed: tmp = (tmp)->tree_entry.rbe_left; else if (comp > 0TRUE | never evaluated | FALSE | never evaluated |
) tmp = (tmp)->tree_entry.rbe_right;never executed: tmp = (tmp)->tree_entry.rbe_right; else returnnever executed: return (tmp); (tmp);never executed: return (tmp); } returnnever executed: return ( ((void *)0) ); (never executed: return ( ((void *)0) ); | 0 |
80 | (( never executed: return ( ((void *)0) ); never executed: return ( ((void *)0) ); void *)0)never executed: return ( ((void *)0) ); | 0 |
81 | ) never executed: return ( ((void *)0) ); never executed: return ( ((void *)0) ); ;never executed: return ( ((void *)0) ); } __attribute__((__unused__)) static struct revoked_key_id * revoked_key_id_tree_RB_NFIND(struct revoked_key_id_tree *head, struct revoked_key_id *elm) { struct revoked_key_id *tmp = (head)->rbh_root; struct revoked_key_id *res = | 0 |
82 | ((void *)0) | - |
83 | ; int comp; while (tmpTRUE | never evaluated | FALSE | never evaluated |
) { comp = key_id_cmp(elm, tmp); if (comp < 0TRUE | never evaluated | FALSE | never evaluated |
) { res = tmp; tmp = (tmp)->tree_entry.rbe_left; }never executed: end of block else if (comp > 0TRUE | never evaluated | FALSE | never evaluated |
) tmp = (tmp)->tree_entry.rbe_right;never executed: tmp = (tmp)->tree_entry.rbe_right; else returnnever executed: return (tmp); (tmp);never executed: return (tmp); } returnnever executed: return (res); (res);never executed: return (res); } __attribute__((__unused__)) static struct revoked_key_id * revoked_key_id_tree_RB_NEXT(struct revoked_key_id *elm) { if ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_rightTRUE | never evaluated | FALSE | never evaluated |
) { elm = (elm)->tree_entry.rbe_right; while ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) elm = (elm)->tree_entry.rbe_left;never executed: elm = (elm)->tree_entry.rbe_left; }never executed: end of block else { if ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_parentTRUE | never evaluated | FALSE | never evaluated |
&& (TRUE | never evaluated | FALSE | never evaluated |
elm == ((elm)->tree_entry.rbe_parent)->tree_entry.rbe_left)TRUE | never evaluated | FALSE | never evaluated |
) elm = (elm)->tree_entry.rbe_parent;never executed: elm = (elm)->tree_entry.rbe_parent; else { while ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_parentTRUE | never evaluated | FALSE | never evaluated |
&& (TRUE | never evaluated | FALSE | never evaluated |
elm == ((elm)->tree_entry.rbe_parent)->tree_entry.rbe_right)TRUE | never evaluated | FALSE | never evaluated |
) elm = (elm)->tree_entry.rbe_parent;never executed: elm = (elm)->tree_entry.rbe_parent; elm = (elm)->tree_entry.rbe_parent; }never executed: end of block } returnnever executed: return (elm); (elm);never executed: return (elm); } __attribute__((__unused__)) static struct revoked_key_id * revoked_key_id_tree_RB_PREV(struct revoked_key_id *elm) { if ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) { elm = (elm)->tree_entry.rbe_left; while ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_rightTRUE | never evaluated | FALSE | never evaluated |
) elm = (elm)->tree_entry.rbe_right;never executed: elm = (elm)->tree_entry.rbe_right; }never executed: end of block else { if ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_parentTRUE | never evaluated | FALSE | never evaluated |
&& (TRUE | never evaluated | FALSE | never evaluated |
elm == ((elm)->tree_entry.rbe_parent)->tree_entry.rbe_right)TRUE | never evaluated | FALSE | never evaluated |
) elm = (elm)->tree_entry.rbe_parent;never executed: elm = (elm)->tree_entry.rbe_parent; else { while ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_parentTRUE | never evaluated | FALSE | never evaluated |
&& (TRUE | never evaluated | FALSE | never evaluated |
elm == ((elm)->tree_entry.rbe_parent)->tree_entry.rbe_left)TRUE | never evaluated | FALSE | never evaluated |
) elm = (elm)->tree_entry.rbe_parent;never executed: elm = (elm)->tree_entry.rbe_parent; elm = (elm)->tree_entry.rbe_parent; }never executed: end of block } returnnever executed: return (elm); (elm);never executed: return (elm); } __attribute__((__unused__)) static struct revoked_key_id * revoked_key_id_tree_RB_MINMAX(struct revoked_key_id_tree *head, int val) { struct revoked_key_id *tmp = (head)->rbh_root; struct revoked_key_id *parent = | 0 |
84 | ((void *)0) | - |
85 | ; while (tmpTRUE | never evaluated | FALSE | never evaluated |
) { parent = tmp; if (val < 0TRUE | never evaluated | FALSE | never evaluated |
) tmp = (tmp)->tree_entry.rbe_left;never executed: tmp = (tmp)->tree_entry.rbe_left; else tmp = (tmp)->tree_entry.rbe_right;never executed: tmp = (tmp)->tree_entry.rbe_right; } returnnever executed: return (parent); (parent);never executed: return (parent); }; | 0 |
86 | | - |
87 | | - |
88 | struct revoked_blob { | - |
89 | u_char *blob; | - |
90 | size_t len; | - |
91 | struct { struct revoked_blob *rbe_left; struct revoked_blob *rbe_right; struct revoked_blob *rbe_parent; int rbe_color; } tree_entry; | - |
92 | }; | - |
93 | static int blob_cmp(struct revoked_blob *a, struct revoked_blob *b); | - |
94 | struct revoked_blob_tree { struct revoked_blob *rbh_root; }; | - |
95 | __attribute__((__unused__)) static void revoked_blob_tree_RB_INSERT_COLOR(struct revoked_blob_tree *head, struct revoked_blob *elm) { struct revoked_blob *parent, *gparent, *tmp; while ((TRUE | never evaluated | FALSE | never evaluated |
parent = (elm)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
&& (TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_color == 1TRUE | never evaluated | FALSE | never evaluated |
) { gparent = (parent)->tree_entry.rbe_parent; if (parent == (gparent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) { tmp = (gparent)->tree_entry.rbe_right; if (tmpTRUE | never evaluated | FALSE | never evaluated |
&& (TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_color == 1TRUE | never evaluated | FALSE | never evaluated |
) { (tmp)->tree_entry.rbe_color = 0; do { (parent)->tree_entry.rbe_color = 0; (gparent)->tree_entry.rbe_color = 1; } while (0); elm = gparent; continue;never executed: continue; } if ((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_right == elmTRUE | never evaluated | FALSE | never evaluated |
) { do { (tmp) = (parent)->tree_entry.rbe_right; if (((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_right = (tmp)->tree_entry.rbe_left)TRUE | never evaluated | FALSE | never evaluated |
) { ((tmp)->tree_entry.rbe_left)->tree_entry.rbe_parent = (parent); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent = (parent)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
parent) == ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); else ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); } else (never executed: (head)->rbh_root = (tmp); head)->rbh_root = (tmp);never executed: (head)->rbh_root = (tmp); (tmp)->tree_entry.rbe_left = (parent); (parent)->tree_entry.rbe_parent = (tmp); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); tmp = parent; parent = elm; elm = tmp; }never executed: end of block do { (parent)->tree_entry.rbe_color = 0; (gparent)->tree_entry.rbe_color = 1; } while (0); do { (tmp) = (gparent)->tree_entry.rbe_left; if (((TRUE | never evaluated | FALSE | never evaluated |
gparent)->tree_entry.rbe_left = (tmp)->tree_entry.rbe_right)TRUE | never evaluated | FALSE | never evaluated |
) { ((tmp)->tree_entry.rbe_right)->tree_entry.rbe_parent = (gparent); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent = (gparent)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
gparent) == ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); gparent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp);never executed: ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); else ((never executed: ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); gparent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp);never executed: ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); } else (never executed: (head)->rbh_root = (tmp); head)->rbh_root = (tmp);never executed: (head)->rbh_root = (tmp); (tmp)->tree_entry.rbe_right = (gparent); (gparent)->tree_entry.rbe_parent = (tmp); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); }never executed: end of block else { tmp = (gparent)->tree_entry.rbe_left; if (tmpTRUE | never evaluated | FALSE | never evaluated |
&& (TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_color == 1TRUE | never evaluated | FALSE | never evaluated |
) { (tmp)->tree_entry.rbe_color = 0; do { (parent)->tree_entry.rbe_color = 0; (gparent)->tree_entry.rbe_color = 1; } while (0); elm = gparent; continue;never executed: continue; } if ((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_left == elmTRUE | never evaluated | FALSE | never evaluated |
) { do { (tmp) = (parent)->tree_entry.rbe_left; if (((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_left = (tmp)->tree_entry.rbe_right)TRUE | never evaluated | FALSE | never evaluated |
) { ((tmp)->tree_entry.rbe_right)->tree_entry.rbe_parent = (parent); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent = (parent)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
parent) == ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); else ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); } else (never executed: (head)->rbh_root = (tmp); head)->rbh_root = (tmp);never executed: (head)->rbh_root = (tmp); (tmp)->tree_entry.rbe_right = (parent); (parent)->tree_entry.rbe_parent = (tmp); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); tmp = parent; parent = elm; elm = tmp; }never executed: end of block do { (parent)->tree_entry.rbe_color = 0; (gparent)->tree_entry.rbe_color = 1; } while (0); do { (tmp) = (gparent)->tree_entry.rbe_right; if (((TRUE | never evaluated | FALSE | never evaluated |
gparent)->tree_entry.rbe_right = (tmp)->tree_entry.rbe_left)TRUE | never evaluated | FALSE | never evaluated |
) { ((tmp)->tree_entry.rbe_left)->tree_entry.rbe_parent = (gparent); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent = (gparent)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
gparent) == ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); gparent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp);never executed: ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); else ((never executed: ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); gparent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp);never executed: ((gparent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); } else (never executed: (head)->rbh_root = (tmp); head)->rbh_root = (tmp);never executed: (head)->rbh_root = (tmp); (tmp)->tree_entry.rbe_left = (gparent); (gparent)->tree_entry.rbe_parent = (tmp); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); }never executed: end of block } (head->rbh_root)->tree_entry.rbe_color = 0; }never executed: end of block __attribute__((__unused__)) static void revoked_blob_tree_RB_REMOVE_COLOR(struct revoked_blob_tree *head, struct revoked_blob *parent, struct revoked_blob *elm) { struct revoked_blob *tmp; while ((elm == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
96 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
97 | || (TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_color == 0TRUE | never evaluated | FALSE | never evaluated |
) && elm != (head)->rbh_rootTRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_left == elmTRUE | never evaluated | FALSE | never evaluated |
) { tmp = (parent)->tree_entry.rbe_right; if ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_color == 1TRUE | never evaluated | FALSE | never evaluated |
) { do { (tmp)->tree_entry.rbe_color = 0; (parent)->tree_entry.rbe_color = 1; } while (0); do { (tmp) = (parent)->tree_entry.rbe_right; if (((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_right = (tmp)->tree_entry.rbe_left)TRUE | never evaluated | FALSE | never evaluated |
) { ((tmp)->tree_entry.rbe_left)->tree_entry.rbe_parent = (parent); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent = (parent)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
parent) == ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); else ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); } else (never executed: (head)->rbh_root = (tmp); head)->rbh_root = (tmp);never executed: (head)->rbh_root = (tmp); (tmp)->tree_entry.rbe_left = (parent); (parent)->tree_entry.rbe_parent = (tmp); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); tmp = (parent)->tree_entry.rbe_right; }never executed: end of block if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_left == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
98 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
99 | || ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_left)->tree_entry.rbe_color == 0TRUE | never evaluated | FALSE | never evaluated |
) && ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_right == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
100 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
101 | || ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_right)->tree_entry.rbe_color == 0TRUE | never evaluated | FALSE | never evaluated |
)) { (tmp)->tree_entry.rbe_color = 1; elm = parent; parent = (elm)->tree_entry.rbe_parent; }never executed: end of block else { if ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_right == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
102 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
103 | || ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_right)->tree_entry.rbe_color == 0TRUE | never evaluated | FALSE | never evaluated |
) { struct revoked_blob *oleft; if ((TRUE | never evaluated | FALSE | never evaluated |
oleft = (tmp)->tree_entry.rbe_left)TRUE | never evaluated | FALSE | never evaluated |
) (never executed: (oleft)->tree_entry.rbe_color = 0; oleft)->tree_entry.rbe_color = 0;never executed: (oleft)->tree_entry.rbe_color = 0; (tmp)->tree_entry.rbe_color = 1; do { (oleft) = (tmp)->tree_entry.rbe_left; if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_left = (oleft)->tree_entry.rbe_right)TRUE | never evaluated | FALSE | never evaluated |
) { ((oleft)->tree_entry.rbe_right)->tree_entry.rbe_parent = (tmp); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
oleft)->tree_entry.rbe_parent = (tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
tmp) == ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_left = (oleft); tmp)->tree_entry.rbe_parent)->tree_entry.rbe_left = (oleft);never executed: ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_left = (oleft); else ((never executed: ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_right = (oleft); tmp)->tree_entry.rbe_parent)->tree_entry.rbe_right = (oleft);never executed: ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_right = (oleft); } else (never executed: (head)->rbh_root = (oleft); head)->rbh_root = (oleft);never executed: (head)->rbh_root = (oleft); (oleft)->tree_entry.rbe_right = (tmp); (tmp)->tree_entry.rbe_parent = (oleft); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
oleft)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); tmp = (parent)->tree_entry.rbe_right; }never executed: end of block (tmp)->tree_entry.rbe_color = (parent)->tree_entry.rbe_color; (parent)->tree_entry.rbe_color = 0; if ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_rightTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((tmp)->tree_entry.rbe_right)->tree_entry.rbe_color = 0; tmp)->tree_entry.rbe_right)->tree_entry.rbe_color = 0;never executed: ((tmp)->tree_entry.rbe_right)->tree_entry.rbe_color = 0; do { (tmp) = (parent)->tree_entry.rbe_right; if (((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_right = (tmp)->tree_entry.rbe_left)TRUE | never evaluated | FALSE | never evaluated |
) { ((tmp)->tree_entry.rbe_left)->tree_entry.rbe_parent = (parent); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent = (parent)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
parent) == ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); else ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); } else (never executed: (head)->rbh_root = (tmp); head)->rbh_root = (tmp);never executed: (head)->rbh_root = (tmp); (tmp)->tree_entry.rbe_left = (parent); (parent)->tree_entry.rbe_parent = (tmp); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); elm = (head)->rbh_root; break;never executed: break; } } else { tmp = (parent)->tree_entry.rbe_left; if ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_color == 1TRUE | never evaluated | FALSE | never evaluated |
) { do { (tmp)->tree_entry.rbe_color = 0; (parent)->tree_entry.rbe_color = 1; } while (0); do { (tmp) = (parent)->tree_entry.rbe_left; if (((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_left = (tmp)->tree_entry.rbe_right)TRUE | never evaluated | FALSE | never evaluated |
) { ((tmp)->tree_entry.rbe_right)->tree_entry.rbe_parent = (parent); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent = (parent)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
parent) == ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); else ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); } else (never executed: (head)->rbh_root = (tmp); head)->rbh_root = (tmp);never executed: (head)->rbh_root = (tmp); (tmp)->tree_entry.rbe_right = (parent); (parent)->tree_entry.rbe_parent = (tmp); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); tmp = (parent)->tree_entry.rbe_left; }never executed: end of block if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_left == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
104 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
105 | || ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_left)->tree_entry.rbe_color == 0TRUE | never evaluated | FALSE | never evaluated |
) && ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_right == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
106 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
107 | || ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_right)->tree_entry.rbe_color == 0TRUE | never evaluated | FALSE | never evaluated |
)) { (tmp)->tree_entry.rbe_color = 1; elm = parent; parent = (elm)->tree_entry.rbe_parent; }never executed: end of block else { if ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_left == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
108 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
109 | || ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_left)->tree_entry.rbe_color == 0TRUE | never evaluated | FALSE | never evaluated |
) { struct revoked_blob *oright; if ((TRUE | never evaluated | FALSE | never evaluated |
oright = (tmp)->tree_entry.rbe_right)TRUE | never evaluated | FALSE | never evaluated |
) (never executed: (oright)->tree_entry.rbe_color = 0; oright)->tree_entry.rbe_color = 0;never executed: (oright)->tree_entry.rbe_color = 0; (tmp)->tree_entry.rbe_color = 1; do { (oright) = (tmp)->tree_entry.rbe_right; if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_right = (oright)->tree_entry.rbe_left)TRUE | never evaluated | FALSE | never evaluated |
) { ((oright)->tree_entry.rbe_left)->tree_entry.rbe_parent = (tmp); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
oright)->tree_entry.rbe_parent = (tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
tmp) == ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_left = (oright); tmp)->tree_entry.rbe_parent)->tree_entry.rbe_left = (oright);never executed: ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_left = (oright); else ((never executed: ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_right = (oright); tmp)->tree_entry.rbe_parent)->tree_entry.rbe_right = (oright);never executed: ((tmp)->tree_entry.rbe_parent)->tree_entry.rbe_right = (oright); } else (never executed: (head)->rbh_root = (oright); head)->rbh_root = (oright);never executed: (head)->rbh_root = (oright); (oright)->tree_entry.rbe_left = (tmp); (tmp)->tree_entry.rbe_parent = (oright); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
oright)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); tmp = (parent)->tree_entry.rbe_left; }never executed: end of block (tmp)->tree_entry.rbe_color = (parent)->tree_entry.rbe_color; (parent)->tree_entry.rbe_color = 0; if ((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((tmp)->tree_entry.rbe_left)->tree_entry.rbe_color = 0; tmp)->tree_entry.rbe_left)->tree_entry.rbe_color = 0;never executed: ((tmp)->tree_entry.rbe_left)->tree_entry.rbe_color = 0; do { (tmp) = (parent)->tree_entry.rbe_left; if (((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_left = (tmp)->tree_entry.rbe_right)TRUE | never evaluated | FALSE | never evaluated |
) { ((tmp)->tree_entry.rbe_right)->tree_entry.rbe_parent = (parent); }never executed: end of block do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent = (parent)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
parent) == ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_left = (tmp); else ((never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp);never executed: ((parent)->tree_entry.rbe_parent)->tree_entry.rbe_right = (tmp); } else (never executed: (head)->rbh_root = (tmp); head)->rbh_root = (tmp);never executed: (head)->rbh_root = (tmp); (tmp)->tree_entry.rbe_right = (parent); (parent)->tree_entry.rbe_parent = (tmp); do {} while (0); if (((TRUE | never evaluated | FALSE | never evaluated |
tmp)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
) do {}never executed: end of block while (0); } while (0); elm = (head)->rbh_root; break;never executed: break; } } } if (elmTRUE | never evaluated | FALSE | never evaluated |
) (never executed: (elm)->tree_entry.rbe_color = 0; elm)->tree_entry.rbe_color = 0;never executed: (elm)->tree_entry.rbe_color = 0; }never executed: end of block __attribute__((__unused__)) static struct revoked_blob * revoked_blob_tree_RB_REMOVE(struct revoked_blob_tree *head, struct revoked_blob *elm) { struct revoked_blob *child, *parent, *old = elm; int color; if ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_left == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
110 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
111 | ) child = (elm)->tree_entry.rbe_right; never executed: child = (elm)->tree_entry.rbe_right; else if ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_right == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
112 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
113 | ) child = (elm)->tree_entry.rbe_left; never executed: child = (elm)->tree_entry.rbe_left; else { struct revoked_blob *left; elm = (elm)->tree_entry.rbe_right; while ((TRUE | never evaluated | FALSE | never evaluated |
left = (elm)->tree_entry.rbe_left)TRUE | never evaluated | FALSE | never evaluated |
) elm = left;never executed: elm = left; child = (elm)->tree_entry.rbe_right; parent = (elm)->tree_entry.rbe_parent; color = (elm)->tree_entry.rbe_color; if (childTRUE | never evaluated | FALSE | never evaluated |
) (never executed: (child)->tree_entry.rbe_parent = parent; child)->tree_entry.rbe_parent = parent;never executed: (child)->tree_entry.rbe_parent = parent; if (parentTRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_left == elmTRUE | never evaluated | FALSE | never evaluated |
) (never executed: (parent)->tree_entry.rbe_left = child; parent)->tree_entry.rbe_left = child;never executed: (parent)->tree_entry.rbe_left = child; else (never executed: (parent)->tree_entry.rbe_right = child; parent)->tree_entry.rbe_right = child;never executed: (parent)->tree_entry.rbe_right = child; do {} while (0); }never executed: end of block else (never executed: (head)->rbh_root = child; head)->rbh_root = child;never executed: (head)->rbh_root = child; if ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_parent == oldTRUE | never evaluated | FALSE | never evaluated |
) parent = elm;never executed: parent = elm; (elm)->tree_entry = (old)->tree_entry; if ((TRUE | never evaluated | FALSE | never evaluated |
old)->tree_entry.rbe_parentTRUE | never evaluated | FALSE | never evaluated |
) { if (((TRUE | never evaluated | FALSE | never evaluated |
old)->tree_entry.rbe_parent)->tree_entry.rbe_left == oldTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((old)->tree_entry.rbe_parent)->tree_entry.rbe_left = elm; old)->tree_entry.rbe_parent)->tree_entry.rbe_left = elm;never executed: ((old)->tree_entry.rbe_parent)->tree_entry.rbe_left = elm; else ((never executed: ((old)->tree_entry.rbe_parent)->tree_entry.rbe_right = elm; old)->tree_entry.rbe_parent)->tree_entry.rbe_right = elm;never executed: ((old)->tree_entry.rbe_parent)->tree_entry.rbe_right = elm; do {} while (0); }never executed: end of block else (never executed: (head)->rbh_root = elm; head)->rbh_root = elm;never executed: (head)->rbh_root = elm; ((old)->tree_entry.rbe_left)->tree_entry.rbe_parent = elm; if ((TRUE | never evaluated | FALSE | never evaluated |
old)->tree_entry.rbe_rightTRUE | never evaluated | FALSE | never evaluated |
) ((never executed: ((old)->tree_entry.rbe_right)->tree_entry.rbe_parent = elm; old)->tree_entry.rbe_right)->tree_entry.rbe_parent = elm;never executed: ((old)->tree_entry.rbe_right)->tree_entry.rbe_parent = elm; if (parentTRUE | never evaluated | FALSE | never evaluated |
) { left = parent; do { do {} while (0); }never executed: end of block while ((TRUE | never evaluated | FALSE | never evaluated |
left = (left)->tree_entry.rbe_parent)TRUE | never evaluated | FALSE | never evaluated |
); }never executed: end of block gotonever executed: goto color; color;never executed: goto color; } parent = (elm)->tree_entry.rbe_parent; color = (elm)->tree_entry.rbe_color; if (childTRUE | never evaluated | FALSE | never evaluated |
) (never executed: (child)->tree_entry.rbe_parent = parent; child)->tree_entry.rbe_parent = parent;never executed: (child)->tree_entry.rbe_parent = parent; if (parentTRUE | never evaluated | FALSE | never evaluated |
) { if ((TRUE | never evaluated | FALSE | never evaluated |
parent)->tree_entry.rbe_left == elmTRUE | never evaluated | FALSE | never evaluated |
) (never executed: (parent)->tree_entry.rbe_left = child; parent)->tree_entry.rbe_left = child;never executed: (parent)->tree_entry.rbe_left = child; else (never executed: (parent)->tree_entry.rbe_right = child; parent)->tree_entry.rbe_right = child;never executed: (parent)->tree_entry.rbe_right = child; do {} while (0); }never executed: end of block else (never executed: (head)->rbh_root = child; head)->rbh_root = child;never executed: (head)->rbh_root = child; color:code before this statement never executed: color: if (color == 0TRUE | never evaluated | FALSE | never evaluated |
) revoked_blob_tree_RB_REMOVE_COLOR(head, parent, child);never executed: revoked_blob_tree_RB_REMOVE_COLOR(head, parent, child); returnnever executed: return (old); (old);never executed: return (old); } __attribute__((__unused__)) static struct revoked_blob * revoked_blob_tree_RB_INSERT(struct revoked_blob_tree *head, struct revoked_blob *elm) { struct revoked_blob *tmp; struct revoked_blob *parent = | 0 |
114 | ((void *)0) | - |
115 | ; int comp = 0; tmp = (head)->rbh_root; while (tmpTRUE | never evaluated | FALSE | never evaluated |
) { parent = tmp; comp = (blob_cmp)(elm, parent); if (comp < 0TRUE | never evaluated | FALSE | never evaluated |
) tmp = (tmp)->tree_entry.rbe_left;never executed: tmp = (tmp)->tree_entry.rbe_left; else if (comp > 0TRUE | never evaluated | FALSE | never evaluated |
) tmp = (tmp)->tree_entry.rbe_right;never executed: tmp = (tmp)->tree_entry.rbe_right; else returnnever executed: return (tmp); (tmp);never executed: return (tmp); } do { (elm)->tree_entry.rbe_parent = parent; (elm)->tree_entry.rbe_left = (elm)->tree_entry.rbe_right = | 0 |
116 | ((void *)0) | - |
117 | ; (elm)->tree_entry.rbe_color = 1; } while (0); if (parent != TRUE | never evaluated | FALSE | never evaluated |
| 0 |
118 | ((TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
119 | ) { if (comp < 0TRUE | never evaluated | FALSE | never evaluated |
) (never executed: (parent)->tree_entry.rbe_left = elm; parent)->tree_entry.rbe_left = elm;never executed: (parent)->tree_entry.rbe_left = elm; else (never executed: (parent)->tree_entry.rbe_right = elm; parent)->tree_entry.rbe_right = elm;never executed: (parent)->tree_entry.rbe_right = elm; do {} while (0); }never executed: end of block else (never executed: (head)->rbh_root = elm; head)->rbh_root = elm;never executed: (head)->rbh_root = elm; revoked_blob_tree_RB_INSERT_COLOR(head, elm); returnnever executed: return ( ((void *)0) ); (never executed: return ( ((void *)0) ); | 0 |
120 | (( never executed: return ( ((void *)0) ); never executed: return ( ((void *)0) ); void *)0)never executed: return ( ((void *)0) ); | 0 |
121 | ) never executed: return ( ((void *)0) ); never executed: return ( ((void *)0) ); ;never executed: return ( ((void *)0) ); } __attribute__((__unused__)) static struct revoked_blob * revoked_blob_tree_RB_FIND(struct revoked_blob_tree *head, struct revoked_blob *elm) { struct revoked_blob *tmp = (head)->rbh_root; int comp; while (tmpTRUE | never evaluated | FALSE | never evaluated |
) { comp = blob_cmp(elm, tmp); if (comp < 0TRUE | never evaluated | FALSE | never evaluated |
) tmp = (tmp)->tree_entry.rbe_left;never executed: tmp = (tmp)->tree_entry.rbe_left; else if (comp > 0TRUE | never evaluated | FALSE | never evaluated |
) tmp = (tmp)->tree_entry.rbe_right;never executed: tmp = (tmp)->tree_entry.rbe_right; else returnnever executed: return (tmp); (tmp);never executed: return (tmp); } returnnever executed: return ( ((void *)0) ); (never executed: return ( ((void *)0) ); | 0 |
122 | (( never executed: return ( ((void *)0) ); never executed: return ( ((void *)0) ); void *)0)never executed: return ( ((void *)0) ); | 0 |
123 | ) never executed: return ( ((void *)0) ); never executed: return ( ((void *)0) ); ;never executed: return ( ((void *)0) ); } __attribute__((__unused__)) static struct revoked_blob * revoked_blob_tree_RB_NFIND(struct revoked_blob_tree *head, struct revoked_blob *elm) { struct revoked_blob *tmp = (head)->rbh_root; struct revoked_blob *res = | 0 |
124 | ((void *)0) | - |
125 | ; int comp; while (tmpTRUE | never evaluated | FALSE | never evaluated |
) { comp = blob_cmp(elm, tmp); if (comp < 0TRUE | never evaluated | FALSE | never evaluated |
) { res = tmp; tmp = (tmp)->tree_entry.rbe_left; }never executed: end of block else if (comp > 0TRUE | never evaluated | FALSE | never evaluated |
) tmp = (tmp)->tree_entry.rbe_right;never executed: tmp = (tmp)->tree_entry.rbe_right; else returnnever executed: return (tmp); (tmp);never executed: return (tmp); } returnnever executed: return (res); (res);never executed: return (res); } __attribute__((__unused__)) static struct revoked_blob * revoked_blob_tree_RB_NEXT(struct revoked_blob *elm) { if ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_rightTRUE | never evaluated | FALSE | never evaluated |
) { elm = (elm)->tree_entry.rbe_right; while ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_leftTRUE | never evaluated | FALSE | never evaluated |
) elm = (elm)->tree_entry.rbe_left;never executed: elm = (elm)->tree_entry.rbe_left; }never executed: end of block else { if ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_parentTRUE | never evaluated | FALSE | never evaluated |
&& (TRUE | never evaluated | FALSE | never evaluated |
elm == ((elm)->tree_entry.rbe_parent)->tree_entry.rbe_left)TRUE | never evaluated | FALSE | never evaluated |
) elm = (elm)->tree_entry.rbe_parent;never executed: elm = (elm)->tree_entry.rbe_parent; else { while ((TRUE | never evaluated | FALSE | never evaluated |
elm)->tree_entry.rbe_parentTRUE | never evaluated | FALSE | never e |
|