Home
last modified time | relevance | path

Searched refs:cmd_file (Results 1 – 6 of 6) sorted by relevance

/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/
Dandroid_command_line_backend_unittest.py69 cmd_file = '/data/local/tmp/test_cmd2'
70 backend_settings = _MockBackendSettings(cmd_file)
73 device.WriteFile(cmd_file, 'chrome --args --to --save')
75 device.ReadFile(cmd_file).strip())
79 device.ReadFile(cmd_file).strip())
81 device.ReadFile(cmd_file).strip())
83 device.RunShellCommand(['rm', '-f', cmd_file], check_return=True)
95 cmd_file = '/data/local/tmp/test_cmd'
96 backend_settings = _MockBackendSettings(cmd_file)
98 device.RunShellCommand(['rm', '-f', cmd_file], check_return=True)
[all …]
/external/e2fsprogs/lib/ss/
Dtest_ss.c34 static int source_file(const char *cmd_file, int sci_idx) in source_file() argument
43 if (strcmp(cmd_file, "-") == 0) in source_file()
46 f = fopen(cmd_file, "r"); in source_file()
48 perror(cmd_file); in source_file()
87 char *cmd_file = 0; in main() local
97 cmd_file = optarg; in main()
128 } else if (cmd_file) { in main()
129 exit_status = source_file(cmd_file, sci_idx); in main()
/external/e2fsprogs/tests/progs/
Dtest_icount.c246 static int source_file(const char *cmd_file, int sci_idx) in source_file() argument
255 if (strcmp(cmd_file, "-") == 0) in source_file()
258 f = fopen(cmd_file, "r"); in source_file()
260 perror(cmd_file); in source_file()
304 char *cmd_file = 0; in main() local
328 cmd_file = optarg; in main()
355 } else if (cmd_file) { in main()
356 exit_status = source_file(cmd_file, sci_idx); in main()
Dtest_rel.c662 static int source_file(const char *cmd_file, int sci_idx) in source_file() argument
671 if (strcmp(cmd_file, "-") == 0) in source_file()
674 f = fopen(cmd_file, "r"); in source_file()
676 perror(cmd_file); in source_file()
719 char *cmd_file = 0; in main() local
729 cmd_file = optarg; in main()
755 } else if (cmd_file) { in main()
756 exit_status = source_file(cmd_file, sci_idx); in main()
/external/e2fsprogs/lib/ext2fs/
Dtst_bitmaps.c37 static int source_file(const char *cmd_file, int sci_idx) in source_file() argument
45 if (strcmp(cmd_file, "-") == 0) in source_file()
48 f = fopen(cmd_file, "r"); in source_file()
50 perror(cmd_file); in source_file()
578 char *cmd_file = 0; in main() local
611 cmd_file = optarg; in main()
644 } else if (cmd_file) { in main()
645 exit_status = source_file(cmd_file, sci_idx); in main()
/external/e2fsprogs/debugfs/
Ddebugfs.c2355 static int source_file(const char *cmd_file, int ss_idx) in source_file() argument
2363 if (strcmp(cmd_file, "-") == 0) in source_file()
2366 f = fopen(cmd_file, "r"); in source_file()
2368 perror(cmd_file); in source_file()
2411 char *cmd_file = 0; in main() local
2438 cmd_file = optarg; in main()
2507 } else if (cmd_file) { in main()
2508 exit_status = source_file(cmd_file, sci_idx); in main()