HomeSort by relevance Sort by last modified time
    Searched refs:RB_LEFT (Results 1 - 3 of 3) sorted by null

  /device/linaro/hikey/hifi/xaf/hifi-dpf/core/util/
rbtree.c 43 #define RB_LEFT(tree, node) ((node)->left)
55 #define RB_ROOT(tree) RB_LEFT((tree), &(tree)->root)
123 while ((t_idx = RB_LEFT(tree, p_idx)) != RB_NULL(tree))
158 while ((t_idx = RB_LEFT(tree, c_idx)) != RB_NULL(tree))
182 if ((c_idx = RB_LEFT(tree, n_idx)) != RB_NULL(tree))
194 if (n_idx == RB_LEFT(tree, p_idx))
252 if (p_idx == RB_LEFT(tree, g_idx))
265 if (n_idx == RB_LEFT(tree, p_idx))
274 u_idx = RB_LEFT(tree, g_idx);
300 cl_idx = RB_LEFT(tree, n_idx), cr_idx = RB_RIGHT(tree, n_idx)
    [all...]
  /external/openssh/openbsd-compat/
sys-tree.h 320 #define RB_LEFT(elm, field) (elm)->field.rbe_left
329 RB_LEFT(elm, field) = RB_RIGHT(elm, field) = NULL; \
344 if ((RB_RIGHT(elm, field) = RB_LEFT(tmp, field))) { \
345 RB_PARENT(RB_LEFT(tmp, field), field) = (elm); \
349 if ((elm) == RB_LEFT(RB_PARENT(elm, field), field)) \
350 RB_LEFT(RB_PARENT(elm, field), field) = (tmp); \
355 RB_LEFT(tmp, field) = (elm); \
363 (tmp) = RB_LEFT(elm, field); \
364 if ((RB_LEFT(elm, field) = RB_RIGHT(tmp, field))) { \
369 if ((elm) == RB_LEFT(RB_PARENT(elm, field), field))
    [all...]
  /external/libevent/WIN32-Code/
tree.h 313 #define RB_LEFT(elm, field) (elm)->field.rbe_left
322 RB_LEFT(elm, field) = RB_RIGHT(elm, field) = NULL; \
337 if ((RB_RIGHT(elm, field) = RB_LEFT(tmp, field))) { \
338 RB_PARENT(RB_LEFT(tmp, field), field) = (elm); \
342 if ((elm) == RB_LEFT(RB_PARENT(elm, field), field)) \
343 RB_LEFT(RB_PARENT(elm, field), field) = (tmp); \
348 RB_LEFT(tmp, field) = (elm); \
356 (tmp) = RB_LEFT(elm, field); \
357 if ((RB_LEFT(elm, field) = RB_RIGHT(tmp, field))) { \
362 if ((elm) == RB_LEFT(RB_PARENT(elm, field), field))
    [all...]

Completed in 943 milliseconds