Searched refs:RB_PARENT (Results 1 – 2 of 2) sorted by relevance
/external/openssh/openbsd-compat/ |
D | sys-tree.h | 322 #define RB_PARENT(elm, field) (elm)->field.rbe_parent macro 328 RB_PARENT(elm, field) = parent; \ 345 RB_PARENT(RB_LEFT(tmp, field), field) = (elm); \ 348 if ((RB_PARENT(tmp, field) = RB_PARENT(elm, field))) { \ 349 if ((elm) == RB_LEFT(RB_PARENT(elm, field), field)) \ 350 RB_LEFT(RB_PARENT(elm, field), field) = (tmp); \ 352 RB_RIGHT(RB_PARENT(elm, field), field) = (tmp); \ 356 RB_PARENT(elm, field) = (tmp); \ 358 if ((RB_PARENT(tmp, field))) \ 359 RB_AUGMENT(RB_PARENT(tmp, field)); \ [all …]
|
/external/libevent/WIN32-Code/ |
D | tree.h | 315 #define RB_PARENT(elm, field) (elm)->field.rbe_parent macro 321 RB_PARENT(elm, field) = parent; \ 338 RB_PARENT(RB_LEFT(tmp, field), field) = (elm); \ 341 if ((RB_PARENT(tmp, field) = RB_PARENT(elm, field))) { \ 342 if ((elm) == RB_LEFT(RB_PARENT(elm, field), field)) \ 343 RB_LEFT(RB_PARENT(elm, field), field) = (tmp); \ 345 RB_RIGHT(RB_PARENT(elm, field), field) = (tmp); \ 349 RB_PARENT(elm, field) = (tmp); \ 351 if ((RB_PARENT(tmp, field))) \ 352 RB_AUGMENT(RB_PARENT(tmp, field)); \ [all …]
|