el 951 src/dps8/uthash.h # define HASH_ITER(hh,head,el,tmp) \ el 952 src/dps8/uthash.h for((el)=(head), (*(char**)(&(tmp)))=(char*)((head)?(head)->hh.next:NULL); \ el 953 src/dps8/uthash.h el; (el)=(tmp),(*(char**)(&(tmp)))=(char*)((tmp)?(tmp)->hh.next:NULL)) el 955 src/dps8/uthash.h # define HASH_ITER(hh,head,el,tmp) \ el 956 src/dps8/uthash.h for((el)=(head),(tmp)=DECLTYPE(el)((head)?(head)->hh.next:NULL); \ el 957 src/dps8/uthash.h el; (el)=(tmp),(tmp)=DECLTYPE(el)((tmp)?(tmp)->hh.next:NULL)) el 446 src/dps8/utlist.h # define LL_FOREACH(head,el) \ el 447 src/dps8/utlist.h LL_FOREACH2(head,el,next) el 449 src/dps8/utlist.h # define LL_FOREACH2(head,el,next) \ el 450 src/dps8/utlist.h for(el=head;el;el=(el)->next) el 452 src/dps8/utlist.h # define LL_FOREACH_SAFE(head,el,tmp) \ el 453 src/dps8/utlist.h LL_FOREACH_SAFE2(head,el,tmp,next) el 455 src/dps8/utlist.h # define LL_FOREACH_SAFE2(head,el,tmp,next) \ el 456 src/dps8/utlist.h for((el)=(head);(el) && (tmp = (el)->next, 1); (el) = tmp) el 478 src/dps8/utlist.h # define LL_REPLACE_ELEM(head, el, add) \ el 482 src/dps8/utlist.h assert(el != NULL); \ el 484 src/dps8/utlist.h (add)->next = (el)->next; \ el 485 src/dps8/utlist.h if ((head) == (el)) { \ el 489 src/dps8/utlist.h while (_tmp->next && (_tmp->next != (el))) { \ el 498 src/dps8/utlist.h # define LL_PREPEND_ELEM(head, el, add) \ el 502 src/dps8/utlist.h assert(el != NULL); \ el 504 src/dps8/utlist.h (add)->next = (el); \ el 505 src/dps8/utlist.h if ((head) == (el)) { \ el 509 src/dps8/utlist.h while (_tmp->next && (_tmp->next != (el))) { \ el 595 src/dps8/utlist.h # define DL_FOREACH(head,el) \ el 596 src/dps8/utlist.h DL_FOREACH2(head,el,next) el 598 src/dps8/utlist.h # define DL_FOREACH2(head,el,next) \ el 599 src/dps8/utlist.h for(el=head;el;el=(el)->next) el 606 src/dps8/utlist.h # define DL_FOREACH_SAFE(head,el,tmp) \ el 607 src/dps8/utlist.h DL_FOREACH_SAFE2(head,el,tmp,next) el 609 src/dps8/utlist.h # define DL_FOREACH_SAFE2(head,el,tmp,next) \ el 610 src/dps8/utlist.h for((el)=(head);(el) && (tmp = (el)->next, 1); (el) = tmp) el 622 src/dps8/utlist.h # define DL_REPLACE_ELEM(head, el, add) \ el 625 src/dps8/utlist.h assert(el != NULL); \ el 627 src/dps8/utlist.h if ((head) == (el)) { \ el 629 src/dps8/utlist.h (add)->next = (el)->next; \ el 630 src/dps8/utlist.h if ((el)->next == NULL) { \ el 633 src/dps8/utlist.h (add)->prev = (el)->prev; \ el 637 src/dps8/utlist.h (add)->next = (el)->next; \ el 638 src/dps8/utlist.h (add)->prev = (el)->prev; \ el 640 src/dps8/utlist.h if ((el)->next == NULL) { \ el 648 src/dps8/utlist.h # define DL_PREPEND_ELEM(head, el, add) \ el 651 src/dps8/utlist.h assert(el != NULL); \ el 653 src/dps8/utlist.h (add)->next = (el); \ el 654 src/dps8/utlist.h (add)->prev = (el)->prev; \ el 655 src/dps8/utlist.h (el)->prev = (add); \ el 656 src/dps8/utlist.h if ((head) == (el)) { \ el 700 src/dps8/utlist.h # define CDL_FOREACH(head,el) \ el 701 src/dps8/utlist.h CDL_FOREACH2(head,el,next) el 703 src/dps8/utlist.h # define CDL_FOREACH2(head,el,next) \ el 704 src/dps8/utlist.h for(el=head;el;el=((el)->next==head ? 0L : (el)->next)) el 706 src/dps8/utlist.h # define CDL_FOREACH_SAFE(head,el,tmp1,tmp2) \ el 707 src/dps8/utlist.h CDL_FOREACH_SAFE2(head,el,tmp1,tmp2,prev,next) el 709 src/dps8/utlist.h # define CDL_FOREACH_SAFE2(head,el,tmp1,tmp2,prev,next) \ el 710 src/dps8/utlist.h for((el)=(head), ((tmp1)=(head)?((head)->prev):NULL); \ el 711 src/dps8/utlist.h (el) && ((tmp2)=(el)->next, 1); \ el 712 src/dps8/utlist.h ((el) = (((el)==(tmp1)) ? 0L : (tmp2)))) el 734 src/dps8/utlist.h # define CDL_REPLACE_ELEM(head, el, add) \ el 737 src/dps8/utlist.h assert(el != NULL); \ el 739 src/dps8/utlist.h if ((el)->next == (el)) { \ el 744 src/dps8/utlist.h (add)->next = (el)->next; \ el 745 src/dps8/utlist.h (add)->prev = (el)->prev; \ el 748 src/dps8/utlist.h if ((head) == (el)) { \ el 754 src/dps8/utlist.h # define CDL_PREPEND_ELEM(head, el, add) \ el 757 src/dps8/utlist.h assert(el != NULL); \ el 759 src/dps8/utlist.h (add)->next = (el); \ el 760 src/dps8/utlist.h (add)->prev = (el)->prev; \ el 761 src/dps8/utlist.h (el)->prev = (add); \ el 763 src/dps8/utlist.h if ((head) == (el)) { \