Home
last modified time | relevance | path

Searched refs:head (Results 1 – 25 of 906) sorted by relevance

12345678910>>...37

/external/openssh/openbsd-compat/
Dsys-queue.h184 #define SLIST_HEAD_INITIALIZER(head) \ argument
195 #define SLIST_FIRST(head) ((head)->slh_first) argument
196 #define SLIST_END(head) NULL argument
197 #define SLIST_EMPTY(head) (SLIST_FIRST(head) == SLIST_END(head)) argument
200 #define SLIST_FOREACH(var, head, field) \ argument
201 for((var) = SLIST_FIRST(head); \
202 (var) != SLIST_END(head); \
205 #define SLIST_FOREACH_SAFE(var, head, field, tvar) \ argument
206 for ((var) = SLIST_FIRST(head); \
213 #define SLIST_INIT(head) { \ argument
[all …]
Dsys-tree.h84 #define SPLAY_ROOT(head) (head)->sph_root argument
85 #define SPLAY_EMPTY(head) (SPLAY_ROOT(head) == NULL) argument
88 #define SPLAY_ROTATE_RIGHT(head, tmp, field) do { \ argument
89 SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(tmp, field); \
90 SPLAY_RIGHT(tmp, field) = (head)->sph_root; \
91 (head)->sph_root = tmp; \
94 #define SPLAY_ROTATE_LEFT(head, tmp, field) do { \ argument
95 SPLAY_RIGHT((head)->sph_root, field) = SPLAY_LEFT(tmp, field); \
96 SPLAY_LEFT(tmp, field) = (head)->sph_root; \
97 (head)->sph_root = tmp; \
[all …]
/external/ipsec-tools/src/include-glibc/sys/
Dqueue.h114 #define SLIST_HEAD_INITIALIZER(head) \ argument
125 #define SLIST_EMPTY(head) ((head)->slh_first == NULL) argument
127 #define SLIST_FIRST(head) ((head)->slh_first) argument
129 #define SLIST_FOREACH(var, head, field) \ argument
130 for ((var) = SLIST_FIRST((head)); \
134 #define SLIST_INIT(head) do { \ argument
135 SLIST_FIRST((head)) = NULL; \
143 #define SLIST_INSERT_HEAD(head, elm, field) do { \ argument
144 SLIST_NEXT((elm), field) = SLIST_FIRST((head)); \
145 SLIST_FIRST((head)) = (elm); \
[all …]
/external/linux-tools-perf/src/include/linux/
Dlist.h60 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument
62 __list_add(new, head, head->next); in list_add()
74 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
76 __list_add(new, head->prev, head); in list_add_tail()
153 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() argument
156 list_add(list, head); in list_move()
165 struct list_head *head) in list_move_tail() argument
168 list_add_tail(list, head); in list_move_tail()
177 const struct list_head *head) in list_is_last() argument
179 return list->next == head; in list_is_last()
[all …]
/external/jemalloc/test/unit/
Dql.c15 test_empty_list(list_head_t *head) in test_empty_list() argument
20 assert_ptr_null(ql_first(head), "Unexpected element for empty list"); in test_empty_list()
21 assert_ptr_null(ql_last(head, link), in test_empty_list()
25 ql_foreach(t, head, link) { in test_empty_list()
31 ql_reverse_foreach(t, head, link) { in test_empty_list()
39 list_head_t head; in TEST_BEGIN() local
41 ql_new(&head); in TEST_BEGIN()
42 test_empty_list(&head); in TEST_BEGIN()
58 test_entries_list(list_head_t *head, list_t *entries, unsigned nentries) in test_entries_list() argument
63 assert_c_eq(ql_first(head)->id, entries[0].id, "Element id mismatch"); in test_entries_list()
[all …]
/external/iptables/libiptc/
Dlinux_list.h90 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument
92 __list_add(new, head, head->next); in list_add()
103 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
105 __list_add(new, head->prev, head); in list_add_tail()
140 static inline void list_add_rcu(struct list_head *new, struct list_head *head) in list_add_rcu() argument
142 __list_add_rcu(new, head, head->next); in list_add_rcu()
162 struct list_head *head) in list_add_tail_rcu() argument
164 __list_add_rcu(new, head->prev, head); in list_add_tail_rcu()
238 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() argument
241 list_add(list, head); in list_move()
[all …]
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/test/data/tree_construction/
Dtests3.dat2 <head></head><style></style>
4 Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
5 Line: 1 Col: 20 Unexpected start tag (style) that can be in head. Moved.
8 | <head>
13 <head></head><script></script>
15 Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
16 Line: 1 Col: 21 Unexpected start tag (script) that can be in head. Moved.
19 | <head>
24 <head></head><!-- --><style></style><!-- --><script></script>
26 Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
[all …]
Dentities01.dat6 | <head>
15 | <head>
24 | <head>
33 | <head>
42 | <head>
51 | <head>
60 | <head>
69 | <head>
79 | <head>
88 | <head>
[all …]
Ddomjs-unsafe.dat7 | <head>
19 | <head>
31 | <head>
42 | <head>
52 | <head>
63 | <head>
74 | <head>
85 | <head>
96 | <head>
107 | <head>
[all …]
Dtests19.dat7 | <head>
20 | <head>
24 <!doctype html><head></head></p><!--foo-->
29 | <head>
39 | <head>
50 | <head>
61 | <head>
72 | <head>
83 | <head>
93 | <head>
[all …]
Dwebkit01.dat7 | <head>
16 | <head>
25 | <head>
35 | <head>
47 | <head>
67 | <head>
82 | <head>
102 | <head>
114 | <head>
126 | <head>
[all …]
Dplain-text-unsafe.dat6 | <head>
16 | <head>
24 | <head>
32 | <head>
41 | <head>
50 | <head>
58 | <head>
67 | <head>
75 | <head>
83 | <head>
[all …]
Dhtml5test-com.dat6 | <head>
15 | <head>
25 | <head>
35 | <head>
45 | <head>
56 | <head>
64 | <head>
73 | <head>
82 | <head>
91 | <head>
[all …]
Dtests20.dat7 | <head>
19 | <head>
31 | <head>
43 | <head>
55 | <head>
67 | <head>
79 | <head>
91 | <head>
103 | <head>
115 | <head>
[all …]
Dtemplate.dat7 | <head>
19 | <head>
31 | <head>
43 | <head>
50 <head><template><div></div></template></head>
55 | <head>
69 | <head>
87 | <head>
101 | <head>
111 | <head>
[all …]
Dtests21.dat6 | <head>
16 | <head>
26 | <head>
36 | <head>
46 | <head>
56 | <head>
65 | <head>
74 | <head>
84 | <head>
94 | <head>
[all …]
/external/libnl/include/netlink/
Dlist.h38 struct nl_list_head *head) in nl_list_add_tail() argument
40 __nl_list_add(obj, head->prev, head); in nl_list_add_tail()
44 struct nl_list_head *head) in nl_list_add_head() argument
46 __nl_list_add(obj, head, head->next); in nl_list_add_head()
55 static inline int nl_list_empty(struct nl_list_head *head) in nl_list_empty() argument
57 return head->next == head; in nl_list_empty()
67 #define nl_list_at_tail(pos, head, member) \ argument
68 ((pos)->member.next == (head))
70 #define nl_list_at_head(pos, head, member) \ argument
71 ((pos)->member.prev == (head))
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DTemplateList.java140 TemplateSubPatternAssociation head = in dumpAssociationTables() local
143 while (null != head) in dumpAssociationTables()
145 System.out.print("(" + head.getTargetString() + ", " in dumpAssociationTables()
146 + head.getPattern() + ")"); in dumpAssociationTables()
148 head = head.getNext(); in dumpAssociationTables()
154 TemplateSubPatternAssociation head = m_wildCardPatterns; in dumpAssociationTables() local
158 while (null != head) in dumpAssociationTables()
160 System.out.print("(" + head.getTargetString() + ", " in dumpAssociationTables()
161 + head.getPattern() + ")"); in dumpAssociationTables()
163 head = head.getNext(); in dumpAssociationTables()
[all …]
/external/f2fs-tools/tools/
Df2fstat.c69 static inline void remove_newline(char **head) in remove_newline() argument
72 if (**head == '\n') { in remove_newline()
73 *head = *head + 1; in remove_newline()
87 char *head, *tail; in f2fstat() local
126 head = buf; in f2fstat()
129 head = strstr(buf, opt->partname); in f2fstat()
130 if (head == NULL) in f2fstat()
135 remove_newline(&head); in f2fstat()
136 tail = strchr(head, ':'); in f2fstat()
140 if (strlen(head) >= sizeof(keyname)) { in f2fstat()
[all …]
/external/fio/
Dflist.h65 struct flist_head *head) in flist_add() argument
67 __flist_add(new_entry, head, head->next); in flist_add()
71 struct flist_head *head) in flist_add_tail() argument
73 __flist_add(new_entry, head->prev, head); in flist_add_tail()
117 static inline int flist_empty(const struct flist_head *head) in flist_empty() argument
119 return head->next == head; in flist_empty()
137 struct flist_head *head) in flist_splice() argument
140 __flist_splice(list, head, head->next); in flist_splice()
144 struct flist_head *head) in flist_splice_tail() argument
147 __flist_splice(list, head->prev, head); in flist_splice_tail()
[all …]
/external/fsck_msdos/
Dfat.c420 clearchain(struct bootblock *boot, struct fatEntry *fat, cl_t head) in clearchain() argument
424 for (p = head; p >= CLUST_FIRST && p < boot->NumClusters; p = q) { in clearchain()
425 if (fat[p].head != head) in clearchain()
428 fat[p].next = fat[p].head = CLUST_FREE; in clearchain()
434 tryclear(struct bootblock *boot, struct fatEntry *fat, cl_t head, cl_t *trunc) in tryclear() argument
436 if (ask(1, "Clear chain starting at %u", head)) { in tryclear()
437 clearchain(boot, fat, head); in tryclear()
452 cl_t head, p, h, n, wdk; in checkfat() local
460 for (head = CLUST_FIRST; head < boot->NumClusters; head++) { in checkfat()
462 if (fat[head].head != 0 /* cluster already belongs to some chain */ in checkfat()
[all …]
/external/blktrace/btt/
Dlist.h73 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument
75 __list_add(new, head, head->next); in list_add()
86 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
88 __list_add(new, head->prev, head); in list_add_tail()
127 #define __list_for_each(pos, head) \ argument
128 for (pos = (head)->next; pos != (head); pos = pos->next)
136 #define list_for_each_safe(pos, n, head) \ argument
137 for (pos = (head)->next, n = pos->next; pos != (head); \
165 static inline int list_empty(const struct list_head *head) in list_empty() argument
167 return head->next == head; in list_empty()
[all …]
/external/toybox/toys/pending/
Dtcpsvd.c65 struct list *head; member
124 struct list_pid *prev, *free_node, *head = *pids; in delete() local
127 if (!head) return NULL; in delete()
129 while (head) { in delete()
130 if (head->pid == pid) { in delete()
131 ip = head->ip; in delete()
132 free_node = head; in delete()
133 if (!prev) *pids = head->next; in delete()
134 else prev->next = head->next; in delete()
138 prev = head; in delete()
[all …]
/external/e2fsprogs/lib/blkid/
Dlist.h58 _INLINE_ void list_add(struct list_head *add, struct list_head *head) in list_add() argument
60 __list_add(add, head, head->next); in list_add()
71 _INLINE_ void list_add_tail(struct list_head *add, struct list_head *head) in list_add_tail() argument
73 __list_add(add, head->prev, head); in list_add_tail()
116 _INLINE_ int list_empty(struct list_head *head) in list_empty() argument
118 return head->next == head; in list_empty()
126 _INLINE_ void list_splice(struct list_head *list, struct list_head *head) in list_splice() argument
132 struct list_head *at = head->next; in list_splice()
134 first->prev = head; in list_splice()
135 head->next = first; in list_splice()
[all …]
/external/f2fs-tools/include/
Dlist.h38 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument
40 __list_add(new, head, head->next); in list_add()
43 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
45 __list_add(new, head->prev, head); in list_add_tail()
66 static inline int list_empty(const struct list_head *head) in list_empty() argument
68 return head->next == head; in list_empty()
74 #define list_for_each(pos, head) \ argument
75 for (pos = (head)->next; pos != (head); pos = pos->next)
77 #define list_for_each_safe(pos, n, head) \ argument
78 for (pos = (head)->next, n = pos->next; pos != (head); \
[all …]

12345678910>>...37