Lines Matching refs:cmp
105 #define LL_SORT(list, cmp) \ argument
106 LL_SORT2(list, cmp, next)
108 #define LL_SORT2(list, cmp, next) \ argument
140 } else if (cmp(_ls_p,_ls_q) <= 0) { \
168 #define DL_SORT(list, cmp) \ argument
169 DL_SORT2(list, cmp, prev, next)
171 #define DL_SORT2(list, cmp, prev, next) \ argument
203 } else if (cmp(_ls_p,_ls_q) <= 0) { \
230 #define CDL_SORT(list, cmp) \ argument
231 CDL_SORT2(list, cmp, prev, next)
233 #define CDL_SORT2(list, cmp, prev, next) \ argument
276 } else if (cmp(_ls_p,_ls_q) <= 0) { \
450 #define LL_SEARCH(head,out,elt,cmp) \ argument
451 LL_SEARCH2(head,out,elt,cmp,next)
453 #define LL_SEARCH2(head,out,elt,cmp,next) \ argument
456 if ((cmp(out,elt))==0) break; \
712 #define CDL_SEARCH(head,out,elt,cmp) \ argument
713 CDL_SEARCH2(head,out,elt,cmp,next)
715 #define CDL_SEARCH2(head,out,elt,cmp,next) \ argument
718 if ((cmp(out,elt))==0) break; \