/freebsd/usr.bin/diff/tests/ |
H A D | diff_test.sh | 30 diff "$(atf_get_srcdir)/input1.in" "$(atf_get_srcdir)/input2.in" 33 diff -e "$(atf_get_srcdir)/input1.in" "$(atf_get_srcdir)/input2.in" 36 diff -u -L input1 -L input2 "$(atf_get_srcdir)/input1.in" "$(atf_get_srcdir)/input2.in" 39 diff -n "$(atf_get_srcdir)/input1.in" "$(atf_get_srcdir)/input2.in" 42 diff -q "$(atf_get_srcdir)/input1.in" "$(atf_get_srcdir)/input2.in" 45 diff -q "$(atf_get_srcdir)/input1.in" "$(atf_get_srcdir)/input1.in" 48 diff -i "$(atf_get_srcdir)/input_c1.in" "$(atf_get_srcdir)/input_c2.in" 51 diff -w "$(atf_get_srcdir)/input_c1.in" "$(atf_get_srcdir)/input_c2.in" 54 diff -b "$(atf_get_srcdir)/input_c1.in" "$(atf_get_srcdir)/input_c2.in" 57 …diff --label input_c1.in --label input_c2.in -p "$(atf_get_srcdir)/input_c1.in" "$(atf_get_srcdir)… [all …]
|
/freebsd/sys/contrib/openzfs/cmd/ |
H A D | zilstat.in | 89 diff = {} 419 global curr, diff 422 diff = copy.deepcopy(curr) 426 if not isinstance(diff[pool][objset][key], int): 431 diff[pool][objset][key] = 0 433 diff[pool][objset][key] \ 449 global diff 450 for pool in diff: 451 for objset in diff[pool]: 452 diff[pool][objset]["pool"] = pool [all …]
|
/freebsd/crypto/openssl/crypto/ |
H A D | alphacpuid.pl | 168 my ($diff,$lastdiff)=("\$21","\$22"); 180 mov 0,$diff 184 addl $diff,$tick,$tick 185 mov $tick,$diff 187 stl $diff,0($out) 190 subq $tick,$lasttick,$diff 195 addl $diff,$tick,$tick 196 mov $tick,$diff 198 stl $diff,0($out) 215 mov 0,$diff [all …]
|
H A D | ppccpuid.pl | 211 my ($diff,$lastdiff)=("r8","r9"); 220 li $diff,0 224 add $tick,$tick,$diff 229 sub $diff,$tick,$lasttick 233 add $tick,$tick,$diff 253 li $diff,0 257 add $tick,$tick,$diff 262 sub $diff,$tick,$lasttick 264 mr $lastdiff,$diff 268 add $tick,$tick,$diff [all …]
|
H A D | pariscid.pl | 177 my ($diff,$lastdiff)=("%r21","%r20"); 189 ldi 0,$diff 193 add $diff,$tick,$tick 197 sub $tick,$lasttick,$diff 202 add $diff,$tick,$tick 224 ldi 0,$diff 228 add $diff,$tick,$tick 232 sub $tick,$lasttick,$diff 235 copy $diff,$lastdiff 238 add $diff,$tick,$tick [all …]
|
/freebsd/contrib/ntp/util/ |
H A D | precision.c | 69 long diff; in default_get_resolution() local 77 diff = tp.tv_usec - last; in default_get_resolution() 78 if (diff < 0) diff += DUSECS; in default_get_resolution() 79 if (diff > MINSTEP) if (minsteps-- <= 0) break; in default_get_resolution() 84 diff, i, (i==1) ? "" : "s"); in default_get_resolution() 86 diff = (diff *3)/2; in default_get_resolution() 91 diff = 1; /* No STEP, so FAST machine */ in default_get_resolution() 96 diff = 1; /* time to read clock >= resolution */ in default_get_resolution() 98 for (i=0, val=HUSECS; val>0; i--, val >>= 1) if (diff >= val) return i; in default_get_resolution() 127 long diff; in default_get_precision() local [all …]
|
/freebsd/tools/tools/git/ |
H A D | git-arc.sh | 87 specified commits. Currently only the diff is updated; the 94 <Make changes to the diff based on reviewer feedback.> 196 local diff 198 diff=$1 199 if ! expr "$diff" : 'D[1-9][0-9]*$' >/dev/null; then 200 err "invalid diff ID $diff" 203 echo '{"names":["'"$diff"'"]}' | 205 jq -r "select(.response != []) | .response.${diff}.phid" 210 local diff tmp status summary 212 diff=$1 [all …]
|
/freebsd/contrib/one-true-awk/testdir/ |
H A D | T.clv | 15 diff foo1 foo2 || echo 'BAD: T.clv (stdin only)' 24 diff foo1 foo2 || echo 'BAD: T.clv (x=1 only)' 33 diff foo1 foo2 || echo 'BAD: T.clv (x=3 only)' 43 diff foo1 foo2 || echo 'BAD: T.clv (x=3 only)' 48 diff foo1 foo2 || echo 'BAD: T.clv (x=4 /dev/null)' 53 diff foo1 foo2 || echo 'BAD: T.clv (x=5 /dev/null)' 63 diff foo1 foo2 || echo 'BAD: T.clv (x=6 /dev/null)' 70 diff foo1 foo2 || echo 'BAD: T.clv (x=7 /dev/null)' 77 diff foo1 foo2 || echo 'BAD: T.clv (_=7A /dev/null)' 87 diff foo1 foo2 || echo 'BAD: T.clv (x=11)' [all …]
|
H A D | T.split | 35 diff $TEMP1 $TEMP2 || fail 'BAD: T.split 0.1' 45 diff $TEMP1 $TEMP2 || fail 'BAD: T.split 0.2' 62 diff $TEMP1 $TEMP2 || fail 'BAD: T.split 0.3' 73 diff $TEMP1 $TEMP2 || fail 'BAD: T.split 0.4' 87 diff $TEMP1 $TEMP2 || fail 'BAD: T.split 0.5' 96 diff $TEMP1 $TEMP2 || fail 'BAD: T.split (record assignment 1)' 108 diff $TEMP1 $TEMP2 || fail 'BAD: T.split (record assignment 2)' 129 diff $TEMP0 $TEMP1 || fail 'BAD: T.split 1' 145 diff $TEMP0 $TEMP1 || fail 'BAD: T.split //' 159 diff $TEMP0 $TEMP2 || fail 'BAD: T.split 2' [all …]
|
H A D | T.redir | 6 diff foo /etc/passwd || echo 'BAD: T.redir (print >"foo")' 10 diff foo /etc/passwd || echo 'BAD: T.redir (print >>"foo")' 15 diff foo /etc/passwd || echo 'BAD: T.redir (print > and >>"foo")' 19 diff foo /etc/passwd || echo 'BAD: T.redir (print | "cat >foo")' 28 diff foo1 foo2 || echo 'BAD: T.redir (buffering)' 32 diff foo2 /etc/passwd || echo 'BAD: T.redir (print >"/dev/stderr")' 33 diff foo1 /dev/null || echo 'BAD: T.redir (print >"/dev/stderr")' 37 diff foo1 /etc/passwd || echo 'BAD: T.redir (print >"/dev/stdout")' 38 diff foo2 /dev/null || echo 'BAD: T.redir (print >"/dev/stderr")'
|
H A D | T.argv | 17 diff foo1 foo2 || echo 'BAD: T.argv (echo1 *)' 30 diff foo1 foo2 || echo 'BAD: T.argv (echo2 *)' 47 diff foo1 foo2 || echo 'BAD: T.argv (argc *)' 56 diff foo1 foo2 || echo 'BAD: T.argv (L=foo <foo1)' 65 diff foo1 foo2 || echo 'BAD: T.argv (L=foo foo1)' 74 diff foo1 foo2 || echo 'BAD: T.argv (L=foo -)' 86 diff foo1 foo2 || echo 'BAD: T.argv (L=foo L=glop)' 98 diff foo1 foo2 || echo 'BAD: T.argv (L=11 L=22)' 104 diff foo1 foo2 || echo 'BAD: T.argv assignment operand modified' 108 diff foo1 foo2 || echo 'BAD: T.argv (ARGV[1] + ARGV[2])' [all …]
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | diff | 3 # $File: diff,v 1.17 2020/08/22 18:16:58 christos Exp $ 4 # diff: file(1) magic for diff(1) output 6 0 search/1 diff\040 diff output text 7 !:mime text/x-diff 9 >&0 search/1024 \n---\040 context diff output text 10 !:mime text/x-diff 11 0 search/1 Only\040in\040 diff output text 12 !:mime text/x-diff 13 0 search/1 Common\040subdirectories:\040 diff output text 14 !:mime text/x-diff [all …]
|
/freebsd/usr.bin/patch/tests/ |
H A D | unified_patch_test.sh | 36 diff -u foo_start foo_full > foo_start2full.diff 37 diff -u foo_end foo_full > foo_end2full.diff 38 diff -u foo_middle foo_full > foo_mid2full.diff 49 atf_check -o ignore patch foo_start foo_start2full.diff \ 51 atf_check -o ignore patch foo_end foo_end2full.diff \ 53 atf_check -o ignore patch foo_middle foo_mid2full.diff \ 57 atf_check -o ignore diff foo_start2full foo_full 58 atf_check -o ignore diff foo_end2full foo_full 59 atf_check -o ignore diff foo_mid2full foo_full 93 diff -u /dev/null foo > foo.diff [all …]
|
/freebsd/contrib/ntp/libntp/ |
H A D | clocktime.c | 64 u_int32 diff[3]; /* abs difference to receive */ in clocktime() local 86 diff[0] = test[0] - rec_ui; in clocktime() 87 if (diff[0] >= 0x80000000u) in clocktime() 88 diff[0] = ~diff[0] + 1; in clocktime() 90 if (diff[0] < NEARTIME) { in clocktime() 92 return diff[0] < CLOSETIME; in clocktime() 113 diff[idx] = test[idx] - rec_ui; in clocktime() 114 if (diff[idx] >= 0x80000000u) in clocktime() 115 diff[idx] = ~diff[idx] + 1; in clocktime() 119 if (diff[idx] < diff[min]) in clocktime() [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_diff/ |
H A D | zfs_diff_cliargs.ksh | 56 log_must zfs diff $opt "$TESTSNAP1" 57 log_must zfs diff $opt "$TESTSNAP1" "$DATASET" 58 log_must zfs diff $opt "$TESTSNAP1" "$TESTSNAP2" 64 log_mustnot zfs diff $opt 65 log_mustnot zfs diff $opt "$DATASET" 66 log_mustnot zfs diff $opt "$DATASET@noexists" 67 log_mustnot zfs diff $opt "$DATASET" "$TESTSNAP1" 68 log_mustnot zfs diff $opt "$TESTSNAP2" "$TESTSNAP1" 74 log_mustnot zfs diff $opt "$TESTSNAP1" "$DATASET" 75 log_mustnot zfs diff $opt "$TESTSNAP1" "$TESTSNAP2"
|
/freebsd/sys/contrib/zstd/programs/ |
H A D | timefn.c | 107 UTIL_time_t diff; in UTIL_getSpanTime() local 109 diff.tv_sec = (end.tv_sec - 1) - begin.tv_sec; in UTIL_getSpanTime() 110 diff.tv_nsec = (end.tv_nsec + 1000000000ULL) - begin.tv_nsec; in UTIL_getSpanTime() 112 diff.tv_sec = end.tv_sec - begin.tv_sec; in UTIL_getSpanTime() 113 diff.tv_nsec = end.tv_nsec - begin.tv_nsec; in UTIL_getSpanTime() 115 return diff; in UTIL_getSpanTime() 120 UTIL_time_t const diff = UTIL_getSpanTime(begin, end); in UTIL_getSpanTimeMicro() local 122 micro += 1000000ULL * diff.tv_sec; in UTIL_getSpanTimeMicro() 123 micro += diff.tv_nsec / 1000ULL; in UTIL_getSpanTimeMicro() 129 UTIL_time_t const diff = UTIL_getSpanTime(begin, end); in UTIL_getSpanTimeNano() local [all …]
|
/freebsd/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_clock_gettime.c | 107 long long diff; in check_timecounter() local 110 diff = 1000000000LL * (tsb.tv_sec - tsa.tv_sec) in check_timecounter() 113 if (diff > 0 && mindiff > diff) in check_timecounter() 114 mindiff = diff; in check_timecounter() 116 if (diff < 0 || diff > MINPOSDIFF) { in check_timecounter() 119 "diff = %lld nsec, ", (diff < 0) ? "BAD " : "", in check_timecounter() 121 (uintmax_t)tsb.tv_sec, (uintmax_t)tsb.tv_nsec, diff); in check_timecounter() 130 ATF_CHECK(diff >= 0); in check_timecounter() 131 if (diff < 0) in check_timecounter()
|
/freebsd/sbin/adjkerntz/ |
H A D | adjkerntz.c | 78 long offset, localsec, diff; in main() local 136 diff = 0; in main() 169 if (diff == 0) in main() 205 diff = offset - tz.tz_minuteswest * 60 - kern_offset; in main() 207 if (diff != 0) { in main() 209 fprintf(stderr, "Initial diff: %ld secs\n", diff); in main() 213 final_sec = initial_sec + diff; in main() 217 final_isdst = diff < 0 ? initial_isdst : local.tm_isdst; in main() 218 if (diff > 0 && initial_isdst != final_isdst) { in main() 257 diff = offset - tz.tz_minuteswest * 60 - kern_offset; in main() [all …]
|
/freebsd/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_randomid.c | 53 uint32_t lowest, n, diff; in ATF_TC_BODY() local 65 diff = n - last[id]; in ATF_TC_BODY() 67 if (diff <= lowest) { in ATF_TC_BODY() 73 id, last[id], n, diff, lowest); in ATF_TC_BODY() 75 ATF_REQUIRE_MSG(diff >= PERIOD, in ATF_TC_BODY() 77 "period (%d)", diff, PERIOD); in ATF_TC_BODY() 79 lowest = diff; in ATF_TC_BODY()
|
/freebsd/contrib/diff/ |
H A D | AUTHORS | 26 Assigns diff (diff.c, initial version). 33 Assigns changes to diff. 36 Assigns changes to diff. 45 Assigns changes to diff (for -D). 48 Disclaims changes by Thomas May to diff. 51 Disclaims changes to diff. 54 Disclaims changes by Wayne Davison to diff. 57 Disclaims changes to diff. 71 Assigns changes to diff. 75 Disclaims changes by Chip Rosenthal to diff. [all …]
|
H A D | NEWS | 14 * diff now omits the ".000000000" on hosts that do not support 33 * New diff and sdiff option: 39 excluding files by name (diff -x and -X). 48 * cmp and diff now conform to POSIX 1003.1-2001 (IEEE Std 1003.1-2001) 51 for `diff -NUM', where NUM is a number. Use -C NUM or -U NUM instead. 60 * diff uses ISO 8601 style time stamps for output times (e.g. "2001-11-23 63 * diff's -I and -F options use the regexp syntax of grep, not of Emacs. 64 * diff now accepts multiple context arguments, and uses their maximum value. 65 * New diff and sdiff options: 68 * New diff options: [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar9002/ |
H A D | ar9280_olc.c | 175 int16_t *diff) in ar9280ChangeGainBoundarySettings() argument 189 *diff = (uint16_t)(pwr_table_offset - AR5416_PWR_TABLE_OFFSET_DB); in ar9280ChangeGainBoundarySettings() 191 *diff *= 2; in ar9280ChangeGainBoundarySettings() 196 gb[k] = (uint16_t)(gb[k] - *diff); in ar9280ChangeGainBoundarySettings() 207 return *diff; in ar9280ChangeGainBoundarySettings() 212 int16_t diff, uint8_t *pdadcValues) in ar9280AdjustPDADCValues() argument 214 #define NUM_PDADC(diff) (AR5416_NUM_PDADC_VALUES - diff) in ar9280AdjustPDADCValues() argument 225 for (k = 0; k < (uint16_t)NUM_PDADC(diff); k++ ) { in ar9280AdjustPDADCValues() 226 pdadcValues[k] = pdadcValues[k + diff]; in ar9280AdjustPDADCValues() 230 for (k = (uint16_t)NUM_PDADC(diff); k < NUM_PDADC(0); k++) { in ar9280AdjustPDADCValues() [all …]
|
/freebsd/sys/arm64/freescale/imx/clk/ |
H A D | imx_clk_composite.c | 160 int64_t diff, best_diff; in imx_clk_composite_find_best() local 167 diff = (int64_t)ftarget - (int64_t)cur; in imx_clk_composite_find_best() 169 if (diff >= 0 && diff < best_diff) { in imx_clk_composite_find_best() 170 best_diff = diff; in imx_clk_composite_find_best() 176 if (diff <= 0 && abs(diff) < best_diff) { in imx_clk_composite_find_best() 177 best_diff = diff; in imx_clk_composite_find_best() 183 if (abs(diff) < best_diff) { in imx_clk_composite_find_best() 184 best_diff = abs(diff); in imx_clk_composite_find_best() 209 int64_t best_diff, diff; in imx_clk_composite_set_freq() local 231 diff = abs((int64_t)*fout - (int64_t)cur); in imx_clk_composite_set_freq() [all …]
|
/freebsd/gnu/usr.bin/diff3/ |
H A D | Makefile | 1 DIFFSRC=${SRCTOP}/contrib/diff/src 3 ${SRCTOP}/contrib/diff/lib \ 4 ${SRCTOP}/contrib/diff/man 13 CFLAGS+=-I${SRCTOP}/contrib/diff/ 14 CFLAGS+=-I${SRCTOP}/contrib/diff/src 15 CFLAGS+=-I${SRCTOP}/contrib/diff/lib
|
/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
H A D | trace_zio.h | 57 TP_PROTO(zio_t *zio, hrtime_t now, hrtime_t diff), 58 TP_ARGS(zio, now, diff), 62 __field(hrtime_t, diff) 67 __entry->diff = diff; 70 __entry->diff, ZIO_TP_PRINTK_ARGS)
|