/third_party/libcoap/include/coap3/ |
D | utlist.h | 314 #define LL_PREPEND(head,add) \ argument 315 LL_PREPEND2(head,add,next) 317 #define LL_PREPEND2(head,add,next) \ argument 319 (add)->next = (head); \ 320 (head) = (add); \ 338 #define LL_APPEND(head,add) \ argument 339 LL_APPEND2(head,add,next) 341 #define LL_APPEND2(head,add,next) \ argument 343 LDECLTYPE(head) _tmp; \ 345 if (head) { \ [all …]
|
D | uthash.h | 139 #define HASH_ROLLBACK_BKT(hh, head, itemptrhh) \ argument 143 HASH_TO_BKT(_hd_hh_item->hashv, (head)->hh.tbl->num_buckets, _hd_bkt); \ 144 (head)->hh.tbl->buckets[_hd_bkt].count++; \ 154 #define HASH_FIND_BYHASHVALUE(hh,head,keyptr,keylen,hashval,out) \ argument 157 if (head) { \ 159 HASH_TO_BKT(hashval, (head)->hh.tbl->num_buckets, _hf_bkt); \ 160 if (HASH_BLOOM_TEST((head)->hh.tbl, hashval) != 0) { \ 161 …HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], keyptr, keylen, hashval, … 166 #define HASH_FIND(hh,head,keyptr,keylen,out) \ argument 169 if (head) { \ [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/ |
D | user_queue.h | 114 #define QMD_TRACE_HEAD(head) do { \ argument 115 (head)->trace.prevline = (head)->trace.lastline; \ 116 (head)->trace.prevfile = (head)->trace.lastfile; \ 117 (head)->trace.lastline = __LINE__; \ 118 (head)->trace.lastfile = __FILE__; \ 130 #define QMD_TRACE_HEAD(head) argument 144 #define SLIST_HEAD_INITIALIZER(head) \ argument 161 #define SLIST_EMPTY(head) ((head)->slh_first == NULL) argument 163 #define SLIST_FIRST(head) ((head)->slh_first) argument 165 #define SLIST_FOREACH(var, head, field) \ argument [all …]
|
/third_party/FreeBSD/sys/sys/ |
D | queue.h | 133 #define QMD_TRACE_HEAD(head) do { \ argument 134 (head)->trace.prevline = (head)->trace.lastline; \ 135 (head)->trace.prevfile = (head)->trace.lastfile; \ 136 (head)->trace.lastline = __LINE__; \ 137 (head)->trace.lastfile = __FILE__; \ 149 #define QMD_TRACE_HEAD(head) argument 190 #define SLIST_HEAD_INITIALIZER(head) \ argument 229 #define SLIST_EMPTY(head) ((head)->slh_first == NULL) argument 231 #define SLIST_FIRST(head) ((head)->slh_first) argument 233 #define SLIST_FOREACH(var, head, field) \ argument [all …]
|
D | tree.h | 89 #define SPLAY_ROOT(head) (head)->sph_root argument 90 #define SPLAY_EMPTY(head) (SPLAY_ROOT(head) == NULL) argument 93 #define SPLAY_ROTATE_RIGHT(head, tmp, field) do { \ argument 94 SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(tmp, field); \ 95 SPLAY_RIGHT(tmp, field) = (head)->sph_root; \ 96 (head)->sph_root = tmp; \ 99 #define SPLAY_ROTATE_LEFT(head, tmp, field) do { \ argument 100 SPLAY_RIGHT((head)->sph_root, field) = SPLAY_LEFT(tmp, field); \ 101 SPLAY_LEFT(tmp, field) = (head)->sph_root; \ 102 (head)->sph_root = tmp; \ [all …]
|
/third_party/libwebsockets/lib/misc/lwsac/ |
D | lwsac.c | 29 lws_list_ptr_insert(lws_list_ptr *head, lws_list_ptr *add, in lws_list_ptr_insert() argument 32 while (sort_func && *head) { in lws_list_ptr_insert() 33 if (sort_func(add, *head) <= 0) in lws_list_ptr_insert() 36 head = *head; in lws_list_ptr_insert() 39 *add = *head; in lws_list_ptr_insert() 40 *head = add; in lws_list_ptr_insert() 73 lwsac_extend(struct lwsac *head, size_t amount) in lwsac_extend() argument 78 assert(head); in lwsac_extend() 79 lachead = (struct lwsac_head *)&head[1]; in lwsac_extend() 96 _lwsac_use(struct lwsac **head, size_t ensure, size_t chunk_size, char backfill) in _lwsac_use() argument [all …]
|
/third_party/libwebsockets/lib/core/ |
D | buflist.c | 34 lws_buflist_append_segment(struct lws_buflist **head, const uint8_t *buf, in lws_buflist_append_segment() argument 38 int first = !*head; in lws_buflist_append_segment() 39 void *p = *head; in lws_buflist_append_segment() 46 while (*head) { in lws_buflist_append_segment() 51 if (*head == (*head)->next) { in lws_buflist_append_segment() 55 head = &((*head)->next); in lws_buflist_append_segment() 77 *head = nbuf; in lws_buflist_append_segment() 83 lws_buflist_destroy_segment(struct lws_buflist **head) in lws_buflist_destroy_segment() argument 85 struct lws_buflist *old = *head; in lws_buflist_destroy_segment() 87 assert(*head); in lws_buflist_destroy_segment() [all …]
|
/third_party/libdrm/intel/ |
D | uthash.h | 119 #define HASH_FIND_BYHASHVALUE(hh,head,keyptr,keylen,hashval,out) \ argument 122 if (head) { \ 124 HASH_TO_BKT(hashval, (head)->hh.tbl->num_buckets, _hf_bkt); \ 125 if (HASH_BLOOM_TEST((head)->hh.tbl, hashval) != 0) { \ 126 …HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], keyptr, keylen, hashval, … 131 #define HASH_FIND(hh,head,keyptr,keylen,out) \ argument 135 HASH_FIND_BYHASHVALUE(hh, head, keyptr, keylen, _hf_hashv, out); \ 172 #define HASH_MAKE_TABLE(hh,head) \ argument 174 (head)->hh.tbl = (UT_hash_table*)uthash_malloc( \ 176 if (!((head)->hh.tbl)) { uthash_fatal( "out of memory"); } \ [all …]
|
/third_party/parse5/test/data/parser-feedback/ |
D | noscript01.test | 5 "description": "<head><noscript><!doctype html><!--foo--></noscript>", 6 "input": "<head><noscript><!doctype html><!--foo--></noscript>", 10 "head", 30 "description": "<head><noscript><html class=\"foo\"><!--foo--></noscript>", 31 "input": "<head><noscript><html class=\"foo\"><!--foo--></noscript>", 35 "head", 55 "description": "<head><noscript></noscript>", 56 "input": "<head><noscript></noscript>", 60 "head", 76 "description": "<head><noscript> </noscript>", [all …]
|
D | tests3.test | 5 "description": "<head></head><style></style>", 6 "input": "<head></head><style></style>", 10 "head", 15 "head" 30 "description": "<head></head><script></script>", 31 "input": "<head></head><script></script>", 35 "head", 40 "head" 55 "description": "<head></head><!-- --><style></style><!-- --><script></script>", 56 "input": "<head></head><!-- --><style></style><!-- --><script></script>", [all …]
|
/third_party/ltp/testcases/realtime/include/ |
D | list.h | 99 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument 101 __list_add(new, head, head->next); in list_add() 112 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument 114 __list_add(new, head->prev, head); in list_add_tail() 158 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() argument 161 list_add(list, head); in list_move() 170 struct list_head *head) in list_move_tail() argument 173 list_add_tail(list, head); in list_move_tail() 180 static inline int list_empty(const struct list_head *head) in list_empty() argument 182 return head->next == head; in list_empty() [all …]
|
/third_party/exfatprogs/include/ |
D | list.h | 69 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument 71 __list_add(new, head, head->next); in list_add() 82 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument 84 __list_add(new, head->prev, head); in list_add_tail() 128 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() argument 131 list_add(list, head); in list_move() 140 struct list_head *head) in list_move_tail() argument 143 list_add_tail(list, head); in list_move_tail() 150 static inline int list_empty(const struct list_head *head) in list_empty() argument 152 return head->next == head; in list_empty() [all …]
|
/third_party/alsa-utils/alsactl/ |
D | list.h | 78 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument 80 __list_add(new, head, head->next); in list_add() 91 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument 93 __list_add(new, head->prev, head); in list_add_tail() 137 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() argument 140 list_add(list, head); in list_move() 149 struct list_head *head) in list_move_tail() argument 152 list_add_tail(list, head); in list_move_tail() 159 static inline int list_empty(struct list_head *head) in list_empty() argument 161 return head->next == head; in list_empty() [all …]
|
/third_party/ltp/tools/sparse/sparse-src/ |
D | ptrlist.c | 38 int ptr_list_size(struct ptr_list *head) in ptr_list_size() argument 42 if (head) { in ptr_list_size() 43 struct ptr_list *list = head; in ptr_list_size() 46 } while ((list = list->next) != head); in ptr_list_size() 55 bool ptr_list_empty(const struct ptr_list *head) in ptr_list_empty() argument 57 const struct ptr_list *list = head; in ptr_list_empty() 59 if (!head) in ptr_list_empty() 65 } while ((list = list->next) != head); in ptr_list_empty() 74 bool ptr_list_multiple(const struct ptr_list *head) in ptr_list_multiple() argument 76 const struct ptr_list *list = head; in ptr_list_multiple() [all …]
|
D | ptrlist.h | 14 #define CHECK_TYPE(head,ptr) (void)(&(ptr) == &(head)->list[0]) argument 15 #define PTRLIST_TYPE(head) __typeof__((head)->list[0]) argument 16 #define VRFY_PTR_LIST(head) (void)(sizeof((head)->list[0])) argument 32 void * undo_ptr_list_last(struct ptr_list **head); 33 void * delete_ptr_list_last(struct ptr_list **head); 36 bool lookup_ptr_list_entry(const struct ptr_list *head, const void *entry); 42 extern bool ptr_list_empty(const struct ptr_list *head); 43 extern bool ptr_list_multiple(const struct ptr_list *head); 60 struct ptr_list** head = (struct ptr_list**)(list); \ 62 (__typeof__(&(ptr))) __add_ptr_list(head, ptr); \ [all …]
|
/third_party/libuv/include/uv/ |
D | tree.h | 84 #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 …]
|
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/ |
D | list.h | 70 list_empty(const struct list_head *head) in list_empty() argument 73 return (head->next == head); in list_empty() 77 list_empty_careful(const struct list_head *head) in list_empty_careful() argument 79 struct list_head *next = head->next; in list_empty_careful() 81 return ((next == head) && (next == head->prev)); in list_empty_careful() 160 #define list_for_each(p, head) \ argument 161 for (p = (head)->next; p != (head); p = (p)->next) 163 #define list_for_each_safe(p, n, head) \ argument 164 for (p = (head)->next, n = (p)->next; p != (head); p = n, n = (p)->next) 183 #define list_for_each_entry_safe_from(pos, n, head, member) \ argument [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
D | cord_rep_ring.cc | 66 void UnrefEntries(const CordRepRing* rep, index_type head, index_type tail) { in UnrefEntries() argument 67 rep->ForEach(head, tail, [rep](index_type ix) { in UnrefEntries() 89 CordRepRing::index_type head = rep.head(); in operator <<() local 91 CordRep* child = rep.entry_child(head); in operator <<() 92 s << " entry[" << head << "] length = " << rep.entry_length(head) in operator <<() 96 << ", offset = " << rep.entry_data_offset(head) in operator <<() 97 << ", end_pos = " << static_cast<ptrdiff_t>(rep.entry_end_pos(head)) in operator <<() 99 head = rep.advance(head); in operator <<() 100 } while (head != rep.tail()); in operator <<() 116 index_type head() const { return head_; } in head() function in absl::cord_internal::CordRepRing::Filler [all …]
|
/third_party/f2fs-tools/tools/ |
D | f2fstat.c | 69 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 …]
|
/third_party/flutter/skia/third_party/externals/harfbuzz/src/ |
D | hb-serialize.hh | 50 char *head, *tail; member 59 return (tail - head == o.tail - o.head) in operator ==() 61 && 0 == hb_memcmp (head, o.head, tail - head) in operator ==() 66 return hb_bytes_t (head, tail - head).hash () ^ in hash() 82 range_t snapshot () { range_t s = {head, tail} ; return s; } in snapshot() 115 this->head = this->start; in reset() 158 (unsigned) (this->head - this->start), in end_serialize() 184 obj->head = head; in push() 204 obj->tail = head; in pop_pack() 206 unsigned len = obj->tail - obj->head; in pop_pack() [all …]
|
/third_party/toybox/toys/pending/ |
D | tcpsvd.c | 66 struct list *head; member 125 struct list_pid *prev, *free_node, *head = *pids; in delete() local 128 if (!head) return NULL; in delete() 130 while (head) { in delete() 131 if (head->pid == pid) { in delete() 132 ip = head->ip; in delete() 133 free_node = head; in delete() 134 if (!prev) *pids = head->next; in delete() 135 else prev->next = head->next; in delete() 139 prev = head; in delete() [all …]
|
/third_party/node/deps/npm/node_modules/tar/node_modules/yallist/ |
D | yallist.js | 14 self.head = null 46 if (node === this.head) { 47 this.head = next 62 if (node === this.head) { 70 var head = this.head 72 node.next = head 73 if (head) { 74 head.prev = node 77 this.head = node 101 if (!this.head) { [all …]
|
/third_party/node/deps/npm/node_modules/yallist/ |
D | yallist.js | 14 self.head = null 46 if (node === this.head) { 47 this.head = next 60 if (node === this.head) { 68 var head = this.head 70 node.next = head 71 if (head) { 72 head.prev = node 75 this.head = node 99 if (!this.head) { [all …]
|
/third_party/node/deps/npm/node_modules/cross-spawn/node_modules/yallist/ |
D | yallist.js | 13 self.head = null 45 if (node === this.head) { 46 this.head = next 59 if (node === this.head) { 67 var head = this.head 69 node.next = head 70 if (head) { 71 head.prev = node 74 this.head = node 98 if (!this.head) { [all …]
|
/third_party/harfbuzz/src/ |
D | hb-serialize.hh | 72 return (tail - head == o.tail - o.head) in operator ==() 74 && 0 == hb_memcmp (head, o.head, tail - head) in operator ==() 79 return hb_bytes_t (head, tail - head).hash () ^ in hash() 93 char *head; member 101 char *head; member 108 { return snapshot_t { head, tail, current, current->links.length }; } in snapshot() 151 this->head = this->start; in reset() 205 (unsigned) (this->head - this->start), in end_serialize() 241 obj->head = head; in push() 255 revert (obj->head, obj->tail); in pop_discard() [all …]
|