|
void | _RBTree_Initialize (RBTree_Control *the_rbtree, RBTree_Compare compare, void *starting_address, size_t number_nodes, size_t node_size, bool is_unique) |
| Initialize a RBTree Header. More...
|
|
RBTree_Node * | _RBTree_Find (const RBTree_Control *the_rbtree, const RBTree_Node *the_node, RBTree_Compare compare, bool is_unique) |
| Tries to find a node for the specified key in the tree. More...
|
|
RBTree_Node * | _RBTree_Insert (RBTree_Control *the_rbtree, RBTree_Node *the_node, RBTree_Compare compare, bool is_unique) |
| Inserts the node into the red-black tree. More...
|
|
void | _RBTree_Extract (RBTree_Control *the_rbtree, RBTree_Node *the_node) |
| Extracts (removes) the node from the red-black tree. More...
|
|
RBTree_Node * | _RBTree_Next (const RBTree_Node *node, RBTree_Direction dir) |
| Returns the in-order next node of a node. More...
|
|
RTEMS_INLINE_ROUTINE void | _RBTree_Set_off_tree (RBTree_Node *the_node) |
| Sets a red-black tree node as off-tree. More...
|
|
RTEMS_INLINE_ROUTINE bool | _RBTree_Is_node_off_tree (const RBTree_Node *the_node) |
| Returns true, if this red-black tree node is off-tree, and false otherwise. More...
|
|
RTEMS_INLINE_ROUTINE RBTree_Node * | _RBTree_Root (const RBTree_Control *the_rbtree) |
| Returns a pointer to root node of the red-black tree. More...
|
|
RTEMS_INLINE_ROUTINE RBTree_Node * | _RBTree_First (const RBTree_Control *the_rbtree, RBTree_Direction dir) |
| Return pointer to RBTree's first node. More...
|
|
RTEMS_INLINE_ROUTINE RBTree_Node * | _RBTree_Parent (const RBTree_Node *the_node) |
| Returns a pointer to the parent of this node. More...
|
|
RTEMS_INLINE_ROUTINE RBTree_Node * | _RBTree_Left (const RBTree_Node *the_node) |
| Return pointer to the left of this node. More...
|
|
RTEMS_INLINE_ROUTINE RBTree_Node * | _RBTree_Right (const RBTree_Node *the_node) |
| Return pointer to the right of this node. More...
|
|
RTEMS_INLINE_ROUTINE bool | _RBTree_Is_empty (const RBTree_Control *the_rbtree) |
| Is the RBTree empty. More...
|
|
RTEMS_INLINE_ROUTINE bool | _RBTree_Is_first (const RBTree_Control *the_rbtree, const RBTree_Node *the_node, RBTree_Direction dir) |
| Is this the first node on the RBTree. More...
|
|
RTEMS_INLINE_ROUTINE bool | _RBTree_Is_root (const RBTree_Node *the_node) |
| Returns true if this node is the root node of a red-black tree, and false otherwise. More...
|
|
RTEMS_INLINE_ROUTINE void | _RBTree_Initialize_empty (RBTree_Control *the_rbtree) |
| Initialize this RBTree as empty. More...
|
|
RTEMS_INLINE_ROUTINE RBTree_Node * | _RBTree_Predecessor (const RBTree_Node *node) |
| Returns the predecessor of a node. More...
|
|
RTEMS_INLINE_ROUTINE RBTree_Node * | _RBTree_Successor (const RBTree_Node *node) |
| Returns the successor of a node. More...
|
|
RTEMS_INLINE_ROUTINE RBTree_Node * | _RBTree_Get (RBTree_Control *the_rbtree, RBTree_Direction dir) |
| Gets a node with an extremal key value from the red-black tree. More...
|
|