w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

cairo-list-inline.h File Reference
Include dependency graph for cairo-list-inline.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define cairo_list_entry(ptr, type, member)    cairo_container_of(ptr, type, member)
 
#define cairo_list_first_entry(ptr, type, member)    cairo_list_entry((ptr)->next, type, member)
 
#define cairo_list_last_entry(ptr, type, member)    cairo_list_entry((ptr)->prev, type, member)
 
#define cairo_list_foreach(pos, head)    for (pos = (head)->next; pos != (head); pos = pos->next)
 
#define cairo_list_foreach_entry(pos, type, head, member)
 
#define cairo_list_foreach_entry_safe(pos, n, type, head, member)
 
#define cairo_list_foreach_entry_reverse(pos, type, head, member)
 
#define cairo_list_foreach_entry_reverse_safe(pos, n, type, head, member)
 
#define _cairo_list_validate(link)
 
#define cairo_list_validate(head)
 
#define cairo_list_validate_is_empty(head)
 

Functions

static void cairo_list_init (cairo_list_t *entry)
 
static void __cairo_list_add (cairo_list_t *entry, cairo_list_t *prev, cairo_list_t *next)
 
static void cairo_list_add (cairo_list_t *entry, cairo_list_t *head)
 
static void cairo_list_add_tail (cairo_list_t *entry, cairo_list_t *head)
 
static void __cairo_list_del (cairo_list_t *prev, cairo_list_t *next)
 
static void _cairo_list_del (cairo_list_t *entry)
 
static void cairo_list_del (cairo_list_t *entry)
 
static void cairo_list_move (cairo_list_t *entry, cairo_list_t *head)
 
static void cairo_list_move_tail (cairo_list_t *entry, cairo_list_t *head)
 
static void cairo_list_swap (cairo_list_t *entry, cairo_list_t *other)
 
static cairo_bool_t cairo_list_is_first (const cairo_list_t *entry, const cairo_list_t *head)
 
static cairo_bool_t cairo_list_is_last (const cairo_list_t *entry, const cairo_list_t *head)
 
static cairo_bool_t cairo_list_is_empty (const cairo_list_t *head)
 
static cairo_bool_t cairo_list_is_singular (const cairo_list_t *head)
 

Macro Definition Documentation

◆ _cairo_list_validate

#define _cairo_list_validate (   link)

Definition at line 99 of file cairo-list-inline.h.

◆ cairo_list_entry

#define cairo_list_entry (   ptr,
  type,
  member 
)     cairo_container_of(ptr, type, member)

Definition at line 42 of file cairo-list-inline.h.

◆ cairo_list_first_entry

#define cairo_list_first_entry (   ptr,
  type,
  member 
)     cairo_list_entry((ptr)->next, type, member)

Definition at line 45 of file cairo-list-inline.h.

◆ cairo_list_foreach

#define cairo_list_foreach (   pos,
  head 
)     for (pos = (head)->next; pos != (head); pos = pos->next)

Definition at line 51 of file cairo-list-inline.h.

◆ cairo_list_foreach_entry

#define cairo_list_foreach_entry (   pos,
  type,
  head,
  member 
)
Value:
for (pos = cairo_list_entry((head)->next, type, member);\
&pos->member != (head); \
pos = cairo_list_entry(pos->member.next, type, member))
#define type(a)
Definition: aptex-macros.h:171
#define head
Definition: aptex-macros.h:513
#define next(a)
Definition: aptex-macros.h:924
#define cairo_list_entry(ptr, type, member)
const int * pos
Definition: combiners.h:905
Definition: ttf.h:354

Definition at line 54 of file cairo-list-inline.h.

◆ cairo_list_foreach_entry_reverse

#define cairo_list_foreach_entry_reverse (   pos,
  type,
  head,
  member 
)
Value:
for (pos = cairo_list_entry((head)->prev, type, member);\
&pos->member != (head); \
pos = cairo_list_entry(pos->member.prev, type, member))
static FIELD_PTR prev
Definition: genind.c:36

Definition at line 65 of file cairo-list-inline.h.

◆ cairo_list_foreach_entry_reverse_safe

#define cairo_list_foreach_entry_reverse_safe (   pos,
  n,
  type,
  head,
  member 
)
Value:
for (pos = cairo_list_entry((head)->prev, type, member),\
n = cairo_list_entry (pos->member.prev, type, member);\
&pos->member != (head); \
pos = n, n = cairo_list_entry (n->member.prev, type, member))
#define n
Definition: t4ht.c:1290

Definition at line 70 of file cairo-list-inline.h.

◆ cairo_list_foreach_entry_safe

#define cairo_list_foreach_entry_safe (   pos,
  n,
  type,
  head,
  member 
)
Value:
for (pos = cairo_list_entry ((head)->next, type, member),\
n = cairo_list_entry (pos->member.next, type, member);\
&pos->member != (head); \
pos = n, n = cairo_list_entry (n->member.next, type, member))

Definition at line 59 of file cairo-list-inline.h.

◆ cairo_list_last_entry

#define cairo_list_last_entry (   ptr,
  type,
  member 
)     cairo_list_entry((ptr)->prev, type, member)

Definition at line 48 of file cairo-list-inline.h.

◆ cairo_list_validate

#define cairo_list_validate (   head)

Definition at line 100 of file cairo-list-inline.h.

◆ cairo_list_validate_is_empty

#define cairo_list_validate_is_empty (   head)

Definition at line 101 of file cairo-list-inline.h.

Function Documentation

◆ __cairo_list_add()

static void __cairo_list_add ( cairo_list_t entry,
cairo_list_t prev,
cairo_list_t next 
)
inlinestatic

◆ __cairo_list_del()

static void __cairo_list_del ( cairo_list_t prev,
cairo_list_t next 
)
inlinestatic

Definition at line 141 of file cairo-list-inline.h.

References next, and prev.

Referenced by _cairo_list_del(), cairo_list_move(), and cairo_list_move_tail().

◆ _cairo_list_del()

static void _cairo_list_del ( cairo_list_t entry)
inlinestatic

Definition at line 148 of file cairo-list-inline.h.

References __cairo_list_del(), and entry.

Referenced by _cairo_xlib_visual_info_destroy(), and cairo_list_del().

◆ cairo_list_add()

◆ cairo_list_add_tail()

◆ cairo_list_del()

◆ cairo_list_init()

◆ cairo_list_is_empty()

◆ cairo_list_is_first()

static cairo_bool_t cairo_list_is_first ( const cairo_list_t entry,
const cairo_list_t head 
)
inlinestatic

Definition at line 186 of file cairo-list-inline.h.

References cairo_list_validate, entry, and head.

Referenced by target_is_active().

◆ cairo_list_is_last()

static cairo_bool_t cairo_list_is_last ( const cairo_list_t entry,
const cairo_list_t head 
)
inlinestatic

Definition at line 194 of file cairo-list-inline.h.

References cairo_list_validate, entry, and head.

◆ cairo_list_is_singular()

static cairo_bool_t cairo_list_is_singular ( const cairo_list_t head)
inlinestatic

◆ cairo_list_move()

◆ cairo_list_move_tail()

static void cairo_list_move_tail ( cairo_list_t entry,
cairo_list_t head 
)
inlinestatic

Definition at line 170 of file cairo-list-inline.h.

References __cairo_list_add(), __cairo_list_del(), cairo_list_validate, and entry.

Referenced by inactive().

◆ cairo_list_swap()

static void cairo_list_swap ( cairo_list_t entry,
cairo_list_t other 
)
inlinestatic

Definition at line 179 of file cairo-list-inline.h.

References __cairo_list_add(), cairo_list_init(), entry, and other.

Referenced by _cairo_script_surface_finish().