Lines Matching refs:add
287 #define LL_PREPEND(head,add) \ argument
289 (add)->next = head; \
290 head = add; \
293 #define LL_APPEND(head,add) \ argument
296 (add)->next=NULL; \
300 _tmp->next=(add); \
302 (head)=(add); \
323 #define LL_APPEND_VS2008(head,add) \ argument
326 (add)->next = head; /* use add->next as a temp variable */ \
327 while ((add)->next->next) { (add)->next = (add)->next->next; } \
328 (add)->next->next=(add); \
330 (head)=(add); \
332 (add)->next=NULL; \
384 #define DL_PREPEND(head,add) \ argument
386 (add)->next = head; \
388 (add)->prev = (head)->prev; \
389 (head)->prev = (add); \
391 (add)->prev = (add); \
393 (head) = (add); \
396 #define DL_APPEND(head,add) \ argument
399 (add)->prev = (head)->prev; \
400 (head)->prev->next = (add); \
401 (head)->prev = (add); \
402 (add)->next = NULL; \
404 (head)=(add); \
442 #define CDL_PREPEND(head,add) \ argument
445 (add)->prev = (head)->prev; \
446 (add)->next = (head); \
447 (head)->prev = (add); \
448 (add)->prev->next = (add); \
450 (add)->prev = (add); \
451 (add)->next = (add); \
453 (head)=(add); \