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

123

/osnet-11/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) {
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_common.c24 cmp(krb5_donot_replay *old, krb5_donot_replay *new1, krb5_deltat t) function
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Dbigint.pl116 &cmp($x,$y);
120 sub cmp { # post-normalized compare for internal use
131 return $cx cmp $cy;
136 return $cy cmp $cx;
155 if (&cmp($y,$x) > 0) {
250 return wantarray ? ('+0',$x) : '+0' if (&cmp(&abs($x),&abs($y)) < 0);
118 sub cmp { # post-normalized compare for internal use subroutine
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_search.c74 int cmp; local
85 if ((cmp = __bt_cmp(t, key, &t->bt_cur)) == 0) {
92 if (cmp > 0) {
H A Dbt_put.c281 int cmp; local
303 if ((cmp = __bt_cmp(t, key, &t->bt_cur)) < 0)
305 t->bt_last.index = cmp ? ++t->bt_cur.index : t->bt_cur.index;
311 if ((cmp = __bt_cmp(t, key, &t->bt_cur)) > 0)
315 *exactp = cmp == 0;
/osnet-11/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...]
/osnet-11/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...]
/osnet-11/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) {
/osnet-11/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...]
/osnet-11/usr/src/lib/pam_modules/authtok_check/
H A Dpacklib.c315 int cmp; local
327 cmp = strcmp(string, this); /* INLINE ? */
329 if (cmp == 0)
331 else if (cmp < 0)
/osnet-11/usr/src/lib/libresolv2/common/isc/
H A Dtree.c188 int cmp; local
210 cmp = (*pfi_compare)(p_data, (*ppr)->data);
214 if (cmp < 0) {
272 if (cmp > 0) {
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dsort.c70 auto keycmp_t *cmp = (*L)->kt_cmp; local
71 return cmp->kc_cmp( cmp->kc_arg, (*L)->kt_key, (*R)->kt_key );
81 LDAP_KEYCMP_CALLBACK *cmp,
91 || chain == NULL || cmp == NULL ) {
106 kc.kc_cmp = cmp;
203 LDAP_CMP_CALLBACK *cmp
212 || chain == NULL || cmp == NULL ) {
262 et_cmp_fn = (LDAP_CHARCMP_CALLBACK *)cmp;
285 LDAP_CMP_CALLBACK *cmp
76 ldap_keysort_entries( LDAP *ld, LDAPMessage **chain, void *arg, LDAP_KEYGEN_CALLBACK *gen, LDAP_KEYCMP_CALLBACK *cmp, LDAP_KEYFREE_CALLBACK *fre) argument
[all...]
/osnet-11/usr/src/lib/libcmd/common/
H A Dcmp.c31 * cmp
35 "[-?\n@(#)$Id: cmp (AT&T Research) 2010-04-11 $\n]"
37 "[+NAME?cmp - compare two files]"
149 cmp(const char* file1, Sfio_t* f1, const char* file2, Sfio_t* f2, int flags, Sfoff_t count, Sfoff_t differences) function
392 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, count, differences);
/osnet-11/usr/src/grub/grub2/grub-core/lib/
H A Dpriority_queue.c55 grub_comparator_t cmp; member in struct:grub_priority_queue
120 grub_comparator_t cmp)
136 ret->cmp = cmp;
141 /* Heap property: pq->cmp (element (pq, p), element (pq, parent (p))) <= 0. */
159 if (pq->cmp (element (pq, p), element (pq, parent (p))) <= 0)
177 if (pq->cmp (element (pq, left_child (p)), element (pq, p)) <= 0
179 || pq->cmp (element (pq, right_child (p)), element (pq, p)) <= 0))
182 || pq->cmp (element (pq, left_child (p)),
119 grub_priority_queue_new(grub_size_t elsize, grub_comparator_t cmp) argument
/osnet-11/usr/src/cmd/sendmail/db/hash/
H A Dhash.c910 int cmp, ret; local
983 hcp->dpgno, &hcp->dndx, &hcp->dpagep, &cmp))
986 if (cmp == 0)
989 __ham_dsearch(dbc, val, &off, &cmp);
1000 pgno, tlen, dbp->dup_compare, &cmp)) != 0)
1010 cmp = dbp->dup_compare == NULL ?
1016 if (cmp != 0)
H A Dhash_dup.c102 int cmp, ret; local
167 __ham_dsearch(dbc, nval, &tmp_val.doff, &cmp);
227 hcp->dpgno, &hcp->dndx, &hcp->dpagep, &cmp)) != 0)
229 if (cmp == 0)
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_cache.c44 int cmp; local
46 cmp = strcmp(zp1->zp_name, zp2->zp_name);
47 return (cmp < 0 ? -1 : (cmp > 0 ? 1 : 0));
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_tree.c169 int cmp; local
170 cmp = strcmp(p->name, name);
176 if (cmp > 0 || (cmp == 0 && p->deleted))
/osnet-11/usr/src/grub/grub2/grub-core/net/
H A Dip.c63 cmp (const void *a__, const void *b__) function
462 rsm->pq = grub_priority_queue_new (sizeof (struct grub_net_buff **), cmp);
/osnet-11/usr/src/lib/cfgadm_plugins/scsi/sun4v/common/
H A Dcfga_led_ctl.c122 int cmp = '/'; local
150 tmp_wwn_disk = strrchr(phy_disk_path, cmp);
622 int cmp = '/'; local
662 tmp_wwn_disk = strrchr(phy_disk_path, cmp);
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dfsys_jfs.c281 int namlen, cmp, n, link_count; local
358 cmp = (!*dirname) ? -1 : substring (dirname, namebuf);
361 && cmp <= 0) {
367 if (cmp == 0) {
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Unicode/
H A DCollate.pm727 ## int compare = cmp(string a, string b)
729 sub cmp { $_[0]->getSortKey($_[1]) cmp $_[0]->getSortKey($_[2]) } subroutine
744 sort{ $a->[0] cmp $b->[0] }
1085 $result = $Collator->cmp($a, $b); # returns 1, 0, or -1.
1479 =item C<$result = $Collator-E<gt>cmp($a, $b)>
1515 $Collator->getSortKey($a) cmp $Collator->getSortKey($b)
1519 $Collator->cmp($a, $b)

Completed in 131 milliseconds

123