/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/usr.sbin/tcpdump/tcpdump/ |
H A D | Makefile | 26 print.c \ 27 print-802_11.c \ 28 print-802_15_4.c \ 29 print-ah.c \ 30 print-ahcp.c \ 31 print-aodv.c \ 32 print-aoe.c \ 33 print-ap1394.c \ 34 print-arcnet.c \ 35 print-arp.c \ [all …]
|
/freebsd/contrib/ncurses/ncurses/base/ |
H A D | MKkeyname.awk | 31 print "/* generated by MKkeyname.awk */" 32 print "" 33 print "#include <curses.priv.h>" 34 print "#include <tic.h>" 35 print "" 42 print "struct kn { short offset; int code; };" 43 print "static const struct kn _nc_key_names[] = {" 50 print "struct kn { const char *name; int code; };" 51 print "static const struct kn _nc_key_names[] = {" 61 print "" [all …]
|
H A D | MKunctrl.awk | 35 print "/* generated by MKunctrl.awk */" 36 print "" 37 print "#include <curses.priv.h>" 38 print "#include <ctype.h>" 39 print "" 40 print "#undef unctrl" 41 print "" 44 print "NCURSES_EXPORT(NCURSES_CONST char *) safe_unctrl(SCREEN *sp, chtype ch)" 45 print "{" 94 print "};" [all …]
|
/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.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.clv | 11 BEGIN { x=0; print x; getline; print x, $0 } 20 BEGIN { x=0; print x; getline; print x, $0 } 29 BEGIN { x=0; print x; getline; print x, $0 } 39 BEGIN { x=0; print x; getline; print x, $0 } 47 $awk 'BEGIN { getline; print x}' x=4 /dev/null >foo2 52 $awk 'BEGIN { x=0; getline <"/dev/null"; print x}' x=5 /dev/null >foo2 61 $awk 'BEGIN { x=0; getline; print x} 62 END { print x }' x=6 foo x=end >foo2 68 $awk 'BEGIN { x=0; getline <"/dev/null"; print x} 69 END { print x }' x=7 /dev/null x=end >foo2 [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 …]
|
/freebsd/contrib/netbsd-tests/include/ |
H A D | t_inttypes.c | 69 #define PRINT(fmt, var) \ in ATF_TC_BODY() macro 74 PRINT(PRId8, i8); in ATF_TC_BODY() 75 PRINT(PRId16, i16); in ATF_TC_BODY() 76 PRINT(PRId32, i32); in ATF_TC_BODY() 77 PRINT(PRId64, i64); in ATF_TC_BODY() 78 PRINT(PRIdLEAST8, il8); in ATF_TC_BODY() 79 PRINT(PRIdLEAST16, il16); in ATF_TC_BODY() 80 PRINT(PRIdLEAST32, il32); in ATF_TC_BODY() 81 PRINT(PRIdLEAST64, il64); in ATF_TC_BODY() 82 PRINT(PRIdFAST8, if8); in ATF_TC_BODY() [all …]
|
/freebsd/contrib/ncurses/ncurses/tinfo/ |
H A D | MKnames.awk | 55 print value 56 print "\t\t(NCURSES_CONST char *)0," 57 print "};" 58 print "" 64 print "};" 65 print "" 67 print "" 71 print "/* This file was generated by MKnames.awk */" 72 print "" 73 print "#include <curses.priv.h>" [all …]
|
H A D | MKcodes.awk | 55 print value 56 print "\t\t(NCURSES_CONST char *)0," 57 print "};" 58 print "" 64 print "};" 65 print "" 67 print "" 71 print "/* This file was generated by MKcodes.awk */" 72 print "" 73 print "#include <curses.priv.h>" [all …]
|
/freebsd/contrib/unbound/contrib/ |
H A D | metrics.awk | 17 # print the output metrics 19 print "# HELP unbound_hits_queries Unbound DNS traffic and cache hits" 20 print "# TYPE unbound_hits_queries gauge" 21 print "unbound_hits_queries{type=\"total.num.queries\"} " val["total.num.queries"]; 24 print "unbound_hits_queries{type=\"thread" $x ".num.queries\"} " val["thread" $x ".num.queries"]; 27 print "unbound_hits_queries{type=\"total.num.cachehits\"} " val["total.num.cachehits"]; 28 print "unbound_hits_queries{type=\"total.num.prefetch\"} " val["total.num.prefetch"]; 29 print "unbound_hits_queries{type=\"num.query.tcp\"} " val["num.query.tcp"]; 30 print "unbound_hits_queries{type=\"num.query.tcpout\"} " val["num.query.tcpout"]; 31 print "unbound_hits_queries{type=\"num.query.udpout\"} " val["num.query.udpout"]; [all …]
|
/freebsd/contrib/tcpdump/ |
H A D | Makefile.in | 94 print.c \ 95 print-802_11.c \ 96 print-802_15_4.c \ 97 print-ah.c \ 98 print-ahcp.c \ 99 print-aodv.c \ 100 print-aoe.c \ 101 print-ap1394.c \ 102 print-arcnet.c \ 103 print-arista.c \ [all …]
|
/freebsd/lib/libsysdecode/ |
H A D | mkioctls | 43 awk -v x="$ioctl_includes" 'BEGIN {print x}' | 47 print "/* XXX obnoxious prerequisites. */" 48 print "#define COMPAT_43" 49 print "#define COMPAT_43TTY" 50 print "#include <sys/param.h>" 51 print "#include <sys/devicestat.h>" 52 print "#include <sys/disklabel.h>" 53 print "#include <sys/mman.h>" 54 print "#include <sys/socket.h>" 55 print "#include <sys/time.h>" [all …]
|
/freebsd/contrib/libfido2/udev/ |
H A D | genrules.awk | 9 print "# Copyright (c) 2020 Yubico AB. All rights reserved." 10 print "#" 11 print "# Redistribution and use in source and binary forms, with or without" 12 print "# modification, are permitted provided that the following conditions are" 13 print "# met:" 14 print "# " 15 print "# 1. Redistributions of source code must retain the above copyright" 16 print "# notice, this list of conditions and the following disclaimer." 17 print "# 2. Redistributions in binary form must reproduce the above copyright" 18 print "# notice, this list of conditions and the following disclaimer in" [all …]
|
/freebsd/contrib/bc/tests/ |
H A D | history.py | 38 print("Could not find pexpect. Skipping...") 170 print("timed out") 171 print(str(child)) 174 print("EOF") 175 print(str(child)) 176 print(str(child.buffer)) 177 print(str(child.before)) 212 print("timed out") 213 print(str(child)) 216 print("EO [all...] |
/freebsd/crypto/heimdal/tools/ |
H A D | kdc-log-analyze.pl | 129 print "Kerberos KDC Log Report for ", 132 print "General Statistics\n\n"; 134 print "\tNumber of IPv4 requests: $ip{'4'}\n"; 135 print "\tNumber of IPv6 requests: $ip{'6'}\n\n"; 137 print "\tNumber of restarts: $restarts\n"; 138 print "\tNumber of V4 requests: $v4_req\n"; 140 print "\tTop ten IP addresses performing V4 requests:\n"; 144 print "\tTop ten $notlocal IP addresses performing V4 requests:\n"; 148 print "\n"; 150 print "\tNumber of V4 cross realms (krb4 and 524) requests: $v4_cross\n"; [all …]
|
/freebsd/usr.bin/getconf/ |
H A D | fake-gperf.awk | 14 state == 1 { print; next; } 16 print; 23 print "static const struct", struct_seen, "wordlist[] = {"; 25 print "static const struct map {"; 26 print "\tconst char *name;"; 27 print "\tint key;"; 28 print "\tint valid;"; 29 print "} wordlist[] = {"; 36 print "\t{ NULL, 0, 0 }"; 37 print "};"; [all …]
|
/freebsd/contrib/ntp/scripts/ |
H A D | plot_summary.in | 91 print "set output \"$file\"\n"; 98 print "pause -1 \"Press key to continue...\"\n" if $wait_after_plot; 146 print OUTPUT "$line\n"; 168 print "set term $gnuplot_terminal\n"; 170 print "set grid\n"; 171 print "set title \"Loop Summary for $identifier: " . 174 print "set ylabel \"[us]\"\n"; 175 print "set style data yerrorbars\n"; 176 print "set multiplot\n"; 177 print "se [all...] |
/freebsd/crypto/heimdal/lib/roken/ |
H A D | roken.awk | 4 print "#include <config.h>" 5 print "#include <stdio.h>" 6 print "#ifdef HAVE_SYS_TYPES_H" 7 print "#include <sys/types.h>" 8 print "#endif" 9 print "#ifdef HAVE_SYS_SOCKET_H" 10 print "#include <sys/socket.h>" 11 print "#endif" 12 print "" 13 print "int main(int argc, char **argv)" [all …]
|
/freebsd/contrib/wpa/wpa_supplicant/examples/ |
H A D | p2p-nfc.py | 40 print(txt) 57 print("Could not find wpa_supplicant: ", error) 61 print("No wpa_supplicant control interface found") 69 print("Trying to use control interface " + ctrl) 163 print("Handover request carrier record from wpa_supplicant: " + data.encode("hex")) 169 print("Handover request (pre-WPS):") 171 print(message.pretty()) 173 print(e) 177 print("Add WPS request in addition to P2P") 181 print("Handover request:") [all …]
|
/freebsd/contrib/tzdata/ |
H A D | leapseconds.awk | 19 print "# Allowance for leap seconds added to each time zone file." 20 print "" 21 print "# This file is in the public domain." 22 print "" 23 print "# This file is generated automatically from the data in the public-domain" 24 print "# NIST/IERS format leap-seconds.list file, which can be copied from" 25 print "# <https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list>" 26 print "# or, in a variant with different comments, from" 27 print "# <ftp://ftp.boulder.nist.gov/pub/time/leap-seconds.list>." 28 print "# For more about leap-seconds.list, please see" [all …]
|
/freebsd/sys/teken/ |
H A D | gensequences | 30 print msg; 94 print "/* Generated file. Do not edit. */"; 95 print ""; 99 print "static teken_state_t " l_prefix_name[p] ";"; 103 print ""; 104 print "/* '" p "' */"; 105 print "static void"; 106 print l_prefix_name[p] "(teken_t *t, teken_char_t c)"; 107 print "{"; 110 print ""; [all …]
|