Searched defs:cmp (Results 1 - 25 of 126) sorted by relevance

123456

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dtcsearch.c51 int m, cmp; local
55 cmp = ((n == 0) ? strcmp(cap, names[offsets[m]]) :
58 if (cmp < 0)
61 if (cmp > 0)
H A Ddelkey.c55 int mask = 0, cmp, numkeys = cur_term->_ksz; local
70 cmp = 0;
72 cmp |= 01;
74 cmp |= 02;
77 if (cmp == mask) {
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_common.h40 * Solaris: made cmp a macro and removed unused t arg to help perf
42 #define cmp(old, new) \ macro
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_search.c76 int cmp; local
87 if ((cmp = __bt_cmp(t, key, &t->bt_cur)) == 0) {
94 if (cmp > 0) {
H A Dbt_put.c283 int cmp; local
305 if ((cmp = __bt_cmp(t, key, &t->bt_cur)) < 0)
307 t->bt_last.index = cmp ? ++t->bt_cur.index : t->bt_cur.index;
313 if ((cmp = __bt_cmp(t, key, &t->bt_cur)) > 0)
317 *exactp = cmp == 0;
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_string_list.c23 int cmp; local
29 cmp = strcmp(tmp, str);
30 if (cmp < 0)
32 if (cmp == 0)
43 int cmp; local
46 cmp = strcmp(tmp, new);
47 if (cmp < 0)
49 else if (cmp == 0) {
/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
165 cmp
[all...]
/illumos-gate/usr/src/lib/libast/common/cdt/
H A Ddtview.c41 int cmp, lk, sz, ky; local
69 { cmp = _DTCMP(d,ok,nk,d->disc,cmpf,sz);
70 if(((type & (DT_NEXT|DT_FIRST)) && cmp < 0) ||
71 ((type & (DT_PREV|DT_LAST)) && cmp > 0) )
H A Ddttree.c42 int cmp, lk, sz, ky; local
129 if((cmp = _DTCMP(dt,key,k,disc,cmpf,sz)) == 0)
132 { turn[n] = cmp;
133 if(!(t = cmp < 0 ? t->left : t->right) )
171 if((cmp = _DTCMP(dt,key,k,disc,cmpf,sz)) == 0)
173 else if(cmp < 0)
176 if((cmp = _DTCMP(dt,key,k,disc,cmpf,sz)) < 0)
182 else if(cmp == 0)
187 else /* if(cmp > 0) */
200 else /* if(cmp >
[all...]
/illumos-gate/usr/src/uts/intel/asm/
H A Datomic.h170 fxn(volatile type *target, type cmp, type new) \
176 : reg (new), "1" (cmp) \
198 atomic_cas_ptr(volatile void *target, void *cmp, void *new) argument
206 : "r" (new), "1" (cmp)
/illumos-gate/usr/src/uts/common/io/aggr/
H A Daggr_recv.c86 mblk_t *cmp, *last, *head; local
92 head = cmp = mp;
93 while (cmp != NULL) {
94 if (MBLKL(cmp) < sizeof (struct ether_header)) {
96 if (head == cmp) {
98 head = cmp->b_next;
99 cmp->b_next = NULL;
100 freemsg(cmp);
101 cmp = head;
111 head = cmp
[all...]
/illumos-gate/usr/src/lib/libeti/form/common/
H A Dty_enum.c122 cmp(char *x, char *v, int checkcase) function
161 if (m = cmp(x, v, checkcase)) {
166 if (m = cmp(x, v, checkcase)) {
194 if (cmp(*list++, v, checkcase) == EXACT_MATCH)
199 if (count >= 0 || cmp("", v, checkcase) == EXACT_MATCH) {
216 if (cmp(*list--, v, checkcase) == EXACT_MATCH)
221 if (count >= 0 || cmp("", v, checkcase) == EXACT_MATCH) {
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_search.c87 int cmp, jump, ret, stack; local
156 if ((cmp =
162 if (cmp > 0) {
H A Dbt_cursor.c624 int cmp, ret; local
635 data, cp->dpgno, &cp->dindx, &cp->page, &cmp)) != 0)
640 if (cmp != 0)
655 if ((cmp = __bam_cmp(dbp, data, cp->page, cp->indx + O_INDX,
668 if (dbp->dup_compare != NULL && cmp < 0) {
1404 int cmp, needexact, ret; local
1474 if ((cmp =
1477 if (cmp > 0) {
1497 if ((cmp =
1500 if (cmp <
[all...]
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Disns_cache.h60 int (*cmp)(void *, void *, int); member in struct:cache
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspace_reftree.c60 int cmp = TREE_CMP(sr1->sr_offset, sr2->sr_offset); local
61 if (likely(cmp))
62 return (cmp);
/illumos-gate/usr/src/lib/libcmd/common/
H A Dcmp.c27 * cmp
31 "[-?\n@(#)$Id: cmp (AT&T Research) 2009-01-05 $\n]"
33 "[+NAME?cmp - compare two files]"
99 cmp(const char* file1, Sfio_t* f1, const char* file2, Sfio_t* f2, int flags) function
284 n = ((flags & CMP_SILENT) && S_ISREG(s1.st_mode) && S_ISREG(s2.st_mode) && (s1.st_size - o1) != (s2.st_size - o2)) ? 1 : cmp(file1, f1, file2, f2, flags);
/illumos-gate/usr/src/uts/common/io/1394/
H A Ds1394_cmp.c122 target->target_fa[S1394_FA_TYPE_CMP].fat_u.cmp.cm_evts = *evts;
163 s1394_cmp_hal_t *cmp = &hal->hal_cmp; local
169 rw_enter(&cmp->cmp_ompr_rwlock, RW_READER);
170 *valp = cmp->cmp_ompr_val;
171 rw_exit(&cmp->cmp_ompr_rwlock);
174 rw_enter(&cmp->cmp_impr_rwlock, RW_READER);
175 *valp = cmp->cmp_impr_val;
176 rw_exit(&cmp->cmp_impr_rwlock);
189 s1394_cmp_hal_t *cmp = &hal->hal_cmp; local
195 rw_enter(&cmp
224 s1394_cmp_hal_t *cmp = &hal->hal_cmp; local
236 s1394_cmp_hal_t *cmp = &hal->hal_cmp; local
249 s1394_cmp_hal_t *cmp = &hal->hal_cmp; local
273 s1394_cmp_hal_t *cmp = &hal->hal_cmp; local
297 s1394_cmp_hal_t *cmp = &hal->hal_cmp; local
335 s1394_cmp_hal_t *cmp = &hal->hal_cmp; local
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas_hash.c38 refhash_cmp_f cmp, refhash_dtor_f dtor, size_t obj_size, size_t link_off,
65 hp->rh_cmp = cmp;
37 refhash_create(uint_t bucket_count, refhash_hash_f hash, refhash_cmp_f cmp, refhash_dtor_f dtor, size_t obj_size, size_t link_off, size_t tag_off, int km_flags) argument
/illumos-gate/usr/src/lib/pam_modules/authtok_check/
H A Dpacklib.c314 int cmp; local
326 cmp = strcmp(string, this); /* INLINE ? */
328 if (cmp == 0)
330 else if (cmp < 0)
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-misc.c94 struct cmsghdr cmp[1]; local
102 msg.msg_control = cmp;
119 fd = * (int *)CMSG_DATA(cmp);
/illumos-gate/usr/src/test/crypto-tests/tests/common/
H A Dtestfuncs.c108 bufcmp(uint8_t *auth, uint8_t *cmp, size_t size) argument
110 if (memcmp(cmp, auth, size) != 0) {
112 printbuf(cmp, "calc", size);
167 test_multi(cryptotest_t *args, test_fg_t *funcs, uint8_t *cmp, size_t cmplen) argument
258 errs += bufcmp(cmp, args->out, cmplen);
268 test_single(cryptotest_t *args, test_fg_t *funcs, uint8_t *cmp, size_t cmplen) argument
303 ret = bufcmp(cmp, args->out, cmplen);
316 run_test(cryptotest_t *args, uint8_t *cmp, size_t cmplen, argument
324 errs += test_multi(args, funcs, cmp, cmplen);
328 errs += test_single(args, funcs, cmp, cmple
[all...]
/illumos-gate/usr/src/common/bignum/sun4u/
H A Dmont_mulf_kernel_v9.s214 /* 0x0010 */ cmp %g3,%g5 label
242 /* 0x0048 */ cmp %g3,%g2 label
295 /* 0x0004 87 */ cmp %o2,0 label
367 /* 0x000c 117 */ cmp %o0,0 label
372 /* 0x001c 118 */ cmp %i2,0 label
388 /* 0x004c 118 */ cmp %i2,0 label
415 /* 0x009c 119 */ cmp %l3,0 label
448 /* 0x00f8 120 */ cmp %o5,0 label
466 /* 0x0134 123 */ cmp %i3,0 label
505 /* 0x0194 */ cmp label
571 /* 0x0018 145 */ cmp %o5,10 label
602 /* 0x008c */ cmp %g5,%o5 label
639 /* 0x011c */ cmp %g5,%o3 label
653 /* 0x014c */ cmp %g5,%o3 label
708 /* 0x001c 157 */ cmp %i2,4 label
753 /* 0x00b0 159 */ cmp %i5,%i0 label
784 /* 0x0128 159 */ cmp %i5,%l6 label
821 /* 0x01b4 */ cmp %i5,%l6 label
921 /* 0x0008 219 */ cmp %i4,0 label
941 /* 0x0050 */ cmp %i5,%o4 label
990 /* 0x0110 224 */ cmp %i5,%i3 label
1002 /* 0x013c 225 */ cmp %l3,5 label
1038 /* 0x01c4 228 */ cmp %i5,%i0 label
1115 /* 0x02f4 */ cmp %i5,%g1 label
1146 /* 0x0368 */ cmp %i5,%i3 label
1193 /* 0x0010 */ cmp %o0,0 label
1202 /* 0x0024 249 */ cmp %g2,0 label
1222 /* 0x004c */ cmp %o0,%g4 label
1232 /* 0x006c 249 */ cmp %g2,0 label
1238 /* 0x0080 */ cmp %g5,%o3 label
1249 /* 0x008c 249 */ cmp %g2,0 label
1258 /* 0x009c 250 */ cmp %o3,10 label
1290 /* 0x0104 252 */ cmp %o0,%o5 label
1344 /* 0x01d8 252 */ cmp %o0,%g3 label
1356 /* 0x0200 */ cmp %o0,%g3 label
1460 /* 0x001c 327 */ cmp %g1,16 label
2463 /* 0x03f8 328 */ cmp %l2,0 label
2470 /* 0x0410 329 */ cmp %l2,8 label
2484 /* 0x0440 */ cmp %l3,%l4 label
2494 /* 0x0464 329 */ cmp %l3,%o4 label
2501 /* 0x0478 */ cmp %l3,%o4 label
2507 /* 0x048c 334 */ cmp %o3,0 label
2537 /* 0x04fc 341 */ cmp %g1,1 label
2553 /* 0x0538 342 */ cmp %l3,12 label
2605 /* 0x0600 */ cmp %l5,%i5 label
2677 /* 0x071c */ cmp %l5,%l3 label
2702 /* 0x0778 */ cmp %l5,%l3 label
2712 /* 0x079c 344 */ cmp %o5,15 label
2720 /* 0x07b8 */ cmp %l6,%o2 label
2734 /* 0x07e8 */ cmp %l6,%l5 label
2756 /* 0x0838 */ cmp %l1,%o3 label
2775 /* 0x087c */ cmp %l1,0 label
2781 /* 0x0890 */ cmp %i1,0 label
2794 /* 0x08c0 */ cmp %i1,0 label
2801 /* 0x08d4 350 */ cmp %g1,0 label
2814 /* 0x0904 350 */ cmp %g1,0 label
2840 /* 0x0960 */ cmp %o4,0 label
2858 /* 0x099c */ cmp %i4,0 label
2885 /* 0x09fc */ cmp %l5,%l3 label
2901 /* 0x0a38 */ cmp %g4,0 label
2903 /* 0x0a40 */ cmp %l3,0 label
2915 /* 0x0a64 */ cmp %i1,%o5 label
2925 /* 0x0a84 350 */ cmp %g1,0 label
2931 /* 0x0a98 */ cmp %l0,%i3 label
2935 /* 0x0aa4 350 */ cmp %g1,0 label
2941 /* 0x0ab4 */ cmp %g3,10 label
2969 /* 0x0b1c */ cmp %l5,%i0 label
3023 /* 0x0bf0 */ cmp %l5,%l3 label
3035 /* 0x0c18 */ cmp %l5,%l3 label
[all...]
H A Dmont_mulf_v8plus.s167 /* 0x0010 */ cmp %g2,0 label
186 /* 0x005c 74 */ cmp %g3,3 label
234 /* 0x00dc */ cmp %o7,%o2 label
275 /* 0x0174 85 */ cmp %o7,%o2 label
360 /* 0x003c */ cmp %o2,9 label
377 /* 0x007c */ cmp %o5,%g1 label
400 /* 0x00d4 */ cmp %o5,%g3 label
418 /* 0x0114 */ cmp %o5,%g3 label
477 /* 0x0038 */ cmp %g2,3 label
492 /* 0x0070 */ cmp label
531 /* 0x0100 */ cmp %g1,%o5 label
587 /* 0x0010 */ cmp %g2,0 label
601 /* 0x0034 */ cmp %g1,%i3 label
617 /* 0x0070 */ cmp %g1,%o3 label
669 /* 0x012c 138 */ cmp %g1,%i3 label
690 /* 0x0160 138 */ cmp %g3,3 label
722 /* 0x01dc 143 */ cmp %g1,%o1 label
760 /* 0x0270 143 */ cmp %g1,%i3 label
770 /* 0x0290 */ cmp %g1,%i3 label
817 /* 0x000c */ cmp %g1,0 label
821 /* 0x001c */ cmp %g3,0 label
830 /* 0x0028 */ cmp %g3,0 label
843 /* 0x0048 */ cmp %o5,%g5 label
855 /* 0x0060 161 */ cmp %g3,0 label
861 /* 0x0074 */ cmp %g2,%g1 label
870 /* 0x0080 164 */ cmp %o2,0 label
879 /* 0x00a4 */ cmp %o2,3 label
906 /* 0x00ec */ cmp %o5,%g4 label
929 /* 0x013c */ cmp %o5,%g4 label
1002 /* 0x0050 198 */ cmp %o0,16 label
1013 /* 0x006c */ cmp %o2,0 label
1091 /* 0x0084 281 */ cmp %o0,3 label
1101 /* 0x00a8 */ cmp %o3,%g2 label
1105 /* 0x00b4 */ cmp %o3,%o2 label
1112 /* 0x00c8 */ cmp %o0,%o2 label
1122 /* 0x00e8 206 */ cmp %o7,0 label
1153 /* 0x0160 214 */ cmp %g1,1 label
1170 /* 0x01a4 */ cmp %i2,7 label
1198 /* 0x0210 */ cmp %o1,%o2 label
1229 /* 0x0288 */ cmp %o1,%i2 label
1257 /* 0x02f0 */ cmp %o1,%i2 label
1267 /* 0x0310 218 */ cmp %l0,30 label
1278 /* 0x033c */ cmp %o0,%o3 label
1289 /* 0x0364 */ cmp %o0,%o2 label
1318 /* 0x03cc */ cmp %i5,%o5 label
1643 /* 0x07c0 */ cmp %g1,0 label
1659 /* 0x0800 279 */ cmp %g1,3 label
1696 /* 0x0890 */ cmp %i0,%g4 label
1740 /* 0x0934 */ cmp %i0,%g4 label
1776 /* 0x09bc */ cmp %g2,0 label
1780 /* 0x09cc */ cmp %o5,0 label
1784 /* 0x09d8 */ cmp %o5,0 label
1793 /* 0x09f8 */ cmp %g3,%g2 label
1800 /* 0x0a10 */ cmp %o5,0 label
1806 /* 0x0a24 */ cmp %g2,%g3 label
1810 /* 0x0a30 */ cmp %g1,0 label
1820 /* 0x0a58 */ cmp %o0,3 label
1839 /* 0x0aa0 */ cmp %g1,%o7 label
1863 /* 0x0af4 */ cmp %g1,%o7 label
[all...]
H A Dmont_mulf_v9.s155 /* 0x0040 63 */ cmp %g2,%o1 label
180 /* 0x0070 69 */ cmp %g2,%o3 label
245 /* 0x0024 86 */ cmp %g2,0 label
274 /* 0x0068 86 */ cmp %g4,7 label
360 /* 0x01bc 96 */ cmp %o5,%o2 label
452 /* 0x0328 96 */ cmp %o5,%l0 label
489 /* 0x03b4 96 */ cmp %o5,%l0 label
559 /* 0x001c 110 */ cmp %o2,0 label
566 /* 0x0038 */ cmp %o3,9 label
584 /* 0x007c */ cmp label
607 /* 0x00d4 */ cmp %o2,%o4 label
625 /* 0x0114 */ cmp %o2,%o4 label
676 /* 0x0018 122 */ cmp %o0,0 label
693 /* 0x004c 122 */ cmp %g4,4 label
728 /* 0x00c8 125 */ cmp %o0,%o2 label
799 /* 0x01d8 */ cmp %o0,%o2 label
899 /* 0x0020 185 */ cmp %g2,0 label
902 /* 0x002c 190 */ cmp %o7,%l1 label
943 /* 0x00b8 */ cmp %o7,%o1 label
977 /* 0x012c 190 */ cmp %o7,%l1 label
987 /* 0x0150 */ cmp %g4,7 label
1135 /* 0x0374 */ cmp %o1,%g3 label
1178 /* 0x041c 194 */ cmp %o7,%l1 label
1218 /* 0x04b4 194 */ cmp %o7,%l1 label
1273 /* 0x0010 */ cmp %o0,0 label
1288 /* 0x0030 */ cmp %o4,%o0 label
1296 /* 0x004c 214 */ cmp %o3,0 label
1308 /* 0x0058 214 */ cmp %o3,0 label
1317 /* 0x0078 214 */ cmp %o0,4 label
1344 /* 0x00c4 */ cmp %o3,%g4 label
1359 /* 0x00fc */ cmp %o3,%g2 label
1379 /* 0x0144 */ cmp %o3,%g2 label
1451 /* 0x004c 242 */ cmp %l4,16 label
1461 /* 0x0068 243 */ cmp %g2,0 label
1509 /* 0x0080 */ cmp %g2,3 label
1520 /* 0x00a8 */ cmp %g4,%g2 label
1524 /* 0x00b4 244 */ cmp %g4,%o0 label
1533 /* 0x00d0 */ cmp %g4,%o0 label
1539 /* 0x00e0 249 */ cmp %g3,0 label
1576 /* 0x0170 256 */ cmp %l4,1 label
1596 /* 0x01c0 259 */ cmp %i4,30 label
1597 /* 0x01c4 256 */ cmp %o5,7 label
1623 /* 0x0228 */ cmp %g4,%i5 label
1671 /* 0x02e4 */ cmp %g4,%o5 label
1697 /* 0x0344 */ cmp %g4,%o5 label
1704 /* 0x035c 259 */ cmp %i4,30 label
1716 /* 0x0388 */ cmp %g2,%i1 label
1730 /* 0x03bc */ cmp %g4,%o0 label
1758 /* 0x0420 */ cmp %l1,%i3 label
2102 /* 0x0828 */ cmp %l4,0 label
2119 /* 0x086c 324 */ cmp %l4,7 label
2202 /* 0x09b4 */ cmp %o5,%o3 label
2294 /* 0x0b20 */ cmp %o5,%l0 label
2330 /* 0x0ba8 */ cmp %o5,%l0 label
2353 /* 0x0bf0 */ cmp %g2,0 label
2362 /* 0x0c10 */ cmp %g3,%g2 label
2370 /* 0x0c2c 249 */ cmp %l4,0 label
2375 /* 0x0c38 249 */ cmp %l4,0 label
2383 /* 0x0c54 249 */ cmp %l4,4 label
2402 /* 0x0c9c */ cmp %g3,%o4 label
2417 /* 0x0cd4 */ cmp %g3,%g4 label
2437 /* 0x0d1c */ cmp %g3,%g4 label
[all...]

Completed in 449 milliseconds

123456