Home
last modified time | relevance | path

Searched refs:diff (Results 1 – 25 of 207) sorted by relevance

123456789

/titanic_41/usr/src/cmd/diff/
H A DMakefile26 PROG= diff diffh
28 BINDIFF= diff
40 POFILE= diff.po
41 DCFILE= diff.dc
56 $(COMPILE.cpp) $(SRCS) > diff.po.i
57 $(XGETTEXT) $(XGETFLAGS) diff.po.i
59 $(RM) diff.po.i messages.po
63 $(COMPILE.cpp) $(SRCS) > diff.dc.i
64 $(XGETTEXT) -c TRANSLATION_NOTE_FOR_DC -t diff.dc.i
66 $(RM) diff.dc.i messages.po
[all …]
/titanic_41/usr/src/cmd/fm/eversholt/common/
H A Dlut.c80 int diff; in lut_add() local
85 diff = (*cmp_func)(tmp->lut_lhs, lhs); in lut_add()
87 diff = (const char *)lhs - (const char *)tmp->lut_lhs; in lut_add()
89 if (diff == 0) { in lut_add()
93 } else if (diff > 0) { in lut_add()
118 int diff; in lut_lookup() local
124 diff = (*cmp_func)(root->lut_lhs, lhs); in lut_lookup()
126 diff = (const char *)lhs - (const char *)root->lut_lhs; in lut_lookup()
128 if (diff == 0) in lut_lookup()
130 else if (diff > 0) in lut_lookup()
[all …]
/titanic_41/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsubr_mchain.c238 uint64_t diff; in m_length() local
240 diff = (uintptr_t)mblk->b_datap->db_lim - in m_length()
242 ASSERT(diff == (uint64_t)((unsigned int)diff)); in m_length()
243 return ((unsigned int)diff); in m_length()
484 uint64_t diff; in mb_put_mem() local
487 diff = MBLKTAIL(m); in mb_put_mem()
488 ASSERT(diff == (uint64_t)((int)diff)); in mb_put_mem()
489 mleft = (int)diff; in mb_put_mem()
505 diff = MBLKTAIL(m); in mb_put_mem()
506 ASSERT(diff == (uint64_t)((int)diff)); in mb_put_mem()
[all …]
/titanic_41/usr/src/uts/sun4/os/
H A Dmemlist.c240 diff_memlists(struct memlist *proto, struct memlist *diff, void (*func)()) in diff_memlists() argument
249 while (diff != NULL && in diff_memlists()
250 proto->ml_address >= diff->ml_address + diff->ml_size) in diff_memlists()
251 diff = diff->ml_next; in diff_memlists()
252 if (diff == NULL) { in diff_memlists()
257 if (proto->ml_address == diff->ml_address && in diff_memlists()
258 proto->ml_size == diff->ml_size) { in diff_memlists()
260 diff = diff->ml_next; in diff_memlists()
266 d_base = diff->ml_address; in diff_memlists()
267 d_end = d_base + diff->ml_size; in diff_memlists()
[all …]
/titanic_41/usr/src/lib/libmvec/common/
H A D__vhypot.c103 int hx0, hx1, hy0, j0, diff; in __vhypot() local
129 diff = hy0 - hx0; in __vhypot()
130 j0 = diff >> 31; in __vhypot()
131 j0 = hy0 - (diff & j0); in __vhypot()
148 j0 = diff >> 31; in __vhypot()
149 if (((diff ^ j0) - j0) < 0x03600000) /* max(|X|,|Y|)/min(|X|,|Y|) < 2**54 */ in __vhypot()
171 diff = hy0 - hx0; in __vhypot()
172 j0 = diff >> 31; in __vhypot()
173 j0 = hy0 - (diff & j0); in __vhypot()
190 j0 = diff >> 31; in __vhypot()
[all …]
/titanic_41/usr/src/common/avl/
H A Davl.c259 int diff; in avl_find() local
267 diff = tree->avl_compar(value, AVL_NODE2DATA(node, off)); in avl_find()
268 ASSERT(-1 <= diff && diff <= 1); in avl_find()
269 if (diff == 0) { in avl_find()
276 child = avl_balance2child[1 + diff]; in avl_find()
580 int diff; in avl_insert_here() local
595 diff = tree->avl_compar(new_data, here); in avl_insert_here()
596 ASSERT(-1 <= diff && diff <= 1); in avl_insert_here()
597 ASSERT(diff != 0); in avl_insert_here()
598 ASSERT(diff > 0 ? child == 1 : child == 0); in avl_insert_here()
[all …]
/titanic_41/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DStddevValue.java83 BigInteger diff = BigInteger.valueOf(0); in squareRoot128() local
95 diff = diff.shiftLeft(2); in squareRoot128()
96 diff = diff.add(BigInteger.valueOf(nextTwoBits)); in squareRoot128()
104 if (nextTry.compareTo(diff) <= 0) { in squareRoot128()
105 diff = diff.subtract(nextTry); in squareRoot128()
/titanic_41/usr/src/lib/libresolv2/common/nameser/
H A Dns_samedomain.c53 int diff, i, escaped; in ns_samedomain() local
105 diff = la - lb; in ns_samedomain()
112 if (diff < 2) in ns_samedomain()
120 if (a[diff - 1] != '.') in ns_samedomain()
128 for (i = diff - 2; i >= 0; i--) in ns_samedomain()
140 cp = a + diff; in ns_samedomain()
/titanic_41/usr/src/uts/common/fs/zfs/
H A Ddmu_zfetch.c131 int64_t diff; in dmu_zfetch_colinear() local
138 diff = z_comp->zst_offset - z_walk->zst_offset; in dmu_zfetch_colinear()
139 if (z_comp->zst_offset + diff == zh->zst_offset) { in dmu_zfetch_colinear()
141 z_walk->zst_direction = diff < 0 ? -1 : 1; in dmu_zfetch_colinear()
143 diff * z_walk->zst_direction; in dmu_zfetch_colinear()
156 diff = z_walk->zst_offset - z_comp->zst_offset; in dmu_zfetch_colinear()
157 if (z_walk->zst_offset + diff == zh->zst_offset) { in dmu_zfetch_colinear()
159 z_walk->zst_direction = diff < 0 ? -1 : 1; in dmu_zfetch_colinear()
161 diff * z_walk->zst_direction; in dmu_zfetch_colinear()
338 int64_t diff; in dmu_zfetch_find() local
[all …]
/titanic_41/usr/src/lib/libc/port/i18n/
H A Dputws.c51 ptrdiff_t diff; in putws() local
66 diff = ptr - ptr0; in putws()
67 if (diff <= INT_MAX) in putws()
68 return ((int)diff); in putws()
/titanic_41/usr/src/cmd/fm/modules/common/eversholt/
H A Diexpr.c141 int diff; in iexpr_cmp() local
184 diff = iexpr_cmp(np1->u.expr.left, np2->u.expr.left); in iexpr_cmp()
185 if (diff != 0) in iexpr_cmp()
186 return (diff); in iexpr_cmp()
192 diff = iexpr_cmp(np1->u.name.child, np2->u.name.child); in iexpr_cmp()
193 if (diff != 0) in iexpr_cmp()
194 return (diff); in iexpr_cmp()
198 diff = iexpr_cmp(np1->u.event.ename, np2->u.event.ename); in iexpr_cmp()
199 if (diff != 0) in iexpr_cmp()
200 return (diff); in iexpr_cmp()
/titanic_41/usr/src/cmd/diff3/
H A Ddiff3prog.c59 struct diff {struct range old, new; }; argument
69 static struct diff d13[NC];
70 static struct diff d23[NC];
77 static struct diff de[NC];
101 static int readin(char *name, struct diff *dd);
115 static int edit(struct diff *diff, int dup, int j);
184 readin(char *name, struct diff *dd) in readin()
278 struct diff *d1, *d2, *d3; in merge()
515 edit(struct diff *diff, int dup, int j) in edit() argument
522 de[j].old.from = diff->old.from; in edit()
[all …]
/titanic_41/usr/src/cmd/logadm/
H A Dlut.c72 int diff = 0; in lut_add() local
80 } else if (lhs != NULL && (diff = strcmp(root->lut_lhs, lhs)) == 0) { in lut_add()
83 } else if (diff > 0) in lut_add()
121 int diff; in lut_lookup() local
125 else if ((diff = strcmp(root->lut_lhs, lhs)) == 0) in lut_lookup()
127 else if (diff > 0) in lut_lookup()
/titanic_41/usr/src/lib/libc/port/locale/
H A Dstrftime.c412 int diff; in _fmt() local
437 diff = -timezone; in _fmt()
439 diff = -altzone; in _fmt()
440 if (diff < 0) { in _fmt()
442 diff = -diff; in _fmt()
446 diff /= SECSPERMIN; in _fmt()
447 diff = (diff / MINSPERHOUR) * 100 + in _fmt()
448 (diff % MINSPERHOUR); in _fmt()
449 pt = _conv(diff, PADDING(PAD_FMT_YEAR), in _fmt()
/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dmemcmp.c36 int diff; local
40 if (diff = *s1++ - *s2++)
41 return (diff);
/titanic_41/usr/src/uts/common/inet/ipf/netinet/
H A Dip_rpcb_pxy.c312 int rv, diff; local
327 diff = 0;
363 diff = ippr_rpcb_modv3(fin, nat, rm, m, off);
365 diff = ippr_rpcb_modv4(fin, nat, rm, m, off);
386 return(diff);
805 int diff; local
841 diff = xlen - XDRALIGN(B(ra->ra_maddr.xu_xslen));
847 if (diff != 0) {
849 udp->uh_ulen = htons(ntohs(udp->uh_ulen) + diff);
850 fin->fin_ip->ip_len += diff;
[all …]
/titanic_41/usr/src/uts/common/os/
H A Dclock_highres.c233 hrtime_t diff, now = gethrtime(); in clock_highres_timer_gettime() local
252 diff = start - now; in clock_highres_timer_gettime()
266 diff = (now - start) % interval; in clock_highres_timer_gettime()
272 if (now - diff > last) { in clock_highres_timer_gettime()
284 diff = interval - diff; in clock_highres_timer_gettime()
287 hrt2ts(diff, &when->it_value); in clock_highres_timer_gettime()
/titanic_41/usr/src/lib/libilb/common/
H A Dilb_subr.c116 i_cmp_addr_impl(void *ip1, void *ip2, ip_addr_type_t atype, int64_t *diff) in i_cmp_addr_impl() argument
232 if (diff != NULL) in i_cmp_addr_impl()
233 *diff = d; in i_cmp_addr_impl()
240 ilb_cmp_in6_addr(struct in6_addr *ip1, struct in6_addr *ip2, int64_t *diff) in ilb_cmp_in6_addr() argument
244 res = i_cmp_addr_impl(ip1, ip2, internal, diff); in ilb_cmp_in6_addr()
249 ilb_cmp_ipaddr(ilb_ip_addr_t *ip1, ilb_ip_addr_t *ip2, int64_t *diff) in ilb_cmp_ipaddr() argument
253 res = i_cmp_addr_impl(ip1, ip2, external, diff); in ilb_cmp_ipaddr()
/titanic_41/usr/src/uts/sun4v/pcbe/
H A Dniagara_pcbe.c476 int64_t diff; in ni_pcbe_sample() local
510 diff = (curpic & PIC0_MASK) - (uint64_t)pic0->pcbe_pic; in ni_pcbe_sample()
511 if (diff < 0) in ni_pcbe_sample()
512 diff += (1ll << 32); in ni_pcbe_sample()
513 *pic0_data += diff; in ni_pcbe_sample()
515 diff = (curpic >> 32) - (uint64_t)pic1->pcbe_pic; in ni_pcbe_sample()
516 if (diff < 0) in ni_pcbe_sample()
517 diff += (1ll << 32); in ni_pcbe_sample()
518 *pic1_data += diff; in ni_pcbe_sample()
/titanic_41/usr/src/uts/i86pc/vm/
H A Dhment.c132 long diff; in hment_compare() local
134 diff = (uintptr_t)h1->hm_htable - (uintptr_t)h2->hm_htable; in hment_compare()
135 if (diff == 0) { in hment_compare()
136 diff = h1->hm_entry - h2->hm_entry; in hment_compare()
137 if (diff == 0) in hment_compare()
138 diff = h1->hm_pfn - h2->hm_pfn; in hment_compare()
140 if (diff < 0) in hment_compare()
141 diff = -1; in hment_compare()
142 else if (diff > 0) in hment_compare()
143 diff = 1; in hment_compare()
[all …]
/titanic_41/usr/src/cmd/bnu/
H A Dperfstat.c381 TUSED diff; /* time difference between events. */ local
439 subTimes(&diff, (tdptr + drvtab[i]), (tdptr + drvtab[i+1]));
440 reportTimes(Record, &diff, FS);
515 subTimes (diff, minuend, subtra) in subTimes() argument
517 register TUSED * diff; in subTimes()
530 diff->tu_real = NOTIME;
531 diff->tu_user = NOTIME;
532 diff->tu_sys = NOTIME;
542 diff->tu_real = ((float) ltemp)/ticks;
550 diff->tu_user = ((float) ltemp)/ticks;
[all …]
/titanic_41/usr/src/lib/libslp/clib/
H A Dslp_utf8.c124 int diff = -1; in slp_strcasecmp() local
141 if ((diff = strcasecmp(p1, p2)) == 0) in slp_strcasecmp()
168 diff = wscasecmp(wcs1, wcs2); in slp_strcasecmp()
175 return (diff); in slp_strcasecmp()
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/
H A Dcyclic_oper.h48 u32_t diff = _ABS_DIFF(x,y); in _cyclic_lt() local
49 return (diff < d) ? x < y : x > y; in _cyclic_lt()
54 u32_t diff = _ABS_DIFF(x,y); in _cyclic_le() local
55 return (diff < d) ? x <= y : x >= y; in _cyclic_le()
/titanic_41/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib_ring.c84 uint32_t diff; in __rdsv3_ib_ring_used() local
87 diff = ring->w_alloc_ctr - (uint32_t)atomic_get(&ring->w_free_ctr); in __rdsv3_ib_ring_used()
88 ASSERT(diff <= ring->w_nr); in __rdsv3_ib_ring_used()
90 return (diff); in __rdsv3_ib_ring_used()
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Dssh-rsa.c83 u_int diff = slen - len; in ssh_rsa_sign() local
85 memmove(sig + diff, sig, len); in ssh_rsa_sign()
86 memset(sig, 0, diff); in ssh_rsa_sign()
156 u_int diff = modlen - len; in ssh_rsa_verify() local
160 memmove(sigblob + diff, sigblob, len); in ssh_rsa_verify()
161 memset(sigblob, 0, diff); in ssh_rsa_verify()

123456789