Searched defs:cmd_file (Results 1 - 5 of 5) 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);
302 char *cmd_file = 0; local
326 cmd_file = optarg;
330 "[-R request] [-f cmd_file]");
353 } else if (cmd_file) {
354 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/netperf/
H A Dnetsh.c119 char cmd_file[BUFSIZ]; /* name of the commands file */ variable
/external/e2fsprogs/debugfs/
H A Ddebugfs.c2099 static int source_file(const char *cmd_file, int sci_idx) argument
2107 if (strcmp(cmd_file, "-") == 0)
2110 f = fopen(cmd_file, "r");
2112 perror(cmd_file);
2145 const char *usage = "Usage: %s [-b blocksize] [-s superblock] [-f cmd_file] [-R request] [-V] [[-w] [-c] device]";
2150 char *cmd_file = 0; local
2169 cmd_file = optarg;
2235 } else if (cmd_file) {
2236 exit_status = source_file(cmd_file, sci_idx);

Completed in 102 milliseconds