Home
last modified time | relevance | path

Searched refs:cmp (Results 1 – 25 of 437) sorted by relevance

12345678910>>...18

/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_merge.c266 return (ctf_set_errno(cmp->cm_out, ctf_errno(cmp->cm_src))); in ctf_merge_add_reftype()
303 return (ctf_set_errno(cmp->cm_out, ctf_errno(cmp->cm_src))); in ctf_merge_add_typedef()
359 cme.cme_fp = cmp->cm_out; in ctf_merge_add_enum()
385 return (ctf_set_errno(cmp->cm_out, ctf_errno(cmp->cm_src))); in ctf_merge_add_func()
393 return (ctf_set_errno(cmp->cm_out, ctf_errno(cmp->cm_src))); in ctf_merge_add_func()
509 &cmp->cm_src->ctf_structs, cmp->cm_src); in ctf_merge_add_sou()
511 &cmp->cm_src->ctf_unions, cmp->cm_src); in ctf_merge_add_sou()
513 &cmp->cm_out->ctf_structs, cmp->cm_out); in ctf_merge_add_sou()
515 &cmp->cm_out->ctf_unions, cmp->cm_out); in ctf_merge_add_sou()
613 cms.cms_cm = cmp; in ctf_merge_fixup_sou()
[all …]
/illumos-gate/usr/src/uts/common/io/1394/
H A Ds1394_cmp.c170 *valp = cmp->cmp_ompr_val; in s1394_cmp_read()
171 rw_exit(&cmp->cmp_ompr_rwlock); in s1394_cmp_read()
175 *valp = cmp->cmp_impr_val; in s1394_cmp_read()
176 rw_exit(&cmp->cmp_impr_rwlock); in s1394_cmp_read()
196 *old_valp = cmp->cmp_ompr_val; in s1394_cmp_cas()
198 cmp->cmp_ompr_val = new_val; in s1394_cmp_cas()
200 rw_exit(&cmp->cmp_ompr_rwlock); in s1394_cmp_cas()
203 *old_valp = cmp->cmp_impr_val; in s1394_cmp_cas()
205 cmp->cmp_impr_val = new_val; in s1394_cmp_cas()
207 rw_exit(&cmp->cmp_impr_rwlock); in s1394_cmp_cas()
[all …]
/illumos-gate/usr/src/uts/common/io/aggr/
H A Daggr_recv.c92 head = cmp = mp; in aggr_recv_path_cb()
96 if (head == cmp) { in aggr_recv_path_cb()
100 freemsg(cmp); in aggr_recv_path_cb()
101 cmp = head; in aggr_recv_path_cb()
113 freemsg(cmp); in aggr_recv_path_cb()
114 cmp = head; in aggr_recv_path_cb()
128 if (head == cmp) { in aggr_recv_path_cb()
134 cmp = head; in aggr_recv_path_cb()
150 cmp = head; in aggr_recv_path_cb()
154 last = cmp; in aggr_recv_path_cb()
[all …]
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_cmp.c114 if (cmp->cmp_pcr[i]) { in av1394_cmp_bus_reset()
116 cmp->cmp_pcr[i]->pcr_val &= in av1394_cmp_bus_reset()
119 cmp->cmp_pcr[i]->pcr_val &= in av1394_cmp_bus_reset()
124 rw_exit(&cmp->cmp_pcr_rwlock); in av1394_cmp_bus_reset()
143 if (cmp->cmp_pcr[i]) { in av1394_cmp_close()
147 rw_exit(&cmp->cmp_pcr_rwlock); in av1394_cmp_close()
339 if (cmp->cmp_pcr[i]) { in av1394_cmp_cleanup()
457 cmp->cmp_pcr[idx] = pcr; in av1394_pcr_init()
463 cmp->cmp_pcr[idx] = NULL; in av1394_pcr_init()
479 cmp->cmp_pcr[idx] = NULL; in av1394_pcr_fini()
[all …]
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DProbeData.java444 int cmp; in compareUnsigned() local
458 return cmp; in compareUnsigned()
464 int cmp; in compareUnsigned() local
478 return cmp; in compareUnsigned()
484 int cmp; in compareUnsigned() local
498 return cmp; in compareUnsigned()
516 return cmp; in compareByteArrays()
523 int cmp; in compareUnsigned() local
548 int cmp; in compareRecords() local
603 int cmp; in compareRecordLists() local
[all …]
H A DTuple.java271 int cmp; in compareObjects() local
283 cmp = s1.compareTo(s2); in compareObjects()
293 cmp = s1.compareTo(s2); in compareObjects()
296 return cmp; in compareObjects()
317 int cmp = 0; in compareTo() local
321 cmp = Tuple.compare(this, t, i); in compareTo()
323 if (cmp == 0) { in compareTo()
326 return cmp; in compareTo()
347 int cmp = 0; in compare() local
362 cmp = compareObjects(val1, val2); in compare()
[all …]
/illumos-gate/usr/src/test/util-tests/tests/awk/tests/
H A DT.getline28 cmp -s $TEMP1 $TEMP2 || fail 'BAD: T.getline (bare getline)'
38 cmp -s $TEMP1 $TEMP2 || fail 'BAD: T.getline (getline xxx)'
47 cmp -s /etc/passwd $TEMP1 || fail 'BAD: T.getline (getline <file)'
56 cmp -s /etc/passwd $TEMP1 || fail 'BAD: T.getline (getline <"-")'
65 cmp -s /etc/passwd $TEMP1 || fail 'BAD: T.getline (getline <arg)'
74 cmp -s /etc/passwd $TEMP1 || fail 'BAD: T.getline (getline x <arg)'
83 cmp -s /etc/passwd $TEMP1 || fail 'BAD: T.getline (cat arg | getline)'
92 cmp -s /etc/passwd $TEMP1 || fail 'BAD: T.getline (cat arg | getline x)'
96 cmp -s $TEMP1 $TEMP2 || fail 'BAD: T.getline (non-existent file)'
108 cmp -s $TEMP1 $TEMP2 || fail 'BAD: T.getline bad $0 type in cmd|getline'
[all …]
H A DT.overflow27 cmp -s $TEMP1 $TEMP2 || fail 'BAD: T.overflow record 1'
35 cmp -s $TEMP1 $TEMP2 || fail 'BAD: T.overflow abcdef'
47 cmp -s $TEMP1 $TEMP2 || fail 'BAD: T.overflow -mr -mf set $1'
60 cmp -s $TEMP1 $TEMP2 || fail 'BAD: T.overflow -mr -mf NF'
80 cmp -s $TEMP1 $TEMP2 || fail 'BAD: T.overflow huge sprintfs'
94 cmp -s $TEMP1 $TEMP2 || fail 'BAD: T.overflow big array'
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Ddup_avl.c505 cmp = -1; in fragment_cmp()
507 cmp = 1; in fragment_cmp()
521 int cmp; in claimant_cmp() local
533 cmp = -1; in claimant_cmp()
535 cmp = 1; in claimant_cmp()
545 int cmp; in by_ino_cmp() local
550 cmp = -1; in by_ino_cmp()
552 cmp = 1; in by_ino_cmp()
562 int cmp; in by_lfn_cmp() local
567 cmp = -1; in by_lfn_cmp()
[all …]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dt-qic.c61 int cmp; local
67 cmp = strcmp(line_in, line_back);
68 SM_TEST(exp == cmp);
69 if (cmp != exp && !SmTestVerbose)
74 fprintf(stderr, "cmp=%d\n", cmp);
82 fprintf(stderr, "cmp=%d\n", cmp);
103 int i, los, cmp; local
166 SM_TEST(inout[i].qic_exp == cmp);
175 fprintf(stderr, "cmp=%d\n", cmp);
193 SM_TEST(inout[i].qic_exp == cmp);
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Drdsib_cm.c103 rds_cm_private_data_t cmp; in rds_handle_cm_req() local
156 if (cmp.cmp_arch != RDS_THIS_ARCH) { in rds_handle_cm_req()
158 cmp.cmp_arch, RDS_THIS_ARCH); in rds_handle_cm_req()
180 if ((cmp.cmp_failover) && (cmp.cmp_eptype == RDS_EP_TYPE_DATA)) { in rds_handle_cm_req()
393 if (cmp.cmp_failover) { in rds_handle_cm_req()
480 rds_cm_private_data_t cmp; in rds_handle_cm_rep() local
875 rds_cm_private_data_t cmp; in rds_open_rc_channel() local
906 cmp.cmp_version = RDS_VERSION; in rds_open_rc_channel()
907 cmp.cmp_arch = RDS_THIS_ARCH; in rds_open_rc_channel()
908 cmp.cmp_eptype = ep->ep_type; in rds_open_rc_channel()
[all …]
/illumos-gate/usr/src/common/util/
H A Dqsort.c54 if (cmp(a, b, arg) < 0) { in med3()
55 if (cmp(b, c, arg) < 0) { in med3()
57 } else if (cmp(a, c, arg) < 0) { in med3()
63 if (cmp(b, c, arg) > 0) { in med3()
128 return (cmp(a, b)); in qsort_r_wrapper()
133 cmp_f cmp, void *arg) in qsort_r() argument
295 cmp, arg); in qsort_r()
297 cmp, arg); in qsort_r()
350 cv = cmp(b_par, m2, arg); in qsort_r()
369 cv = cmp(t_par, m2, arg); in qsort_r()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_string_list.c23 int cmp; in list_has_string() local
29 cmp = strcmp(tmp, str); in list_has_string()
30 if (cmp < 0) in list_has_string()
32 if (cmp == 0) in list_has_string()
43 int cmp; in insert_string() local
46 cmp = strcmp(tmp, new); in insert_string()
47 if (cmp < 0) in insert_string()
49 else if (cmp == 0) { in insert_string()
H A Dsort.c51 if (cmp(ptr[i-1],p) > 0) { in array_sort()
57 } while (cmp(ptr[j-1], p) > 0); in array_sort()
65 int (*cmp)(const void *, const void *)) in verify_seq_sorted()
89 assert (cmp (a, b) <= 0); in verify_seq_sorted()
119 int (*cmp)(const void *, const void *)) in merge_block_seqs()
141 cmp (PTR_ENTRY_NOTAG(b1, b1->nr - 1), PTR_ENTRY_NOTAG(b2,0)) < 0) { in merge_block_seqs()
161 if (cmp (d1, d2) <= 0) { in merge_block_seqs()
235 array_sort(list->list, list->nr, cmp); in sort_list()
237 verify_seq_sorted (list, 1, cmp); in sort_list()
277 cmp); in sort_list()
[all …]
/illumos-gate/usr/src/test/libc-tests/tests/qsort/
H A Dmerge.c92 int (*cmp)(const void *, const void *)) in mergesort()
119 setup(list1, list2, nmemb, size, cmp); in mergesort()
133 if ((*cmp)(f1, f2) <= 0) { in mergesort()
152 (*cmp)(q, p) <= sense) in mergesort()
173 if ((*cmp)(q, in mergesort()
259 insertionsort(list1, n, size, cmp); in setup()
275 sense = (cmp(f1, f1 + size) > 0); in setup()
280 if ((cmp(f2, f2+ size) > 0) != sense) in setup()
293 if ((cmp(f2-size, f2) > 0) != sense) { in setup()
312 if (cmp (f1, f1 + size) > 0) in setup()
[all …]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dsort.c68 auto keycmp_t *cmp = (*L)->kt_cmp; in ldapi_keycmp() local
69 return cmp->kc_cmp( cmp->kc_arg, (*L)->kt_key, (*R)->kt_key ); in ldapi_keycmp()
79 LDAP_KEYCMP_CALLBACK *cmp, in ldap_keysort_entries() argument
89 || chain == NULL || cmp == NULL ) { in ldap_keysort_entries()
104 kc.kc_cmp = cmp; in ldap_keysort_entries()
201 LDAP_CMP_CALLBACK *cmp in ldap_multisort_entries() argument
210 || chain == NULL || cmp == NULL ) { in ldap_multisort_entries()
260 et_cmp_fn = (LDAP_CHARCMP_CALLBACK *)cmp; in ldap_multisort_entries()
283 LDAP_CMP_CALLBACK *cmp in ldap_sort_entries() argument
298 LDAP_VALCMP_CALLBACK *cmp in ldap_sort_values() argument
[all …]
/illumos-gate/usr/src/lib/libc/sparc/gen/
H A Dmemcmp.s60 cmp %o2, 17
67 cmp %o3, 2
69 cmp %o3, 3
77 cmp %o4, %o5
87 cmp %o3, %o5
95 cmp %o4, %o5
104 cmp %o4, %o5
148 cmp %o4, 2
150 cmp %o4, 1
166 cmp %o4, %o5
[all …]
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
H A Dmemcmp.s59 cmp %o2, 17
66 cmp %o3, 2
68 cmp %o3, 3
76 cmp %o4, %o5
86 cmp %o3, %o5
94 cmp %o4, %o5
103 cmp %o4, %o5
145 cmp %o4, 2
147 cmp %o4, 1
163 cmp %o4, %o5
[all …]
/illumos-gate/usr/src/uts/common/io/usb/clients/ccid/
H A Dccid.c798 ccid_minor_t *cmp; in ccid_slot_excl_maybe_signal() local
809 if (cmp == NULL) in ccid_slot_excl_maybe_signal()
817 ccid_minor_t *cmp; in ccid_slot_excl_rele() local
969 if (cmp == NULL) in ccid_slot_pollin_signal()
998 if (cmp == NULL) in ccid_slot_pollout_signal()
3085 for (cmp = list_head(&slot->cs_excl_waiters); cmp != NULL; in ccid_disconnect_cb()
3086 cmp = list_next(&slot->cs_excl_waiters, cmp)) { in ccid_disconnect_cb()
3430 ccid_minor_t *cmp; in ccid_open() local
3477 cmp->cm_idx.cmi_data.cmi_user = cmp; in ccid_open()
3533 ccid_minor_t *cmp; in ccid_user_io_done() local
[all …]
/illumos-gate/usr/src/lib/libmvec/common/vis/
H A D__vrhypotf.S332 cmp counter,0
1036 cmp %i5,0
1084 cmp %i5,0
1132 cmp %i5,0
1180 cmp %i5,0
1228 cmp %i5,0
1276 cmp %i5,0
1324 cmp %o1,0
1372 cmp %i5,0
1420 cmp %i5,0
[all …]
/illumos-gate/usr/src/common/atomic/
H A Datomic.c362 atomic_cas_8(volatile uint8_t *target, uint8_t cmp, uint8_t new) in atomic_cas_8() argument
365 if (old == cmp) in atomic_cas_8()
374 if (old == cmp) in atomic_cas_uchar()
383 if (old == cmp) in atomic_cas_16()
392 if (old == cmp) in atomic_cas_ushort()
401 if (old == cmp) in atomic_cas_32()
410 if (old == cmp) in atomic_cas_uint()
419 if (old == cmp) in atomic_cas_ulong()
428 if (old == cmp) in atomic_cas_64()
434 atomic_cas_ptr(volatile void *target, void *cmp, void *new) in atomic_cas_ptr() argument
[all …]
/illumos-gate/usr/src/lib/libc/sparcv9/crt/
H A D__align_cpy_4.s62 cmp %o0, %o1
66 cmp %o3, %o4
85 cmp %o2, 16
87 cmp %o2, 8
102 cmp %o2, 8
137 cmp %o3, 4
139 cmp %o3, 8
141 cmp %o3, 12
150 cmp %o1, %g5
161 cmp %o1, %g5
[all …]
/illumos-gate/usr/src/lib/efcode/engine/
H A Dresource.c37 find_resource(fc_resource_t **head, void *ptr, int (cmp)(void *, void *)) in find_resource()
56 if (cmp(ptr, r->data)) { in find_resource()
68 add_resource(fc_resource_t **head, void *ptr, int (cmp)(void *, void *)) in add_resource()
72 r = find_resource(head, ptr, cmp); in add_resource()
85 free_resource(fc_resource_t **head, void *ptr, int (cmp)(void *, void *)) in free_resource()
89 if ((r = find_resource(head, ptr, cmp)) != NULL) in free_resource()
/illumos-gate/usr/src/lib/libc/amd64/gen/
H A Dstrcpy.s61 cmp $0, %r11
225 cmp %r10, %r8
251 cmp %r10, %r8
272 cmp %r10, %r8
298 cmp %r10, %r8
320 cmp %r10, %r8
337 cmp %r10, %r8
363 cmp %r10, %r8
383 cmp %r10, %r8
410 cmp %r10, %r8
[all …]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Ddelkey.c55 int mask = 0, cmp, numkeys = cur_term->_ksz; in delkey() local
70 cmp = 0; in delkey()
72 cmp |= 01; in delkey()
74 cmp |= 02; in delkey()
77 if (cmp == mask) { in delkey()

12345678910>>...18