| /mirbsd/src/gnu/usr.bin/perl/lib/Math/BigInt/ |
| D | CalcEmu.pm | 67 my $diff = CORE::length($bx) - CORE::length($by); 68 if ($diff > 0) 71 $by .= $yy x $diff; 73 elsif ($diff < 0) 76 $bx .= $xx x abs($diff); 154 my $diff = CORE::length($bx) - CORE::length($by); 155 if ($diff > 0) 157 $by .= $yy x $diff; 159 elsif ($diff < 0) 161 $bx .= $xx x abs($diff); [all …]
|
| /mirbsd/src/usr.bin/file/magdir/ |
| D | diff | 1 # $OpenBSD: diff,v 1.2 2004/06/03 03:14:19 tedu Exp $ 4 # diff: file(1) magic for diff(1) output 6 0 string diff\ 'diff' output text 7 0 string ***\ 'diff' output text 8 0 string Only\ in\ 'diff' output text 9 0 string Common\ subdirectories:\ 'diff' output text
|
| /mirbsd/src/gnu/usr.bin/perl/lib/Pod/t/ |
| D | pod2html-lib.pl | 41 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;
|
| /mirbsd/src/gnu/usr.bin/binutils/gas/ |
| D | ehopt.c | 459 offsetT diff; in eh_frame_estimate_size_before_relax() local 463 diff = resolve_symbol_value (frag->fr_symbol); in eh_frame_estimate_size_before_relax() 465 if (ca > 0 && diff % ca == 0 && diff / ca < 0x40) in eh_frame_estimate_size_before_relax() 467 else if (diff < 0x100) in eh_frame_estimate_size_before_relax() 469 else if (diff < 0x10000) in eh_frame_estimate_size_before_relax() 500 offsetT diff; in eh_frame_convert_frag() local 507 diff = resolve_symbol_value (frag->fr_symbol); in eh_frame_convert_frag() 514 assert (ca > 0 && diff % ca == 0 && diff / ca < 0x40); in eh_frame_convert_frag() 515 loc4_frag->fr_literal[loc4_fix] = DW_CFA_advance_loc | (diff / ca); in eh_frame_convert_frag() 520 assert (diff < 0x100); in eh_frame_convert_frag() [all …]
|
| /mirbsd/src/gnu/usr.bin/binutils/libiberty/ |
| D | ternary.c | 39 int diff; in ternary_insert() local 48 diff = *s - curr->splitchar; in ternary_insert() 50 if (diff == 0) in ternary_insert() 62 else if (diff < 0) in ternary_insert() 114 int diff, spchar; in ternary_search() local 121 diff = spchar - curr->splitchar; in ternary_search() 123 if (diff == 0) in ternary_search() 131 else if (diff < 0) in ternary_search()
|
| D | strverscmp.c | 96 int diff; in strverscmp() local 132 while ((diff = c1 - c2) == 0 && c1 != '\0') in strverscmp() 145 return diff; in strverscmp() 152 return ISDIGIT (*p2) ? -1 : diff; in strverscmp()
|
| /mirbsd/src/gnu/usr.bin/rcs/src/ |
| D | rcstest | 48 : ${DIFF=diff} 80 diff="$DIFF -c";; 83 diff=$DIFF 104 $diff a.11 a.c || { echo '#ci' followed by co $l is not a no-op; exit 1; } 110 $diff a.12 a.c || { echo "#ci+co failed"; exit 1; } 114 $diff a.11 a.c || { echo "#can't retrieve first revision"; exit 1; } 120 $diff a.3x1 a.c || { echo "#branches failed"; exit 1; } 126 $diff a.12 a.c || { echo "#(co -l; ci -f) failed"; exit 1; } 154 $diff a.11 a.c >/dev/null && { echo "#co -f had no effect"; exit 1; } 157 $diff a.11 a.t || { echo "#co -p failed"; exit 1; } [all …]
|
| /mirbsd/src/usr.bin/diff3/ |
| D | diff3prog.c | 103 struct diff { struct 110 struct diff *d13; argument 111 struct diff *d23; 119 struct diff *de; 135 int edit(struct diff *, int, int); 139 int readin(char *, struct diff **); 212 readin(char *name, struct diff **dd) in readin() 304 struct diff *d1, *d2, *d3; in merge() 530 edit(struct diff *diff, int dup, int j) in edit() argument 538 de[j].old.from = diff->old.from; in edit() [all …]
|
| /mirbsd/src/gnu/usr.bin/cvs/diff/ |
| D | diff3.c | 107 #define D_LOWLINE(diff, filenum) \ argument 108 ((diff)->ranges[filenum][START]) 109 #define D_HIGHLINE(diff, filenum) \ argument 110 ((diff)->ranges[filenum][END]) 111 #define D_NUMLINES(diff, filenum) \ argument 112 (D_HIGHLINE (diff, filenum) - D_LOWLINE (diff, filenum) + 1) 119 #define D_RELNUM(diff, filenum, linenum) \ argument 120 ((diff)->lines[filenum][linenum]) 121 #define D_RELLEN(diff, filenum, linenum) \ argument 122 ((diff)->lengths[filenum][linenum]) [all …]
|
| /mirbsd/src/kern/c/ |
| D | subdi3.c | 44 union uu aa, bb, diff; in __subdi3() local 48 diff.ul[L] = aa.ul[L] - bb.ul[L]; in __subdi3() 49 diff.ul[H] = aa.ul[H] - bb.ul[H] - (diff.ul[L] > aa.ul[L]); in __subdi3() 50 return (diff.q); in __subdi3()
|
| /mirbsd/src/gnu/usr.bin/perl/t/op/ |
| D | alarm.t | 28 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)" );
|
| D | sleep.t | 16 my $diff = time - $start; 21 cmp_ok( $diff, '>=', 2, 'Actual time diff is at least 2 seconds' ); 22 cmp_ok( $diff, '<=', 10, '... and no more than 10' );
|
| /mirbsd/src/bin/systrace/ |
| D | alias.c | 58 int diff; in aliascompare() local 60 diff = strcmp(a->emulation, b->emulation); in aliascompare() 61 if (diff) in aliascompare() 62 return (diff); in aliascompare() 69 int diff; in revcompare() local 71 diff = strcmp(a->emulation, b->emulation); in revcompare() 72 if (diff) in revcompare() 73 return (diff); in revcompare()
|
| /mirbsd/src/usr.bin/vi/ex/ |
| D | ex_move.c | 93 recno_t cnt, diff, fl, tl, mfl, mtl; local 139 diff = (fm2.lno - fm1.lno) + 1; 141 mfl = tl - diff; 143 for (cnt = diff; cnt--;) { 160 mtl = tl + diff; 161 for (cnt = diff; cnt--;) { 191 sp->rptlines[L_MOVED] += diff;
|
| /mirbsd/src/sys/arch/sparc/fpu/ |
| D | fpu_compare.c | 131 #define diff(magnitude) (a->fp_sign ? opposite_cc(magnitude) : (magnitude)) in fpu_compare() macro 133 cc = diff(FSR_CC_LT); in fpu_compare() 137 cc = diff(FSR_CC_GT); in fpu_compare() 154 cc = diff(FSR_CC_LT); in fpu_compare() 156 cc = diff(FSR_CC_GT); in fpu_compare()
|
| /mirbsd/src/sys/dev/raidframe/ |
| D | rf_etimer.h | 43 struct timeval diff; member 68 RF_TIMEVAL_DIFF(&(_t_).st, &(_t_).et, &(_t_).diff); \ 71 #define RF_ETIMER_VAL_US(_t_) (RF_TIMEVAL_TO_US((_t_).diff)) 72 #define RF_ETIMER_VAL_MS(_t_) (RF_TIMEVAL_TO_US((_t_).diff)/1000)
|
| /mirbsd/src/gnu/usr.bin/lynx/WWW/Library/Implementation/ |
| D | HTString.c | 54 int diff = UPPER8(*p, *q); in strcasecomp8() local 56 if (diff) in strcasecomp8() 57 return diff; in strcasecomp8() 81 int diff; in strncasecomp8() local 87 diff = UPPER8(*p, *q); in strncasecomp8() 88 if (diff) in strncasecomp8() 89 return diff; in strncasecomp8() 105 int diff = TOLOWER(*p) - TOLOWER(*q); in strcasecomp() local 107 if (diff) in strcasecomp() 108 return diff; in strcasecomp() [all …]
|
| /mirbsd/src/lib/libc/stdio/ |
| D | fgetln.c | 113 size_t diff; in fgetln() local 132 diff = p - fp->_p; in fgetln() 133 len += diff; in fgetln() 137 diff); in fgetln() 138 fp->_r -= diff; in fgetln()
|
| /mirbsd/src/gnu/usr.bin/perl/vos/ |
| D | Makefile | 11 config.alpha.h: config.alpha.def ../config_h.SH mv-if-diff 14 sh mv-if-diff config.h.new config.alpha.h 17 config.ga.h: config.ga.def ../config_h.SH mv-if-diff 20 sh mv-if-diff config.h.new config.ga.h
|
| /mirbsd/src/gnu/usr.bin/perl/lib/Memoize/t/ |
| D | expmod_t.t | 55 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;
|
| /mirbsd/src/gnu/usr.bin/binutils/bfd/ |
| D | coff-i386.c | 75 symvalue diff; local 96 diff = symbol->value + reloc_entry->addend; 99 diff = reloc_entry->addend; 121 diff = -(1 << howto->size); 123 diff = reloc_entry->addend - symbol->value; 125 diff = -reloc_entry->addend; 129 diff = reloc_entry->addend; 137 diff -= pe_data (output_bfd)->pe_opthdr.ImageBase; 141 x = ((x & ~howto->dst_mask) | (((x & howto->src_mask) + diff) & howto->dst_mask)) 143 if (diff != 0)
|
| /mirbsd/src/lib/libc/time/ |
| D | strftime.c | 532 int diff; local 538 diff = t->TM_GMTOFF; 561 diff = -timezone; 567 diff = -altzone; 572 if (diff < 0) { 574 diff = -diff; 577 diff /= SECSPERMIN; 578 diff = (diff / MINSPERHOUR) * 100 + 579 (diff % MINSPERHOUR); 580 pt = _conv(diff, "%04d", pt, ptlim);
|
| /mirbsd/src/sys/dev/pci/ |
| D | ncrstat.c | 507 struct profile diff; in do_profile() local 557 diff.num_trans = new.num_trans - old.num_trans; in do_profile() 558 diff.num_bytes = new.num_bytes - old.num_bytes; in do_profile() 559 diff.num_fly = new.num_fly - old.num_fly ; in do_profile() 560 diff.num_int = new.num_int - old.num_int ; in do_profile() 561 diff.ms_setup = new.ms_setup - old.ms_setup; in do_profile() 562 diff.ms_data = new.ms_data - old.ms_data; in do_profile() 563 diff.ms_disc = new.ms_disc - old.ms_disc; in do_profile() 564 diff.ms_post = new.ms_post - old.ms_post; in do_profile() 565 diff.num_disc = new.num_disc - old.num_disc; in do_profile() [all …]
|
| /mirbsd/src/gnu/usr.bin/perl/Porting/ |
| D | patching.pod | 35 and patches not produced using standard utilities (such as diff). 58 =item diff 61 be created using either C<-u> or C<-c> arguments to diff. These produce, 64 are included). See the manpage for diff for more details. 66 When GNU diff is available, the pumpkins would prefer you use C<-u -p> 70 The preferred method for creating a unified diff suitable for feeding 73 diff -u old-file new-file > patch-file 79 a context diff as some machines have broken patch utilities that choke on 80 unified diffs. A context diff is made using C<diff -c> rather than 81 C<diff -u>. [all …]
|
| /mirbsd/src/gnu/usr.bin/perl/lib/ExtUtils/ |
| D | Install.pm | 163 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;
|