Searched defs:list2 (Results 1 - 8 of 8) sorted by relevance
/illumos-gate/usr/src/lib/print/libpapi-common/common/ |
H A D | list.c | 82 * and creates a new list with items from list2 appended on the end of 87 list_concatenate(void ***result, void **list2) argument 94 if ((result == NULL) || ((*result == NULL) && (list2 == NULL))) { 104 if (list2 != NULL) 105 for (size2 = 0; list2[size2] != NULL; size2++) 108 /* list1 + list2 padded to a multiple of _list_increment */ 117 if (list2 != NULL) 118 for (size2 = 0; list2[size2] != NULL; size2++) 119 (*result)[count++] = list2[size2];
|
/illumos-gate/usr/src/lib/print/libprint/common/ |
H A D | list.c | 122 * and creates a new list with items from list2 appended on the end of 127 list_concatenate(void **list1, void **list2) argument 134 syslog(LOG_DEBUG, "list_concatenate(0x%x, 0x%x)", list1, list2); 136 if ((list1 == NULL) || (list2 == NULL)) 137 return ((list1 != NULL) ? list1 : list2); 140 for (size2 = 0; list2[size2] != NULL; size2++); 142 /* list1 + list2 padded to a multiple of _list_increment */ 153 for (size2 = 0; list2[size2] != NULL; size2++) 154 list[count++] = list2[size2];
|
/illumos-gate/usr/src/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...] |
/illumos-gate/usr/src/cmd/lvm/metassist/common/ |
H A D | volume_dlist.c | 315 * Appends list2 to the end of list1. 322 dlist_t *list2) 327 return (list2); 330 if (list2 != NULL) { 334 iter->next = list2; 335 list2->prev = iter; 320 dlist_append_list( dlist_t *list1, dlist_t *list2) argument
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_index_entry.cc | 73 db_index_entry_p list2, long * newsize) 78 other, // current pointer of updated list2 79 otherprev, // previous pointer of updated list2 80 otherstart = list2; // head of updated list2 86 * for each item, traverse list2, 87 * if item on list1 matches item on list2, 88 * add to merged list and delete it from list2. 72 join(long , long , db_index_entry_p list2, long * newsize) argument
|
/illumos-gate/usr/src/cmd/addbadsec/ |
H A D | ix_altsctr.c | 89 struct alts_ent list2[], 686 struct alts_ent list2[], 697 if (list2[j2].bad_start == (uint32_t)ALTS_ENT_EMPTY) { 701 if (list1[j1].bad_start < list2[j2].bad_start) 704 buf[i++] = list2[j2++]; 712 if (list2[j2].bad_start == (uint32_t)ALTS_ENT_EMPTY) 714 buf[i++] = list2[j2]; 682 ent_merge( struct alts_ent buf[], struct alts_ent list1[], int lcnt1, struct alts_ent list2[], int lcnt2) argument
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_addr.c | 555 sctp_compare_ipif_list(sctp_ipif_hash_t *list1, sctp_ipif_hash_t *list2) argument 564 rw_enter(&list2->ipif_hash_lock, RW_READER); 567 obj2 = list_head(&list2->sctp_ipif_list); 568 for (j = 0; j < list2->ipif_count; j++) { 575 obj2 = list_next(&list2->sctp_ipif_list, 581 rw_exit(&list2->ipif_hash_lock);
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdlstat.c | 677 /* Append linked list list1 to linked list list2 and return resulting list */ 679 i_dlstat_join_lists(dladm_stat_chain_t *list1, dladm_stat_chain_t *list2) argument 684 return (list2); 691 curr->dc_next = list2;
|
Completed in 81 milliseconds