Home
last modified time | relevance | path

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

12345678910>>...59

/dragonfly/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 …]
/dragonfly/contrib/wpa_supplicant/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 …]
/dragonfly/contrib/dialog/
H A Dfselect.c91 return list->data[list->choice]; in data_of()
107 init_list(list, list->par, list->win, list->mousex); in free_list()
121 list->data = dlg_realloc(char *, list->allocd, list->data); in add_to_list()
126 list->data[list->length] = 0; in add_to_list()
134 if (list->choice < list->offset) { in keep_visible()
135 list->offset = list->choice; in keep_visible()
137 if (list->choice - list->offset >= high) in keep_visible()
138 list->offset = list->choice - high + 1; in keep_visible()
198 dlg_attr_clear(list->win, getmaxy(list->win), getmaxx(list->win), item_attr); in display_list()
199 for (n = list->offset; n < list->length && list->data[n]; n++) { in display_list()
[all …]
/dragonfly/lib/libc/include/isc/
H A Dlist.h27 #define INIT_LIST(list) \ argument
28 do { (list).head = NULL; (list).tail = NULL; } while (0)
40 #define HEAD(list) ((list).head) argument
41 #define TAIL(list) ((list).tail) argument
42 #define EMPTY(list) ((list).head == NULL) argument
50 (list).tail = (elt); \
53 (list).head = (elt); \
62 (list).head = (elt); \
65 (list).tail = (elt); \
117 #define ENQUEUE(list, elt, link) APPEND(list, elt, link) argument
[all …]
/dragonfly/sys/kern/
H A Dsubr_eventhandler.c67 while (list == NULL) { in eventhandler_register()
69 if (list) in eventhandler_register()
74 kfree(list, M_EVENTHANDLER); in eventhandler_register()
75 list = NULL; in eventhandler_register()
77 list->el_flags = 0; in eventhandler_register()
78 list->el_name = (char *)list + sizeof(struct eventhandler_list); in eventhandler_register()
85 TAILQ_INIT(&list->el_entries); in eventhandler_register()
86 list->el_flags = EHE_INITTED; in eventhandler_register()
148 list != NULL; in eventhandler_find_list()
149 list = TAILQ_NEXT(list, el_link)) { in eventhandler_find_list()
[all …]
/dragonfly/contrib/cvs-1.12/src/
H A Dhash.c56 List *list; in getlist() local
62 list = listcache; in getlist()
74 list->list = node; in getlist()
78 return list; in getlist()
324 return insert_before (list, list->list, p); in addnode()
336 return insert_before (list, list->list->next, p); in addnode_at_front()
417 head = list->list; in walklist()
428 return list == NULL || list->list->next == list->list; in list_isempty()
458 head = list->list; in sortlist()
574 (void *) list, (void *) list->list, HASHSIZE, (void *) list->next); in printlist()
[all …]
/dragonfly/contrib/bmake/
H A Dlst.c55 List *list = bmake_malloc(sizeof *list); in Lst_New() local
56 Lst_Init(list); in Lst_New()
57 return list; in Lst_New()
88 Lst_Done(list); in Lst_Free()
89 free(list); in Lst_Free()
121 list->first = ln; in Lst_Prepend()
122 list->last = ln; in Lst_Prepend()
125 list->first = ln; in Lst_Prepend()
141 list->last = ln; in Lst_Append()
144 list->last = ln; in Lst_Append()
[all …]
/dragonfly/contrib/binutils-2.27/binutils/
H A Darsup.c52 if (list == NULL) in map_over_list()
103 ar_directory (char *ar_name, struct list *list, char *output) in ar_directory() argument
226 ar_addlib (char *name, struct list *list) in ar_addlib() argument
246 ar_addmod (struct list *list) in ar_addmod() argument
270 list = list->next; in ar_addmod()
284 ar_delete (struct list *list) in ar_delete() argument
320 list = list->next; in ar_delete()
349 ar_replace (struct list *list) in ar_replace() argument
408 list = list->next; in ar_replace()
448 ar_extract (struct list *list) in ar_extract() argument
[all …]
/dragonfly/contrib/binutils-2.34/binutils/
H A Darsup.c52 if (list == NULL) in map_over_list()
103 ar_directory (char *ar_name, struct list *list, char *output) in ar_directory() argument
233 ar_addlib (char *name, struct list *list) in ar_addlib() argument
253 ar_addmod (struct list *list) in ar_addmod() argument
282 list = list->next; in ar_addmod()
296 ar_delete (struct list *list) in ar_delete() argument
332 list = list->next; in ar_delete()
361 ar_replace (struct list *list) in ar_replace() argument
420 list = list->next; in ar_replace()
460 ar_extract (struct list *list) in ar_extract() argument
[all …]
/dragonfly/contrib/gcc-8.0/libgomp/
H A Derror.c51 va_list list; in gomp_debug() local
53 va_start (list, msg); in gomp_debug()
55 va_end (list); in gomp_debug()
69 va_list list; in gomp_error() local
71 va_start (list, fmt); in gomp_error()
72 gomp_verror (fmt, list); in gomp_error()
73 va_end (list); in gomp_error()
79 gomp_verror (fmt, list); in gomp_vfatal()
86 va_list list; in gomp_fatal() local
88 va_start (list, fmt); in gomp_fatal()
[all …]
/dragonfly/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 …]
/dragonfly/sys/dev/drm/amd/amdgpu/
H A Damdgpu_bo_list.c43 kvfree(list); in amdgpu_bo_list_free_rcu()
64 struct amdgpu_bo_list *list; in amdgpu_bo_list_create() local
77 if (!list) in amdgpu_bo_list_create()
80 kref_init(&list->refcount); in amdgpu_bo_list_create()
137 *result = list; in amdgpu_bo_list_create()
143 kvfree(list); in amdgpu_bo_list_create()
150 struct amdgpu_bo_list *list; in amdgpu_bo_list_destroy() local
155 if (list) in amdgpu_bo_list_destroy()
272 &list); in amdgpu_bo_list_ioctl()
293 &list); in amdgpu_bo_list_ioctl()
[all …]
/dragonfly/sys/dev/raid/hptrr/
H A Dhptrr_os_bsd.c132 list->dma = 0; in freelist_reserve()
133 list->size = size; in freelist_reserve()
134 list->head = 0; in freelist_reserve()
144 if (list->count) { in freelist_get()
148 list->count--; in freelist_get()
157 list->count++; in freelist_put()
159 list->head = p; in freelist_put()
171 list->dma = 1; in freelist_reserve_dma()
174 list->head = 0; in freelist_reserve_dma()
194 list->count++; in freelist_put_dma()
[all …]
/dragonfly/contrib/gcc-4.7/libobjc/objc-private/
H A Dobjc-list.h52 if ((*list)->tail) in list_remove_head()
58 *(*list) = *tail; in list_remove_head()
66 objc_free (*list); in list_remove_head()
67 (*list) = 0; in list_remove_head()
76 while (list) in list_mapcar()
78 (*function) (list->head); in list_mapcar()
79 list = list->tail; in list_mapcar()
85 list_free (struct objc_list* list) in list_free() argument
87 if(list) in list_free()
89 list_free (list->tail); in list_free()
[all …]
/dragonfly/contrib/gcc-4.7/gcc/
H A Dipa-ref.c44 struct ipa_ref_list *list, *list2; in ipa_record_reference() local
53 old_references = list->references; in ipa_record_reference()
56 ref = VEC_last (ipa_ref_t, list->references); in ipa_record_reference()
89 if (old_references != list->references) in ipa_record_reference()
114 VEC_replace (ipa_ref_ptr, list->refering, in ipa_remove_reference()
116 VEC_last (ipa_ref_ptr, list->refering)); in ipa_remove_reference()
117 VEC_index (ipa_ref_ptr, list->refering, in ipa_remove_reference()
120 VEC_pop (ipa_ref_ptr, list->refering); in ipa_remove_reference()
141 VEC_free (ipa_ref_t, gc, list->references); in ipa_remove_all_references()
142 list->references = NULL; in ipa_remove_all_references()
[all …]
/dragonfly/sys/dev/raid/hpt27xx/
H A Dhpt27xx_os_bsd.c150 list->dma = 0; in freelist_reserve()
151 list->size = size; in freelist_reserve()
152 list->head = 0; in freelist_reserve()
162 if (list->count) { in freelist_get()
166 list->count--; in freelist_get()
175 list->count++; in freelist_put()
177 list->head = p; in freelist_put()
189 list->dma = 1; in freelist_reserve_dma()
192 list->head = 0; in freelist_reserve_dma()
212 list->count++; in freelist_put_dma()
[all …]
/dragonfly/usr.sbin/mptutil/
H A Dmpt_drive.c128 list->drives[j + 1] = list->drives[j]; in mpt_pd_insert()
130 if (list->drives[i] == NULL) in mpt_pd_insert()
132 list->ndrives++; in mpt_pd_insert()
199 list = malloc(sizeof(*list) + sizeof(CONFIG_PAGE_RAID_PHYS_DISK_0) * in mpt_pd_list()
201 list->ndrives = 0; in mpt_pd_list()
225 return (list); in mpt_pd_list()
234 free(list->drives[i]); in mpt_free_pd_list()
235 free(list); in mpt_free_pd_list()
323 list = mpt_pd_list(fd); in drive_set_state()
324 if (list == NULL) in drive_set_state()
[all …]
/dragonfly/contrib/binutils-2.34/gas/
H A Dlisting.c728 list = list->next; in listing_page()
757 listing_page (list); in emit_line()
773 frag = list->frag; in calc_hex()
1209 list = head->next; in listing_listing()
1211 while (list) in listing_listing()
1274 && debugging_pseudo (list, list->line_contents))) in listing_listing()
1275 print_lines (list, in listing_listing()
1276 list->file->linenum == 0 ? list->line : list->file->linenum, in listing_listing()
1277 list->line_contents, calc_hex (list)); in listing_listing()
1298 print_lines (list, list->file->linenum, p, address); in listing_listing()
[all …]
/dragonfly/contrib/binutils-2.27/gas/
H A Dlisting.c722 list = list->next; in listing_page()
751 listing_page (list); in emit_line()
767 frag = list->frag; in calc_hex()
1203 list = head->next; in listing_listing()
1205 while (list) in listing_listing()
1268 && debugging_pseudo (list, list->line_contents))) in listing_listing()
1269 print_lines (list, in listing_listing()
1270 list->file->linenum == 0 ? list->line : list->file->linenum, in listing_listing()
1271 list->line_contents, calc_hex (list)); in listing_listing()
1292 print_lines (list, list->file->linenum, p, address); in listing_listing()
[all …]
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/bits/
H A Dlist.tcc101 list<_Tp, _Alloc>::
117 list<_Tp, _Alloc>::
150 list<_Tp, _Alloc>::
175 list<_Tp, _Alloc>::
211 list<_Tp, _Alloc>::
266 list<_Tp, _Alloc>&
375 merge(list&& __x) in merge()
377 merge(list& __x) in merge()
474 list __carry; in sort()
560 list __carry; in sort()
[all …]
/dragonfly/tools/tools/drm/radeon/mkregtable/
H A Dmkregtable.c52 list->next = list; in INIT_LIST_HEAD()
53 list->prev = list; in INIT_LIST_HEAD()
171 __list_del(list->prev, list->next); in list_move()
172 list_add(list, head); in list_move()
183 __list_del(list->prev, list->next); in list_move_tail()
241 list->next->prev = list; in __list_cut_position()
242 list->prev = entry; in __list_cut_position()
243 entry->next = list; in __list_cut_position()
271 INIT_LIST_HEAD(list); in list_cut_position()
297 if (!list_empty(list)) in list_splice()
[all …]
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/profile/
H A Dlist32 #include <list>
106 class list
135 list(const list& __x)
141 list(const list&) = default;
142 list(list&&) = default;
149 list(const list& __x, const allocator_type& __a)
152 list(list&& __x, const allocator_type& __a)
189 list&
198 list&
201 list&
[all …]
/dragonfly/sbin/dhclient/
H A Derrwarn.c64 va_list list; in error() local
68 va_start(list, fmt); in error()
70 va_end(list); in error()
94 va_list list; in warning() local
100 va_end(list); in warning()
120 va_list list; in note() local
126 va_end(list); in note()
147 va_list list; in debug() local
153 va_end(list); in debug()
206 va_list list; in parse_warn() local
[all …]
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/bits/
H A Dlist.tcc99 list<_Tp, _Alloc>::
109 list<_Tp, _Alloc>::
120 list<_Tp, _Alloc>::
139 list<_Tp, _Alloc>::
154 list<_Tp, _Alloc>::
184 list<_Tp, _Alloc>&
289 merge(list&& __x) in merge()
291 merge(list& __x) in merge()
361 list __carry; in sort()
438 list __carry; in sort()
[all …]
/dragonfly/contrib/mdocml/
H A Ddemandoc.c47 int ch, fd, i, list; in main() local
58 list = 0; in main()
71 list = 1; in main()
95 pmandoc(mp, fd, argv[i], list); in main()
127 if ( ! list) in pmandoc()
147 if (list && '\0' != *p) { in pstring()
218 if (list) in pline()
240 pline(p->line, line, col, list); in pmdoc()
244 pmdoc(p->child, line, col, list); in pmdoc()
254 pline(p->line, line, col, list); in pman()
[all …]

12345678910>>...59