Go to the source code of this file.
Classes | |
union | _TRI_SPLAY_LINKS |
Defines | |
#define | TriInitializeSplayLinks(Links) |
#define | TriParent(Links) |
#define | TriLeftChild(Links) |
#define | TriRightChild(Links) |
#define | TriIsRoot(Links) |
#define | TriIsLeftChild(Links) |
#define | TriIsRightChild(Links) |
#define | TriInsertAsLeftChild(ParentLinks, ChildLinks) |
#define | TriInsertAsRightChild(ParentLinks, ChildLinks) |
#define | IsParentRef(Ulong) (((((ULONG)Ulong) & 1) == 0) && ((Ulong) != 0) ? TRUE : FALSE) |
#define | MakeIntoParentRef(Ulong) (((ULONG)Ulong) & 0xfffffffc) |
#define | IsSiblingRef(Ulong) ((((ULONG)Ulong) & 1) == 1 ? TRUE : FALSE) |
#define | MakeIntoSiblingRef(Ulong) (((ULONG)Ulong) | 1) |
#define | IsLeftChildRef(Ulong) (((((ULONG)Ulong) & 1) == 0) && ((Ulong) != 0) ? TRUE : FALSE) |
#define | MakeIntoLeftChildRef(Ulong) (((ULONG)Ulong) & 0xfffffffc) |
#define | IsRightChildRef(Ulong) ((((ULONG)Ulong) & 1) == 1 ? TRUE : FALSE) |
#define | MakeIntoRightChildRef(Ulong) (((ULONG)Ulong) | 1) |
#define | MakeIntoPointer(Ulong) ((PTRI_SPLAY_LINKS)((Ulong) & 0xfffffffc)) |
Typedefs | |
typedef _TRI_SPLAY_LINKS | TRI_SPLAY_LINKS |
typedef TRI_SPLAY_LINKS * | PTRI_SPLAY_LINKS |
Functions | |
PTRI_SPLAY_LINKS | TriSplay (IN PTRI_SPLAY_LINKS Links) |
PTRI_SPLAY_LINKS | TriDelete (IN PTRI_SPLAY_LINKS Links) |
PTRI_SPLAY_LINKS | TriSubtreeSuccessor (IN PTRI_SPLAY_LINKS Links) |
PTRI_SPLAY_LINKS | TriSubtreePredecessor (IN PTRI_SPLAY_LINKS Links) |
PTRI_SPLAY_LINKS | TriRealSuccessor (IN PTRI_SPLAY_LINKS Links) |
PTRI_SPLAY_LINKS | TriRealPredecessor (IN PTRI_SPLAY_LINKS Links) |
|
Definition at line 317 of file triangle.h. |
|
Definition at line 311 of file triangle.h. |
|
Definition at line 320 of file triangle.h. |
|
Definition at line 314 of file triangle.h. |
|
Definition at line 318 of file triangle.h. Referenced by TriRotateLeft(), TriRotateRight(), and TriSwapSplayLinks(). |
|
Definition at line 312 of file triangle.h. Referenced by TriDelete(), TriRotateLeft(), TriRotateRight(), and TriSwapSplayLinks(). |
|
Definition at line 323 of file triangle.h. Referenced by TriAddressOfBackRefViaChild(), TriAddressOfBackRefViaParent(), TriDelete(), and TriSwapSplayLinks(). |
|
Definition at line 321 of file triangle.h. Referenced by TriDelete(), TriRotateLeft(), and TriRotateRight(). |
|
Definition at line 315 of file triangle.h. Referenced by TriRotateLeft(), TriRotateRight(), and TriSwapSplayLinks(). |
|
Value:
Definition at line 43 of file triangle.h. Referenced by main(). |
|
Value:
Definition at line 179 of file triangle.h. |
|
Value:
Definition at line 205 of file triangle.h. |
|
Value: Definition at line 139 of file triangle.h. Referenced by TriDelete(), TriRealPredecessor(), TriRealSuccessor(), TriSplay(), and TriSwapSplayLinks(). |
|
Value: Definition at line 158 of file triangle.h. |
|
Value:
Definition at line 120 of file triangle.h. Referenced by TriAddressOfBackRefViaParent(), TriDelete(), TriRealPredecessor(), TriRealSuccessor(), TriRotateLeft(), TriRotateRight(), TriSplay(), and TriSwapSplayLinks(). |
|
Value:
Definition at line 78 of file triangle.h. Referenced by TriDelete(), TriRealPredecessor(), TriRealSuccessor(), TriRotateLeft(), TriRotateRight(), TriSubtreePredecessor(), and TriSubtreeSuccessor(). |
|
Value:
Definition at line 60 of file triangle.h. Referenced by TriAddressOfBackRefViaParent(), TriDelete(), TriRealPredecessor(), TriRealSuccessor(), TriSplay(), and TriSwapSplayLinks(). |
|
Value:
Definition at line 97 of file triangle.h. Referenced by TriDelete(), TriRealPredecessor(), TriRealSuccessor(), TriRotateLeft(), TriRotateRight(), TriSubtreePredecessor(), and TriSubtreeSuccessor(). |
|
Definition at line 29 of file triangle.h. |
|
|
|
Definition at line 273 of file triangle.c. References MakeIntoParentRef, MakeIntoPointer, MakeIntoRightChildRef, NULL, _TRI_SPLAY_LINKS::Refs, SetRefViaPointer, TriAddressOfBackRefViaParent(), TriIsLeftChild, TriIsRoot, TriLeftChild, TriParent, TriRightChild, TriSplay(), TriSubtreePredecessor(), and TriSwapSplayLinks().
|
|
Definition at line 636 of file triangle.c. References NULL, Ptr, TriIsLeftChild, TriIsRoot, TriLeftChild, TriParent, and TriRightChild.
|
|
Definition at line 554 of file triangle.c. References NULL, Ptr, TriIsLeftChild, TriIsRoot, TriLeftChild, TriParent, and TriRightChild.
|
|
Definition at line 113 of file triangle.c. References TriIsLeftChild, TriIsRoot, TriParent, TriRotateLeft(), and TriRotateRight(). Referenced by TriDelete().
|
|
Definition at line 494 of file triangle.c. References NULL, Ptr, TriLeftChild, and TriRightChild. Referenced by TriDelete().
|
|
Definition at line 433 of file triangle.c. References NULL, Ptr, TriLeftChild, and TriRightChild.
|