Home
last modified time | relevance | path

Searched refs:_rght (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/lib/libast/cdt/
H A Ddttree.c68 if(here->_rght) in dttreeprint()
78 if(here->_rght) in dttreeprint()
134 t = root->_rght;
160 for(r = (last = list)->_rght; r; r = (last = r)->_rght)
163 last->_rght = r;
177 { t = r->_rght;
264 l = l->_rght;
266 mid = l->_rght; l->_rght = NIL(Dtlink_t*);
268 mid->_rght = tbalance(mid->_rght, size - (n + 1));
312 list->_rght = r; in troot()
[all …]
H A Ddtlist.c100 { next = lnk->_rght;
218 { if(!h || !h->_rght)
220 r->_rght = h->_rght;
221 r->_rght->_left = r;
223 r->_left->_rght = r;
229 r->_left->_rght = r;
230 r->_rght = h;
231 r->_rght->_left = r;
298 if(r->_rght)
306 { r->_left->_rght = r->_rght;
[all …]
H A Dcdtlib.h148 #define _rght rh.__rght macro
152 #define rrotate(x,y) ((x)->_left = (y)->_rght, (y)->_rght = (x))
153 #define lrotate(x,y) ((x)->_rght = (y)->_left, (y)->_left = (x))
155 #define llink(l,x) ((l) = (l)->_rght = (x) )
159 #define RRSHIFT(x,t) ((t) = (x)->_left->_left, (x)->_left->_left = (t)->_rght, \
160 (t)->_rght = (x), (x) = (t) )
161 #define LLSHIFT(x,t) ((t) = (x)->_rght->_rght, (x)->_rght->_rght = (t)->_left, \
H A Ddthash.c81 { next = l->_rght; in htable()
82 l->_rght = htbl[k = l->_hash&(n-1)]; in htable()
105 { next = l->_rght; in hclear()
134 if((next = l->_rght) ) in hnext()
159 { for(l = *t; l; l = l->_rght) in hflatten()
161 tail = (tail->_rght = l); in hflatten()
190 l->_rght = NIL(Dtlink_t*); in hflatten()
213 { next = l->_rght; in hlist()
340 pp->_rght = ll->_rght;
341 else *tbl = ll->_rght;
[all …]