Searched refs:list2 (Results 1 - 25 of 32) sorted by relevance

12

/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/23_containers/list/operations/
H A D35969.cc30 std::list<int> list2; local
35 list2.push_back(10 - i);
39 list2.sort();
41 std::list<int>::iterator node_of_interest = list2.begin();
43 list1.splice(list1.begin(), list2, node_of_interest);
44 list2.splice(list2.begin(), list1, node_of_interest);
46 list1.merge(list2);
48 list2.splice(list2
53 std::list<int> list2; local
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/cpp/
H A Dmacro5.c13 #define _CAT_LIST(argc,list1,list2) \
14 _L_##argc list1 _R_##argc list2
16 #define _VA_ARGLIST(argc,list1,list2) \
18 _CAT_LIST(argc, list1, list2))
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.dg/cpp/
H A Dmacro5.c13 #define _CAT_LIST(argc,list1,list2) \
14 _L_##argc list1 _R_##argc list2
16 #define _VA_ARGLIST(argc,list1,list2) \
18 _CAT_LIST(argc, list1, list2))
/netbsd-6-1-5-RELEASE/usr.bin/make/lst.lib/
H A DlstConcat.c86 List list2 = l2; local
93 if (list2->firstPtr != NULL) {
102 list2->lastPtr->nextPtr = NULL;
111 list2->firstPtr->prevPtr = list1->lastPtr;
113 list1->lastPtr->nextPtr = list2->firstPtr;
115 list1->firstPtr = list2->firstPtr;
117 list1->lastPtr = list2->lastPtr;
129 } else if (list2->firstPtr != NULL) {
142 list2->lastPtr->nextPtr = NULL;
143 for (last = list1->lastPtr, ln = list2
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/23_containers/list/modifiers/insert/
H A D25288.h64 list_type list2(alloc2);
69 list2.push_back(-(k + 1));
74 list2.insert(list2.begin(), data, data + 10);
86 VERIFY( list2.size() == size_type(j) );
87 VERIFY( list2.size() == 0 || list2.back() == -j );
88 VERIFY( list2.size() == 0 || list2.front() == -1 );
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/tools/ctf/common/
H A Dlist.c173 list_concat(list_t **list1, list_t *list2) argument
181 *list1 = list2;
183 last->l_next = list2;
190 slist_merge(list_t **list1p, list_t *list2, int (*cmp)(void *, void *)) argument
196 *list1p = list2;
201 while (list2 != NULL) {
202 if (cmp(list1->l_data, list2->l_data) > 0) {
203 next2 = list2->l_next;
207 *list1p = last1 = list2;
208 list2
[all...]
/netbsd-6-1-5-RELEASE/lib/libc/stdlib/
H A Dmerge.c121 u_char *list2, *list1, *p2, *p, *last, **p1; local
139 if ((list2 = malloc(nmemb * size + PSIZE)) == NULL)
143 setup(list1, list2, nmemb, size, cmp);
144 last = list2 + nmemb * size;
146 while (*EVAL(list2) != last) {
149 for (tp2 = p2 = list2; p2 != last; p1 = EVAL(l2)) {
152 f2 = l1 = list1 + (p2 - list2);
155 l2 = list1 + (p2 - list2);
243 tp2 = list1; /* swap list1, list2 */
244 list1 = list2;
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/isc/include/isc/
H A Dlist.h161 #define ISC_LIST_APPENDLIST(list1, list2, link) \
164 (list1) = (list2); \
165 else if (!ISC_LIST_EMPTY(list2)) { \
166 (list1).tail->link.next = (list2).head; \
167 (list2).head->link.prev = (list1).tail; \
168 (list1).tail = (list2).tail; \
170 (list2).head = NULL; \
171 (list2).tail = NULL; \
174 #define ISC_LIST_PREPENDLIST(list1, list2, link) \
177 (list1) = (list2); \
[all...]
H A Dutil.h207 #define APPENDLIST(list1, list2, link) ISC_LIST_APPENDLIST(list1, list2, link)
/netbsd-6-1-5-RELEASE/dist/dhcp/includes/isc-dhcp/
H A Dlist.h106 #define ISC_LIST_APPENDLIST(list1, list2, link) \
109 (list1) = (list2); \
110 else if (!ISC_LIST_EMPTY(list2)) { \
111 (list1).tail->link.next = (list2).head; \
112 (list2).head->link.prev = (list1).tail; \
113 (list1).tail = (list2).tail; \
114 (list2).head = NULL; \
115 (list2).tail = NULL; \
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/lwres/include/lwres/
H A Dlist.h107 #define LWRES_LIST_APPENDLIST(list1, list2, link) \
110 (list1) = (list2); \
111 else if (!LWRES_LIST_EMPTY(list2)) { \
112 (list1).tail->link.next = (list2).head; \
113 (list2).head->link.prev = (list1).tail; \
114 (list1).tail = (list2).tail; \
116 (list2).head = NULL; \
117 (list2).tail = NULL; \
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/lib/isc/include/isc/
H A Dlist.h161 #define ISC_LIST_APPENDLIST(list1, list2, link) \
164 (list1) = (list2); \
165 else if (!ISC_LIST_EMPTY(list2)) { \
166 (list1).tail->link.next = (list2).head; \
167 (list2).head->link.prev = (list1).tail; \
168 (list1).tail = (list2).tail; \
170 (list2).head = NULL; \
171 (list2).tail = NULL; \
H A Dutil.h202 #define APPENDLIST(list1, list2, link) ISC_LIST_APPENDLIST(list1, list2, link)
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/src/
H A Dformat-lisp.c135 const struct format_arg_list *list2);
138 struct format_arg_list *list2);
143 struct format_arg_list *list2);
304 const struct format_arg_list *list2)
309 VERIFY_LIST (list2);
312 if (n != list2->initial.count)
317 const struct format_arg * e2 = &list2->initial.element[i];
324 if (n != list2->repeated.count)
329 const struct format_arg * e2 = &list2->repeated.element[i];
1116 /* Memory effects: list1 and list2 ar
303 equal_list(const struct format_arg_list *list1, const struct format_arg_list *list2) argument
1119 make_intersected_list(struct format_arg_list *list1, struct format_arg_list *list2) argument
1350 intersection(struct format_arg_list *list1, struct format_arg_list *list2) argument
1483 make_union_list(struct format_arg_list *list1, struct format_arg_list *list2) argument
[all...]
H A Dformat-scheme.c138 const struct format_arg_list *list2);
141 struct format_arg_list *list2);
146 struct format_arg_list *list2);
307 const struct format_arg_list *list2)
312 VERIFY_LIST (list2);
315 if (n != list2->initial.count)
320 const struct format_arg * e2 = &list2->initial.element[i];
327 if (n != list2->repeated.count)
332 const struct format_arg * e2 = &list2->repeated.element[i];
1129 /* Memory effects: list1 and list2 ar
306 equal_list(const struct format_arg_list *list1, const struct format_arg_list *list2) argument
1132 make_intersected_list(struct format_arg_list *list1, struct format_arg_list *list2) argument
1363 intersection(struct format_arg_list *list1, struct format_arg_list *list2) argument
1506 make_union_list(struct format_arg_list *list1, struct format_arg_list *list2) argument
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dtest_config.c90 char *list2[] = { "", NULL }; variable
114 test[2].res = list2;
/netbsd-6-1-5-RELEASE/external/bsd/libarchive/dist/tar/test/
H A Dtest_windows.c118 static const char *list2[] = {"bbb/", "bbb/file1", "bbb/xxa/", "bbb/xxb/", variable
187 systemf("%s -tf ../archive2.tar > ../list2", testprog));
188 assertFileContainsLinesAnyOrder("../list2", list2);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/
H A Dira-emit.c123 eq_move_lists_p (move_t list1, move_t list2) argument
125 for (; list1 != NULL && list2 != NULL;
126 list1 = list1->next, list2 = list2->next)
127 if (list1->from != list2->from || list1->to != list2->to)
129 return list1 == list2;
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/lto-plugin/
H A DMakefile.in286 list2=; for p in $$list; do \
288 list2="$$list2 $$p"; \
291 test -z "$$list2" || { \
292 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libexecsubdir)'"; \
293 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libexecsubdir)"; \
/netbsd-6-1-5-RELEASE/external/lgpl2/mpc/dist/doc/
H A DMakefile.in524 @list='$(HTMLS)'; list2=; test -n "$(htmldir)" || list=; \
534 list2="$$list2 $$d$$p"; \
537 test -z "$$list2" || { echo "$$list2" | $(am__base_list) | \
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/doc/
H A DMakefile.in590 @list='$(HTMLS)'; list2=; test -n "$(htmldir)" || list=; \
600 list2="$$list2 $$d$$p"; \
603 test -z "$$list2" || { echo "$$list2" | $(am__base_list) | \
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
H A Dcall-ar-st.c1055 printf("Contents of linked list2: \n\n");
1162 static struct array_rep_info_t *list2; local
1225 list2 = (struct array_rep_info_t *)malloc(sizeof(struct array_rep_info_t));
1232 init_array_rep(list2, 4);
1241 sum_array_print(10, *list1, *list2, *list3, *list4);
1242 print_array_rep(*list1, *list2, *list3);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/zlib/
H A DMakefile.in340 list2=; for p in $$list; do \
342 list2="$$list2 $$p"; \
345 test -z "$$list2" || { \
346 echo " $(INSTALL_DATA) $$list2 '$(DESTDIR)$(toolexeclibdir)'"; \
347 $(INSTALL_DATA) $$list2 "$(DESTDIR)$(toolexeclibdir)" || exit $$?; }
/netbsd-6-1-5-RELEASE/external/lgpl2/mpc/dist/src/
H A DMakefile.in276 list2=; for p in $$list; do \
278 list2="$$list2 $$p"; \
281 test -z "$$list2" || { \
282 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
283 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/bfd/doc/
H A DMakefile.in640 @list='$(HTMLS)'; list2=; test -n "$(htmldir)" || list=; \
650 list2="$$list2 $$d$$p"; \
653 test -z "$$list2" || { echo "$$list2" | $(am__base_list) | \

Completed in 194 milliseconds

12