GDB (xrefs)
|
Go to the source code of this file.
Defines | |
#define | QUEUE_enque(TYPE, Q, V) queue_ ## TYPE ## _enque ((Q), (V)) |
#define | QUEUE_deque(TYPE, Q) queue_ ## TYPE ## _deque (Q) |
#define | QUEUE_peek(TYPE, Q) queue_ ## TYPE ## _peek (Q) |
#define | QUEUE_is_empty(TYPE, Q) queue_ ## TYPE ## _is_empty (Q) |
#define | QUEUE_alloc(TYPE, FREE_FUNC) queue_ ## TYPE ## _alloc (FREE_FUNC) |
#define | QUEUE_length(TYPE, Q) queue_ ## TYPE ## _length (Q) |
#define | QUEUE_free(TYPE, Q) queue_ ## TYPE ## _free (Q) |
#define | QUEUE_iterate(TYPE, Q, OPERATE, PARAM) queue_ ## TYPE ## _iterate ((Q), (OPERATE), (PARAM)) |
#define | QUEUE_remove_elem(TYPE, Q, ITER) queue_ ## TYPE ## _remove_elem ((Q), (ITER)) |
#define | QUEUE(TYPE) struct queue_ ## TYPE |
#define | QUEUE_ELEM(TYPE) struct queue_elem_ ## TYPE |
#define | QUEUE_ITER(TYPE) struct queue_iter_ ## TYPE |
#define | QUEUE_ITER_FUNC(TYPE) queue_ ## TYPE ## _operate_func |
#define | DEFINE_QUEUE_P(TYPE) |
#define | DECLARE_QUEUE_P(TYPE) |
#define DECLARE_QUEUE_P | ( | TYPE | ) |
QUEUE (TYPE); \ QUEUE_ELEM (TYPE); \ QUEUE_ITER (TYPE); \ extern void \ queue_ ## TYPE ## _enque (QUEUE (TYPE) *q, TYPE v); \ extern TYPE \ queue_ ## TYPE ## _deque (QUEUE (TYPE) *q); \ extern int queue_ ## TYPE ## _is_empty (QUEUE (TYPE) *q); \ extern QUEUE (TYPE) * \ queue_ ## TYPE ## _alloc (void (*free_func) (TYPE)); \ extern int queue_ ## TYPE ## _length (QUEUE (TYPE) *q); \ extern TYPE \ queue_ ## TYPE ## _peek (QUEUE (TYPE) *q); \ extern void queue_ ## TYPE ## _free (QUEUE (TYPE) *q); \ typedef int QUEUE_ITER_FUNC(TYPE) (QUEUE (TYPE) *, \ QUEUE_ITER (TYPE) *, \ TYPE, \ void *); \ extern int \ queue_ ## TYPE ## _iterate (QUEUE (TYPE) *q, \ QUEUE_ITER_FUNC (TYPE) operate, \ void *); \ extern void \ queue_ ## TYPE ## _remove_elem (QUEUE (TYPE) *q, \ QUEUE_ITER (TYPE) *iter); \
#define DEFINE_QUEUE_P | ( | TYPE | ) |
#define QUEUE_alloc | ( | TYPE, | |
FREE_FUNC | |||
) | queue_ ## TYPE ## _alloc (FREE_FUNC) |
Definition at line 73 of file queue.h.
Referenced by initialize_event_loop(), and remote_notif_state_allocate().
#define QUEUE_deque | ( | TYPE, | |
Q | |||
) | queue_ ## TYPE ## _deque (Q) |
Definition at line 62 of file queue.h.
Referenced by process_event(), and remote_notif_process().
#define QUEUE_ELEM | ( | TYPE | ) | struct queue_elem_ ## TYPE |
#define QUEUE_enque | ( | TYPE, | |
Q, | |||
V | |||
) | queue_ ## TYPE ## _enque ((Q), (V)) |
Definition at line 58 of file queue.h.
Referenced by check_async_event_handlers(), gdb_wait_for_event(), handle_notification(), poll_timers(), and push_stop_reply().
#define QUEUE_free | ( | TYPE, | |
Q | |||
) | queue_ ## TYPE ## _free (Q) |
Definition at line 79 of file queue.h.
Referenced by remote_notif_state_xfree().
#define QUEUE_is_empty | ( | TYPE, | |
Q | |||
) | queue_ ## TYPE ## _is_empty (Q) |
Definition at line 69 of file queue.h.
Referenced by process_event(), queued_stop_reply(), remote_notif_process(), and remote_wait().
#define QUEUE_ITER | ( | TYPE | ) | struct queue_iter_ ## TYPE |
#define QUEUE_ITER_FUNC | ( | TYPE | ) | queue_ ## TYPE ## _operate_func |
#define QUEUE_iterate | ( | TYPE, | |
Q, | |||
OPERATE, | |||
PARAM | |||
) | queue_ ## TYPE ## _iterate ((Q), (OPERATE), (PARAM)) |
Definition at line 86 of file queue.h.
Referenced by discard_pending_stop_replies(), discard_pending_stop_replies_in_queue(), peek_stop_reply(), and remote_notif_remove_queued_reply().
#define QUEUE_length | ( | TYPE, | |
Q | |||
) | queue_ ## TYPE ## _length (Q) |
Definition at line 76 of file queue.h.
Referenced by push_stop_reply().
#define QUEUE_peek | ( | TYPE, | |
Q | |||
) | queue_ ## TYPE ## _peek (Q) |
#define QUEUE_remove_elem | ( | TYPE, | |
Q, | |||
ITER | |||
) | queue_ ## TYPE ## _remove_elem ((Q), (ITER)) |
Definition at line 91 of file queue.h.
Referenced by remote_notif_remove_once_on_match(), remove_stop_reply_for_inferior(), and remove_stop_reply_of_remote_state().