/freebsd/contrib/one-true-awk/testdir/ |
H A D | lilly.progs | 1 BEGIN{foo=6;print foo/2} 2 BEGIN{foo=10;foo/=2;print foo} 3 /=/ {print $0} 4 /==/ {print $0} 5 /\+=/ {print $0} 6 /\*=/ {print $0} 7 /-=/ {print $0} 8 /\/=/ {print $0} 9 /%=/ {print $0} 10 /^=/ {print $0} [all …]
|
H A D | lilly.out | 2 ### BEGIN{foo=6;print foo/2}: 5 ### BEGIN{foo=10;foo/=2;print foo}: 8 ### /=/ {print $0}: 23 ### /==/ {print $0}: 26 ### /+=/ {print $0}: 32 ### /*=/ {print $0}: 38 ### /-=/ {print $0}: 41 ### //=/ {print $0}: 47 ### /%=/ {print $0}: 50 ### /^=/ {print $0}: [all …]
|
H A D | T.gawk | 11 test(foo); print foo[1] 12 test2(foo2); print foo2[1] 29 $awk '{ print $3; $4 = "a"; print }' foo >foo2 40 gsub( /\\\\/, "A", x); print x 41 gsub( "\\\\", "A", y); print y 60 gsub( /\\\\/, "\\", w); print " " w 61 gsub( /\\\\/, "\\\\", x); print " " x 62 gsub( /\\\\/, "\\\\\\", y); print " " y 84 gsub( /a/, "\&", w); print " " w 85 gsub( /a/, "\\&", x); print " " x [all …]
|
H A D | t.null0 | 2 { if (a) print "a", a 3 if (b == 0) print "b", b 4 if ( c == "0") print "c", c 5 if (d == "") print "d", d 6 if (e == 1-1) print "e", e 8 $1 == 0 {print "$1 = 0"} 9 $1 == "0" {print "$1 = quoted 0"} 10 $1 == "" {print "$1 = null string"} 11 $5 == 0 {print "$5 = 0"} 12 $5 == "0" {print "$5 = quoted 0"} [all …]
|
H A D | T.errmsg | 11 print sprintf("\n%s '"'"'%s'"'"' <glop >>devnull 2>foo", 13 print sprintf("grep '"'"'%s'"'"' foo >>devnull || echo '"'"'BAD: %s'"'"' failed", pat, pat) 41 BEGIN { s = "[x"; if (1 ~ s) print "foo"} 44 BEGIN { if ("x" ~ /$^/) print "ugh" } 50 BEGIN { print 1/0 } 53 BEGIN { x = 1; print x /= 0 } 56 BEGIN { x = 1; print x %= 0 } 59 BEGIN { print 1%0 } 78 function f() { print "x" } 82 function f() { print "x" } [all …]
|
H A D | T.redir | 5 $awk '{ print >"foo" }' /etc/passwd 6 diff foo /etc/passwd || echo 'BAD: T.redir (print >"foo")' 9 $awk '{ print >>"foo" }' /etc/passwd 10 diff foo /etc/passwd || echo 'BAD: T.redir (print >>"foo")' 13 $awk 'NR%2 == 1 { print >>"foo" } 14 NR%2 == 0 { print >"foo" }' /etc/passwd 15 diff foo /etc/passwd || echo 'BAD: T.redir (print > and >>"foo")' 18 $awk '{ print | "cat >foo" }' /etc/passwd 19 diff foo /etc/passwd || echo 'BAD: T.redir (print | "cat >foo")' 25 $awk 'BEGIN { print " head" [all …]
|
H A D | t.sub0 | 2 {sub(/[aeiou]/, "foo"); print} 3 {sub("[aeiou]", "foo"); print} 5 {gsub(/[aeiou]/, "foo"); print} 6 {gsub("[aeiou]", "foo"); print} 8 {sub(/[aeiou]/, "&foo"); print} 9 {sub("[aeiou]", "&foo"); print} 11 {gsub(/[aeiou]/, "&foo"); print} 12 {gsub("[aeiou]", "&foo"); print} 14 {sub(/[aeiou]/, "\&foo"); print} 15 {sub("[aeiou]", "\&foo"); print} [all …]
|
H A D | T.nextfile | 13 { print $0; nextfile } # print first line, quit 19 { print $0; 23 print "nextfile for error" 24 } # print first line, quit 30 { print $0; 35 print "nextfile while error" 36 } # print first line, quit 42 { print $0; 46 nextfile # print first line, quit 48 print "nextfile do error" [all …]
|
H A D | t.intest2 | 3 print line 6 print x[$0, $1] 7 print "<<<" 8 for (i in x) print i, x[i] 9 print ">>>" 11 print "yes" 13 print "yes" 15 print "no"
|
H A D | tt.big | 1 { print } 2 { print NR, NF, $0 } 3 { $2 = length($2); print } 5 END { print s } 7 END { print s } 18 print sss 25 print i, xx[i] | "sort" 33 { print substr($0, 10,10) } 34 { $3 = "xxx" $3 "xxx"; $4--; print } 38 print x[i]
|
H A D | t.set0 | 1 {$0 = $1; print; print NF, $0; print $2} 2 {$(0) = $1; print; print NF, $0; print $2} 3 { i = 1; $(i) = $i+1; print }
|
/freebsd/contrib/ncurses/include/ |
H A D | MKterm.h.awk.in | 4 print " char *term_names; /* str_table offset of term names */" 5 print " char *str_table; /* pointer to string table */" 6 print " NCURSES_SBOOL *Booleans; /* array of boolean values */" 8 print " char **Strings; /* array of string offsets */" 9 print "" 10 print "#if NCURSES_XNAMES" 11 print " char *ext_str_table; /* pointer to extended string table */" 12 print " char **ext_Names; /* corresponding names */" 13 print "" 14 print " unsigned short num_Booleans;/* count total Booleans */"; [all …]
|
/freebsd/contrib/bc/tests/bc/ |
H A D | print2.txt | 23 print "\n" 39 print " 084 044 021 047 096 073 015 052 088 014 072 097 047 021 094 051 083\e\n 000\n" 40 print " 084 044 021 047 096 073 015 052 088 014 072 097 047 021 094 051 083\e\n 001\n" 41 print " 084 044 021 047 096 073 015 052 088 014 072 097 047 021 094 051 083\e\n 002\n" 42 print "\n" 50 print " 001 012 066 220 495 792 924 792 495 220 066 012 000\n" 51 print " 001 012 066 220 495 792 924 792 495 220 066 012 001\n" 52 print " 001 012 066 220 495 792 924 792 495 220 066 012 002\n" 53 print " 999 999 999 999 999 999 999 999 999 999 999 999\n" 54 print " 001 000 000 000 000 000 000 000 000 000 000 000 000\n" [all …]
|
H A D | strings.txt | 9 print "string" 10 print "newline\n" 47 print "\n" 49 print "\\\e\n" 50 print "\d\n" 57 print "\n" 60 print v, "\n" 70 print v, u 77 print v
|
/freebsd/contrib/llvm-project/llvm/lib/Demangle/ |
H A D | RustDemangle.cpp | 134 void print(char C); 135 void print(std::string_view S); 216 print(" ("); in demangle() 217 print(Mangled.substr(Dot)); in demangle() 218 print(")"); in demangle() 256 print("<"); in demanglePath() 258 print(">"); in demanglePath() 263 print("<"); in demanglePath() 265 print(" as "); in demanglePath() 267 print(">"); in demanglePath() [all …]
|
/freebsd/contrib/bc/tests/bc/errors/ |
H A D | 07.txt | 2 {print "n" 8 {print "" ""} 10 {print "" ""} 12 {print "" ""} 16 {print "" ""} 18 {print "" ""} 20 {print "" ""} 21 {print "" ""} 23 {print "" ""} 25 {print "" ""} [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
H A D | OtoolOpts.td | 3 def help : Flag<["--"], "help">, HelpText<"print help">; 5 HelpText<"print help for hidden flags">; 9 def C : Flag<["-"], "C">, HelpText<"print linker optimization hints">; 10 def d : Flag<["-"], "d">, HelpText<"print data section">; 11 def D : Flag<["-"], "D">, HelpText<"print shared library id">; 12 def f : Flag<["-"], "f">, HelpText<"print universal headers">; 13 def G : Flag<["-"], "G">, HelpText<"print data-in-code table">; 14 def h : Flag<["-"], "h">, HelpText<"print mach header">; 15 def I : Flag<["-"], "I">, HelpText<"print indirect symbol table">; 16 def j : Flag<["-"], "j">, HelpText<"print opcode bytes">; [all …]
|
/freebsd/tools/tools/ifinfo/ |
H A D | rfc1650.c | 17 #define print(msg, var) \ macro 31 print("Alignment errors", md->dot3StatsAlignmentErrors); in print_1650() 32 print("FCS errors", md->dot3StatsFCSErrors); in print_1650() 33 print("Single-collision frames", md->dot3StatsSingleCollisionFrames); in print_1650() 34 print("Multiple-collision frames", md->dot3StatsMultipleCollisionFrames); in print_1650() 35 print("SQE (Heartbeat) test errors", md->dot3StatsSQETestErrors); in print_1650() 36 print("Deferred transmissions", md->dot3StatsDeferredTransmissions); in print_1650() 37 print("Late collisions", md->dot3StatsLateCollisions); in print_1650() 38 print("Excessive collisions", md->dot3StatsExcessiveCollisions); in print_1650() 39 print("Internal transmit errors", md->dot3StatsInternalMacTransmitErrors); in print_1650() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | GenericConvergenceVerifierImpl.h | 71 {Context.print(&I)}); in visit() 74 {Context.print(&I)}); in visit() 78 {Context.print(&I)}); in visit() 84 {Context.print(&I)}); in visit() 88 {Context.print(&I)}); in visit() 92 {Context.print(&I)}); in visit() 107 {Context.print(&I)}); in visit() 111 {Context.print(&I)}); in visit() 117 {Context.print(&I)}); in visit() 149 {Context.print(Token), Context.print(User)}); in verify() [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/print/ |
H A D | tst.primitive.d | 34 print((char)'a'); 35 print((int)-1); 36 print((unsigned int)23); 37 print((short)456); 38 print((unsigned short)789); 39 print((long)1234); 40 print((ulong_t)56789); 41 print((void *)0x1234); 42 print("hello");
|
/freebsd/sys/contrib/libsodium/test/default/ |
H A D | core6.c | 21 print(unsigned char *x, unsigned char *y) in print() function 38 print(out, c); in main() 39 print(out + 20, c + 4); in main() 41 print(out + 40, c + 8); in main() 42 print(out + 60, c + 12); in main() 44 print(out + 24, in); in main() 45 print(out + 28, in + 4); in main() 47 print(out + 32, in + 8); in main() 48 print(out + 36, in + 12); in main()
|
/freebsd/contrib/tcpdump/ |
H A D | CMakeLists.txt | 1211 print-smb.c 1233 print.c 1234 print-802_11.c 1235 print-802_15_4.c 1236 print-ah.c 1237 print-ahcp.c 1238 print-aodv.c 1239 print-aoe.c 1240 print-ap1394.c 1241 print-arcnet.c [all …]
|
/freebsd/contrib/byacc/ |
H A D | skel2c | 83 print $0; 89 print " 0\n};\n"; 92 print "void"; 93 print "write_section(FILE * fp, const char *const section[])"; 94 print "{"; 95 print " int i;"; 96 print " const char *s;\n"; 97 print " for (i = 0; (s = section[i]) != 0; ++i)"; 98 print " {"; 99 print "\tif (fp == code_file)"; [all …]
|
/freebsd/contrib/arm-optimized-routines/math/tools/ |
H A D | erfc.sollya | 10 print("{ i, r, erfc(r), 2/sqrt(pi) * exp(-r^2) }"); 15 print("{ " @ t0 @ ",\t" @ t1 @ " },"); 19 print("> 2/sqrt(pi)"); 22 print("> 1/3"); 25 print("> P5"); 31 print("> P6"); 37 print("> Q"); 45 print("> R");
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | GenericUniformityImpl.h | 111 << "): " << Context.print(&BB) << "\n"); 397 void print(raw_ostream &out) const; 524 Out << Context.print(Block) << "(" << BlockIdx << ") : "; in printDefs() 528 Out << Context.print(Label) << "\n"; in printDefs() 539 LLVM_DEBUG(dbgs() << "labeling " << Context.print(&SuccBlock) << ":\n" in computeJoin() 540 << "\tpushed label: " << Context.print(&PushedLabel) in computeJoin() 542 << "\told label: " << Context.print(OldLabel) << "\n"); in computeJoin() 557 LLVM_DEBUG(dbgs() << "\tnew label: " << Context.print(&PushedLabel) in computeJoin() 565 LLVM_DEBUG(dbgs() << "\tnew label: " << Context.print(&SuccBlock) << "\n"); in computeJoin() 579 LLVM_DEBUG(dbgs() << "\tDivergent cycle exit: " << Context.print(&ExitBlock) in visitCycleExitEdge() [all …]
|