Lines Matching defs:Entry
22 struct Entry {
24 SLIST_ENTRY(Entry) entries;
27 SLIST_HEAD(Head, Entry);
35 Entry *e;
42 Entry e1 = {'a', {NULL}};
47 Entry e2 = {'b', {NULL}};
54 Entry e3 = {'c', {NULL}};
59 SLIST_SWAP(&head, &head2, Entry);
63 SLIST_CONCAT(&head2, &head, Entry, entries);
67 SLIST_CONCAT(&head, &head2, Entry, entries);
71 Entry *e = NULL, *tmp = NULL;
74 SLIST_REMOVE(&head, e, Entry, entries);
89 struct Entry {
91 STAILQ_ENTRY(Entry) entries;
94 STAILQ_HEAD(Head, Entry);
102 Entry *e;
112 Entry e1 = {'a', {NULL}};
117 Entry e2 = {'b', {NULL}};
122 Entry e3 = {'c', {NULL}};
129 Entry e4 = {'d', {NULL}};
134 STAILQ_SWAP(&head, &head2, Entry);
138 STAILQ_CONCAT(&head2, &head, Entry, entries);
141 ASSERT_EQ(STAILQ_LAST(&head2, Entry, entries), &e4);
145 STAILQ_CONCAT(&head, &head2, Entry, entries);
148 ASSERT_EQ(STAILQ_LAST(&head, Entry, entries), &e4);
152 Entry *e = NULL, *tmp = NULL;
155 STAILQ_REMOVE(&head, e, Entry, entries);