Home
last modified time | relevance | path

Searched refs:list (Results 1 – 25 of 3486) sorted by relevance

12345678910>>...140

/freebsd-12.1/usr.sbin/ppp/
H A Diplist.c71 list->cur.lstart = ntohl(list->cur.ip.s_addr); in iplist_setrange()
77 list->cur.lstart = ntohl(list->cur.ip.s_addr); in iplist_setrange()
145 list->cur.ip.s_addr = htonl(list->cur.lstart + list->cur.srcitem); in iplist_next()
154 strncpy(list->src, src, sizeof list->src - 1); in iplist_setsrc()
155 list->src[sizeof list->src - 1] = '\0'; in iplist_setsrc()
156 list->cur.srcptr = list->src; in iplist_setsrc()
159 list->nItems += list->cur.nItems; in iplist_setsrc()
162 } while (list->cur.srcptr != list->src); in iplist_setsrc()
191 list->cur.ip.s_addr = htonl(list->cur.lstart + list->cur.srcitem); in iplist_setcurpos()
196 list->cur.pos += list->cur.nItems; in iplist_setcurpos()
[all …]
/freebsd-12.1/usr.bin/mklocale/
H A Dyacc.y102 %type <list> list
446 list->types = xlalloc(list->max - list->min + 1); in add_map()
551 for(list = types.root; list; list = list->next) { in dump_tables()
603 list = list->next; in dump_tables()
612 list = list->next; in dump_tables()
621 list = list->next; in dump_tables()
656 list = list->next; in dump_tables()
753 for (list = maplower.root; list; list = list->next) in dump_tables()
772 for (list = mapupper.root; list; list = list->next) in dump_tables()
805 for (list = types.root; list; list = list->next) { in dump_tables()
[all …]
/freebsd-12.1/sys/dev/ocs_fc/
H A Docs_list.h105 ocs_list_assert(list); in _ocs_list_init()
108 list->next = list; in _ocs_list_init()
109 list->prev = list; in _ocs_list_init()
110 list->offset = offset; in _ocs_list_init()
128 return list->next == list; in ocs_list_empty()
236 _ocs_list_insert_link(list, list->next, item2link(list, item)); in ocs_list_add_head()
264 _ocs_list_insert_link(list->prev, list, link); in ocs_list_add_tail()
281 return ocs_list_empty(list) ? NULL : link2item(list, list->next); in ocs_list_get_head()
297 return ocs_list_empty(list) ? NULL : link2item(list, list->prev); in ocs_list_get_tail()
312 return ocs_list_empty(list) ? NULL : link2item(list, list->prev); in ocs_list_tail()
[all …]
/freebsd-12.1/sys/kern/
H A Dsubr_eventhandler.c91 list = new_list; in eventhandler_find_or_create_list()
93 list->el_name = (char *)(list + 1); in eventhandler_find_or_create_list()
95 mtx_init(&list->el_lock, list->el_name, "eventhandler list", in eventhandler_find_or_create_list()
100 return (list); in eventhandler_find_or_create_list()
129 EHL_LOCK(list); in eventhandler_register_internal()
197 list->el_name); in _eventhandler_deregister()
209 list->el_name); in _eventhandler_deregister()
223 mtx_sleep(list, &list->el_lock, 0, "evhrm", 0); in _eventhandler_deregister()
273 EHL_LOCK(list); in eventhandler_find_list()
276 return(list); in eventhandler_find_list()
[all …]
/freebsd-12.1/contrib/apr-util/buckets/
H A Dapr_buckets_alloc.c48 apr_allocator_free(list->allocator, list->blocks); in alloc_cleanup()
51 if (list->pool && list->allocator != apr_pool_allocator_get(list->pool)) { in alloc_cleanup()
82 list->pool = p; in apr_bucket_alloc_create()
83 apr_pool_cleanup_register(list->pool, list, alloc_cleanup, in apr_bucket_alloc_create()
86 return list; in apr_bucket_alloc_create()
100 list->pool = NULL; in apr_bucket_alloc_create_ex()
106 return list; in apr_bucket_alloc_create_ex()
111 if (list->pool) { in apr_bucket_alloc_destroy()
112 apr_pool_cleanup_kill(list->pool, list, alloc_cleanup); in apr_bucket_alloc_destroy()
115 apr_allocator_free(list->allocator, list->blocks); in apr_bucket_alloc_destroy()
[all …]
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/os/
H A Dlist.c64 ASSERT(list); in list_create()
68 list->list_size = size; in list_create()
70 list->list_head.list_next = list->list_head.list_prev = in list_create()
71 &list->list_head; in list_create()
79 ASSERT(list); in list_destroy()
152 list_head(list_t *list) in list_head() argument
154 if (list_empty(list)) in list_head()
156 return (list_object(list, list->list_head.list_next)); in list_head()
160 list_tail(list_t *list) in list_tail() argument
162 if (list_empty(list)) in list_tail()
[all …]
/freebsd-12.1/contrib/ntp/lib/isc/include/isc/
H A Dlist.h32 #define ISC_LIST_INIT(list) \ argument
33 do { (list).head = NULL; (list).tail = NULL; } while (0)
45 #define ISC_LIST_HEAD(list) ((list).head) argument
46 #define ISC_LIST_TAIL(list) ((list).tail) argument
47 #define ISC_LIST_EMPTY(list) ISC_TF((list).head == NULL) argument
51 if ((list).head != NULL) \
54 (list).tail = (elt); \
57 (list).head = (elt); \
74 (list).head = (elt); \
77 (list).tail = (elt); \
[all …]
/freebsd-12.1/contrib/elftoolchain/ar/
H A Dacpyacc.y73 static struct list *arscp_mlist(struct list *list, char *str);
114 struct list *list; member
350 arscp_addmod(struct list *list) in arscp_addmod() argument
365 arscp_delete(struct list *list) in arscp_delete() argument
380 arscp_extract(struct list *list) in arscp_extract() argument
453 arscp_replace(struct list *list) in arscp_replace() argument
565 arscp_mlist_len(struct list *list) in arscp_mlist_len() argument
569 for(len = 0; list; list = list->next) in arscp_mlist_len()
579 arscp_free_mlist(struct list *list) in arscp_free_mlist() argument
584 for(; list; list = l) { in arscp_free_mlist()
[all …]
/freebsd-12.1/usr.bin/ar/
H A Dacpyacc.y73 static struct list *arscp_mlist(struct list *list, char *str);
114 struct list *list; member
379 arscp_addmod(struct list *list) in arscp_addmod() argument
392 arscp_delete(struct list *list) in arscp_delete() argument
405 arscp_extract(struct list *list) in arscp_extract() argument
474 arscp_replace(struct list *list) in arscp_replace() argument
580 arscp_mlist_len(struct list *list) in arscp_mlist_len() argument
584 for(len = 0; list; list = list->next) in arscp_mlist_len()
592 arscp_free_mlist(struct list *list) in arscp_free_mlist() argument
597 for(; list; list = l) { in arscp_free_mlist()
[all …]
/freebsd-12.1/sys/cam/ctl/
H A Dctl_tpc.c846 list->curbytes += list->segbytes; in tpc_process_b2b()
916 tior->list = list; in tpc_process_b2b()
937 tiow->list = list; in tpc_process_b2b()
1021 tio->list = list; in tpc_process_verify()
1082 tio->list = list; in tpc_process_register_key()
1209 list->curbytes += list->segbytes; in tpc_process_wut()
1213 if (tpc_skip_ranges(list->range, list->nrange, list->cursectors, in tpc_process_wut()
1278 tior->list = list; in tpc_process_wut()
1297 tiow->list = list; in tpc_process_wut()
1383 tiow->list = list; in tpc_process_zero_wut()
[all …]
/freebsd-12.1/contrib/dialog/
H A Ddialog.pl145 $list[@list] = "\"$ent\"";
147 $list[@list] = "\"$ent\"";
179 $list[@list] = "\"\"";
245 $list[@list] = "ON";
247 $list[@list] = "OFF";
280 $list[@list] = "\"\"";
281 $list[@list] = "OFF";
310 $list[@list] = "\"$ent\"";
312 $list[@list] = "OFF";
349 $list[@list] = "ON";
[all …]
H A Dfselect.c121 return list->data[list->choice]; in data_of()
137 init_list(list, list->par, list->win, list->mousex); in free_list()
151 list->data = dlg_realloc(char *, list->allocd, list->data); in add_to_list()
156 list->data[list->length] = 0; in add_to_list()
164 if (list->choice < list->offset) { in keep_visible()
165 list->offset = list->choice; in keep_visible()
167 if (list->choice - list->offset >= high) in keep_visible()
168 list->offset = list->choice - high + 1; in keep_visible()
226 dlg_attr_clear(list->win, getmaxy(list->win), getmaxx(list->win), item_attr); in display_list()
227 for (n = list->offset; n < list->length && list->data[n]; n++) { in display_list()
[all …]
/freebsd-12.1/contrib/atf/atf-c/detail/
H A Dlist_test.c51 atf_list_t list; in ATF_TC_BODY() local
55 atf_list_fini(&list); in ATF_TC_BODY()
69 atf_list_t list; in ATF_TC_BODY() local
83 atf_list_fini(&list); in ATF_TC_BODY()
93 atf_list_t list; in ATF_TC_BODY() local
107 atf_list_fini(&list); in ATF_TC_BODY()
113 atf_list_t list; in ATF_TC_BODY() local
127 atf_list_t list; in ATF_TC_BODY() local
159 atf_list_t list; in ATF_TC_BODY() local
269 atf_list_t list; in ATF_TC_BODY() local
[all …]
/freebsd-12.1/contrib/wpa/src/utils/
H A Dlist.h24 list->next = list; in dl_list_init()
25 list->prev = list; in dl_list_init()
30 item->next = list->next; in dl_list_add()
31 item->prev = list; in dl_list_add()
32 list->next->prev = item; in dl_list_add()
33 list->next = item; in dl_list_add()
38 dl_list_add(list->prev, item); in dl_list_add_tail()
51 return list->next == list; in dl_list_empty()
58 for (item = list->next; item != list; item = item->next) in dl_list_len()
86 &item->member != (list); \
[all …]
/freebsd-12.1/contrib/libucl/uthash/
H A Dutlist.h84 #define _SV(elt,list) _tmp = (char*)(list); {char **_alias = (char**)&(list); *_alias = (elt); } argument
85 #define _NEXT(elt,list,next) ((char*)((list)->next)) argument
129 _SV(_ls_q,list); _ls_q = _NEXT(_ls_q,list,next); _RS(list); \
148 _SV(_ls_tail,list); _NEXTASGN(_ls_tail,list,_ls_e,next); _RS(list); \
157 _SV(_ls_tail,list); _NEXTASGN(_ls_tail,list,NULL,next); _RS(list); \
192 _SV(_ls_q,list); _ls_q = _NEXT(_ls_q,list,next); _RS(list); \
211 _SV(_ls_tail,list); _NEXTASGN(_ls_tail,list,_ls_e,next); _RS(list); \
215 _SV(_ls_e,list); _PREVASGN(_ls_e,list,_ls_tail,prev); _RS(list); \
221 _SV(_ls_tail,list); _NEXTASGN(_ls_tail,list,NULL,next); _RS(list); \
286 _SV(_ls_tail,list); _NEXTASGN(_ls_tail,list,_ls_e,next); _RS(list); \
[all …]
/freebsd-12.1/lib/libc/include/isc/
H A Dlist.h32 #define INIT_LIST(list) \ argument
33 do { (list).head = NULL; (list).tail = NULL; } while (0)
46 #define HEAD(list) ((list).head) argument
47 #define TAIL(list) ((list).tail) argument
48 #define EMPTY(list) ((list).head == NULL) argument
56 (list).tail = (elt); \
59 (list).head = (elt); \
68 (list).head = (elt); \
71 (list).tail = (elt); \
123 #define ENQUEUE(list, elt, link) APPEND(list, elt, link) argument
[all …]
/freebsd-12.1/cddl/contrib/opensolaris/tools/ctf/common/
H A Dlist.c40 struct list { struct
42 struct list *l_next; argument
53 le->l_next = *list; in list_add()
54 *list = le; in list_add()
105 while (list) { in list_free()
106 le = list; in list_free()
107 list = list->l_next; in list_free()
125 while (list) { in list_iter()
130 list = lnext; in list_iter()
158 for (; list; list = list->l_next) { in list_find()
[all …]
/freebsd-12.1/contrib/processor-trace/libipt/src/
H A Dpt_image.c63 list = malloc(sizeof(*list)); in pt_mk_section_list()
67 memset(list, 0, sizeof(*list)); in pt_mk_section_list()
99 list = list->next; in pt_section_list_free_tail()
190 list = &((*list)->next); in pt_image_add()
198 list = &((*list)->next); in pt_image_add()
250 for (; *list; list = &((*list)->next)) in pt_image_add()
271 for (list = &image->sections; *list; list = &((*list)->next)) { in pt_image_remove()
353 for (list = src->sections; list; list = list->next) { in pt_image_copy()
382 for (list = &image->sections; *list;) { in pt_image_remove_by_filename()
432 for (list = &image->sections; *list;) { in pt_image_remove_by_asid()
[all …]
/freebsd-12.1/contrib/binutils/binutils/
H A Darsup.c51 if (list == NULL) in map_over_list()
102 ar_directory (char *ar_name, struct list *list, char *output) in ar_directory() argument
224 ar_addlib (char *name, struct list *list) in ar_addlib() argument
244 ar_addmod (struct list *list) in ar_addmod() argument
268 list = list->next; in ar_addmod()
282 ar_delete (struct list *list) in ar_delete() argument
318 list = list->next; in ar_delete()
344 ar_replace (struct list *list) in ar_replace() argument
403 list = list->next; in ar_replace()
443 ar_extract (struct list *list) in ar_extract() argument
[all …]
/freebsd-12.1/sys/dev/drm2/ttm/
H A Dttm_execbuf_util.c40 list_for_each_entry(entry, list, head) { in ttm_eu_backoff_reservation_locked()
60 list_for_each_entry(entry, list, head) { in ttm_eu_del_from_lru_locked()
76 list_for_each_entry(entry, list, head) { in ttm_eu_list_ref_sub()
91 if (list_empty(list)) in ttm_eu_backoff_reservation()
120 if (list_empty(list)) in ttm_eu_reserve_buffers()
148 ttm_eu_del_from_lru_locked(list); in ttm_eu_reserve_buffers()
169 ttm_eu_list_ref_sub(list); in ttm_eu_reserve_buffers()
192 ttm_eu_del_from_lru_locked(list); in ttm_eu_reserve_buffers()
194 ttm_eu_list_ref_sub(list); in ttm_eu_reserve_buffers()
201 ttm_eu_list_ref_sub(list); in ttm_eu_reserve_buffers()
[all …]
/freebsd-12.1/sys/dev/hptrr/
H A Dhptrr_os_bsd.c134 list->dma = 0; in freelist_reserve()
135 list->size = size; in freelist_reserve()
136 list->head = 0; in freelist_reserve()
146 if (list->count) { in freelist_get()
150 list->count--; in freelist_get()
159 list->count++; in freelist_put()
161 list->head = p; in freelist_put()
173 list->dma = 1; in freelist_reserve_dma()
176 list->head = 0; in freelist_reserve_dma()
196 list->count++; in freelist_put_dma()
[all …]
/freebsd-12.1/contrib/less/
H A Dlglob.h26 #define DECL_GLOB_LIST(list) char **list; char **pp; argument
27 #define GLOB_LIST(filename,list) list = _fnexplode(filename) argument
28 #define GLOB_LIST_FAILED(list) list == NULL argument
29 #define SCAN_GLOB_LIST(list,p) pp = list; *pp != NULL; pp++ argument
31 #define GLOB_LIST_DONE(list) _fnexplodefree(list) argument
36 #define DECL_GLOB_LIST(list) glob_t list; int i; argument
37 #define GLOB_LIST(filename,list) glob(filename,GLOB_NOCHECK,0,&list) argument
38 #define GLOB_LIST_FAILED(list) 0 argument
39 #define SCAN_GLOB_LIST(list,p) i = 0; i < list.gl_pathc; i++ argument
40 #define INIT_GLOB_LIST(list,p) p = list.gl_pathv[i] argument
[all …]
/freebsd-12.1/contrib/gperf/src/
H A Dkeyword-list.cc48 copy_list (Keyword_List *list) in copy_list() argument
52 while (list != NULL) in copy_list()
57 list = list->rest(); in copy_list()
65 copy_list (KeywordExt_List *list) in copy_list() argument
72 delete_list (Keyword_List *list) in delete_list() argument
74 while (list != NULL) in delete_list()
77 delete list; in delete_list()
78 list = rest; in delete_list()
127 if (list == NULL || list->rest() == NULL) in mergesort_list()
129 return list; in mergesort_list()
[all …]
/freebsd-12.1/contrib/gdb/gdb/gdbserver/
H A Dinferiors.c46 if (list->tail != NULL) in add_inferior_to_list()
49 list->head = new_inferior; in add_inferior_to_list()
50 list->tail = new_inferior; in add_inferior_to_list()
71 if (list->head != list->tail) in change_inferior_id()
74 list->head->id = new_id; in change_inferior_id()
83 if (list->head == entry) in remove_inferior()
86 if (list->tail == entry) in remove_inferior()
87 list->tail = list->head; in remove_inferior()
91 cur = &list->head; in remove_inferior()
100 if (list->tail == entry) in remove_inferior()
[all …]
/freebsd-12.1/crypto/openssl/crypto/
H A Dmem_sec.c301 return list; in sh_getlist()
309 OPENSSL_assert(list >= 0 && list < sh.freelist_size); in sh_testbit()
320 OPENSSL_assert(list >= 0 && list < sh.freelist_size); in sh_clearbit()
332 OPENSSL_assert(list >= 0 && list < sh.freelist_size); in sh_setbit()
357 *list = ptr; in sh_add_to_list()
520 bit = (ONE << list) + (ptr - sh.arena) / (sh.arena_size >> list); in sh_find_my_buddy()
540 list--; in sh_malloc()
541 if (list < 0) in sh_malloc()
596 size_t list; in sh_free() local
621 list--; in sh_free()
[all …]

12345678910>>...140