/titanic_50/usr/src/lib/libctf/common/ |
H A D | ctf_merge.c | 100 ctf_merge_gettype(ctf_merge_types_t *cmp, ctf_id_t id) in ctf_merge_gettype() argument 102 if (cmp->cm_dedup == B_FALSE) { in ctf_merge_gettype() 103 VERIFY(cmp->cm_tmap[id].cmt_map != 0); in ctf_merge_gettype() 104 return (cmp->cm_tmap[id].cmt_map); in ctf_merge_gettype() 107 while (cmp->cm_tmap[id].cmt_missing == B_FALSE) { in ctf_merge_gettype() 108 VERIFY(cmp->cm_tmap[id].cmt_map != 0); in ctf_merge_gettype() 109 id = cmp->cm_tmap[id].cmt_map; in ctf_merge_gettype() 111 VERIFY(cmp->cm_tmap[id].cmt_map != 0); in ctf_merge_gettype() 112 return (cmp->cm_tmap[id].cmt_map); in ctf_merge_gettype() 119 ctf_merge_types_t *cmp = arg; in ctf_merge_diffcb() local [all …]
|
/titanic_50/usr/src/uts/common/io/1394/ |
H A D | s1394_cmp.c | 122 target->target_fa[S1394_FA_TYPE_CMP].fat_u.cmp.cm_evts = *evts; in s1394_cmp_register() 163 s1394_cmp_hal_t *cmp = &hal->hal_cmp; in s1394_cmp_read() local 169 rw_enter(&cmp->cmp_ompr_rwlock, RW_READER); in s1394_cmp_read() 170 *valp = cmp->cmp_ompr_val; in s1394_cmp_read() 171 rw_exit(&cmp->cmp_ompr_rwlock); in s1394_cmp_read() 174 rw_enter(&cmp->cmp_impr_rwlock, RW_READER); 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() 189 s1394_cmp_hal_t *cmp = &hal->hal_cmp; in s1394_cmp_cas() local 195 rw_enter(&cmp->cmp_ompr_rwlock, RW_WRITER); in s1394_cmp_cas() [all …]
|
/titanic_50/usr/src/uts/common/io/aggr/ |
H A D | aggr_recv.c | 84 mblk_t *cmp, *last, *head; in aggr_recv_cb() local 90 head = cmp = mp; in aggr_recv_cb() 91 while (cmp != NULL) { in aggr_recv_cb() 92 if (MBLKL(cmp) < sizeof (struct ether_header)) { in aggr_recv_cb() 94 if (head == cmp) { in aggr_recv_cb() 96 head = cmp->b_next; in aggr_recv_cb() 97 cmp->b_next = NULL; in aggr_recv_cb() 98 freemsg(cmp); in aggr_recv_cb() 99 cmp = head; in aggr_recv_cb() 109 head = cmp->b_next; in aggr_recv_cb() [all …]
|
/titanic_50/usr/src/uts/common/io/1394/targets/av1394/ |
H A D | av1394_cmp.c | 74 av1394_cmp_t *cmp = &avp->av_i.i_cmp; in av1394_cmp_init() local 83 rw_init(&cmp->cmp_pcr_rwlock, NULL, RW_DRIVER, ibc); in av1394_cmp_init() 103 av1394_cmp_t *cmp = &avp->av_i.i_cmp; in av1394_cmp_bus_reset() local 109 rw_enter(&cmp->cmp_pcr_rwlock, RW_WRITER); in av1394_cmp_bus_reset() 110 for (i = 0; i < NELEM(cmp->cmp_pcr); i++) { in av1394_cmp_bus_reset() 114 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() 135 av1394_cmp_t *cmp = &avp->av_i.i_cmp; in av1394_cmp_close() local [all …]
|
/titanic_50/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | ProbeData.java | 446 int cmp; in compareUnsigned() local 450 cmp = (i1 < i2 ? -1 : (i1 > i2 ? 1 : 0)); in compareUnsigned() 452 cmp = 1; // negative > positive in compareUnsigned() 455 cmp = -1; // positive < negative in compareUnsigned() 457 cmp = (i1 < i2 ? -1 : (i1 > i2 ? 1 : 0)); in compareUnsigned() 460 return cmp; in compareUnsigned() 466 int cmp; in compareUnsigned() local 470 cmp = (i1 < i2 ? -1 : (i1 > i2 ? 1 : 0)); in compareUnsigned() 472 cmp = 1; // negative > positive in compareUnsigned() 475 cmp = -1; // positive < negative in compareUnsigned() [all …]
|
H A D | Tuple.java | 271 int cmp; in compareObjects() local 277 cmp = ProbeData.compareUnsigned(Comparable.class.cast(o1), in compareObjects() 283 cmp = s1.compareTo(s2); in compareObjects() 288 cmp = ProbeData.compareByteArrays(a1, a2); in compareObjects() 293 cmp = s1.compareTo(s2); in compareObjects() 296 return cmp; in compareObjects() 317 int cmp = 0; in compareTo() local 320 for (int i = 0; (cmp == 0) && (i < len) && (i < tlen); ++i) { in compareTo() 321 cmp = Tuple.compare(this, t, i); in compareTo() 323 if (cmp == 0) { in compareTo() [all …]
|
H A D | ProbeDescription.java | 419 int cmp = 0; in compareTo() local 420 cmp = provider.compareTo(p.provider); in compareTo() 421 if (cmp == 0) { in compareTo() 422 cmp = module.compareTo(p.module); in compareTo() 423 if (cmp == 0) { in compareTo() 424 cmp = function.compareTo(p.function); in compareTo() 425 if (cmp == 0) { in compareTo() 426 cmp = name.compareTo(p.name); in compareTo() 430 return (cmp); in compareTo()
|
/titanic_50/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | dup_avl.c | 502 int cmp = lp->fr_pfn - rp->fr_pfn; in fragment_cmp() local 504 if (cmp < 0) in fragment_cmp() 505 cmp = -1; in fragment_cmp() 506 else if (cmp > 0) in fragment_cmp() 507 cmp = 1; in fragment_cmp() 509 return (cmp); in fragment_cmp() 521 int cmp; in claimant_cmp() local 523 cmp = lp->cl_inode - rp->cl_inode; in claimant_cmp() 524 if (cmp == 0) { in claimant_cmp() 529 cmp = lp->cl_lfn - rp->cl_lfn; in claimant_cmp() [all …]
|
/titanic_50/usr/src/cmd/sendmail/libsm/ |
H A D | t-qic.c | 61 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 165 cmp = strcmp(inout[i].qic_out, obp); 166 SM_TEST(inout[i].qic_exp == cmp); 167 if (inout[i].qic_exp != cmp && !SmTestVerbose) [all …]
|
/titanic_50/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rdsib_cm.c | 103 rds_cm_private_data_t cmp; in rds_handle_cm_req() local 125 bcopy((uint8_t *)evp->cm_priv_data, &cmp, in rds_handle_cm_req() 139 ipcm_info.SRCIP, ipcm_info.DSTIP, cmp.cmp_eptype); in rds_handle_cm_req() 141 if (cmp.cmp_version != RDS_VERSION) { in rds_handle_cm_req() 143 "Remote version: %d", RDS_VERSION, cmp.cmp_version); in rds_handle_cm_req() 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() 162 if ((cmp.cmp_eptype != RDS_EP_TYPE_CTRL) && in rds_handle_cm_req() 163 (cmp.cmp_eptype != RDS_EP_TYPE_DATA)) { in rds_handle_cm_req() 164 RDS_DPRINTF2(LABEL, "Unknown Channel type: %d", cmp.cmp_eptype); in rds_handle_cm_req() [all …]
|
/titanic_50/usr/src/tools/ctf/common/ |
H A D | list.c | 59 slist_add(list_t **list, void *data, int (*cmp)(void *, void *)) in slist_add() 64 if (cmp((*nextp)->l_data, data) > 0) in slist_add() 79 list_remove(list_t **list, void *data, int (*cmp)(void *, void *, void *), in list_remove() 85 if (!cmp) in list_remove() 86 cmp = list_defcmp; in list_remove() 89 if (cmp(le->l_data, data, private) == 0) { in list_remove() 156 list_find(list_t *list, void *tmpl, int (*cmp)(void *, void *)) in list_find() 159 if (cmp(list->l_data, tmpl) == 0) in list_find() 190 slist_merge(list_t **list1p, list_t *list2, int (*cmp)(void *, void *)) in slist_merge() 202 if (cmp(list1->l_data, list2->l_data) > 0) { in slist_merge()
|
/titanic_50/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | sort.c | 70 auto keycmp_t *cmp = (*L)->kt_cmp; in ldapi_keycmp() local 71 return cmp->kc_cmp( cmp->kc_arg, (*L)->kt_key, (*R)->kt_key ); in ldapi_keycmp() 81 LDAP_KEYCMP_CALLBACK *cmp, in ldap_keysort_entries() argument 91 || chain == NULL || cmp == NULL ) { in ldap_keysort_entries() 106 kc.kc_cmp = cmp; in ldap_keysort_entries() 203 LDAP_CMP_CALLBACK *cmp in ldap_multisort_entries() argument 212 || chain == NULL || cmp == NULL ) { in ldap_multisort_entries() 262 et_cmp_fn = (LDAP_CHARCMP_CALLBACK *)cmp; in ldap_multisort_entries() 285 LDAP_CMP_CALLBACK *cmp in ldap_sort_entries() argument 292 return( ldap_multisort_entries( ld, chain, attr ? attrs : NULL, cmp ) ); in ldap_sort_entries() [all …]
|
/titanic_50/usr/src/lib/libc/sparc/gen/ |
H A D | memcmp.s | 58 cmp %o0, %o1 ! s1 == s2? 60 cmp %o2, 17 67 cmp %o3, 2 69 cmp %o3, 3 71 .algn1: ldub [%o0], %o4 ! cmp one byte 77 cmp %o4, %o5 87 cmp %o3, %o5 95 cmp %o4, %o5 104 cmp %o4, %o5 148 cmp %o4, 2 [all …]
|
H A D | memmove.s | 41 cmp %i1, %i0 ! if from address is >= to use forward copy 43 cmp %i2, 17 ! delay slot, for small counts copy bytes 46 cmp %i2, %i4 ! compare size and difference of addresses 48 cmp %i2, 17 ! delay slot, for small counts copy bytes 55 cmp %i5, 2 ! is src half-word aligned 57 cmp %i5, 3 ! src is byte aligned
|
/titanic_50/usr/src/lib/libc/sparcv9/gen/ |
H A D | memcmp.s | 57 cmp %o0, %o1 ! s1 == s2? 59 cmp %o2, 17 66 cmp %o3, 2 68 cmp %o3, 3 70 .algn1: ldub [%o0], %o4 ! cmp one byte 76 cmp %o4, %o5 86 cmp %o3, %o5 94 cmp %o4, %o5 103 cmp %o4, %o5 145 cmp %o4, 2 [all …]
|
H A D | memmove.s | 41 cmp %i1, %i0 ! if from address is >= to use forward copy 43 cmp %i2, 17 ! delay slot, for small counts copy bytes 46 cmp %i2, %i4 ! compare size and difference of addresses 48 cmp %i2, 17 ! delay slot, for small counts copy bytes 55 cmp %i5, 2 ! is src half-word aligned 57 cmp %i5, 3 ! src is byte aligned
|
/titanic_50/usr/src/common/atomic/ |
H A D | atomic.c | 362 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() 371 atomic_cas_uchar(volatile uchar_t *target, uchar_t cmp, uchar_t new) in atomic_cas_uchar() argument 374 if (old == cmp) in atomic_cas_uchar() 380 atomic_cas_16(volatile uint16_t *target, uint16_t cmp, uint16_t new) in atomic_cas_16() argument 383 if (old == cmp) in atomic_cas_16() 389 atomic_cas_ushort(volatile ushort_t *target, ushort_t cmp, ushort_t new) in atomic_cas_ushort() argument 392 if (old == cmp) in atomic_cas_ushort() 398 atomic_cas_32(volatile uint32_t *target, uint32_t cmp, uint32_t new) in atomic_cas_32() argument 401 if (old == cmp) in atomic_cas_32() [all …]
|
/titanic_50/usr/src/lib/libmvec/common/vis/ |
H A D | __vrhypotf.S | 332 cmp counter,0 344 cmp %l6,_0x7f800000 ! (3_0) ay ? 0x7f800000 348 cmp %i5,_0x7f800000 ! (3_0) ax ? 0x7f800000 352 cmp %l6,0 ! (3_0) 370 cmp %l6,_0x7f800000 ! (4_0) ay ? 0x7f800000 375 cmp %i5,_0x7f800000 ! (4_0) ax ? 0x7f800000 379 cmp %l6,0 ! (4_1) ay ? 0 396 cmp %l6,_0x7f800000 ! (0_0) ay ? 0x7f800000 402 cmp %i5,_0x7f800000 ! (0_0) ax ? 0x7f800000 406 cmp %l6,0 ! (0_0) ay ? 0 [all …]
|
/titanic_50/usr/src/lib/libc/sparcv9/crt/ |
H A D | __align_cpy_4.s | 62 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 …]
|
/titanic_50/usr/src/lib/efcode/engine/ |
H A D | resource.c | 37 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()
|
/titanic_50/usr/src/lib/libcurses/screen/ |
H A D | delkey.c | 55 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()
|
H A D | tcsearch.c | 51 int m, cmp; in _tcsearch() local 55 cmp = ((n == 0) ? strcmp(cap, names[offsets[m]]) : in _tcsearch() 58 if (cmp < 0) in _tcsearch() 61 if (cmp > 0) in _tcsearch()
|
/titanic_50/usr/src/lib/libc/amd64/gen/ |
H A D | strcpy.s | 61 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 …]
|
/titanic_50/usr/src/uts/sfmmu/ml/ |
H A D | sfmmu_asm.s | 140 cmp vpshift, MMU_PAGESHIFT ;\ 173 cmp tmp1, tmp2 ;\ 177 cmp tmp1, tmp2 ;\ 188 cmp tmp1, tmp2 ;\ 192 cmp tmp1, tmp2 ;\ 417 cmp tmp1, tmp2 /* see if tsbe is locked, if */ ;\ 421 cmp tag, tmp3 /* compare tags */ ;\ 425 cmp tmp1, tmp3 /* if not successful */ ;\ 436 cmp tmp1, tmp2 /* see if tsbe is locked, if */ ;\ 440 cmp tag, tmp3 /* compare tags */ ;\ [all …]
|
/titanic_50/usr/src/lib/libeti/form/common/ |
H A D | ty_enum.c | 122 cmp(char *x, char *v, int checkcase) in cmp() function 161 if (m = cmp(x, v, checkcase)) { in fcheck_enum() 166 if (m = cmp(x, v, checkcase)) { in fcheck_enum() 194 if (cmp(*list++, v, checkcase) == EXACT_MATCH) in next_enum() 199 if (count >= 0 || cmp("", v, checkcase) == EXACT_MATCH) { in next_enum() 216 if (cmp(*list--, v, checkcase) == EXACT_MATCH) in prev_enum() 221 if (count >= 0 || cmp("", v, checkcase) == EXACT_MATCH) { in prev_enum()
|