Home
last modified time | relevance | path

Searched refs:infile (Results 1 – 8 of 8) sorted by relevance

/system/extras/ioblame/
Dioblame.sh214 cp trace_saved $infile
216 fgrep $1 $infile | sed 's/^.* \[.*\] //' | sed s/://g | sed s/,//g > foo
217 mv foo $infile
223 fgrep android_fs_dataread_start $infile > foo0
226 mv foo1 $infile
235 cat $infile | sed -n -e 's/^.*android_fs_writepages //p' > foo1
236 mv foo1 $infile
245 fgrep android_fs_datawrite_start $infile > foo0
248 mv foo1 $infile
256 cat $infile | sed s/,//g | sort -d -k2,2 -k8,8 > foo1
[all …]
/system/sepolicy/tests/
Dmini_parser.py21 with open(policyFile, 'r') as infile:
22 s = self._getNextStmt(infile)
25 s = self._getNextStmt(infile)
57 def _getNextStmt(self, infile): argument
60 c = infile.read(1)
63 c = infile.read(1)
66 c = infile.read(1)
69 c = infile.read(1)
73 c = infile.read(1)
/system/extras/app-launcher/
Dapp-launcher52 infile=$1
62 grep -F TotalTime "$infile" | awk '{print $2}' | computestats
66 grep -F cpu-cycles "$infile" | awk '{print $1}' | sed s/,//g | computestats
70 grep -F 'Total CPU util' "$infile" | awk '{print $5}' | computestatsf
72 grep -F 'User CPU util' "$infile" | awk '{print $5}' | computestatsf
74 grep -F 'Sys CPU util' "$infile" | awk '{print $5}' | computestatsf
78 grep -F instructions "$infile" | awk '{print $1}' | sed s/,//g | computestats
81 grep -F instructions "$infile" | awk '{print $4}' | sed s/,//g | computestatsf
84 grep -F branch-misses "$infile" | awk '{print $1}' | sed s/,//g | computestats
87 grep -F context-switches "$infile" | awk '{print $1}' | sed s/,//g | computestats
[all …]
/system/media/audio_utils/tests/
Dbiquad_filter.cpp60 const char *infile = argv[argc - 2]; in main() local
63 if (infile == nullptr || outfile == nullptr) { in main()
69 printf("%s ", infile); in main()
90 std::fopen(infile, "rb"), &std::fclose); in main()
92 printf("Cannot open input file %s\n", infile); in main()
/system/extras/ioshark/
Dconvert_format.c91 char *infile, *outfile; in main() local
108 infile = argv[1]; in main()
110 if (stat(infile, &st) < 0) { in main()
112 progname, infile); in main()
117 progname, infile); in main()
120 old_fp = fopen(infile, "r"); in main()
123 progname, infile); in main()
Dioshark_bench.c536 char *infile; in get_start_end() local
553 infile = thread_state[i].filename; in get_start_end()
554 fp = fopen(infile, "r"); in get_start_end()
557 progname, infile); in get_start_end()
562 progname, infile); in get_start_end()
664 char *infile; in main() local
718 infile = argv[i]; in main()
719 if (stat(infile, &st) < 0) { in main()
721 progname, infile); in main()
726 progname, infile); in main()
[all …]
Dcompile_ioshark.c535 char *infile, *outfile; in main() local
544 infile = argv[1]; in main()
546 if (stat(infile, &st) < 0) { in main()
548 progname, infile); in main()
553 progname, infile); in main()
558 fp = fopen(infile, "r"); in main()
561 progname, infile); in main()
/system/extras/tests/workloads/
Datrace-uncompress.py14 infile = open(sys.argv[1], "rb")
15 out = infile.read()