Lines Matching refs:compare
47 sl->compare = (SkiplistComparator)NULL;
60 return (void *)(((Skiplist *)a)->compare)>(void *)(((Skiplist *)b)->compare);
64 return a>(void *)(((Skiplist *)b)->compare);
77 if(sl->compare && sl->comparek) {
80 sl->compare = comp;
126 if(!sl->compare) return 0;
128 ret = skiplist_find_compare(sl, data, iter, sl->compare);
130 ret = skiplist_find_compare(sl, data, &aiter, sl->compare);
139 if(comp==sli->compare || !sli->index) {
191 if(!sl->compare) return 0;
192 return skiplist_insert_compare(sl, data, sl->compare);
305 compared=sl->compare(data, sl->bottomend->prev->data);
371 compared = sl1->compare(sl1->bottomend->prev->data, sl2->bottom->data);
415 if(!sl->compare) return 0;