Searched refs:diff (Results 1 - 25 of 63) sorted by relevance

123

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Pod/t/
H A Dpod2html-lib.pl41 my $diff = '/bin/diff';
42 -x $diff or $diff = '/usr/bin/diff';
43 if (-x $diff) {
49 open my $diff, "diff -$diffopt $expectfile $outfile |" or die $!;
50 print "# $_" while <$diff>;
51 close $diff;
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dalarm.t28 my $diff = time - $start_time;
32 ok( abs($diff - 3) <= 1, " right time" );
42 $diff = time - $start_time;
50 ok( abs($diff - 3) <= 1, " right time (waited $diff secs for 3-sec alarm)" );
/osnet-11/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);
/osnet-11/usr/src/lib/libparted/common/libparted/fs/ext2/
H A Dext2_meta.c47 blk_t diff; local
60 diff = newitoffset - (EXT2_GROUP_INODE_TABLE(fs->gd[i]) - start);
67 for (j=0;j<diff;j++)
80 for (j=0;j<diff;j++)
87 EXT2_GROUP_INODE_TABLE(fs->gd[i]) + diff))
90 EXT2_GROUP_INODE_TABLE(fs->gd[i]) + diff);
103 EXT2_GROUP_INODE_BITMAP(fs->gd[i]) + diff))
106 EXT2_GROUP_INODE_BITMAP(fs->gd[i]) + diff);
115 EXT2_GROUP_BLOCK_BITMAP(fs->gd[i])+diff))
118 EXT2_GROUP_BLOCK_BITMAP(fs->gd[i]) + diff);
[all...]
H A Dext2_resize.c458 blk_t diff; local
471 diff = newsize - EXT2_SUPER_BLOCKS_COUNT(fs->sb);
480 growto = sizelast + diff;
487 diff -= growto - sizelast;
493 while (diff)
496 1.0 - 1.0 * diff / (newsize - origsize));
498 sizelast = PED_MIN(diff, EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb));
502 diff -= sizelast;
514 blk_t diff; local
549 diff
[all...]
H A Dext2.c182 int diff; local
184 diff = state ? -1 : 1;
187 (EXT2_GROUP_FREE_BLOCKS_COUNT(fs->gd[group]) + diff);
189 (EXT2_SUPER_FREE_BLOCKS_COUNT(fs->sb) + diff);
335 int diff; local
337 diff = state ? -1 : 1;
340 (EXT2_GROUP_FREE_INODES_COUNT(fs->gd[group]) + diff);
342 (EXT2_SUPER_FREE_INODES_COUNT(fs->sb) + diff);
/osnet-11/usr/src/lib/libresolv2/common/nameser/
H A Dns_samedomain.c53 int diff, i, escaped; local
105 diff = la - lb;
112 if (diff < 2)
120 if (a[diff - 1] != '.')
128 for (i = diff - 2; i >= 0; i--)
140 cp = a + diff;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Memoize/t/
H A Dexpmod_t.t55 my $diff = $until - (time() - $t0);
56 $DEBUG and print "# until $until; diff = $diff\n";
57 return if $diff <= 0;
58 select undef, undef, undef, $diff;
/osnet-11/usr/src/cmd/perl/contrib/Sun/Solaris/PerlGcc/
H A DMakefile.PL39 my $diff = 0;
41 last if (($diff = shift(@v1) - shift(@v2)) != 0);
43 return ($diff);
/osnet-11/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DStddevValue.java83 BigInteger diff = BigInteger.valueOf(0);
95 diff = diff.shiftLeft(2);
96 diff = diff.add(BigInteger.valueOf(nextTwoBits));
104 if (nextTry.compareTo(diff) <= 0) {
105 diff = diff.subtract(nextTry);
/osnet-11/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);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigInt/
H A DCalcEmu.pm65 my $diff = CORE::length($bx) - CORE::length($by);
66 if ($diff > 0)
69 $by .= $yy x $diff;
71 elsif ($diff < 0)
74 $bx .= $xx x abs($diff);
152 my $diff = CORE::length($bx) - CORE::length($by);
153 if ($diff > 0)
155 $by .= $yy x $diff;
157 elsif ($diff < 0)
159 $bx .= $xx x abs($diff);
[all...]
/osnet-11/usr/src/lib/libilb/common/
H A Dilb_subr.c109 * diff contains the difference between the two with the same
115 i_cmp_addr_impl(void *ip1, void *ip2, ip_addr_type_t atype, int64_t *diff) argument
164 * 3. if high-order diff == 0, we can take low-order
165 * diff, if necessary cap it, convert it to signed
170 * if high-order diff is > 1, any low-order difference won't
231 if (diff != NULL)
232 *diff = d;
239 ilb_cmp_in6_addr(struct in6_addr *ip1, struct in6_addr *ip2, int64_t *diff) argument
243 res = i_cmp_addr_impl(ip1, ip2, internal, diff);
248 ilb_cmp_ipaddr(ilb_ip_addr_t *ip1, ilb_ip_addr_t *ip2, int64_t *diff) argument
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_base.c200 unsigned int diff; local
208 diff = residual - string_name;
209 if (!(type = malloc(diff + 1)))
211 (void) strncpy(type, string_name, diff);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A DBenchmark.t94 my $diff = timediff ($t1, $t0);
95 isa_ok ($diff, 'Benchmark', "Get the time difference");
98 my $default = timestr ($diff);
99 isnt ($default, '', 'timestr ($diff)');
100 my $auto = timestr ($diff, 'auto');
101 is ($auto, $default, 'timestr ($diff, "auto") matches timestr ($diff)');
104 my $all = timestr ($diff, 'all');
105 like ($all, $All_Pattern, 'timestr ($diff, "all")');
110 is (timestr ($diff, 'non
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/CGI/examples/
H A Ddiff_upload.cgi3 $DIFF = "/usr/bin/diff";
15 Enter two files. When you press "submit" their diff will be
/osnet-11/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--)
/osnet-11/usr/src/lib/libdscfg/common/
H A Dcfg_local.c551 int diff = 0; local
565 diff = len - cfl->l_esiz[i - 1];
567 if ((diff > 0) && (diff > cfl->l_free)) {
596 cfl->l_esiz[i - 1] += diff; /* the new entry size */
597 if (diff != 0) { /* move stuff over/back for correct fit */
599 bcopy(p, p + diff, (cfl->l_entry + cfl->l_size - p));
600 cfl->l_free -= diff; /* 0 - (-1) = 1 */
601 cfl->l_size += diff;
604 cfp->cf_head->h_csize += diff;
[all...]
/osnet-11/usr/src/cmd/sendmail/libsm/
H A Dclock.c533 struct timeval now, begin, diff;
582 timersub(&now, &begin, &diff);
583 if (diff.tv_sec < 0 ||
584 (diff.tv_sec == 0 && diff.tv_usec == 0))
587 timersub(&slpv, &diff, &sm_io_to);
/osnet-11/usr/src/grub/grub2/tests/util/
H A Dgrub-shell-tester.in99 if ! diff -q ${outfile1} ${outfile2} >/dev/null
101 echo "${source}: GRUB and BASH outputs did not match (see diff -u ${outfile1} ${outfile2})"
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/ExtUtils/
H A DInstall.pm163 my $diff = 0;
166 $diff = compare($sourcefile, $targetfile);
169 $diff++;
172 if ($diff){
352 my $diff = 0;
355 $diff = compare($filepath,$targetfile);
358 $diff++;
361 next unless $diff;
/osnet-11/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];
/osnet-11/usr/src/tools/onbld/Scm/
H A DBackup.py32 (see 'diff', below) will be applied if applicable.
41 diff (handled by CdmUncommittedBackup)
42 A Git-formatted diff containing uncommitted changes.
46 applied manually, rather than by the diff.
265 fp = open(self.bu.backupfile('diff'), 'w')
267 fp.write(self.ws.diff(opts=opts))
269 raise util.Abort("couldn't save working copy diff: %s" % e)
290 diff = self.bu.backupfile('diff')
308 if not os.path.exists(diff)
[all...]
/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Dr8169.c644 u8 diff; local
652 diff = 256 - (TxPhyAddr - ((TxPhyAddr >> 8) << 8));
653 TxPhyAddr += diff;
654 tpc->TxDescArray = (struct TxDesc *) (tpc->TxDescArrays + diff);
659 diff = 256 - (RxPhyAddr - ((RxPhyAddr >> 8) << 8));
660 RxPhyAddr += diff;
661 tpc->RxDescArray = (struct RxDesc *) (tpc->RxDescArrays + diff);
/osnet-11/usr/src/lib/fm/libfmd_msg/
H A DMakefile.com73 # runs, we diff the output against the master hand-verified output, and confirm
88 || ( echo FAIL && diff $(SRCDIR)/fmd_msg_test.out fmd_msg_test.out )

Completed in 154 milliseconds

123