/freebsd/contrib/ofed/opensm/opensm/ |
H A D | st.c | 54 st_table_entry *next; member 242 next = ptr->next; in st_free_table() 244 ptr = next; in st_free_table() 351 next = ptr->next; in rehash() 355 ptr = next; in rehash() 396 ptr = ptr->next; in st_copy() 427 for (; ptr->next != 0; ptr = ptr->next) { in st_delete() 429 tmp = ptr->next; in st_delete() 430 ptr->next = ptr->next->next; in st_delete() 502 ptr = ptr->next; in st_foreach() [all …]
|
/freebsd/contrib/less/ |
H A D | linenum.c | 87 p->next = p+1; in clr_linenum() 88 pool[NPOOL-2].next = NULL; in clr_linenum() 135 for (p = anchor.next; p != &anchor && p->pos < pos; p = p->next) in add_lnum() 149 freelist = freelist->next; in add_lnum() 164 new->next = nextp; in add_lnum() 170 prevp->next = new; in add_lnum() 190 mingap = anchor.next->gap; in add_lnum() 191 for (p = anchor.next; p->next != &anchor; p = p->next) in add_lnum() 200 spare->prev->next = spare->next; in add_lnum() 285 for (p = anchor.next; p != &anchor && p->pos < pos; p = p->next) in find_linenum() [all …]
|
/freebsd/crypto/openssl/crypto/err/ |
H A D | err_prn.c | 76 const char *curr = txt, *next = txt; in ERR_add_error_txt() local 97 const size_t len_next = strlen(next); in ERR_add_error_txt() 100 next += len_next; in ERR_add_error_txt() 103 next += available_len; in ERR_add_error_txt() 107 while (*next != '\0' && (size_t)(next - txt) <= available_len) { in ERR_add_error_txt() 108 curr = next; in ERR_add_error_txt() 109 next = strstr(curr, separator); in ERR_add_error_txt() 110 if (next != NULL) { in ERR_add_error_txt() 111 next += strlen(separator); in ERR_add_error_txt() 114 next = curr + strlen(curr); in ERR_add_error_txt() [all …]
|
/freebsd/crypto/heimdal/lib/hx509/ |
H A D | env.c | 84 while (e->next) in hx509_env_add() 85 e = e->next; in hx509_env_add() 86 e->next = n; in hx509_env_add() 130 while (e->next) in hx509_env_add_binding() 131 e = e->next; in hx509_env_add_binding() 132 e->next = n; in hx509_env_add_binding() 161 env = env->next; in hx509_env_lfind() 184 env = env->next; in hx509_env_find() 209 env = env->next; in hx509_env_find_binding() 218 hx509_env next = b->next; in env_free() local [all …]
|
/freebsd/sbin/dhclient/ |
H A D | dispatch.c | 368 t->next = q->next; in add_timeout() 370 timeouts = q->next; in add_timeout() 399 q->next = timeouts; in add_timeout() 405 for (t = timeouts; t->next; t = t->next) { in add_timeout() 407 q->next = t->next; in add_timeout() 408 t->next = q; in add_timeout() 414 t->next = q; in add_timeout() 415 q->next = NULL; in add_timeout() 428 t->next = q->next; in cancel_timeout() 457 p->next = protocols; in add_protocol() [all …]
|
/freebsd/sys/dev/isci/scil/ |
H A D | sci_fast_list.h | 202 struct SCI_FAST_LIST_ELEMENT *next; member 230 element->next = anchor->list_head; in sci_fast_list_insert_head() 252 element->next = NULL; in sci_fast_list_insert_tail() 256 anchor->list_tail->next = element; in sci_fast_list_insert_tail() 283 anchor->list_head = anchor->list_head->next; in sci_fast_list_remove_head() 289 element->next = element->prev = NULL; in sci_fast_list_remove_head() 310 element->next = element->prev = NULL; in sci_fast_list_remove_tail() 324 if ( element->next == NULL ) in sci_fast_list_remove_element() 327 element->next->prev = element->prev; in sci_fast_list_remove_element() 332 element->prev->next = element->next; in sci_fast_list_remove_element() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_list.h | 41 x->next = nullptr; in push_back() 45 x->next = nullptr; in push_back() 46 last_->next = x; in push_back() 54 x->next = nullptr; in push_front() 58 x->next = first_; in push_front() 66 first_ = first_->next; in pop_front() 76 CHECK_EQ(prev->next, x); in extract() 77 prev->next = x->next; in extract() 95 l->last_->next = first_; in append_front() 109 last_->next = l->first_; in append_back() [all …]
|
/freebsd/crypto/openssl/test/ |
H A D | x509aux.c | 53 goto next; in test_certs() 60 goto next; in test_certs() 69 goto next; in test_certs() 74 goto next; in test_certs() 81 goto next; in test_certs() 87 goto next; in test_certs() 92 goto next; in test_certs() 99 goto next; in test_certs() 105 goto next; in test_certs() 116 goto next; in test_certs() [all …]
|
/freebsd/contrib/expat/tests/ |
H A D | memcheck.c | 44 struct allocation_entry *next; member 71 entry->next = NULL; in tracking_malloc() 79 alloc_tail->next = entry; in tracking_malloc() 90 for (entry = alloc_head; entry != NULL; entry = entry->next) { in find_allocation() 112 entry->prev->next = entry->next; in tracking_free() 114 alloc_head = entry->next; in tracking_free() 115 if (entry->next != NULL) in tracking_free() 116 entry->next->prev = entry->prev; in tracking_free() 118 alloc_tail = entry->next; in tracking_free() 157 entry->next = NULL; in tracking_realloc() [all …]
|
/freebsd/contrib/ntp/libntp/lib/isc/include/isc/ |
H A D | list.h | 39 (elt)->link.next = (type *)(-1); \ 56 (elt)->link.next = (list).head; \ 72 (list).tail->link.next = (elt); \ 76 (elt)->link.next = NULL; \ 91 if ((elt)->link.next != NULL) \ 98 (elt)->link.prev->link.next = (elt)->link.next; \ 101 (list).head = (elt)->link.next; \ 129 (elt)->link.next = (before); \ 142 if ((after)->link.next == NULL) \ 145 (elt)->link.next = (after)->link.next; \ [all …]
|
/freebsd/sys/contrib/zlib/test/ |
H A D | infcover.c | 126 if (next) { in mem_free() 132 next = item->next; in mem_free() 133 } while (next != NULL && next->ptr != ptr); in mem_free() 135 item->next = next->next; in mem_free() 143 if (next) { in mem_free() 145 free(next); in mem_free() 213 next = item->next; in mem_done() 253 next = 0; in h2b() 454 next = 0; in pull() 460 return next < sizeof(dat) ? (*buf = dat + next++, 1) : 0; in pull() [all …]
|
/freebsd/contrib/xz/src/liblzma/common/ |
H A D | alone_encoder.c | 21 lzma_next_coder next; member 55 return coder->next.code(coder->next.coder, in alone_encode() 72 lzma_next_end(&coder->next, allocator); in alone_encoder_end() 79 alone_encoder_init(lzma_next_coder *next, const lzma_allocator *allocator, in alone_encoder_init() argument 82 lzma_next_coder_init(&alone_encoder_init, next, allocator); in alone_encoder_init() 84 lzma_alone_coder *coder = next->coder; in alone_encoder_init() 91 next->coder = coder; in alone_encoder_init() 92 next->code = &alone_encode; in alone_encoder_init() 93 next->end = &alone_encoder_end; in alone_encoder_init() 94 coder->next = LZMA_NEXT_CODER_INIT; in alone_encoder_init() [all …]
|
H A D | block_encoder.c | 20 lzma_next_coder next; member 64 const lzma_ret ret = coder->next.code(coder->next.coder, in block_encode() 145 lzma_next_end(&coder->next, allocator); in block_encoder_end() 162 &coder->next, allocator, reversed_filters); in block_encoder_update() 170 lzma_next_coder_init(&lzma_block_encoder_init, next, allocator); in lzma_block_encoder_init() 189 lzma_block_coder *coder = next->coder; in lzma_block_encoder_init() 195 next->coder = coder; in lzma_block_encoder_init() 196 next->code = &block_encode; in lzma_block_encoder_init() 197 next->end = &block_encoder_end; in lzma_block_encoder_init() 198 next->update = &block_encoder_update; in lzma_block_encoder_init() [all …]
|
/freebsd/sys/contrib/openzfs/lib/libshare/os/linux/ |
H A D | nfs.c | 174 next = NULL; in foreach_nfs_host_cb() 190 next++; in foreach_nfs_host_cb() 202 *next = '\0'; in foreach_nfs_host_cb() 203 next++; in foreach_nfs_host_cb() 217 host = next; in foreach_nfs_host_cb() 344 next = NULL; in get_linux_shareopts_cb() 347 if (next != NULL) in get_linux_shareopts_cb() 348 ++next; in get_linux_shareopts_cb() 357 if (next != NULL) in get_linux_shareopts_cb() 358 ++next; in get_linux_shareopts_cb() [all …]
|
/freebsd/contrib/ofed/librdmacm/ |
H A D | indexer.h | 49 int next; member 105 struct _dlist_entry *next; member 111 head->next = head; in dlist_init() 117 return head->next == head; in dlist_empty() 122 item->next = head->next; in dlist_insert_after() 124 head->next->prev = item; in dlist_insert_after() 125 head->next = item; in dlist_insert_after() 138 item->prev->next = item->next; in dlist_remove() 139 item->next->prev = item->prev; in dlist_remove()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/ |
H A D | interval_map_test.cpp | 34 EXPECT_EQ(std::next(M.begin()), M.end()); in TEST() 52 EXPECT_EQ(std::next(M1.begin()), M1.end()); // Should see just one range. in TEST() 64 EXPECT_EQ(std::next(std::next(M2.begin())), M2.end()); // Expect two ranges. in TEST() 93 EXPECT_EQ(std::next(std::next(M2.begin())), M2.end()); // Expect two ranges. in TEST() 131 EXPECT_EQ(std::next(std::next(std::next(M2.begin()))), M2.end()); in TEST() 157 EXPECT_EQ(std::next(M.begin()), M.end()); in TEST() 170 EXPECT_EQ(std::next(M.begin()), M.end()); in TEST() 183 EXPECT_EQ(std::next(std::next(M.begin())), M.end()); in TEST() 186 EXPECT_EQ(std::next(M.begin())->first.first, 9U); in TEST() 187 EXPECT_EQ(std::next(M.begin())->first.second, 10U); in TEST() [all …]
|
/freebsd/contrib/ncurses/ncurses/base/ |
H A D | new_pair.c | 91 pair = list[pair].next; in next_len() 166 int next = list[pair].next; in delink_color_pair() local 169 if (list[prev].next == pair && in delink_color_pair() 170 list[next].prev == pair) { in delink_color_pair() 171 list[prev].next = next; in delink_color_pair() 172 list[next].prev = prev; in delink_color_pair() 207 (last->fg != next->fg || last->bg != next->bg)) { in _nc_reset_color_pair() 216 *last = *next; in _nc_reset_color_pair() 236 if (list[0].next != pair) { in _nc_set_color_pair() 238 list[pair].next = list[0].next; in _nc_set_color_pair() [all …]
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | transited.c | 55 r = r->next; in free_realms() 89 tmp->next = r->next; in make_path() 93 r->next = tmp->next; in make_path() 110 tmp->next = r->next; in make_path() 114 r->next = tmp->next; in make_path() 144 while(r->next && r->next->realm[0] == '\0') in make_paths() 145 r = r->next; in make_paths() 146 if(r->next) in make_paths() 246 r->next = NULL; in append_realm() 250 while(p->next) p = p->next; in append_realm() [all …]
|
/freebsd/lib/libc/stdlib/ |
H A D | remque.c | 16 struct que_elem *prev, *next, *elem; in remque() local 21 next = elem->next; in remque() 24 prev->next = next; in remque() 25 if (next != NULL) in remque() 26 next->prev = prev; in remque()
|
/freebsd/usr.bin/bluetooth/btsockstat/ |
H A D | btsockstat.c | 229 for ( ; this != NULL; this = next) { in hcirawpr() 235 next = LIST_NEXT(&pcb, next); in hcirawpr() 284 for ( ; this != NULL; this = next) { in l2caprawpr() 290 next = LIST_NEXT(&pcb, next); in l2caprawpr() 341 for ( ; this != NULL; this = next) { in l2cappr() 347 next = LIST_NEXT(&pcb, next); in l2cappr() 394 for ( ; this != NULL; this = next) { in l2caprtpr() 398 next = LIST_NEXT(&rt, next); in l2caprtpr() 446 for ( ; this != NULL; this = next) { in rfcommpr() 452 next = LIST_NEXT(&pcb, next); in rfcommpr() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/amd/ |
H A D | elba-16core.dtsi | 46 next-level-cache = <&l2_0>; 54 next-level-cache = <&l2_0>; 62 next-level-cache = <&l2_0>; 70 next-level-cache = <&l2_0>; 85 next-level-cache = <&l2_1>; 93 next-level-cache = <&l2_1>; 101 next-level-cache = <&l2_1>; 109 next-level-cache = <&l2_1>; 124 next-level-cache = <&l2_2>; 132 next-level-cache = <&l2_2>; [all …]
|
/freebsd/sys/contrib/ck/include/spinlock/ |
H A D | anderson.h | 53 unsigned int next; member 74 lock->next = 0; in ck_spinlock_anderson_init() 96 position = ck_pr_load_uint(&lock->next) & lock->mask; in ck_spinlock_anderson_locked() 106 unsigned int position, next; in ck_spinlock_anderson_lock() local 115 position = ck_pr_load_uint(&lock->next); in ck_spinlock_anderson_lock() 119 next = lock->wrap; in ck_spinlock_anderson_lock() 121 next = position + 1; in ck_spinlock_anderson_lock() 122 } while (ck_pr_cas_uint_value(&lock->next, position, in ck_spinlock_anderson_lock() 123 next, &position) == false); in ck_spinlock_anderson_lock() 127 position = ck_pr_faa_uint(&lock->next, 1); in ck_spinlock_anderson_lock()
|
/freebsd/crypto/openssl/crypto/asn1/ |
H A D | bio_asn1.c | 159 BIO *next; in asn1_bio_write() local 162 next = BIO_next(b); in asn1_bio_write() 297 BIO *next = BIO_next(b); in asn1_bio_read() local 298 if (next == NULL) in asn1_bio_read() 310 BIO *next = BIO_next(b); in asn1_bio_gets() local 311 if (next == NULL) in asn1_bio_gets() 319 if (next == NULL) in asn1_bio_callback_ctrl() 329 BIO *next; in asn1_bio_ctrl() local 334 next = BIO_next(b); in asn1_bio_ctrl() 370 if (next == NULL) in asn1_bio_ctrl() [all …]
|
/freebsd/contrib/ofed/libmlx5/ |
H A D | dbrec.c | 42 struct mlx5_db_page *prev, *next; member 75 page->next = context->db_list; in __add_page() 77 if (page->next) in __add_page() 78 page->next->prev = page; in __add_page() 91 for (page = context->db_list; page; page = page->next) in mlx5_alloc_dbrec() 124 for (page = context->db_list; page; page = page->next) in mlx5_free_db() 136 page->prev->next = page->next; in mlx5_free_db() 138 context->db_list = page->next; in mlx5_free_db() 139 if (page->next) in mlx5_free_db() 140 page->next->prev = page->prev; in mlx5_free_db()
|
/freebsd/usr.sbin/ppp/ |
H A D | timer.c | 105 for (t = TimerList; t; t = t->next) { in timer_Start() 122 tp->next = t; in timer_Start() 124 pt->next = tp; in timer_Start() 156 pt->next = t->next; in StopTimerNoBlock() 158 TimerList = t->next; in StopTimerNoBlock() 162 if (t->next) { in StopTimerNoBlock() 166 t->next->rest += t->rest; in StopTimerNoBlock() 185 tp->next = tp->enext = NULL; in StopTimerNoBlock() 192 struct pppTimer *tp, *exp, *next; in TimerService() local 211 next = tp->next; in TimerService() [all …]
|