Home
last modified time | relevance | path

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

/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()
/external/lldb/source/Interpreter/
DCommandInterpreter.cpp2607 CommandInterpreter::HandleCommandsFromFile (FileSpec &cmd_file, in HandleCommandsFromFile() argument
2616 if (cmd_file.Exists()) in HandleCommandsFromFile()
2620 success = commands.ReadFileLines(cmd_file); in HandleCommandsFromFile()
2623 …result.AppendErrorWithFormat ("Error reading commands from file: %s.\n", cmd_file.GetFilename().As… in HandleCommandsFromFile()
2634 cmd_file.GetFilename().AsCString()); in HandleCommandsFromFile()
/external/netperf/
Dnetsh.c119 char cmd_file[BUFSIZ]; /* name of the commands file */ variable
/external/lldb/source/Commands/
DCommandObjectCommands.cpp384 FileSpec cmd_file (filename, true); in DoExecute() local
390 m_interpreter.HandleCommandsFromFile (cmd_file, in DoExecute()