Home
last modified time | relevance | path

Searched refs:list2 (Results 1 – 25 of 69) sorted by relevance

123

/freebsd/cddl/contrib/opensolaris/tools/ctf/common/
H A Dlist.c173 list_concat(list_t **list1, list_t *list2) in list_concat() argument
181 *list1 = list2; in list_concat()
183 last->l_next = list2; in list_concat()
190 slist_merge(list_t **list1p, list_t *list2, int (*cmp)(void *, void *)) in slist_merge() argument
196 *list1p = list2; in slist_merge()
201 while (list2 != NULL) { in slist_merge()
202 if (cmp(list1->l_data, list2->l_data) > 0) { in slist_merge()
203 next2 = list2->l_next; in slist_merge()
207 *list1p = last1 = list2; in slist_merge()
208 list2->l_next = list1; in slist_merge()
[all …]
/freebsd/lib/libc/stdlib/
H A Dmerge.c116 u_char *list2, *list1, *p2, *p, *last, **p1; in mergesort_b() local
130 if ((list2 = malloc(nmemb * size + PSIZE)) == NULL) in mergesort_b()
134 setup(list1, list2, nmemb, size, cmp); in mergesort_b()
135 last = list2 + nmemb * size; in mergesort_b()
137 while (*EVAL(list2) != last) { in mergesort_b()
140 for (tp2 = p2 = list2; p2 != last; p1 = EVAL(l2)) { in mergesort_b()
143 f2 = l1 = list1 + (p2 - list2); in mergesort_b()
146 l2 = list1 + (p2 - list2); in mergesort_b()
228 list1 = list2; in mergesort_b()
229 list2 = tp2; in mergesort_b()
[all …]
/freebsd/contrib/ntp/libntp/lib/isc/include/isc/
H A Dlist.h159 #define ISC_LIST_APPENDLIST(list1, list2, link) \ argument
162 (list1) = (list2); \
163 else if (!ISC_LIST_EMPTY(list2)) { \
164 (list1).tail->link.next = (list2).head; \
165 (list2).head->link.prev = (list1).tail; \
166 (list1).tail = (list2).tail; \
168 (list2).head = NULL; \
169 (list2).tail = NULL; \
172 #define ISC_LIST_PREPENDLIST(list1, list2, link) \ argument
175 (list1) = (list2); \
[all …]
H A Dutil.h205 #define APPENDLIST(list1, list2, link) ISC_LIST_APPENDLIST(list1, list2, link) argument
/freebsd/sys/sys/
H A Dqueue_mergesort.h189 #define SLIST_MERGE(list1, list2, thunk, cmp, TYPE, NAME) \ argument
190 SYSQUEUE_MERGE((list1), (list2), (thunk), (cmp), TYPE, NAME, SLIST_FIRST, \
197 #define LIST_MERGE(list1, list2, thunk, cmp, TYPE, NAME) \ argument
198 SYSQUEUE_MERGE((list1), (list2), (thunk), (cmp), TYPE, NAME, LIST_FIRST, \
205 #define STAILQ_MERGE(list1, list2, thunk, cmp, TYPE, NAME) \ argument
206 SYSQUEUE_MERGE((list1), (list2), (thunk), (cmp), TYPE, NAME, STAILQ_FIRST, \
213 #define TAILQ_MERGE(list1, list2, thunk, cmp, TYPE, NAME) \ argument
214 SYSQUEUE_MERGE((list1), (list2), (thunk), (cmp), TYPE, NAME, TAILQ_FIRST, \
/freebsd/contrib/file/doc/
H A DMakefile.in332 list2='$(man_MANS)'; \
334 && test -n "`echo $$list1$$list2`" \
339 if test -n "$$list2"; then \
340 for i in $$list2; do echo "$$i"; done \
375 list2='$(man_MANS)'; \
377 && test -n "`echo $$list1$$list2`" \
382 if test -n "$$list2"; then \
383 for i in $$list2; do echo "$$i"; done \
418 list2='$(man_MANS)'; \
420 && test -n "`echo $$list1$$list2`" \
[all …]
/freebsd/crypto/openssl/crypto/
H A Dparams_dup.c150 const OSSL_PARAM *list2[OSSL_PARAM_MERGE_LIST_MAX + 1]; in OSSL_PARAM_merge() local
170 list2[list2_sz++] = p; in OSSL_PARAM_merge()
172 list2[list2_sz] = NULL; in OSSL_PARAM_merge()
178 qsort(list2, list2_sz, sizeof(OSSL_PARAM *), compare_params); in OSSL_PARAM_merge()
188 p2cur = list2; in OSSL_PARAM_merge()
/freebsd/contrib/openbsm/man/
H A DMakefile.in337 list2=''; \
339 && test -n "`echo $$list1$$list2`" \
344 if test -n "$$list2"; then \
345 for i in $$list2; do echo "$$i"; done \
378 list2=''; \
380 && test -n "`echo $$list1$$list2`" \
385 if test -n "$$list2"; then \
386 for i in $$list2; do echo "$$i"; done \
/freebsd/contrib/openbsm/libauditd/
H A DMakefile.in373 list2=; for p in $$list; do \
375 list2="$$list2 $$p"; \
378 test -z "$$list2" || { \
381 …LFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdi…
382 …LFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdi…
445 list2=''; \
447 && test -n "`echo $$list1$$list2`" \
452 if test -n "$$list2"; then \
453 for i in $$list2; do echo "$$i"; done \
/freebsd/contrib/openpam/doc/man/
H A DMakefile.in412 list2=''; \
414 && test -n "`echo $$list1$$list2`" \
419 if test -n "$$list2"; then \
420 for i in $$list2; do echo "$$i"; done \
453 list2=''; \
455 && test -n "`echo $$list1$$list2`" \
460 if test -n "$$list2"; then \
461 for i in $$list2; do echo "$$i"; done \
/freebsd/contrib/openbsm/libbsm/
H A DMakefile.in401 list2=; for p in $$list; do \
403 list2="$$list2 $$p"; \
406 test -z "$$list2" || { \
409 …LFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdi…
410 …LFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdi…
487 list2=''; \
489 && test -n "`echo $$list1$$list2`" \
494 if test -n "$$list2"; then \
495 for i in $$list2; do echo "$$i"; done \
/freebsd/contrib/libxo/tests/core/
H A Dtest_10.c42 struct item list2[] = { in main() local
170 for (ip = list2; ip->i_title; ip++) { in main()
H A Dtest_01.c40 struct item list2[] = { in main() local
171 for (ip = list2; ip->i_title; ip++) { in main()
/freebsd/contrib/sqlite3/
H A DMakefile.in472 list2=; for p in $$list; do \
474 list2="$$list2 $$p"; \
477 test -z "$$list2" || { \
480 …LFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdi…
481 …LFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdi…
587 list2='$(man_MANS)'; \
589 && test -n "`echo $$list1$$list2`" \
594 if test -n "$$list2"; then \
595 for i in $$list2; do echo "$$i"; done \
/freebsd/contrib/openbsm/modules/auditfilter_noop/
H A DMakefile.in370 list2=; for p in $$list; do \
372 list2="$$list2 $$p"; \
375 test -z "$$list2" || { \
378 …LFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdi…
379 …LFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdi…
/freebsd/crypto/heimdal/lib/krb5/
H A Dtest_config.c88 char *list2[] = { "", NULL }; variable
112 test[2].res = list2; in check_config_files()
/freebsd/contrib/openpam/modules/pam_permit/
H A DMakefile.in392 list2=; for p in $$list; do \
394 list2="$$list2 $$p"; \
397 test -z "$$list2" || { \
400 …LFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(modul…
401 …LFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(modul…
/freebsd/contrib/openpam/modules/pam_deny/
H A DMakefile.in392 list2=; for p in $$list; do \
394 list2="$$list2 $$p"; \
397 test -z "$$list2" || { \
400 …LFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(modul…
401 …LFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(modul…
/freebsd/contrib/openpam/modules/pam_return/
H A DMakefile.in392 list2=; for p in $$list; do \
394 list2="$$list2 $$p"; \
397 test -z "$$list2" || { \
400 …LFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(modul…
401 …LFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(modul…
/freebsd/contrib/openpam/modules/pam_unix/
H A DMakefile.in392 list2=; for p in $$list; do \
394 list2="$$list2 $$p"; \
397 test -z "$$list2" || { \
400 …LFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(modul…
401 …LFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(modul…
/freebsd/contrib/ntp/scripts/update-leap/
H A DMakefile.in664 list2='$(man_MANS)'; \
666 && test -n "`echo $$list1$$list2`" \
671 if test -n "$$list2"; then \
672 for i in $$list2; do echo "$$i"; done \
707 list2='$(man_MANS)'; \
709 && test -n "`echo $$list1$$list2`" \
714 if test -n "$$list2"; then \
715 for i in $$list2; do echo "$$i"; done \
/freebsd/contrib/ntp/scripts/calc_tickadj/
H A DMakefile.in671 list2='$(man_MANS)'; \
673 && test -n "`echo $$list1$$list2`" \
678 if test -n "$$list2"; then \
679 for i in $$list2; do echo "$$i"; done \
714 list2='$(man_MANS)'; \
716 && test -n "`echo $$list1$$list2`" \
721 if test -n "$$list2"; then \
722 for i in $$list2; do echo "$$i"; done \
/freebsd/contrib/ntp/scripts/ntpsweep/
H A DMakefile.in668 list2='$(man_MANS)'; \
670 && test -n "`echo $$list1$$list2`" \
675 if test -n "$$list2"; then \
676 for i in $$list2; do echo "$$i"; done \
711 list2='$(man_MANS)'; \
713 && test -n "`echo $$list1$$list2`" \
718 if test -n "$$list2"; then \
719 for i in $$list2; do echo "$$i"; done \
/freebsd/contrib/ntp/scripts/ntptrace/
H A DMakefile.in662 list2='$(man_MANS)'; \
664 && test -n "`echo $$list1$$list2`" \
669 if test -n "$$list2"; then \
670 for i in $$list2; do echo "$$i"; done \
705 list2='$(man_MANS)'; \
707 && test -n "`echo $$list1$$list2`" \
712 if test -n "$$list2"; then \
713 for i in $$list2; do echo "$$i"; done \
/freebsd/contrib/ntp/scripts/ntp-wait/
H A DMakefile.in663 list2='$(man_MANS)'; \
665 && test -n "`echo $$list1$$list2`" \
670 if test -n "$$list2"; then \
671 for i in $$list2; do echo "$$i"; done \
706 list2='$(man_MANS)'; \
708 && test -n "`echo $$list1$$list2`" \
713 if test -n "$$list2"; then \
714 for i in $$list2; do echo "$$i"; done \

123