Home
last modified time | relevance | path

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

/illumos-gate/usr/src/test/libc-tests/tests/qsort/
H A Dmerge.c120 last = list2 + nmemb * size; in mergesort()
122 while (*EVAL(list2) != last) { in mergesort()
213 list1 = list2; in mergesort()
214 list2 = tp2; in mergesort()
215 last = list2 + nmemb*size; in mergesort()
217 if (base == list2) { in mergesort()
219 list2 = list1; in mergesort()
221 free(list2); in mergesort()
260 *EVAL(list2) = (u_char*) list2 + n*size; in setup()
270 *EVAL(list2 + (last - list1)) = list2 + n * size; in setup()
[all …]
/illumos-gate/usr/src/lib/print/libprint/common/
H A Dlist.c125 list_concatenate(void **list1, void **list2) in list_concatenate() argument
130 syslog(LOG_DEBUG, "list_concatenate(0x%x, 0x%x)", list1, list2); in list_concatenate()
132 if ((list1 == NULL) || (list2 == NULL)) in list_concatenate()
133 return ((list1 != NULL) ? list1 : list2); in list_concatenate()
137 for (size2 = 0; list2[size2] != NULL; size2++) in list_concatenate()
148 for (size2 = 0; list2[size2] != NULL; size2++) in list_concatenate()
149 list[count++] = list2[size2]; in list_concatenate()
/illumos-gate/usr/src/lib/print/libpapi-common/common/
H A Dlist.c85 list_concatenate(void ***result, void **list2) in list_concatenate() argument
92 if ((result == NULL) || ((*result == NULL) && (list2 == NULL))) { in list_concatenate()
102 if (list2 != NULL) in list_concatenate()
103 for (size2 = 0; list2[size2] != NULL; size2++) in list_concatenate()
115 if (list2 != NULL) in list_concatenate()
116 for (size2 = 0; list2[size2] != NULL; size2++) in list_concatenate()
117 (*result)[count++] = list2[size2]; in list_concatenate()
/illumos-gate/usr/src/cmd/addbadsec/
H A Dix_altsctr.c89 struct alts_ent list2[],
686 struct alts_ent list2[], in ent_merge() argument
697 if (list2[j2].bad_start == (uint32_t)ALTS_ENT_EMPTY) { in ent_merge()
701 if (list1[j1].bad_start < list2[j2].bad_start) in ent_merge()
704 buf[i++] = list2[j2++]; in ent_merge()
712 if (list2[j2].bad_start == (uint32_t)ALTS_ENT_EMPTY) in ent_merge()
714 buf[i++] = list2[j2]; in ent_merge()
/illumos-gate/usr/src/cmd/format/
H A Dix_altsctr.c707 struct alts_ent list2[], int lcnt2) in ent_merge() argument
717 if (list2[j2].bad_start == (uint32_t)ALTS_ENT_EMPTY) { in ent_merge()
721 if (list1[j1].bad_start < list2[j2].bad_start) in ent_merge()
724 buf[i++] = list2[j2++]; in ent_merge()
732 if (list2[j2].bad_start == (uint32_t)ALTS_ENT_EMPTY) in ent_merge()
734 buf[i++] = list2[j2]; in ent_merge()
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_index_entry.cc71 db_index_entry_p list2, long * newsize) in join() argument
78 otherstart = list2; // head of updated list2 in join()
H A Ddb_index_entry_c.x106 % db_index_entry* join( long size1, long size2, db_index_entry *list2,
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DProbeData.java594 List <Record> list2 = d2.getRecords(); in compareRecordLists() local
596 int len2 = list2.size(); in compareRecordLists()
609 r2 = list2.get(i); in compareRecordLists()
/illumos-gate/usr/src/tools/smatch/src/
H A Dpre-process.c1200 static int token_list_different(struct token *list1, struct token *list2) in token_list_different() argument
1203 if (list1 == list2) in token_list_different()
1205 if (!list1 || !list2) in token_list_different()
1207 if (token_different(list1, list2)) in token_list_different()
1210 list2 = list2->next; in token_list_different()
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_addr.c555 sctp_compare_ipif_list(sctp_ipif_hash_t *list1, sctp_ipif_hash_t *list2) in sctp_compare_ipif_list() argument
564 rw_enter(&list2->ipif_hash_lock, RW_READER); in sctp_compare_ipif_list()
567 obj2 = list_head(&list2->sctp_ipif_list); in sctp_compare_ipif_list()
568 for (j = 0; j < list2->ipif_count; j++) { in sctp_compare_ipif_list()
575 obj2 = list_next(&list2->sctp_ipif_list, in sctp_compare_ipif_list()
581 rw_exit(&list2->ipif_hash_lock); in sctp_compare_ipif_list()
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlstat.c683 i_dlstat_join_lists(dladm_stat_chain_t *list1, dladm_stat_chain_t *list2) in i_dlstat_join_lists() argument
688 return (list2); in i_dlstat_join_lists()
695 curr->dc_next = list2; in i_dlstat_join_lists()