Home
last modified time | relevance | path

Searched refs:diff (Results 51 – 75 of 300) sorted by relevance

12345678910>>...12

/illumos-gate/usr/src/cmd/mdb/common/modules/libuutil/
H A Dlibuutil.c282 uintptr_t diff; in uutil_list_node_walk_step() local
293 diff = ulnw->ulnw_current - ulnw->ulnw_offset; in uutil_list_node_walk_step()
295 if (mdb_vread(ulnw->ulnw_buf, ulnw->ulnw_bufsz, diff) == -1) { in uutil_list_node_walk_step()
296 mdb_warn("failed to read enclosing structure %x", diff); in uutil_list_node_walk_step()
302 status = wsp->walk_callback(diff, ulnw->ulnw_buf, wsp->walk_cbdata); in uutil_list_node_walk_step()
/illumos-gate/usr/src/cmd/w/
H A Dw.c643 time_t lastaction, diff; in findidle() local
650 diff = now - lastaction; in findidle()
651 diff = DIV60(diff); in findidle()
652 if (diff < 0) in findidle()
653 diff = 0; in findidle()
655 diff = 0; in findidle()
656 return (diff); in findidle()
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/
H A Dsun_solaris_vartree002.sh290 diff -u <( printf "%s\n" "${mytree_global1}" ) <( printf "%s\n" "${mytree_local1}" )
295 diff -u <( printf "%s\n" "${mytree_global1}" ) <( printf "%s\n" "${mytree_global2}" )
300 diff -u <( printf "%s\n" "${mytree_local1}" ) <( printf "%s\n" "${mytree_local2}" )
351 diff -u <( printf "%s\n" "${mytree_global1}" ) <( printf "%s\n" "${mytree_local1}" )
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dutil_ordering.c93 gssint_uint64 diff; in after() local
107 diff = n1 - n2; in after()
110 diff = n2 - n1; in after()
115 if (diff < half) in after()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_base.c185 unsigned int diff; in krb5_rc_resolve_full() local
190 diff = residual - string_name; in krb5_rc_resolve_full()
191 if (!(type = malloc(diff + 1))) in krb5_rc_resolve_full()
193 (void) strncpy(type, string_name, diff); in krb5_rc_resolve_full()
/illumos-gate/usr/src/cmd/smbsrv/testoplock/
H A DRun-tests.sh40 if diff -u $name.tmp $name.ref >/dev/null 2>&1 ; then
45 diff -u $name.tmp $name.ref
/illumos-gate/usr/src/uts/common/ipp/meters/
H A Dtokenmt.c237 hrtime_t diff = now - tokenmt_data->last_seen; in tokenmt_update_tokens() local
242 tokens = (cfg_parms->committed_rate * diff) / in tokenmt_update_tokens()
269 tokens = (diff * cfg_parms->committed_rate) / in tokenmt_update_tokens()
276 tokens = (diff * cfg_parms->peak_rate) / in tokenmt_update_tokens()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dclock.c531 struct timeval now, begin, diff;
580 timersub(&now, &begin, &diff);
581 if (diff.tv_sec < 0 ||
582 (diff.tv_sec == 0 && diff.tv_usec == 0))
585 timersub(&slpv, &diff, &sm_io_to);
/illumos-gate/usr/src/lib/libxcurses/src/tabs/
H A Dtabs.c411 int diff = nc - oc; local
417 putp(tparm(parm_right_cursor, diff, 0, 0, 0, 0, 0, 0, 0, 0));
419 while (diff--)
422 while (diff--)
/illumos-gate/usr/src/cmd/bdiff/
H A Dbdiff.c65 static char diff[] = "/usr/bin/diff"; variable
278 (void) execlp(diff, diff, otmp, ntmp, 0); in main()
290 "Can not execute '%s'", diff); in main()
311 "'%s' failed", diff); in main()
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_debuglink.c135 ptrdiff_t diff = 0;
138 diff = start - p;
142 " bytes before available area \n",(Dwarf_Signed)diff);
148 diff = p - start;
152 DW_PR_DSs "\n",(Dwarf_Signed)diff);
163 diff = p - start;
167 (Dwarf_Signed)diff);
271 ptrdiff_t diff = lastjoinchar - s; in mydirlen() local
273 return (size_t)(diff+1); in mydirlen()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_diff/
H A Dzfs_diff_encrypted.ksh52 log_must zfs diff -Ft $TESTPOOL/$TESTFS1@snap1 $TESTPOOL/$TESTFS1@snap2
61 log_must zfs diff -Ft $TESTPOOL/$TESTFS2@snap1 $TESTPOOL/$TESTFS2@snap2
/illumos-gate/usr/src/test/zfs-tests/tests/functional/xattr/
H A Dxattr_008_pos.ksh63 log_must diff /tmp/output.$$ /tmp/expected-output.$$
68 log_must diff /tmp/output.$$ /tmp/expected-output.$$
H A Dxattr_004_pos.ksh82 log_must runat $TESTDIR/ufs-file.$$ diff passwd /etc/passwd
83 log_must runat $TESTDIR/tmpfs-file.$$ diff group /etc/group
/illumos-gate/usr/src/test/zfs-tests/include/
H A Dmath.shlib61 typeset diff=$((abs(val - target)))
62 log_note "Checking if $val is within +/-$tol of $target (diff: $diff)"
63 ((diff <= tol)) && return 0
/illumos-gate/usr/src/test/util-tests/tests/awk/tests/
H A DT.lilly52 diff $TEMP1 lilly.ok > $WORKDIR/lilly.diff || fail 'bad: T.lilly is different'
/illumos-gate/usr/src/test/zfs-tests/tests/functional/removal/
H A Dremove_mirror_sanity.ksh51 log_must diff $WORDS_FILE1 $TESTDIR/words
53 log_must diff $WORDS_FILE2 $TESTDIR/words
/illumos-gate/usr/src/test/zfs-tests/tests/functional/mmp/
H A Dmmp_on_off.ksh68 if ! diff "$CURR_UBER" "$PREV_UBER"; then
76 if diff "$CURR_UBER" "$PREV_UBER"; then
/illumos-gate/usr/src/common/ficl/emu/
H A Dgfx_fb.c632 int diff; in gfx_fb_putimage() local
637 diff = r - cmap4_to_24.red[k]; in gfx_fb_putimage()
638 dist = diff * diff; in gfx_fb_putimage()
639 diff = g - cmap4_to_24.green[k]; in gfx_fb_putimage()
640 dist += diff * diff; in gfx_fb_putimage()
641 diff = b - cmap4_to_24.blue[k]; in gfx_fb_putimage()
642 dist += diff * diff; in gfx_fb_putimage()
/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) in cpc_event_diff() argument
438 diff->ce_hrt = left->ce_hrt; in cpc_event_diff()
439 diff->ce_tick = left->ce_tick - right->ce_tick; in cpc_event_diff()
440 diff->ce_pic[0] = left->ce_pic[0] - right->ce_pic[0]; in cpc_event_diff()
441 diff->ce_pic[1] = left->ce_pic[1] - right->ce_pic[1]; in cpc_event_diff()
/illumos-gate/usr/src/uts/common/rpc/
H A Dxdr_mem.c125 ptrdiff_t diff; in xdrmem_setpos() local
130 diff = lastaddr - newaddr; in xdrmem_setpos()
131 xdrs->x_handy = (int)diff; in xdrmem_setpos()
/illumos-gate/usr/src/test/os-tests/tests/secflags/
H A Dsecflags_core.sh55 if ! diff -u gcore-expected.$$ gcore-output.$$; then
73 if ! diff -u core-expected.$$ core-output.$$; then
/illumos-gate/usr/src/psm/promif/ieee1275/sun4u/
H A Dprom_opl.c67 prom_opl_set_diff(int64_t diff) in prom_opl_set_diff() argument
74 ci[3] = (cell_t)diff; /* Arg1: time diff */ in prom_opl_set_diff()
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dr8169.c644 u8 diff; in r8169_reset() local
652 diff = 256 - (TxPhyAddr - ((TxPhyAddr >> 8) << 8)); in r8169_reset()
653 TxPhyAddr += diff; in r8169_reset()
654 tpc->TxDescArray = (struct TxDesc *) (tpc->TxDescArrays + diff); in r8169_reset()
659 diff = 256 - (RxPhyAddr - ((RxPhyAddr >> 8) << 8)); in r8169_reset()
660 RxPhyAddr += diff; in r8169_reset()
661 tpc->RxDescArray = (struct RxDesc *) (tpc->RxDescArrays + diff); in r8169_reset()
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/
H A Dwhitespace_only.sh76 if diff $before $after > /dev/null ; then
87 diff -u $before $after

12345678910>>...12