Lines Matching refs:x
92 #define RB_AUGMENT(x) do {} while (0) argument
482 #define RB_INSERT(name, x, y) name##_RB_INSERT(x, y) argument
483 #define RB_REMOVE(name, x, y) name##_RB_REMOVE(x, y) argument
484 #define RB_FIND(name, x, y) name##_RB_FIND(x, y) argument
485 #define RB_NFIND(name, x, y) name##_RB_NFIND(x, y) argument
486 #define RB_NEXT(name, x) name##_RB_NEXT(x) argument
487 #define RB_PREV(name, x) name##_RB_PREV(x) argument
488 #define RB_MIN(name, x) name##_RB_MINMAX(x, RB_NEGINF) argument
489 #define RB_MAX(name, x) name##_RB_MINMAX(x, RB_INF) argument
491 #define RB_FOREACH(x, name, head) \ argument
492 for ((x) = RB_MIN(name, head); \
493 (x) != NULL; \
494 (x) = name##_RB_NEXT(x))
496 #define RB_FOREACH_FROM(x, name, y) \ argument
497 for ((x) = (y); \
498 ((x) != NULL) && ((y) = name##_RB_NEXT(x), (x) != NULL); \
499 (x) = (y))
501 #define RB_FOREACH_SAFE(x, name, head, y) \ argument
502 for ((x) = RB_MIN(name, head); \
503 ((x) != NULL) && ((y) = name##_RB_NEXT(x), (x) != NULL); \
504 (x) = (y))
506 #define RB_FOREACH_REVERSE(x, name, head) \ argument
507 for ((x) = RB_MAX(name, head); \
508 (x) != NULL; \
509 (x) = name##_RB_PREV(x))
511 #define RB_FOREACH_REVERSE_FROM(x, name, y) \ argument
512 for ((x) = (y); \
513 ((x) != NULL) && ((y) = name##_RB_PREV(x), (x) != NULL); \
514 (x) = (y))
516 #define RB_FOREACH_REVERSE_SAFE(x, name, head, y) \ argument
517 for ((x) = RB_MAX(name, head); \
518 ((x) != NULL) && ((y) = name##_RB_PREV(x), (x) != NULL); \
519 (x) = (y))