Lines Matching defs:SPLAY_RIGHT
76 #define SPLAY_RIGHT(elm, field) (elm)->field.spe_right
82 SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(tmp, field); \
83 SPLAY_RIGHT(tmp, field) = (head)->sph_root; \
88 SPLAY_RIGHT((head)->sph_root, field) = SPLAY_LEFT(tmp, field); \
100 SPLAY_RIGHT(tmp, field) = (head)->sph_root; \
102 (head)->sph_root = SPLAY_RIGHT((head)->sph_root, field); \
106 SPLAY_RIGHT(left, field) = SPLAY_LEFT((head)->sph_root, field); \
107 SPLAY_LEFT(right, field) = SPLAY_RIGHT((head)->sph_root, field);\
108 SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(node, field); \
109 SPLAY_RIGHT((head)->sph_root, field) = SPLAY_LEFT(node, field); \
136 if (SPLAY_RIGHT(elm, field) != NULL) { \
137 elm = SPLAY_RIGHT(elm, field); \
161 SPLAY_LEFT(elm, field) = SPLAY_RIGHT(elm, field) = NULL; \
168 SPLAY_RIGHT(elm, field) = (head)->sph_root; \
171 SPLAY_RIGHT(elm, field) = SPLAY_RIGHT((head)->sph_root, field);\
173 SPLAY_RIGHT((head)->sph_root, field) = NULL; \
190 (head)->sph_root = SPLAY_RIGHT((head)->sph_root, field);\
192 __tmp = SPLAY_RIGHT((head)->sph_root, field); \
195 SPLAY_RIGHT((head)->sph_root, field) = __tmp; \
208 SPLAY_LEFT(&__node, field) = SPLAY_RIGHT(&__node, field) = NULL;\
223 __tmp = SPLAY_RIGHT((head)->sph_root, field); \
228 if (SPLAY_RIGHT((head)->sph_root, field) == NULL)\
244 SPLAY_LEFT(&__node, field) = SPLAY_RIGHT(&__node, field) = NULL;\
259 __tmp = SPLAY_RIGHT((head)->sph_root, field); \
264 if (SPLAY_RIGHT((head)->sph_root, field) == NULL)\
753 #define SPLAY_RIGHT(elm, field) (elm)->field.spe_right
759 SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(tmp, field); \
760 SPLAY_RIGHT(tmp, field) = (head)->sph_root; \
765 SPLAY_RIGHT((head)->sph_root, field) = SPLAY_LEFT(tmp, field); \
777 SPLAY_RIGHT(tmp, field) = (head)->sph_root; \
779 (head)->sph_root = SPLAY_RIGHT((head)->sph_root, field); \
783 SPLAY_RIGHT(left, field) = SPLAY_LEFT((head)->sph_root, field); \
784 SPLAY_LEFT(right, field) = SPLAY_RIGHT((head)->sph_root, field);\
785 SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(node, field); \
786 SPLAY_RIGHT((head)->sph_root, field) = SPLAY_LEFT(node, field); \
813 if (SPLAY_RIGHT(elm, field) != NULL) { \
814 elm = SPLAY_RIGHT(elm, field); \
838 SPLAY_LEFT(elm, field) = SPLAY_RIGHT(elm, field) = NULL; \
845 SPLAY_RIGHT(elm, field) = (head)->sph_root; \
848 SPLAY_RIGHT(elm, field) = SPLAY_RIGHT((head)->sph_root, field);\
850 SPLAY_RIGHT((head)->sph_root, field) = NULL; \
867 (head)->sph_root = SPLAY_RIGHT((head)->sph_root, field);\
869 __tmp = SPLAY_RIGHT((head)->sph_root, field); \
872 SPLAY_RIGHT((head)->sph_root, field) = __tmp; \
885 SPLAY_LEFT(&__node, field) = SPLAY_RIGHT(&__node, field) = NULL;\
900 __tmp = SPLAY_RIGHT((head)->sph_root, field); \
905 if (SPLAY_RIGHT((head)->sph_root, field) == NULL)\
921 SPLAY_LEFT(&__node, field) = SPLAY_RIGHT(&__node, field) = NULL;\
936 __tmp = SPLAY_RIGHT((head)->sph_root, field); \
941 if (SPLAY_RIGHT((head)->sph_root, field) == NULL)\