Home
last modified time | relevance | path

Searched refs:list1 (Results 1 – 9 of 9) sorted by relevance

/titanic_50/usr/src/tools/ctf/common/
H A Dlist.c173 list_concat(list_t **list1, list_t *list2) in list_concat() argument
177 for (l = *list1, last = NULL; l; last = l, l = l->l_next) in list_concat()
181 *list1 = list2; in list_concat()
192 list_t *list1, *next2; in slist_merge() local
200 list1 = *list1p; in slist_merge()
202 if (cmp(list1->l_data, list2->l_data) > 0) { in slist_merge()
208 list2->l_next = list1; in slist_merge()
210 list2->l_next = list1; in slist_merge()
218 last1 = list1; in slist_merge()
219 list1 = list1->l_next; in slist_merge()
[all …]
/titanic_50/usr/src/lib/print/libprint/common/
H A Dlist.c127 list_concatenate(void **list1, void **list2) in list_concatenate() argument
134 syslog(LOG_DEBUG, "list_concatenate(0x%x, 0x%x)", list1, list2); in list_concatenate()
136 if ((list1 == NULL) || (list2 == NULL)) in list_concatenate()
137 return ((list1 != NULL) ? list1 : list2); in list_concatenate()
139 for (size1 = 0; list1[size1] != NULL; size1++); in list_concatenate()
151 for (size1 = 0; list1[size1] != NULL; size1++) in list_concatenate()
152 list[count++] = list1[size1]; in list_concatenate()
155 free(list1); in list_concatenate()
/titanic_50/usr/src/lib/print/libpapi-common/common/
H A Dlist.c89 void **list1; in list_concatenate() local
99 list1 = *result; in list_concatenate()
101 if (list1 != NULL) in list_concatenate()
102 for (size1 = 0; list1[size1] != NULL; size1++) in list_concatenate()
114 if (list1 != NULL) in list_concatenate()
115 for (size1 = 0; list1[size1] != NULL; size1++) in list_concatenate()
116 (*result)[count++] = list1[size1]; in list_concatenate()
120 free(list1); in list_concatenate()
/titanic_50/usr/src/cmd/format/
H A Dix_altsctr.c706 ent_merge(buf, list1, lcnt1, list2, lcnt2) in ent_merge() argument
708 struct alts_ent list1[];
717 if (list1[j1].bad_start == (uint32_t)ALTS_ENT_EMPTY) {
725 if (list1[j1].bad_start < list2[j2].bad_start)
726 buf[i++] = list1[j1++];
731 if (list1[j1].bad_start == (uint32_t)ALTS_ENT_EMPTY)
733 buf[i++] = list1[j1];
/titanic_50/usr/src/cmd/addbadsec/
H A Dix_altsctr.c87 struct alts_ent list1[],
684 struct alts_ent list1[], in ent_merge() argument
693 if (list1[j1].bad_start == (uint32_t)ALTS_ENT_EMPTY) { in ent_merge()
701 if (list1[j1].bad_start < list2[j2].bad_start) in ent_merge()
702 buf[i++] = list1[j1++]; in ent_merge()
707 if (list1[j1].bad_start == (uint32_t)ALTS_ENT_EMPTY) in ent_merge()
709 buf[i++] = list1[j1]; in ent_merge()
/titanic_50/usr/src/cmd/ssh/libssh/common/
H A Dg11n.c415 char **list1, **list2, **list3, **p, **q, **r; in g11n_langtag_set_intersect() local
420 list1 = xsplit(set1, ','); in g11n_langtag_set_intersect()
423 for (n1 = 0, p = list1; p && *p; p++, n1++) in g11n_langtag_set_intersect()
437 for (n3 = 0, p = list1; p && *p; p++) { in g11n_langtag_set_intersect()
458 for (p = list1; p && *p; p++) { in g11n_langtag_set_intersect()
486 xfree_split_list(list1); in g11n_langtag_set_intersect()
/titanic_50/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
563 rw_enter(&list1->ipif_hash_lock, RW_READER); in sctp_compare_ipif_list()
565 obj1 = list_head(&list1->sctp_ipif_list); in sctp_compare_ipif_list()
566 for (i = 0; i < list1->ipif_count; i++) { in sctp_compare_ipif_list()
578 obj1 = list_next(&list1->sctp_ipif_list, obj1); in sctp_compare_ipif_list()
580 rw_exit(&list1->ipif_hash_lock); in sctp_compare_ipif_list()
611 sctp_copy_ipifs(sctp_ipif_hash_t *list1, sctp_t *sctp2, int sleep) in sctp_copy_ipifs() argument
617 rw_enter(&list1->ipif_hash_lock, RW_READER); in sctp_copy_ipifs()
618 obj = list_head(&list1->sctp_ipif_list); in sctp_copy_ipifs()
619 for (i = 0; i < list1->ipif_count; i++) { in sctp_copy_ipifs()
[all …]
/titanic_50/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DProbeData.java595 List <Record> list1 = d1.getRecords(); in compareRecordLists() local
597 int len1 = list1.size(); in compareRecordLists()
610 r1 = list1.get(i); in compareRecordLists()
/titanic_50/usr/src/lib/libdladm/common/
H A Dlibdlstat.c679 i_dlstat_join_lists(dladm_stat_chain_t *list1, dladm_stat_chain_t *list2) in i_dlstat_join_lists() argument
683 if (list1 == NULL) in i_dlstat_join_lists()
687 curr = list1; in i_dlstat_join_lists()
692 return (list1); in i_dlstat_join_lists()