Lines Matching refs:smaller
47 N.smaller = N.larger = NULL; in Curl_splay()
53 if(t->smaller == NULL) in Curl_splay()
55 if(compare(i, t->smaller->key) < 0) { in Curl_splay()
56 y = t->smaller; /* rotate smaller */ in Curl_splay()
57 t->smaller = y->larger; in Curl_splay()
60 if(t->smaller == NULL) in Curl_splay()
63 r->smaller = t; /* link smaller */ in Curl_splay()
65 t = t->smaller; in Curl_splay()
72 t->larger = y->smaller; in Curl_splay()
73 y->smaller = t; in Curl_splay()
86 l->larger = t->smaller; /* assemble */ in Curl_splay()
87 r->smaller = t->larger; in Curl_splay()
88 t->smaller = N.larger; in Curl_splay()
89 t->larger = N.smaller; in Curl_splay()
129 node->smaller = node->larger = NULL; in Curl_splayinsert()
132 node->smaller = t->smaller; in Curl_splayinsert()
134 t->smaller = NULL; in Curl_splayinsert()
139 node->smaller = t; in Curl_splayinsert()
182 x->smaller = t->smaller; in Curl_splaygetbest()
259 x->smaller = t->smaller; in Curl_splayremovebyaddr()
265 if(t->smaller == NULL) in Curl_splayremovebyaddr()
268 x = Curl_splay(removenode->key, t->smaller); in Curl_splayremovebyaddr()