Searched refs:cmd_file (Results 1 - 8 of 8) sorted by relevance

/external/e2fsprogs/lib/ss/
H A Dtest_ss.c34 static int source_file(const char *cmd_file, int sci_idx) argument
43 if (strcmp(cmd_file, "-") == 0)
46 f = fopen(cmd_file, "r");
48 perror(cmd_file);
87 char *cmd_file = 0; local
97 cmd_file = optarg;
101 "[-f cmd_file]");
128 } else if (cmd_file) {
129 exit_status = source_file(cmd_file, sci_idx);
/external/e2fsprogs/tests/progs/
H A Dtest_icount.c246 static int source_file(const char *cmd_file, int sci_idx) argument
255 if (strcmp(cmd_file, "-") == 0)
258 f = fopen(cmd_file, "r");
260 perror(cmd_file);
304 char *cmd_file = 0; local
328 cmd_file = optarg;
332 "[-R request] [-f cmd_file]");
355 } else if (cmd_file) {
356 exit_status = source_file(cmd_file, sci_idx);
H A Dtest_rel.c662 static int source_file(const char *cmd_file, int sci_idx) argument
671 if (strcmp(cmd_file, "-") == 0)
674 f = fopen(cmd_file, "r");
676 perror(cmd_file);
715 const char *usage = "Usage: test_rel [-R request] [-f cmd_file]";
719 char *cmd_file = 0; local
729 cmd_file = optarg;
755 } else if (cmd_file) {
756 exit_status = source_file(cmd_file, sci_idx);
/external/e2fsprogs/lib/ext2fs/
H A Dtst_bitmaps.c37 static int source_file(const char *cmd_file, int sci_idx) argument
45 if (strcmp(cmd_file, "-") == 0)
48 f = fopen(cmd_file, "r");
50 perror(cmd_file);
578 char *cmd_file = 0; local
611 cmd_file = optarg;
615 "[-f cmd_file]", subsystem_name);
644 } else if (cmd_file) {
645 exit_status = source_file(cmd_file, sci_idx);
/external/e2fsprogs/debugfs/
H A Ddebugfs.c2355 static int source_file(const char *cmd_file, int ss_idx) argument
2363 if (strcmp(cmd_file, "-") == 0)
2366 f = fopen(cmd_file, "r");
2368 perror(cmd_file);
2401 "Usage: %s [-b blocksize] [-s superblock] [-f cmd_file] "
2411 char *cmd_file = 0; local
2438 cmd_file = optarg;
2507 } else if (cmd_file) {
2508 exit_status = source_file(cmd_file, sci_idx);
/external/lldb/source/Interpreter/
H A DCommandInterpreter.cpp2607 CommandInterpreter::HandleCommandsFromFile (FileSpec &cmd_file, argument
2616 if (cmd_file.Exists())
2620 success = commands.ReadFileLines(cmd_file);
2623 result.AppendErrorWithFormat ("Error reading commands from file: %s.\n", cmd_file.GetFilename().AsCString());
2634 cmd_file.GetFilename().AsCString());
/external/netperf/
H A Dnetsh.c119 char cmd_file[BUFSIZ]; /* name of the commands file */ variable
/external/lldb/source/Commands/
H A DCommandObjectCommands.cpp384 FileSpec cmd_file (filename, true);
390 m_interpreter.HandleCommandsFromFile (cmd_file,

Completed in 2007 milliseconds