/openbsd-src/regress/usr.bin/grep/ |
H A D | Makefile | 7 grep t.s ${.CURDIR}/in | diff - ${.CURDIR}/t1.out 10 grep -w separated ${.CURDIR}/in | diff - ${.CURDIR}/t1.out 13 grep ^Beginning ${.CURDIR}/in | diff - ${.CURDIR}/t3.out 16 grep -i end$$ ${.CURDIR}/in | diff - ${.CURDIR}/t4.out 19 egrep '\?|\*$$' ${.CURDIR}/in | diff - ${.CURDIR}/t5.out 22 grep -v [l] ${.CURDIR}/in | diff - ${.CURDIR}/t6.out 25 grep -x line ${.CURDIR}/in | diff - ${.CURDIR}/t7.out 28 fgrep line. ${.CURDIR}/in | diff - /dev/null 31 grep non.existent ${.CURDIR}/in | diff - /dev/null 34 grep -s foo nonexistentfile | diff - /dev/null [all …]
|
/openbsd-src/gnu/llvm/llvm/utils/lit/tests/Inputs/shtest-shell/ |
H A D | diff-encodings.txt | 1 # Check that diff falls back to binary mode if it cannot decode a file. 3 # RUN: diff -u diff-in.bin diff-in.bin 4 # RUN: diff -u diff-in.utf16 diff-in.bin && false || true 5 # RUN: diff -u diff-in.utf8 diff-in.bin && false || true 6 # RUN: diff -u diff-in.bin diff-in.utf8 && false || true 8 # RUN: cat diff-in.bin | diff -u - diff-in.bin 9 # RUN: cat diff-in.bin | diff -u diff-in.bin - 10 # RUN: cat diff-in.bin | diff -u diff-in.utf16 - && false || true 11 # RUN: cat diff-in.bin | diff -u diff-in.utf8 - && false || true 12 # RUN: cat diff-in.bin | diff -u - diff-in.utf8 && false || true
|
H A D | diff-strip-trailing-cr.txt | 3 # RUN: diff -u diff-in.dos diff-in.unix && false || true 4 # RUN: diff -u diff-in.unix diff-in.dos && false || true 6 # RUN: diff -u --strip-trailing-cr diff-in.dos diff-in.unix && false || true 7 # RUN: diff -u --strip-trailing-cr diff-in.unix diff-in.dos && false || true
|
H A D | diff-pipes.txt | 5 # RUN: diff %t.foo %t.foo | FileCheck -allow-empty -check-prefix=EMPTY %s 6 # RUN: diff -u %t.foo %t.bar | FileCheck %s && false || true 9 # RUN: cat %t.foo | diff -u - %t.foo 10 # RUN: cat %t.foo | diff -u %t.foo - 11 # RUN: cat %t.bar | diff -u %t.foo - && false || true 12 # RUN: cat %t.bar | diff -u - %t.foo && false || true 15 # RUN: cat %t.foo | diff - %t.foo | FileCheck -allow-empty -check-prefix=EMPTY %s 16 # RUN: cat %t.bar | diff -u %t.foo - | FileCheck %s && false || true
|
/openbsd-src/regress/usr.bin/pkg-config/ |
H A D | Makefile | 125 @diff -u ${WANT} ${GOT} 131 @diff -u ${WANT} ${GOT} 138 @diff -u ${WANT} ${GOT} 145 @diff -u ${WANT} ${GOT} 151 @diff -u ${WANT} ${GOT} 157 @diff -u ${WANT} ${GOT} 228 @diff -u ${WANT} ${GOT} 234 @diff -u ${WANT} ${GOT} 240 @diff -u ${WANT} ${GOT} 246 @diff -u ${WANT} ${GOT} [all …]
|
/openbsd-src/regress/sys/sys/tree/rb/ |
H A D | rbt-test.c | 37 struct timespec start, end, diff, rstart, rend, rdiff, rtot = {0, 0}; variable 184 timespecsub(&end, &start, &diff); in main() 186 (unsigned long long)diff.tv_sec, (unsigned long long)diff.tv_nsec); in main() 200 timespecsub(&end, &start, &diff); in main() 202 (unsigned long long)diff.tv_sec, (unsigned long long)diff.tv_nsec); in main() 213 timespecsub(&end, &start, &diff); in main() 215 (unsigned long long)diff.tv_sec, (unsigned long long)diff.tv_nsec); in main() 222 timespecsub(&end, &start, &diff); in main() 224 (unsigned long long)diff.tv_sec, (unsigned long long)diff.tv_nsec); in main() 256 timespecsub(&end, &start, &diff); in main() [all …]
|
H A D | rb-test.c | 38 struct timespec start, end, diff, rstart, rend, rdiff, rtot = {0, 0}; variable 185 timespecsub(&end, &start, &diff); in RB_PROTOTYPE() 187 (unsigned long long)diff.tv_sec, (unsigned long long)diff.tv_nsec); in RB_PROTOTYPE() 201 timespecsub(&end, &start, &diff); in RB_PROTOTYPE() 203 (unsigned long long)diff.tv_sec, (unsigned long long)diff.tv_nsec); in RB_PROTOTYPE() 214 timespecsub(&end, &start, &diff); in RB_PROTOTYPE() 216 (unsigned long long)diff.tv_sec, (unsigned long long)diff.tv_nsec); in RB_PROTOTYPE() 223 timespecsub(&end, &start, &diff); in RB_PROTOTYPE() 225 (unsigned long long)diff.tv_sec, (unsigned long long)diff.tv_nsec); in RB_PROTOTYPE() 257 timespecsub(&end, &start, &diff); in RB_PROTOTYPE() [all …]
|
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
H A D | 950612-1.c | 2 f1 (int diff) in f1() argument 4 return ((unsigned int) (diff < 0 ? -diff : diff)); in f1() 8 f2 (unsigned int diff) in f2() argument 10 return ((unsigned int) ((signed int) diff < 0 ? -diff : diff)); in f2() 14 f3 (long long diff) in f3() argument 16 return ((unsigned long long) (diff < 0 ? -diff : diff)); in f3() 20 f4 (unsigned long long diff) in f4() argument 22 return ((unsigned long long) ((signed long long) diff < 0 ? -diff : diff)); in f4()
|
/openbsd-src/regress/usr.bin/m4/ |
H A D | Makefile | 20 ${M4} ff_after_dnl.m4 | diff - ${.CURDIR}/ff_after_dnl.out 26 ${M4} ${.CURDIR}/m4wrap.m4 | diff - ${.CURDIR}/m4wrap.out 32 ${M4} ${.CURDIR}/m4wrap3.m4 | diff - ${.CURDIR}/m4wrap3.out 35 ${M4} -g ${.CURDIR}/m4wrap3.m4 | diff - ${.CURDIR}/gm4wrap3.out 38 ${M4} ${.CURDIR}/patterns.m4 | diff - ${.CURDIR}/patterns.out 41 ${M4} -g ${.CURDIR}/gnupatterns.m4 | diff - ${.CURDIR}/gnupatterns.out 44 ${M4} -g ${.CURDIR}/gnupatterns2.m4 | diff - ${.CURDIR}/gnupatterns2.out 47 ${M4} -g ${.CURDIR}/gnuformat.m4 | diff - ${.CURDIR}/gnuformat.out 50 ${M4} ${.CURDIR}/translit.m4 | diff - ${.CURDIR}/translit.out 56 ${M4} -DN=${FIBOMAX} ${.CURDIR}/fibo.m4| diff - fibo.out [all …]
|
/openbsd-src/regress/usr.bin/snmp/ |
H A D | Makefile | 107 diff -up $@.exp $@.res 114 diff -up $@.exp $@.res 121 diff -up $@.exp $@.res 128 diff -up $@.exp $@.res 135 diff -up $@.exp $@.res 142 diff -up $@.exp $@.res 149 diff -up $@.exp $@.res 156 diff -up $@.exp $@.res 163 diff -up $@.exp $@.res 170 diff -up $@.exp $@.res [all …]
|
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/treelang/ |
H A D | treetests.exp | 129 set diff [diff ${checkfile1} ${checkfile2}] 130 if {${diff} != 1} { 131 verbose "11. ${pgm_actual} ${group_nbr} ${item_nbr} diff stdout failed rc=${diff}" 1 133 set error_msg "11. ${pgm_actual} ${group_nbr} ${item_nbr} diff stdout failed rc=${diff}" 159 set diff [diff ${checkfile1} ${checkfile2}] 160 if {${diff} != 1} { 161 verbose "14. ${pgm_actual} ${group_nbr} ${item_nbr} diff stderr failed rc=${diff}" 1 163 set error_msg "14. ${pgm_actual} ${group_nbr} ${item_nbr} diff stderr failed rc=${diff}" 191 set diff [diff ${checkfile1} ${checkfile2}] 192 if {${diff} != 1} { [all …]
|
/openbsd-src/regress/usr.bin/sdiff/ |
H A D | Makefile | 15 diff -u - ${.CURDIR}/Iflag12.out 19 diff -u - ${.CURDIR}/Iflag21.out 23 diff -u - ${.CURDIR}/Isflag12.out 27 diff -u - ${.CURDIR}/Isflag21.out 31 diff -u - ${.CURDIR}/Ilflag12.out 35 diff -u - ${.CURDIR}/Ilflag21.out 39 diff -u - ${.CURDIR}/Ilsflag12.out 43 diff -u - ${.CURDIR}/Ilsflag21.out 46 ${SDIFF} -l ${.CURDIR}/file1 ${.CURDIR}/file2 | diff -u ${.CURDIR}/lflag.out - 49 ${SDIFF} -s ${.CURDIR}/file1 ${.CURDIR}/file2 | diff -u ${.CURDIR}/sflag.out - [all …]
|
/openbsd-src/regress/usr.bin/make/ |
H A D | Makefile | 12 env -i PATH=${PATH} ${MAKE} -e -r -f ${.CURDIR}/mk1 | diff - t1.out 17 cd ${.CURDIR} && env -i PATH=${PATH} ${MAKE} -r -f mk2| diff - t2.out 20 cd ${.CURDIR} && env -i PATH=${PATH} ${MAKE} -r -f mk3 -f mk3a|diff - t3.out 21 cd ${.CURDIR} && cat mk3a |env -i PATH=${PATH} ${MAKE} -r -f mk3 -f -|diff - t3.out 22 cd ${.CURDIR} && cat mk3 |env -i PATH=${PATH} ${MAKE} -r -f - -f mk3a|diff - t3.out 23 cd ${.CURDIR} && cat mk3 mk3a|env -i PATH=${PATH} ${MAKE} -r -f - |diff - t3.out 26 cd ${.CURDIR} && cat mk4 mk4a|env -i PATH=${PATH} ${MAKE} -r -f - |diff - t4.out 40 cd ${.CURDIR} && env -i PATH=${PATH} ${MAKE} A=good -r -f mk6 | diff - t6.out 49 cd ${.CURDIR} && env -i PATH=${PATH} ${MAKE} -r -f mk8 | diff - t8.out 52 cd ${.CURDIR} && env -i PATH=${PATH} ${MAKE} -r -f mk9 2>&1 | diff - t9.out [all …]
|
/openbsd-src/usr.bin/file/magdir/ |
H A D | diff | 1 # $OpenBSD: diff,v 1.4 2009/04/24 18:54:34 chl Exp $ 4 # diff: file(1) magic for diff(1) output 6 0 search/1 diff\ diff output text 7 0 search/1 ***\ diff output text 8 0 search/1 Only\ in\ diff output text 9 0 search/1 Common\ subdirectories:\ diff output text 11 0 search/1 Index: RCS/CVS diff output text
|
/openbsd-src/gnu/llvm/llvm/utils/lit/tests/Inputs/shtest-not/ |
H A D | not-calls-diff.txt | 5 # diff fails. 6 # RUN: not diff %t.foo0 %t.bar 7 # RUN: not not not diff %t.foo0 %t.bar 8 # RUN: not not not not not diff %t.foo0 %t.bar 10 # diff succeeds. 11 # RUN: diff %t.foo0 %t.foo1 12 # RUN: not not diff %t.foo0 %t.foo1 13 # RUN: not not not not diff %t.foo0 %t.foo1 15 # diff succeeds but we expect failure. 16 # RUN: not diff %t.foo0 %t.foo1
|
/openbsd-src/regress/usr.bin/sed/ |
H A D | Makefile | 16 diff ${.CURDIR}/$@.expected $@.out 23 diff ${.CURDIR}/$@.expected $@.out 27 diff ${.CURDIR}/$@.expected $@.out 31 diff ${.CURDIR}/$@.expected $@.out 35 diff ${.CURDIR}/$@.expected $@.out 40 diff ${.CURDIR}/sierpinski.expected $@.txt 45 diff ${.CURDIR}/$@.expected $@.txt 50 diff ${.CURDIR}/$@.expected $@.txt 54 diff ${.CURDIR}/$@.expected $@.out 58 diff [all...] |
/openbsd-src/gnu/llvm/clang/tools/clang-diff/ |
H A D | ClangDiff.cpp | 248 static std::string getChangeKindAbbr(diff::ChangeKind Kind) { in getChangeKindAbbr() 250 case diff::None: in getChangeKindAbbr() 252 case diff::Delete: in getChangeKindAbbr() 254 case diff::Update: in getChangeKindAbbr() 256 case diff::Insert: in getChangeKindAbbr() 258 case diff::Move: in getChangeKindAbbr() 260 case diff::UpdateMove: in getChangeKindAbbr() 266 static unsigned printHtmlForNode(raw_ostream &OS, const diff::ASTDiff &Diff, in printHtmlForNode() 267 diff::SyntaxTree &Tree, bool IsLeft, in printHtmlForNode() 268 diff::NodeId Id, unsigned Offset) { in printHtmlForNode() [all …]
|
/openbsd-src/sys/dev/pci/drm/ |
H A D | drm_rect.c | 95 int diff; in drm_rect_clip_scaled() local 97 diff = clip->x1 - dst->x1; in drm_rect_clip_scaled() 98 if (diff > 0) { in drm_rect_clip_scaled() 100 drm_rect_width(dst), &diff); in drm_rect_clip_scaled() 103 dst->x1 += diff; in drm_rect_clip_scaled() 105 diff = clip->y1 - dst->y1; in drm_rect_clip_scaled() 106 if (diff > 0) { in drm_rect_clip_scaled() 108 drm_rect_height(dst), &diff); in drm_rect_clip_scaled() 111 dst->y1 += diff; in drm_rect_clip_scaled() 113 diff = dst->x2 - clip->x2; in drm_rect_clip_scaled() [all …]
|
/openbsd-src/regress/lib/libc/sys/ |
H A D | t_clock_gettime.c | 104 long long diff; in check_timecounter() local 107 diff = 1000000000LL * (tsb.tv_sec - tsa.tv_sec) in check_timecounter() 110 if (diff > 0 && mindiff > diff) in check_timecounter() 111 mindiff = diff; in check_timecounter() 113 if (diff < 0 || diff > MINPOSDIFF) { in check_timecounter() 116 "diff = %lld nsec, ", (diff < 0) ? "BAD " : "", in check_timecounter() 118 (uintmax_t)tsb.tv_sec, (uintmax_t)tsb.tv_nsec, diff); in check_timecounter() 127 ATF_CHECK(diff >= 0); in check_timecounter() 128 if (diff < 0) in check_timecounter()
|
/openbsd-src/regress/sbin/route/ |
H A D | Makefile | 54 diff -u ${.CURDIR}/${.TARGET}.ok /dev/stdin 63 diff -u ${.CURDIR}/${.TARGET}.ok /dev/stdin 72 diff -u ${.CURDIR}/${.TARGET}.ok /dev/stdin 83 diff -u ${.CURDIR}/${.TARGET}.ok /dev/stdin 94 diff -u ${.CURDIR}/${.TARGET}.ok /dev/stdin 105 diff -u ${.CURDIR}/${.TARGET}.ok /dev/stdin 116 diff -u ${.CURDIR}/${.TARGET}.ok /dev/stdin 130 diff -u ${.CURDIR}/${.TARGET}.ok /dev/stdin 142 diff -u ${.CURDIR}/${.TARGET}.ok /dev/stdin 153 diff -u ${.CURDIR}/${.TARGET}.ok /dev/stdin [all …]
|
/openbsd-src/gnu/llvm/clang/utils/ABITest/layout/ |
H A D | Makefile | 29 test.%.report: test.%.x.diff test.%.y.diff 42 .PRECIOUS: test.%.x.diff 43 test.%.x.diff: test.%.ref.out test.%.x.out 44 -diff $^ > $@ 45 .PRECIOUS: test.%.y.diff 46 test.%.y.diff: test.%.ref.out test.%.y.out 47 -diff $^ > $@
|
/openbsd-src/regress/sys/kern/execve/ |
H A D | Makefile | 26 ${RP} ${.OBJDIR}/empty | diff - ${OD}/empty 32 ${RP} ${.OBJDIR}/nonexistent | diff - ${OD}/nonexistent 38 ${RP} ${.OBJDIR}/nonexistshell | diff - ${OD}/nonexistshell 44 ${RP} ${.OBJDIR}/devnullscript | diff - ${OD}/devnullscript 50 ${RP} ${.OBJDIR}/badinterplen | diff - ${OD}/badinterplen 56 ${RP} ${.OBJDIR}/goodscript | diff - ${OD}/goodscript 62 ${RP} ${.OBJDIR}/scriptarg 2>&1 | diff - ${OD}/scriptarg 68 ${RP} ${.OBJDIR}/scriptarg-nospace 2>&1 | diff - ${OD}/scriptarg-nospace 74 ${RP} ${.OBJDIR}/goodaout | diff - ${OD}/goodaout 82 ${RP} ${.OBJDIR}/truncaout | diff - ${OD}/truncaout
|
/openbsd-src/regress/sys/netinet/arp/ |
H A D | Makefile | 123 diff old.log new.log | grep '^> ' >diff.log 124 grep 'bsd: arp info overwritten for ${LOCAL_ADDR} by 33:33:33:33:33:33' diff.log 146 diff old.log new.log | grep '^> ' >diff.log 147 grep 'bsd: arp: ether address is broadcast for IP address ${LOCAL_ADDR}' diff.log 163 diff old.log new.log | grep '^> ' >diff.log 164 grep 'bsd: duplicate IP address ${REMOTE_ADDR} sent from ethernet address ${LOCAL_MAC}' diff.log 180 diff old.log new.log | grep '^> ' >diff.log 181 grep 'bsd: duplicate IP address ${REMOTE_ADDR} sent from ethernet address ${LOCAL_MAC}' diff.log 200 diff old.log new.log | grep '^> ' >diff.log 201 grep 'bsd: arp: attempt to overwrite permanent entry for ${FAKE_ADDR} by ${LOCAL_MAC}' diff.log [all …]
|
/openbsd-src/regress/include/bitstring/ |
H A D | Makefile | 12 ./${PROG} $i | diff - ${.CURDIR}/good/$i
|
/openbsd-src/games/backgammon/common_source/ |
H A D | odds.c | 74 int a, diff, place, addon, menstuck; in canhit() local 89 diff = abs(j - i); in canhit() 93 for (k = 1; k < diff; k++) in canhit() 94 if (k < 7 && diff - k < 7 && in canhit() 96 board[i + a * (diff - k)] >= 0)) in canhit() 97 odds(k, diff - k, addon); in canhit() 98 if ((j == b || menstuck < 2) && diff < 7) in canhit() 99 odds(diff, 0, addon); in canhit()
|