Searched refs:list2 (Results 1 - 9 of 9) sorted by relevance
/freebsd-10.0-release/contrib/bmake/lst.lib/ |
H A D | lstConcat.c | 86 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...] |
/freebsd-10.0-release/cddl/contrib/opensolaris/tools/ctf/common/ |
H A D | list.c | 173 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...] |
/freebsd-10.0-release/lib/libc/stdlib/ |
H A D | merge.c | 108 u_char *list2, *list1, *p2, *p, *last, **p1; local 126 if ((list2 = malloc(nmemb * size + PSIZE)) == NULL) 130 setup(list1, list2, nmemb, size, cmp); 131 last = list2 + nmemb * size; 133 while (*EVAL(list2) != last) { 136 for (tp2 = p2 = list2; p2 != last; p1 = EVAL(l2)) { 139 f2 = l1 = list1 + (p2 - list2); 142 l2 = list1 + (p2 - list2); 223 tp2 = list1; /* swap list1, list2 */ 224 list1 = list2; [all...] |
/freebsd-10.0-release/contrib/gperf/src/ |
H A D | keyword-list.cc | 87 merge (Keyword_List *list1, Keyword_List *list2, Keyword_Comparison less) argument 95 *resultp = list2; 98 if (!list2) 103 if (less (list2->first(), list1->first())) 105 *resultp = list2; 106 resultp = &list2->rest(); 108 list2 = *resultp; */ 109 list2 = list1; list1 = *resultp;
|
/freebsd-10.0-release/usr.bin/make/ |
H A D | lst.c | 95 * list1 The list to which list2 is to be appended 96 * list2 The list to append to list1 104 Lst_Concat(Lst *list1, Lst *list2, int flags) argument 111 if (list2->firstPtr == NULL) 123 list2->firstPtr->prevPtr = list1->lastPtr; 125 list1->lastPtr->nextPtr = list2->firstPtr; 127 list1->firstPtr = list2->firstPtr; 128 list1->lastPtr = list2->lastPtr; 130 Lst_Init(list2); 136 * corresponding element in list2 [all...] |
/freebsd-10.0-release/contrib/ntp/include/isc/ |
H A D | list.h | 155 #define ISC_LIST_APPENDLIST(list1, list2, link) \ 158 (list1) = (list2); \ 159 else if (!ISC_LIST_EMPTY(list2)) { \ 160 (list1).tail->link.next = (list2).head; \ 161 (list2).head->link.prev = (list1).tail; \ 162 (list1).tail = (list2).tail; \ 164 (list2).head = NULL; \ 165 (list2).tail = NULL; \
|
H A D | util.h | 199 #define APPENDLIST(list1, list2, link) ISC_LIST_APPENDLIST(list1, list2, link)
|
/freebsd-10.0-release/crypto/heimdal/lib/krb5/ |
H A D | test_config.c | 88 char *list2[] = { "", NULL }; variable 112 test[2].res = list2;
|
/freebsd-10.0-release/contrib/diff/src/ |
H A D | diff3.c | 905 char * const list2[], size_t const lengths2[], 909 char * const *l2 = list2; 901 compare_line_list(char * const list1[], size_t const lengths1[], char * const list2[], size_t const lengths2[], lin nl) argument
|
Completed in 106 milliseconds