/external/one-true-awk/testdir/ |
D | T.misc | 5 awk=${awk-../a.out} 17 $awk '{ if (match($0, /^The big brown over the lazy dog/) == 0) { 29 $awk 'length($0) > 10' foo >foo2 34 echo foo | $awk '{ print "H\x49\x4a\x4BL" }' >foo2 38 $awk 'BEGIN { print "0\061\62x\0645" }' >foo2 42 echo 3 5 | $awk '{ i = 1; print $i++ ; print $1, i }' >foo1 55 $awk '{ NF -= 2; $1 = $1; print }' <foo >foo2 60 $awk 'BEGIN {x = 1; print x; x = x; print x}' >foo2 63 echo 573109312 | $awk '{print $1*4}' >foo1 72 $awk '/^#/' >foo1 [all …]
|
D | T.clv | 4 awk=${awk-../a.out} 10 goodbye' | $awk ' 19 goodbye' | $awk ' 28 goodbye' | $awk ' 38 $awk ' 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} 68 $awk 'BEGIN { x=0; getline <"/dev/null"; print x} 75 $awk 'BEGIN { _=0; getline <"/dev/null"; print _} [all …]
|
D | REGRESS | 6 oldawk=${oldawk-awk} 7 awk=${awk-../a.out} 9 echo oldawk=$oldawk, awk=$awk 11 oldawk=$oldawk awk=$awk Compare.t t.* 14 oldawk=$oldawk awk=$awk Compare.p p.? p.??* 17 oldawk=$oldawk awk=$awk Compare.T1 20 oldawk=$oldawk awk=$awk Compare.tt tt.*
|
D | T.split | 3 awk=${awk-../a.out} 20 $awk 'BEGIN { 37 $awk 'BEGIN { 52 $awk 'BEGIN { 67 $awk '{ 79 $awk '{ 95 $awk 'BEGIN { FS="=" } { FS="."; $0=$1; print $2; FS="="; }' $TEMP0 > $TEMP2 107 $awk 'BEGIN { FS="=" } { print $2; FS="."; $0=$1; print $2; FS="="; }' $TEMP0 > $TEMP2 118 $awk ' 134 $awk ' [all …]
|
D | T.main | 3 awk=${awk-../a.out} 11 echo hello | $awk -d '{print}' >foo1 12 if test -r core; then echo 1>&2 "BAD: T.main awk -d dropped core"; fi 15 $awk -F:: '{print NF}' foo >foo1 17 diff foo1 foo2 || echo 'bad: awk -F::' 20 $awk -F :: '{print NF}' foo >foo1 22 diff foo1 foo2 || echo 'bad: awk -F ::' 25 $awk -F t '{print NF}' foo >foo1 27 diff foo1 foo2 || echo 'bad: awk -F (tab)' 30 $awk -F tab '{print NF}' foo >foo1 [all …]
|
D | T.latin1 | 3 awk=${awk-../a.out} 5 $awk ' 11 $awk '{ gsub(/\351/, "\370"); print }' latin1 >foo0 12 $awk '{ gsub(/�/, "�"); print }' latin1 >foo1 15 $awk '{ gsub(/[^\300-\370]/, ""); print }' latin1 >foo0 16 $awk '{ gsub(/[^�-�]/, ""); print } ' latin1 >foo1 20 $awk -f foo1 foo1 >foo2 26 $awk -f foo1 foo1 >foo2 31 Patterns like /[��]/ do not work yet. Example, run awk /[��]/ 34 echo 'Patterns like /[��]/ do not work yet. Example, run awk /[��]/ [all …]
|
D | T.overflow | 3 awk=${awk-../a.out} 5 $awk 'BEGIN { 10 $awk '{print}' foo1 >foo2 14 echo hello | $awk ' 22 $awk ' 30 $awk '{$1 = " 123456789"; print}' foo1 >foo2 33 $awk ' 41 $awk '{print NF}' foo >foo1 48 $awk 'BEGIN { 56 $awk ' [all …]
|
D | T.argv | 3 awk=${awk-../a.out} 7 $awk ' 19 $awk ' 32 $awk ' 42 $awk 55 $awk '{print L $0}' L=foo <foo0 >foo2 64 $awk '{print L $0}' L=foo foo0 >foo2 73 cat foo0 | $awk '{print L $0}' L=foo - >foo2 85 $awk '{print L $0}' L=foo foo0 L=glop foo0 >foo2 97 $awk '{print L $0}' L=11 foo0 L=22 foo0 >foo2 [all …]
|
D | T.getline | 3 awk=${awk-../a.out} 6 cat foo1 | $awk ' 16 cat foo1 | $awk ' 25 $awk ' 34 cat /etc/passwd | $awk ' 43 $awk ' 52 $awk ' 61 $awk ' 70 $awk ' 79 $awk ' BEGIN { print getline <"/glop/glop/glop" } ' >foo [all …]
|
D | T.gawk | 4 awk=${awk-../a.out} 9 $awk ' 29 $awk '{ print $3; $4 = "a"; print }' foo >foo2 39 $awk '{ x = y = $0 59 $awk '{ w = x = y = z = $0 83 $awk '{ w = x = y = z = z1 = z2 = $0 110 $awk '{ w = x = y = z = z1 = z2 = $0 129 $awk '{ x = y = $0 140 $awk 'BEGIN { printf "%*sworld\n", -20, "hello" }' >foo2 157 $awk ' [all …]
|
D | T.builtin | 3 awk=${awk-../a.out} 5 $awk 'BEGIN { print index(123, substr(123, 2)) }' >foo1 9 $awk 'BEGIN { 17 $awk 'BEGIN { 28 $awk '{ printf("%s|%s|%s\n", tolower($0), toupper($0), $0)}' >foo1 35 $awk '{ printf("%s|%s|%s\n", tolower($0), toupper($0), $0)}') >foo1 38 (export LC_NUMERIC=de_DE.UTF-8 && $awk 'BEGIN { print 0.01 }' /dev/null) >foo1 43 $awk 'BEGIN { 49 $awk 'BEGIN { 55 $awk 'BEGIN { [all …]
|
D | T.flags | 3 awk=${awk-../a.out} 5 $awk >foo 2>&1 8 $awk -f >foo 2>&1 11 $awk -f glop/glop >foo 2>&1 14 $awk -fglop/glop >foo 2>&1 17 $awk -zz 'BEGIN{}' >foo 2>&1 20 $awk -F >foo 2>&1 23 $awk -F '' >foo 2>&1
|
D | T.chem | 1 echo T.chem: test chem.awk 3 awk=${awk-../a.out} 4 oldawk=${oldawk-awk} 8 $awk -f chem.awk $i >foo1 9 $oldawk -f chem.awk $i >foo2
|
D | T.-f-f | 4 awk=${awk-../a.out} 10 echo xxx | $awk -f foo1 -f foo2 >foo3 14 echo '/a/' | $awk -f - /etc/passwd >foo1 15 $awk '/a/' /etc/passwd >foo2 23 $awk -f foo2 -f foo3 -f foo4 /etc/passwd >foo5 34 $awk -f foo2 -f foo3 -f foo4 /etc/passwd >foo5 2>foo6
|
D | Compare.tt | 3 oldawk=${oldawk-awk} 4 awk=${awk-../a.out} 21 echo oldawk = $oldawk, awk = $awk, time command = $time 38 echo $i "($oldawk vs $awk)": 42 $time $awk -f $i $td >foo1 2>foo1t
|
D | T.redir | 3 awk=${awk-../a.out} 5 $awk '{ print >"foo" }' /etc/passwd 9 $awk '{ print >>"foo" }' /etc/passwd 13 $awk 'NR%2 == 1 { print >>"foo" } 18 $awk '{ print | "cat >foo" }' /etc/passwd 25 $awk 'BEGIN { print " head" 31 $awk '{ print >"/dev/stderr" }' /etc/passwd 1>foo1 2>foo2 36 $awk '{ print >"/dev/stdout" }' /etc/passwd 1>foo1 2>foo2
|
D | T.func | 3 awk=${awk-../a.out} 9 1e1 9' | $awk ' 28 $awk ' 35 $awk ' 44 $awk ' 62 $awk ' 96 $awk ' 122 $awk ' 147 $awk ' 160 $awk 'BEGIN { eprocess("eqn", "x", contig) [all …]
|
D | T.close | 3 awk=${awk-../a.out} 6 $awk '{ print >>"foo"; close("foo") }' /etc/passwd 11 $awk '{ print >"foo2"; close("foo2") }' foo 15 $awk ' # non-accessible file 21 $awk ' # file not opened 27 $awk ' # normal close 33 $awk ' # normal close
|
/external/ltp/ |
D | ver_linux | 67 make --version 2>&1 | awk -F, '{print $1}' | awk \ 70 ld -v 2>&1 | awk -F\) '{print $1}' | awk \ 73 mkswap -V 2>&1 | awk '{print "util-linux ", $NF}' 75 mount --version 2>&1 | awk -F\- '{print "mount ", $NF}' 77 insmod -V 2>&1 | awk 'NR==1 {print "modutils ",$NF}' 79 tune2fs 2>&1 | grep "^tune2fs" | sed 's/,//' | awk \ 82 reiserfsck 2>&1 | grep reiserfsprogs | awk \ 85 cardmgr -V 2>&1| grep version | awk \ 88 pppd --version 2>&1| grep version | awk \ 91 isdnctrl 2>&1 | grep version | awk \ [all …]
|
/external/tensorflow/tensorflow/tools/ci_build/builds/ |
D | print_build_info.sh | 38 PROCESSOR=$(grep "model name" /proc/cpuinfo | head -1 | awk '{print substr($0, index($0, $4))}') 41 MEM_TOTAL=$(grep MemTotal /proc/meminfo | awk '{print $2, $3}') 42 SWAP_TOTAL=$(grep SwapTotal /proc/meminfo | awk '{print $2, $3}') 50 JAVA_VER=$(javac -version 2>&1 | awk '{print $2}') 54 PYTHON_VER=$(python -V 2>&1 | awk '{print $2}') 62 SWIG_VER=$(swig -version > /dev/null | grep -m 1 . | awk '{print $3}') 72 NVIDIA_DRIVER_VER=$(head -1 /proc/driver/nvidia/version | awk '{print $(NF-6)}') 78 CUDA_DEVICE_COUNT=$(nvidia-debugdump -l | grep "^Found [0-9]*.*device.*" | awk '{print $2}') 79 …CUDA_DEVICE_NAMES=$(nvidia-debugdump -l | grep "Device name:.*" | awk '{print substr($0, index($0,\ 85 CUDA_TOOLKIT_VER=$(nvcc -V | grep release | awk '{print $(NF)}')
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/re/re.const/re.matchflag/ |
D | match_multiline.pass.cpp | 44 using std::regex_constants::awk; in main() 56 search(pat, awk, target, true); in main() 63 search(pat, awk | multiline, target, true); in main() 74 search(pat, awk, target, false); in main() 81 search(pat, awk | multiline, target, false); in main() 92 search(pat, awk, target, false); in main() 99 search(pat, awk | multiline, target, false); in main() 111 search(pat, awk, target, true); in main() 118 search(pat, awk | multiline, target, true); in main() 129 search(pat, awk, target, false); in main() [all …]
|
/external/libcxx/test/std/re/re.alg/re.alg.match/ |
D | awk.pass.cpp | 33 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::awk))); in main() 49 assert(std::regex_match(s, m, std::regex("ab", std::regex_constants::awk))); in main() 64 assert(!std::regex_match(s, m, std::regex("ba", std::regex_constants::awk))); in main() 71 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::awk))); in main() 77 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::awk), in main() 84 assert(!std::regex_match(s, m, std::regex("bc", std::regex_constants::awk))); in main() 90 assert(std::regex_match(s, m, std::regex("ab*c", std::regex_constants::awk))); in main() 105 assert(std::regex_match(s, m, std::regex("(ab)*c", std::regex_constants::awk))); in main() 124 std::regex_constants::awk))); in main() 130 assert(std::regex_match(s, m, std::regex("^abc", std::regex_constants::awk))); in main() [all …]
|
/external/one-true-awk/ |
D | Android.bp | 32 name: "awk-flags", 46 // in stdio2.h, and this #defines it in awk.h 81 tools: ["awk-maketab"], 82 cmd: "$(location awk-maketab) $(in) > $(genDir)/proctab.c", 88 name: "awk-maketab", 89 defaults: ["awk-flags"], 95 name: "awk-defaults", 96 defaults: ["awk-flags"], 112 name: "awk", 113 defaults: ["awk-defaults"], [all …]
|
D | makefile | 44 SOURCE = awk.h awkgram.tab.c awkgram.tab.h proto.h awkgram.y lex.c b.c main.c \ 47 LISTING = awk.h proto.h awkgram.y lex.c b.c main.c maketab.c parse.c \ 51 awk.1 56 $(OFILES): awk.h awkgram.tab.h proto.h 58 awkgram.tab.c awkgram.tab.h: awk.h proto.h awkgram.y 75 @bundle $(SHIP) >awk.shar 76 @tar cf awk.tar $(SHIP) 77 gzip awk.tar 78 ls -l awk.tar.gz 79 @zip awk.zip $(SHIP) [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/re/re.alg/re.alg.match/ |
D | awk.pass.cpp | 29 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::awk))); in main() 45 assert(std::regex_match(s, m, std::regex("ab", std::regex_constants::awk))); in main() 60 assert(!std::regex_match(s, m, std::regex("ba", std::regex_constants::awk))); in main() 67 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::awk))); in main() 73 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::awk), in main() 80 assert(!std::regex_match(s, m, std::regex("bc", std::regex_constants::awk))); in main() 86 assert(std::regex_match(s, m, std::regex("ab*c", std::regex_constants::awk))); in main() 101 assert(std::regex_match(s, m, std::regex("(ab)*c", std::regex_constants::awk))); in main() 120 std::regex_constants::awk))); in main() 126 assert(std::regex_match(s, m, std::regex("^abc", std::regex_constants::awk))); in main() [all …]
|