/opensolaris-onvv-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...] |
/opensolaris-onvv-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];
|
/opensolaris-onvv-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];
|
/opensolaris-onvv-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
|
H A D | volume_dlist.h | 119 * Appends list2 to the end of list1. 125 dlist_t *list2);
|
/opensolaris-onvv-gate/usr/src/lib/libnisdb/ |
H A D | db_index_entry_c.x | 108 % db_index_entry* join( long size1, long size2, db_index_entry *list2,
|
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
|
/opensolaris-onvv-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
|
/opensolaris-onvv-gate/usr/src/cmd/format/ |
H A D | ix_altsctr.c | 706 ent_merge(buf, list1, lcnt1, list2, lcnt2) 710 struct alts_ent list2[]; 721 if (list2[j2].bad_start == (uint32_t)ALTS_ENT_EMPTY) { 725 if (list1[j1].bad_start < list2[j2].bad_start) 728 buf[i++] = list2[j2++]; 736 if (list2[j2].bad_start == (uint32_t)ALTS_ENT_EMPTY) 738 buf[i++] = list2[j2];
|
/opensolaris-onvv-gate/usr/src/cmd/ssh/libssh/common/ |
H A D | g11n.c | 415 char **list1, **list2, **list3, **p, **q, **r; local 421 list2 = xsplit(set2, ','); 425 for (n2 = 0, p = list2; p && *p; p++, n2++) 435 qsort(list2, n2, sizeof (char *), sortcmp); 439 for (q = list2; q && *q; q++) { 460 for (q = list2; q && *q; q++) { 487 xfree_split_list(list2);
|
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | pp_sort.c | 142 ** p2 parallels b in the list2 array, where runs are defined by 181 dynprep(pTHX_ gptr *list1, gptr *list2, size_t nmemb, SVCOMPARE_t cmp) argument 192 for (p2 = list2; b < last; ) { 283 * # merge $runs runs at offset $offset of list $list1 into $list2. 286 * my ($offset, $runs, $base, $list1, $list2) = @_; 289 * if ($list1 is $base) copy run to $list2 292 * $off2 = mgsort2($offset, $runs-($runs/2), $base, $list2, $list1) 293 * mgsort2($off2, $runs/2, $base, $list2, $list1) 294 * merge the adjacent runs at $offset of $list1 into $list2 345 gptr *aux, *list1, *list2; local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/t/op/ |
H A D | split.t | 126 @list1 = @list2 = split ('p',"a p b c p"); 127 ok(@list1 == @list2 && 128 "@list1" eq "@list2" &&
|
H A D | pack.t | 990 my @list2 = (@list1) x $c; 994 my $p = pack $junk1, @list2; 998 # print "# junk='$junk', list=(@list2)\n"; 999 $p = pack "$junk $end", @list2, @end;
|
/opensolaris-onvv-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | ProbeData.java | 596 List <Record> list2 = d2.getRecords(); 598 int len2 = list2.size(); 611 r2 = list2.get(i);
|
/opensolaris-onvv-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);
|
/opensolaris-onvv-gate/usr/src/lib/libdladm/common/ |
H A D | libdlstat.c | 1155 /* Append linked list list1 to linked list list2 and return resulting list */ 1157 i_dlstat_join_lists(dladm_stat_chain_t *list1, dladm_stat_chain_t *list2) argument 1162 return (list2); 1169 curr->dc_next = list2;
|