/freebsd/contrib/libucl/uthash/ |
H A D | utlist.h | 85 #define _NEXT(elt,list,next) ((char*)((list)->next)) argument 93 #define _NEXT(elt,list,next) ((elt)->next) argument 94 #define _NEXTASGN(elt,list,to,next) ((elt)->next)=(to) argument 106 LL_SORT2(list, cmp, next) 310 LL_PREPEND2(head,add,next) 334 LL_APPEND2(head,add,next) 350 LL_DELETE2(head,del,next) 376 while ((add)->next->next) { (add)->next = (add)->next->next; } \ 429 LL_FOREACH2(head,el,next) 585 DL_FOREACH2(head,el,next) [all …]
|
/freebsd/usr.bin/find/ |
H A D | operator.c | 59 node->next = NULL; in yanknode() 108 tail->next = next; in yankexpr() 109 tail = next; in yankexpr() 174 next->p_data[0] = not_squish(next->p_data[0]); in not_squish() 200 next = node; in not_squish() 209 tail->next = next; in not_squish() 210 tail = next; in not_squish() 236 next->p_data[0] = or_squish(next->p_data[0]); in or_squish() 240 next->p_data[0] = or_squish(next->p_data[0]); in or_squish() 261 tail->next = next; in or_squish() [all …]
|
/freebsd/sys/dev/drm2/ |
H A D | drm_linux_list.h | 61 (new)->next = (head)->next; in list_add() 77 (entry)->prev->next = (entry)->next; in list_del() 83 new->next = old->next; in list_replace() 163 last->next = next; in __list_splice() 247 n->next = next; in hlist_add_before() 248 next->pprev = &n->next; in hlist_add_before() 256 next->next = n->next; in hlist_add_after() 257 n->next = next; in hlist_add_after() 258 next->pprev = &n->next; in hlist_add_after() 259 if (next->next) in hlist_add_after() [all …]
|
/freebsd/lib/libpmc/pmu-events/ |
H A D | list.h | 117 new->next = old->next; in list_replace() 136 new->next = next; in linux_list_add() 255 last->next = next; in linux_list_splice() 359 n->next = next; in hlist_add_before() 360 next->pprev = &n->next; in hlist_add_before() 368 next->next = n->next; in hlist_add_after() 369 n->next = next; in hlist_add_after() 370 next->pprev = &n->next; in hlist_add_after() 371 if (next->next) in hlist_add_after() 372 next->next->pprev = &next->next; in hlist_add_after() [all …]
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | list.h | 104 struct list_head *next = head->next; in list_empty_careful() local 113 WRITE_ONCE(prev->next, next); in __list_del() 133 new->next = old->next; in list_replace() 152 new->next = next; in __list_add() 278 first->prev->next = last->next; in list_bulk_move_tail() 299 last->next = next; in linux_list_splice() 401 n->next = next; in hlist_add_before() 402 next->pprev = &n->next; in hlist_add_before() 410 n->next = prev->next; in hlist_add_behind() 415 n->next->pprev = &n->next; in hlist_add_behind() [all …]
|
H A D | rculist.h | 57 new->next = next; in linux_list_add_rcu() 60 next->prev = new; in linux_list_add_rcu() 78 next->prev = prev; in __list_del_rcu() 101 n->next = prev->next; in hlist_add_behind_rcu() 102 n->pprev = &prev->next; in hlist_add_behind_rcu() 104 if (n->next) in hlist_add_behind_rcu() 105 n->next->pprev = &n->next; in hlist_add_behind_rcu() 118 struct hlist_node *next = n->next; in hlist_del_rcu() local 122 if (next) in hlist_del_rcu() 123 next->pprev = pprev; in hlist_del_rcu() [all …]
|
/freebsd/sys/contrib/ck/include/ |
H A D | ck_hp_fifo.h | 64 stub->next = NULL; in ck_hp_fifo_init() 86 entry->next = NULL; in ck_hp_fifo_enqueue_mpmc() 95 next = ck_pr_load_ptr(&tail->next); in ck_hp_fifo_enqueue_mpmc() 99 } else if (ck_pr_cas_ptr(&fifo->tail->next, next, entry) == true) in ck_hp_fifo_enqueue_mpmc() 117 entry->next = NULL; in ck_hp_fifo_tryenqueue_mpmc() 125 next = ck_pr_load_ptr(&tail->next); in ck_hp_fifo_tryenqueue_mpmc() 126 if (next != NULL) { in ck_hp_fifo_tryenqueue_mpmc() 129 } else if (ck_pr_cas_ptr(&fifo->tail->next, next, entry) == false) in ck_hp_fifo_tryenqueue_mpmc() 152 next = ck_pr_load_ptr(&head->next); in ck_hp_fifo_dequeue_mpmc() 185 next = ck_pr_load_ptr(&head->next); in ck_hp_fifo_trydequeue_mpmc() [all …]
|
H A D | ck_fifo.h | 109 stub->next = NULL; in ck_fifo_spsc_init() 130 entry->next = NULL; in ck_fifo_spsc_enqueue() 264 next.generation = ck_pr_load_ptr(&tail.pointer->next.generation); in ck_fifo_mpmc_enqueue() 266 next.pointer = ck_pr_load_ptr(&tail.pointer->next.pointer); in ck_fifo_mpmc_enqueue() 288 if (ck_pr_cas_ptr_2(&tail.pointer->next, &next, &update) == true) in ck_fifo_mpmc_enqueue() 317 next.generation = ck_pr_load_ptr(&tail.pointer->next.generation); in ck_fifo_mpmc_tryenqueue() 319 next.pointer = ck_pr_load_ptr(&tail.pointer->next.pointer); in ck_fifo_mpmc_tryenqueue() 369 next.generation = ck_pr_load_ptr(&head.pointer->next.generation); in ck_fifo_mpmc_dequeue() 371 next.pointer = ck_pr_load_ptr(&head.pointer->next.pointer); in ck_fifo_mpmc_dequeue() 424 next.generation = ck_pr_load_ptr(&head.pointer->next.generation); in ck_fifo_mpmc_trydequeue() [all …]
|
/freebsd/crypto/openssl/ssl/ |
H A D | pqueue.c | 29 item->next = NULL; in pitem_new() 55 pitem *curr, *next; in pqueue_insert() local 63 next != NULL; curr = next, next = next->next) { in pqueue_insert() 69 item->next = next; in pqueue_insert() 83 item->next = NULL; in pqueue_insert() 84 curr->next = item; in pqueue_insert() 106 pitem *next; in pqueue_find() local 112 for (next = pq->items; next->next != NULL; next = next->next) { in pqueue_find() 114 found = next; in pqueue_find() 121 found = next; in pqueue_find() [all …]
|
/freebsd/contrib/tcpdump/ |
H A D | cpack.c | 61 const uint8_t *next; in nd_cpack_align_and_reserve() local 70 return next; in nd_cpack_align_and_reserve() 100 const uint8_t *next; in nd_cpack_uint64() local 105 *u = GET_LE_U_8(next); in nd_cpack_uint64() 116 const uint8_t *next; in nd_cpack_int64() local 121 *u = GET_LE_S_8(next); in nd_cpack_int64() 132 const uint8_t *next; in nd_cpack_uint32() local 137 *u = GET_LE_U_4(next); in nd_cpack_uint32() 148 const uint8_t *next; in nd_cpack_int32() local 164 const uint8_t *next; in nd_cpack_uint16() local [all …]
|
/freebsd/sys/dev/hpt27xx/ |
H A D | list.h | 48 next->prev = _new; in __list_add() 49 _new->next = next; in __list_add() 51 prev->next = _new; in __list_add() 66 next->prev = prev; in __list_del() 67 prev->next = next; in __list_del() 84 return head->next == head; in list_empty() 95 head->next = first; in __list_splice() 97 last->next = at; in __list_splice() 119 for (pos = (head)->next; pos != (head); pos = pos->next) 122 for (pos = (head)->next, n = pos->next; pos != (head); \ [all …]
|
/freebsd/sys/dev/hptnr/ |
H A D | list.h | 47 next->prev = _new; in __list_add() 48 _new->next = next; in __list_add() 50 prev->next = _new; in __list_add() 65 next->prev = prev; in __list_del() 66 prev->next = next; in __list_del() 83 return head->next == head; in list_empty() 94 head->next = first; in __list_splice() 96 last->next = at; in __list_splice() 118 for (pos = (head)->next; pos != (head); pos = pos->next) 121 for (pos = (head)->next, n = pos->next; pos != (head); \ [all …]
|
/freebsd/sys/dev/hptrr/ |
H A D | list.h | 50 next->prev = _new; in __list_add() 51 _new->next = next; in __list_add() 53 prev->next = _new; in __list_add() 68 next->prev = prev; in __list_del() 69 prev->next = next; in __list_del() 86 return head->next == head; in list_empty() 97 head->next = first; in __list_splice() 99 last->next = at; in __list_splice() 121 for (pos = (head)->next; pos != (head); pos = pos->next) 124 for (pos = (head)->next, n = pos->next; pos != (head); \ [all …]
|
/freebsd/contrib/libxo/tests/core/saved/ |
H A D | test_08.X.out | 1 …next>1</next></sub><sub><name>1</name><next>2</next></sub><sub><name>2</name><next>3</next></sub><…
|
H A D | test_08.XP.out | 82 <next>1</next> 86 <next>2</next> 90 <next>3</next> 99 <next>1</next> 103 <next>2</next> 107 <next>3</next> 116 <next>1</next> 120 <next>2</next> 124 <next>3</next> 133 <next>1</next> [all …]
|
/freebsd/tools/tools/drm/radeon/mkregtable/ |
H A D | mkregtable.c | 66 next->prev = new; in __list_add() 67 new->next = next; in __list_add() 69 prev->next = new; in __list_add() 112 prev->next = next; in __list_del() 141 new->next = old->next; in list_replace() 222 struct list_head *next = head->next; in list_empty_careful() local 223 return (next == head) && (next == head->prev); in list_empty_careful() 240 list->next = head->next; in __list_cut_position() 285 last->next = next; in __list_splice() 386 for (pos = (head)->next; pos != (head); pos = pos->next) [all …]
|
/freebsd/contrib/netbsd-tests/lib/libbluetooth/ |
H A D | t_sdp_put.c | 59 test.next = buf; in ATF_TC_BODY() 93 test.next = buf; in ATF_TC_BODY() 145 test.next = buf; in ATF_TC_BODY() 177 test.next = buf; in ATF_TC_BODY() 202 test.next = buf; in ATF_TC_BODY() 236 test.next = buf; in ATF_TC_BODY() 266 test.next = buf; in ATF_TC_BODY() 299 test.next = buf; in ATF_TC_BODY() 338 test.next = buf; in ATF_TC_BODY() 367 test.next = buf; in ATF_TC_BODY() [all …]
|
/freebsd/contrib/ntp/libntp/ |
H A D | authreadkeys.c | 149 KeyDataT *next = NULL; in authreadkeys() local 259 next = NULL; in authreadkeys() 356 next = NULL; in authreadkeys() 368 next->next = list; in authreadkeys() 369 list = next; in authreadkeys() 387 list = next->next; in authreadkeys() 388 MD5auth_setkey(next->keyid, next->keytype, in authreadkeys() 389 next->secbuf, next->seclen, next->keyacclist); in authreadkeys() 391 free_keydata(next); in authreadkeys() 398 list = next->next; in authreadkeys() [all …]
|
/freebsd/sys/libkern/x86/ |
H A D | crc32_sse42.c | 230 next = buf; in sse42_crc32c() 236 next++; in sse42_crc32c() 252 end = next + LONG; in sse42_crc32c() 267 next += align; in sse42_crc32c() 316 next += LONG * 2; in sse42_crc32c() 330 end = next + SHORT; in sse42_crc32c() 345 next += align; in sse42_crc32c() 351 next += SHORT * 2; in sse42_crc32c() 358 while (next < end) { in sse42_crc32c() 364 next += align; in sse42_crc32c() [all …]
|
/freebsd/sys/contrib/openzfs/lib/libspl/ |
H A D | list.c | 43 lnew->next = (node)->next; \ 45 (node)->next = lnew; \ 50 lnew->next = (node); \ 57 (node)->prev->next = (node)->next; \ 127 ASSERT(lold->next != NULL); in list_remove() 203 dstnode->prev->next = srcnode->next; in list_move_tail() 218 lnew->next = lold->next; in list_link_replace() 220 lold->prev->next = lnew; in list_link_replace() 221 lold->next->prev = lnew; in list_link_replace() 228 ln->next = NULL; in list_link_init() [all …]
|
/freebsd/sys/netpfil/ipfw/test/ |
H A D | mylist.h | 10 struct list_head *prev, *next; member 14 #define list_empty(l) ( (l)->next == l ) 17 struct list_head *next) in __list_add() argument 19 next->prev = o; in __list_add() 20 o->next = next; in __list_add() 22 prev->next = o; in __list_add() 35 __list_del(struct list_head *prev, struct list_head *next) in __list_del() argument 37 next->prev = prev; in __list_del() 38 prev->next = next; in __list_del() 45 __list_del(entry->prev, entry->next); in list_del() [all …]
|
/freebsd/contrib/tcsh/ |
H A D | sh.parse.c | 76 p1 = p1->next; in asyntax() 101 if (p->next != p2 && eq(p->next->word, STRand)) in asyn0() 102 p = p->next; in asyn0() 171 alout.prev->prev->next = p1->next; in asyn3() 173 p1->next = alout.next; in asyn3() 187 p1 = p1->next; in freenod() 249 if (p->next != p2 && eq(p->next->word, STRand)) in syn0() 250 p = p->next; in syn0() 558 lp = p->next; in syn3() 574 if (p->next != p2 && eq(p->next->word, STRand)) { in syn3() [all …]
|
/freebsd/contrib/expat/xmlwf/ |
H A D | ct.c | 116 const char *next, *p; in getXMLCharset() local 119 next = buf; in getXMLCharset() 120 p = getTok(&next); in getXMLCharset() 125 p = getTok(&next); in getXMLCharset() 128 p = getTok(&next); in getXMLCharset() 129 if (matchkey(p, next, "xml")) in getXMLCharset() 131 p = getTok(&next); in getXMLCharset() 134 p = getTok(&next); in getXMLCharset() 136 p = getTok(&next); in getXMLCharset() 138 p = getTok(&next); in getXMLCharset() [all …]
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_settings.cpp | 1132 if (((*next < '0') || (*next > '9')) && (*next != ',')) { in __kmp_parse_nested_num_threads() 1147 if (*next >= '0' && *next <= '9') { in __kmp_parse_nested_num_threads() 2059 if ((*next < '0') || (*next > '9')) { in __kmp_parse_affinity_proc_id_list() 2103 if ((*next < '0') || (*next > '9')) { in __kmp_parse_affinity_proc_id_list() 2133 if ((*next < '0') || (*next > '9')) { in __kmp_parse_affinity_proc_id_list() 2156 if ((*next < '0') || (*next > '9')) { in __kmp_parse_affinity_proc_id_list() 3849 if (next == buf || *next != '\0') { in __kmp_stg_parse_allocator() 4858 if (((*next < '0' || *next > '9') && *next != ',') || total > 2) { in __kmp_stg_parse_spin_backoff_params() 4873 if (*next >= '0' && *next <= '9') { in __kmp_stg_parse_spin_backoff_params() 4957 if (((*next < '0' || *next > '9') && *next != ',') || total > 2) { in __kmp_stg_parse_adaptive_lock_props() [all …]
|
/freebsd/sys/kern/ |
H A D | subr_module.c | 57 int next; in preload_search_by_name() local 73 next = roundup(next, sizeof(u_long)); in preload_search_by_name() 88 int next; in preload_search_by_type() local 109 next = roundup(next, sizeof(u_long)); in preload_search_by_type() 124 int next; in preload_search_next_name() local 133 next = roundup(next, sizeof(u_long)); in preload_search_next_name() 149 next = roundup(next, sizeof(u_long)); in preload_search_next_name() 166 int next; in preload_search_info() local 198 next = roundup(next, sizeof(u_long)); in preload_search_info() 248 next = roundup(next, sizeof(u_long)); in preload_delete_name() [all …]
|