Searched defs:diff (Results 1 - 25 of 146) sorted by relevance

123456

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dmemcmp.c36 int diff; local
40 if (diff = *s1++ - *s2++)
41 return (diff);
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dputws.c51 ptrdiff_t diff; local
66 diff = ptr - ptr0;
67 if (diff <= INT_MAX)
68 return ((int)diff);
/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dcomvar.sh496 [[ "${foo1[1234]}" == "${foo2[1234]}" ]] || err_exit "test failed\n$(diff -u <( print -r -- "${foo1[1234]}") <(print -r -- "${foo2[1234]}"))."
520 function diff function
529 float mydiff=sw.diff
/illumos-gate/usr/src/psm/promif/ieee1275/sun4u/
H A Dprom_opl.c67 prom_opl_set_diff(int64_t diff) argument
74 ci[3] = (cell_t)diff; /* Arg1: time diff */
/illumos-gate/usr/src/uts/common/ipp/meters/
H A Dtokenmt.c237 hrtime_t diff = now - tokenmt_data->last_seen; local
242 tokens = (cfg_parms->committed_rate * diff) /
269 tokens = (diff * cfg_parms->committed_rate) /
276 tokens = (diff * cfg_parms->peak_rate) /
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_utf8.c124 int diff = -1; local
141 if ((diff = strcasecmp(p1, p2)) == 0)
168 diff = wscasecmp(wcs1, wcs2);
175 return (diff);
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib_ring.c84 uint32_t diff; local
87 diff = ring->w_alloc_ctr - (uint32_t)atomic_get(&ring->w_free_ctr);
88 ASSERT(diff <= ring->w_nr);
90 return (diff);
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_samedomain.c49 int diff, i, escaped; local
101 diff = la - lb;
108 if (diff < 2)
116 if (a[diff - 1] != '.')
124 for (i = diff - 2; i >= 0; i--)
136 cp = a + diff;
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dlut.c80 int diff; local
85 diff = (*cmp_func)(tmp->lut_lhs, lhs);
87 diff = (const char *)lhs - (const char *)tmp->lut_lhs;
89 if (diff == 0) {
93 } else if (diff > 0) {
118 int diff; local
124 diff = (*cmp_func)(root->lut_lhs, lhs);
126 diff = (const char *)lhs - (const char *)root->lut_lhs;
128 if (diff == 0)
130 else if (diff >
141 int diff; local
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Diexpr.c141 int diff; local
184 diff = iexpr_cmp(np1->u.expr.left, np2->u.expr.left);
185 if (diff != 0)
186 return (diff);
192 diff = iexpr_cmp(np1->u.name.child, np2->u.name.child);
193 if (diff != 0)
194 return (diff);
198 diff = iexpr_cmp(np1->u.event.ename, np2->u.event.ename);
199 if (diff != 0)
200 return (diff);
[all...]
/illumos-gate/usr/src/uts/common/rpc/
H A Dxdr_mem.c127 ptrdiff_t diff; local
132 diff = lastaddr - newaddr;
133 xdrs->x_handy = (int)diff;
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/
H A Dcyclic_oper.h48 u32_t diff = _ABS_DIFF(x,y); local
49 return (diff < d) ? x < y : x > y;
54 u32_t diff = _ABS_DIFF(x,y); local
55 return (diff < d) ? x <= y : x >= y;
/illumos-gate/usr/src/cmd/logadm/
H A Dlut.c70 int diff = 0; local
78 } else if (lhs != NULL && (diff = strcmp(root->lut_lhs, lhs)) == 0) {
81 } else if (diff > 0)
119 int diff; local
123 else if ((diff = strcmp(root->lut_lhs, lhs)) == 0)
125 else if (diff > 0)
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_base.c185 unsigned int diff; local
190 diff = residual - string_name;
191 if (!(type = malloc(diff + 1)))
193 (void) strncpy(type, string_name, diff);
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dutil_ordering.c93 gssint_uint64 diff; local
107 diff = n1 - n2;
110 diff = n2 - n1;
115 if (diff < half)
/illumos-gate/usr/src/uts/common/syscall/
H A Dppriv.c169 priv_set_t diff = CR_OPPRIV(cr); local
170 priv_inverse(&diff);
171 priv_intersect(&CR_OPPRIV(pcr), &diff); local
172 donocd = !priv_issubset(&diff, &CR_IPRIV(cr));
/illumos-gate/usr/src/uts/common/os/
H A Dclock_highres.c234 hrtime_t diff, now = gethrtime(); local
253 diff = start - now;
267 diff = (now - start) % interval;
273 if (now - diff > last) {
285 diff = interval - diff;
288 hrt2ts(diff, &when->it_value);
/illumos-gate/usr/src/lib/libxcurses/src/tabs/
H A Dtabs.c413 int diff = nc - oc; local
419 putp(tparm(parm_right_cursor, diff, 0, 0, 0, 0, 0, 0, 0, 0));
421 while (diff--)
424 while (diff--)
/illumos-gate/usr/src/lib/libilb/common/
H A Dilb_subr.c110 * diff contains the difference between the two with the same
116 i_cmp_addr_impl(void *ip1, void *ip2, ip_addr_type_t atype, int64_t *diff) argument
165 * 3. if high-order diff == 0, we can take low-order
166 * diff, if necessary cap it, convert it to signed
171 * if high-order diff is > 1, any low-order difference won't
232 if (diff != NULL)
233 *diff = d;
240 ilb_cmp_in6_addr(struct in6_addr *ip1, struct in6_addr *ip2, int64_t *diff) argument
244 res = i_cmp_addr_impl(ip1, ip2, internal, diff);
249 ilb_cmp_ipaddr(ilb_ip_addr_t *ip1, ilb_ip_addr_t *ip2, int64_t *diff) argument
[all...]
/illumos-gate/usr/src/lib/libkmf/ber_der/common/
H A Ddecode.c108 int noctets, diff; local
143 diff = sizeof (ber_int_t) - noctets;
144 if (kmfber_read(ber, (char *)&netlen + diff, noctets)
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/
H A Ddecode.c97 int noctets, diff; local
131 diff = sizeof(ber_int_t) - noctets;
132 if ( ber_read( ber, (char *) &netlen + diff, noctets )
/illumos-gate/usr/src/lib/libcpc/sparc/
H A Devent_ultra.c436 cpc_event_diff(cpc_event_t *diff, cpc_event_t *left, cpc_event_t *right) argument
438 diff->ce_hrt = left->ce_hrt;
439 diff->ce_tick = left->ce_tick - right->ce_tick;
440 diff->ce_pic[0] = left->ce_pic[0] - right->ce_pic[0];
441 diff->ce_pic[1] = left->ce_pic[1] - right->ce_pic[1];
/illumos-gate/usr/src/cmd/mdb/common/modules/libuutil/
H A Dlibuutil.c284 uintptr_t diff; local
295 diff = ulnw->ulnw_current - ulnw->ulnw_offset;
297 if (mdb_vread(ulnw->ulnw_buf, ulnw->ulnw_bufsz, diff) == -1) {
298 mdb_warn("failed to read enclosing structure %x", diff);
304 status = wsp->walk_callback(diff, ulnw->ulnw_buf, wsp->walk_cbdata);
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drpc.rusersd.c404 long lastaction, diff; local
412 diff = now - lastaction;
413 diff = DIV60(diff);
414 if (diff < 0) diff = 0;
415 return (diff);
/illumos-gate/usr/src/cmd/sckmd/sparc/sun4u/
H A Dsckmd.c372 double diff; local
432 diff = (double)(after - before)/(double)CLK_TCK;
433 timeout -= (int)(diff * 1000);

Completed in 172 milliseconds

123456