/openbsd/regress/usr.bin/grep/ |
H A D | Makefile | 7 grep t.s ${.CURDIR}/in | diff - ${.CURDIR}/t1.out 28 fgrep line. ${.CURDIR}/in | diff - /dev/null 34 grep -s foo nonexistentfile | diff - /dev/null 65 echo '=' | grep -w '=' | diff - /dev/null 66 echo '=' | fgrep -w '=' | diff - /dev/null 67 echo 'a=' | grep -w 'a=' | diff - /dev/null 68 echo 'a=' | fgrep -w 'a=' | diff - /dev/null 69 echo '=b' | grep -w '=b' | diff - /dev/null 70 echo '=b' | fgrep -w '=b' | diff - /dev/null 73 echo '+' | grep -w '+' | diff - /dev/null [all …]
|
/openbsd/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/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/regress/sys/sys/tree/rb/ |
H A D | rb-test.c | 203 (unsigned long long)diff.tv_sec, (unsigned long long)diff.tv_nsec); in RB_PROTOTYPE() 216 (unsigned long long)diff.tv_sec, (unsigned long long)diff.tv_nsec); in RB_PROTOTYPE() 225 (unsigned long long)diff.tv_sec, (unsigned long long)diff.tv_nsec); in RB_PROTOTYPE() 259 (unsigned long long)diff.tv_sec, (unsigned long long)diff.tv_nsec); in RB_PROTOTYPE() 273 (unsigned long long)diff.tv_sec, (unsigned long long)diff.tv_nsec); in RB_PROTOTYPE() 292 (unsigned long long)diff.tv_sec, (unsigned long long)diff.tv_nsec); in RB_PROTOTYPE() 307 (unsigned long long)diff.tv_sec, (unsigned long long)diff.tv_nsec); in RB_PROTOTYPE() 329 (unsigned long long)diff.tv_sec, (unsigned long long)diff.tv_nsec); in RB_PROTOTYPE() 350 (unsigned long long)diff.tv_sec, (unsigned long long)diff.tv_nsec); in RB_PROTOTYPE() 376 (unsigned long long)diff.tv_sec, (unsigned long long)diff.tv_nsec); in RB_PROTOTYPE() [all …]
|
H A D | rbt-test.c | 202 (unsigned long long)diff.tv_sec, (unsigned long long)diff.tv_nsec); in main() 215 (unsigned long long)diff.tv_sec, (unsigned long long)diff.tv_nsec); in main() 224 (unsigned long long)diff.tv_sec, (unsigned long long)diff.tv_nsec); in main() 258 (unsigned long long)diff.tv_sec, (unsigned long long)diff.tv_nsec); in main() 272 (unsigned long long)diff.tv_sec, (unsigned long long)diff.tv_nsec); in main() 291 (unsigned long long)diff.tv_sec, (unsigned long long)diff.tv_nsec); in main() 306 (unsigned long long)diff.tv_sec, (unsigned long long)diff.tv_nsec); in main() 328 (unsigned long long)diff.tv_sec, (unsigned long long)diff.tv_nsec); in main() 349 (unsigned long long)diff.tv_sec, (unsigned long long)diff.tv_nsec); in main() 375 (unsigned long long)diff.tv_sec, (unsigned long long)diff.tv_nsec); in main() [all …]
|
/openbsd/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/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 56 ${M4} -DN=${FIBOMAX} ${.CURDIR}/fibo.m4| diff - fibo.out 64 diff - ${.CURDIR}/quotes.out 72 ${M4} ${.CURDIR}/redef.m4 | diff - ${.CURDIR}/redef.out 81 ${M4} ${.CURDIR}/args2.m4 | diff - ${.CURDIR}/args2.out 84 ${M4} ${.CURDIR}/args.m4 | diff - ${.CURDIR}/args.out 91 diff - ${.CURDIR}/includes.out 101 grep MARK| diff - ${.CURDIR}/synch1.out 105 grep MARK| diff - ${.CURDIR}/synch1bis.out [all …]
|
/openbsd/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/gnu/usr.bin/gcc/gcc/testsuite/treelang/ |
H A D | treetests.exp | 129 set diff [diff ${checkfile1} ${checkfile2}] 130 if {${diff} != 1} { 159 set diff [diff ${checkfile1} ${checkfile2}] 160 if {${diff} != 1} { 191 set diff [diff ${checkfile1} ${checkfile2}] 192 if {${diff} != 1} { 225 set diff [diff ${checkfile1} ${checkfile2}] 255 set diff [diff ${checkfile1} ${checkfile2}] 256 if {${diff} != 1} { 262 set diff [diff ${checkfile1}err ${checkfile2}err] [all …]
|
/openbsd/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 68 diff -u ${.CURDIR}/file1 merge.out 72 diff -u ${.CURDIR}/file2 merge.out 76 diff -u ${.CURDIR}/file1 merge.out 80 diff -u ${.CURDIR}/file2 merge.out 84 diff -u ${.CURDIR}/file1 merge.out 88 diff -u ${.CURDIR}/file2 merge.out 92 diff -u ${.CURDIR}/file1 merge.out [all …]
|
/openbsd/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 45 diff ${.CURDIR}/$@.expected $@.txt 50 diff ${.CURDIR}/$@.expected $@.txt 54 diff ${.CURDIR}/$@.expected $@.out 58 diff ${.CURDIR}/$@.expected $@.out 62 diff ${.CURDIR}/$@.expected $@.out [all …]
|
/openbsd/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 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 56 cd ${.CURDIR} && env -i PATH=${PATH} ${MAKE} -r -f mk10 |diff - t10.out 60 cd ${.CURDIR} && env -i PATH=${PATH} ${MAKE} -r -f mk11 |diff - t11.out 65 cd ${.CURDIR} && env -i PATH=${PATH} ${MAKE} -r -f mk12 |diff - t12.out 69 cd ${.CURDIR} && env -i PATH=${PATH} ${MAKE} -r -f mk13 |diff - t13.out 100 cd ${.CURDIR} && env -i PATH=${PATH} ${MAKE} -r -f mk21 | diff - t21.out [all …]
|
/openbsd/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/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/gnu/llvm/clang/tools/clang-diff/ |
H A D | ClangDiff.cpp | 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() 269 const diff::Node &Node = Tree.getNode(Id); in printHtmlForNode() 271 diff::NodeId LeftId, RightId; in printHtmlForNode() 301 if (Node.Change != diff::None) in printHtmlForNode() 305 for (diff::NodeId Child : Node.Children) in printHtmlForNode() [all …]
|
/openbsd/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/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() 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() 111 dst->y1 += diff; in drm_rect_clip_scaled() 114 if (diff > 0) { in drm_rect_clip_scaled() 119 dst->x2 -= diff; in drm_rect_clip_scaled() 122 if (diff > 0) { in drm_rect_clip_scaled() [all …]
|
/openbsd/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/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/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/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 180 diff old.log new.log | grep '^> ' >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 217 diff old.log new.log | grep '^> ' >diff.log 238 diff old.log new.log | grep '^> ' >diff.log [all …]
|
/openbsd/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()
|
/openbsd/gnu/lib/libiberty/src/ |
H A 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()
|