Home
last modified time | relevance | path

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

12345678910>>...100

/openbsd/usr.sbin/npppd/common/
H A Dslist.c170 memmove(&list->list[list->list_size], in slist_grow0()
181 memmove(&list->list[0], &list->list[grow_sz], in slist_grow0()
205 list->list[list->last_idx] = item; in slist_add()
271 oldVal = list->list[list->first_idx]; in slist_remove_first()
295 return list->list[list->last_idx]; in slist_remove_last()
317 m0 = list->list[REAL_IDX(list, m)]; in slist_swap0()
318 list->list[REAL_IDX(list, m)] = list->list[REAL_IDX(list, n)]; in slist_swap0()
319 list->list[REAL_IDX(list, n)] = m0; in slist_swap0()
403 memmove(&list->list[idx0], &list->list[idx0 + 1], in slist_remove()
417 memmove(&list->list[first + 1], &list->list[first], in slist_remove()
[all …]
/openbsd/usr.bin/mklocale/
H A Dyacc.y101 %type <list> list
574 for(list = types.root; list; list = list->next) { in dump_tables()
610 list = list->next; in dump_tables()
619 list = list->next; in dump_tables()
628 list = list->next; in dump_tables()
647 for (list = types.root, n = 0; list != NULL; list = list->next, n++) { in dump_tables()
689 for (list = types.root, n = 0; list != NULL; list = list->next, n++) { in dump_tables()
734 for (list = maplower.root; list; list = list->next) in dump_tables()
753 for (list = mapupper.root; list; list = list->next) in dump_tables()
786 for (list = types.root; list; list = list->next) { in dump_tables()
[all …]
/openbsd/usr.bin/dig/lib/isc/include/isc/
H A Dlist.h24 #define ISC_LIST_INIT(list) \ argument
25 do { (list).head = NULL; (list).tail = NULL; } while (0)
37 #define ISC_LIST_HEAD(list) ((list).head) argument
38 #define ISC_LIST_TAIL(list) ((list).tail) argument
39 #define ISC_LIST_EMPTY(list) ((list).head == NULL) argument
43 if ((list).head != NULL) \
46 (list).tail = (elt); \
49 (list).head = (elt); \
65 (list).head = (elt); \
68 (list).tail = (elt); \
[all …]
H A Dutil.h98 #define HEAD(list) ISC_LIST_HEAD(list) argument
99 #define TAIL(list) ISC_LIST_TAIL(list) argument
100 #define EMPTY(list) ISC_LIST_EMPTY(list) argument
103 #define APPEND(list, elt, link) ISC_LIST_APPEND(list, elt, link) argument
104 #define PREPEND(list, elt, link) ISC_LIST_PREPEND(list, elt, link) argument
105 #define UNLINK(list, elt, link) ISC_LIST_UNLINK(list, elt, link) argument
106 #define ENQUEUE(list, elt, link) ISC_LIST_APPEND(list, elt, link) argument
107 #define DEQUEUE(list, elt, link) ISC_LIST_UNLINK(list, elt, link) argument
/openbsd/gnu/usr.bin/perl/dist/threads/t/
H A Dstate.t109 ok(threads->list(threads::running) == 1, 'thread running list');
113 ok(threads->list(threads::all) == 1, 'thread list');
121 ok(threads->list(threads::all) == 1, 'thread list');
129 ok(threads->list(threads::all) == 0, 'thread list');
138 ok(threads->list(threads::all) == 0, 'thread list');
151 ok(threads->list(threads::all) == 1, 'thread list');
157 ok(threads->list(threads::all) == 0, 'thread list');
166 ok(threads->list(threads::all) == 0, 'thread list');
181 ok(threads->list(threads::all) == 1, 'thread list');
240 ok(threads->list(threads::all) == 6, 'thread all list');
[all …]
H A Dlist.t41 ok(3, scalar @{[threads->list()]} == 0, 'Empty thread list after join');
44 ok(4, scalar(threads->list()) == 1, 'Non-empty thread list');
45 ok(5, threads->list() == 1, 'Non-empty thread list');
47 ok(6, scalar @{[threads->list()]} == 0, 'Thread list empty again');
48 ok(7, threads->list() == 0, 'Thread list empty again');
51 ok(8, threads->list() == 1, 'Non-empty thread list in thread');
52 ok(9, threads->self == (threads->list())[0], 'Self in thread list')
60 my $cnt = threads->list();
62 my ($thr_x) = threads->list();
65 ok(14, scalar @{[threads->list()]} == 0, 'Thread list empty');
[all …]
/openbsd/gnu/llvm/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_ilist_test.cpp26 IList<Node, &Node::node1> list; in TEST() local
29 EXPECT_TRUE(list.Empty()); in TEST()
39 IList<Node, &Node::node1> list; in TEST() local
42 list.PushBack(&node); in TEST()
43 EXPECT_FALSE(list.Empty()); in TEST()
45 EXPECT_EQ(list.Back(), &node); in TEST()
52 EXPECT_TRUE(list.Empty()); in TEST()
61 list.PushBack(&nodes[1]); in TEST()
62 list.PushBack(&nodes[0]); in TEST()
63 list.PushFront(&nodes[2]); in TEST()
[all …]
/openbsd/gnu/usr.bin/perl/cpan/IPC-SysV/
H A DSysV.xs132 AV *list = (AV*) SvRV(obj); in pack() local
161 AV *list = (AV*) SvRV(obj); in unpack() local
195 AV *list = (AV*) SvRV(obj); in pack() local
198 AV_FETCH_IV(ds.sem_perm.uid , list, 0); in pack()
199 AV_FETCH_IV(ds.sem_perm.gid , list, 1); in pack()
200 AV_FETCH_IV(ds.sem_perm.cuid, list, 2); in pack()
201 AV_FETCH_IV(ds.sem_perm.cgid, list, 3); in pack()
202 AV_FETCH_IV(ds.sem_perm.mode, list, 4); in pack()
220 AV *list = (AV*) SvRV(obj); in unpack() local
250 AV *list = (AV*) SvRV(obj); in pack() local
[all …]
/openbsd/gnu/usr.bin/cvs/src/
H A Dhash.c51 List *list; in getlist() local
57 list = listcache; in getlist()
69 list->list = node; in getlist()
231 List *list; in insert_before()
278 List *list; in addnode()
281 return insert_before (list, list->list, p);
293 return insert_before (list, list->list->next, p);
368 head = list->list;
378 return list == NULL || list->list->next == list->list;
406 head = list->list;
[all …]
/openbsd/gnu/usr.bin/binutils/binutils/
H A Darsup.c46 if (list == NULL) in map_over_list()
98 ar_directory (char *ar_name, struct list *list, char *output) in ar_directory() argument
223 ar_addlib (char *name, struct list *list) in ar_addlib() argument
243 ar_addmod (struct list *list) in ar_addmod() argument
267 list = list->next; in ar_addmod()
281 ar_delete (struct list *list) in ar_delete() argument
317 list = list->next; in ar_delete()
343 ar_replace (struct list *list) in ar_replace() argument
402 list = list->next; in ar_replace()
442 ar_extract (struct list *list) in ar_extract() argument
[all …]
/openbsd/gnu/usr.bin/binutils-2.17/binutils/
H A Darsup.c50 if (list == NULL) in map_over_list()
101 ar_directory (char *ar_name, struct list *list, char *output) in ar_directory() argument
223 ar_addlib (char *name, struct list *list) in ar_addlib() argument
243 ar_addmod (struct list *list) in ar_addmod() argument
267 list = list->next; in ar_addmod()
281 ar_delete (struct list *list) in ar_delete() argument
317 list = list->next; in ar_delete()
343 ar_replace (struct list *list) in ar_replace() argument
402 list = list->next; in ar_replace()
442 ar_extract (struct list *list) in ar_extract() argument
[all …]
/openbsd/gnu/usr.bin/binutils/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 …]
/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_bo_list.c45 kvfree(list); in amdgpu_bo_list_free_rcu()
89 if (!list) in amdgpu_bo_list_create()
93 list->gds_obj = NULL; in amdgpu_bo_list_create()
94 list->gws_obj = NULL; in amdgpu_bo_list_create()
95 list->oa_obj = NULL; in amdgpu_bo_list_create()
140 list->oa_obj = bo; in amdgpu_bo_list_create()
154 *result = list; in amdgpu_bo_list_create()
162 kvfree(list); in amdgpu_bo_list_create()
174 if (list) in amdgpu_bo_list_destroy()
259 &list); in amdgpu_bo_list_ioctl()
[all …]
H A Damdgpu_bo_list.h62 void amdgpu_bo_list_put(struct amdgpu_bo_list *list);
70 struct amdgpu_bo_list **list);
73 amdgpu_bo_list_array_entry(struct amdgpu_bo_list *list, unsigned index) in amdgpu_bo_list_array_entry() argument
75 struct amdgpu_bo_list_entry *array = (void *)&list[1]; in amdgpu_bo_list_array_entry()
80 #define amdgpu_bo_list_for_each_entry(e, list) \ argument
81 for (e = amdgpu_bo_list_array_entry(list, 0); \
82 e != amdgpu_bo_list_array_entry(list, (list)->num_entries); \
85 #define amdgpu_bo_list_for_each_userptr_entry(e, list) \ argument
86 for (e = amdgpu_bo_list_array_entry(list, (list)->first_userptr); \
87 e != amdgpu_bo_list_array_entry(list, (list)->num_entries); \
/openbsd/gnu/usr.bin/binutils/gas/
H A Dlisting.c547 list = list->next; in listing_page()
575 frag = list->frag; in calc_hex()
954 list = head; in listing_listing()
959 list->frag = list->next->frag; in listing_listing()
960 list = list->next; in listing_listing()
965 while (list) in listing_listing()
1030 && debugging_pseudo (list, list->line_contents))) in listing_listing()
1032 list->file->linenum == 0 ? list->line : list->file->linenum, in listing_listing()
1033 list->line_contents, calc_hex (list)); in listing_listing()
1054 print_lines (list, list->file->linenum, p, address); in listing_listing()
[all …]
/openbsd/gnu/usr.bin/binutils-2.17/gas/
H A Dlisting.c547 list = list->next; in listing_page()
575 frag = list->frag; in calc_hex()
949 list = head; in listing_listing()
954 list->frag = list->next->frag; in listing_listing()
955 list = list->next; in listing_listing()
960 while (list) in listing_listing()
1025 && debugging_pseudo (list, list->line_contents))) in listing_listing()
1027 list->file->linenum == 0 ? list->line : list->file->linenum, in listing_listing()
1028 list->line_contents, calc_hex (list)); in listing_listing()
1049 print_lines (list, list->file->linenum, p, address); in listing_listing()
[all …]
/openbsd/gnu/lib/libstdc++/libstdc++/testsuite/23_containers/
H A Dlist_ctor.cc53 std::list< A<B> > list0101; in test01()
88 std::list<int>::const_iterator i; in test02()
141 std::list<int>::const_iterator i; in test03()
144 std::list<int> list0301(A, A + N); in test03()
204 std::list<int>::const_iterator i; in test05()
206 std::list<int> list0501; in test05()
243 std::list<int>::const_iterator i; in test06()
245 std::list<int> list0601; in test06()
274 std::list<C> list0604; in test06D()
300 std::list<int>::iterator i; in test07()
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/f/
H A Dstt.c133 for (next = list->next; next != list; next = next->next) in ffestt_caselist_kill()
203 for (next = list->next; next != list; next = next->next) in ffestt_dimlist_as_expr()
268 for (next = list->next; next != list; next = next->next) in ffestt_dimlist_as_expr()
424 for (next = list->next; next != list; next = next->next) in ffestt_dimlist_kill()
450 for (next = list->next; next != list; next = next->next) in ffestt_dimlist_type()
553 for (next = list->next; next != list; next = next->next) in ffestt_exprlist_drive()
575 for (next = list->next; next != list; next = next->next) in ffestt_exprlist_kill()
640 list = list->u.root.parent->next; in ffestt_formatlist_kill()
649 for (next = list->next; next != list; next = next->next) in ffestt_formatlist_kill()
770 for (next = list->next; next != list; next = next->next) in ffestt_implist_drive()
[all …]
/openbsd/sys/dev/pci/drm/amd/pm/powerplay/hwmgr/
H A Dpp_overdriver.c1271 for (i = 0; list[i].key != 0; i++) { in pp_override_get_default_fuse_value()
1272 if (key == list[i].key) { in pp_override_get_default_fuse_value()
1273 result->key = list[i].key; in pp_override_get_default_fuse_value()
1274 result->VFT2_m1 = list[i].VFT2_m1; in pp_override_get_default_fuse_value()
1275 result->VFT2_m2 = list[i].VFT2_m2; in pp_override_get_default_fuse_value()
1276 result->VFT2_b = list[i].VFT2_b; in pp_override_get_default_fuse_value()
1277 result->VFT1_m1 = list[i].VFT1_m1; in pp_override_get_default_fuse_value()
1278 result->VFT1_m2 = list[i].VFT1_m2; in pp_override_get_default_fuse_value()
1279 result->VFT1_b = list[i].VFT1_b; in pp_override_get_default_fuse_value()
1280 result->VFT0_m1 = list[i].VFT0_m1; in pp_override_get_default_fuse_value()
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/
H A D20000906-1.c15 struct list struct
17 struct list *next; argument
20 struct list *
23 static struct list l; in alloc_list()
30 foo (struct ucharp cp, struct ucharp lp, struct list **nextp) in foo()
34 struct list *list; in foo() local
37 list = alloc_list (); in foo()
54 *nextp = list; in foo()
55 nextp = &list->next; in foo()
72 struct list list; in main() local
[all …]
/openbsd/regress/usr.bin/mandoc/mdoc/Bl/
H A Dempty.out_markdown9 bullet list:
11 column list:
13 dash list:
15 diag list:
17 enum list:
19 hang list:
21 hyphen list:
23 inset list:
25 item list:
27 ohang list:
[all …]
/openbsd/gnu/llvm/libcxxabi/src/
H A Dabort_message.cpp37 va_list list; in abort_message() local
38 va_start(list, format); in abort_message()
40 va_end(list); in abort_message()
49 va_list list; in abort_message() local
50 va_start(list, format); in abort_message()
51 vasprintf(&buffer, format, list); in abort_message()
52 va_end(list); in abort_message()
57 va_list list; in abort_message() local
58 va_start(list, format); in abort_message()
59 vasprintf(&buffer, format, list); in abort_message()
[all …]
/openbsd/regress/sbin/pfctl/
H A Dpfr12.ok2 # pass list
4 # pass list -v
11 # pass list
12 # pass list -v
14 # pass list
15 # pass list -v
18 # pass list
19 # pass list -v
25 # pass list
29 # pass list
[all …]
/openbsd/gnu/llvm/libcxx/include/
H A Dlist20 class list
49 list(const list& x);
51 list(list&& x)
53 list(list&&, const allocator_type& a);
59 list& operator=(const list& x);
60 list& operator=(list&& x)
879 list(const list& __c);
888 list(list&& __c)
893 list& operator=(list&& __c)
1243 list<_Tp, _Alloc>::list(const list& __c)
[all …]
/openbsd/gnu/usr.bin/binutils/gdb/
H A Dcompleter.c291 if (list) in location_completer()
299 list = xrealloc (list, (n_syms + n_files + 1) * sizeof (char *)); in location_completer()
326 list = fn_list; in location_completer()
335 return list; in location_completer()
430 list = NULL; in complete_line()
448 list = NULL; in complete_line()
567 list = NULL; in complete_line()
601 return list; in complete_line()
638 if (list) in line_completion_function()
642 xfree (list); in line_completion_function()
[all …]

12345678910>>...100