Home
last modified time | relevance | path

Searched refs:argv (Results 1 – 14 of 14) sorted by relevance

/trusted-firmware-a-3.6.0-3.5.0/tools/fiptool/
Dwin_posix.c71 char *const argv[], in getopt_1char() argument
84 assert(argv != 0); in getopt_1char()
86 optarg = argv[optind++]; in getopt_1char()
116 char *argv[], in getopt() argument
125 if ((argc > optind) && (argv != 0)) { in getopt()
126 const char *arg = (const char *)argv[optind]; in getopt()
129 result = getopt_1char(argc, argv, opstring, arg[1]); in getopt()
157 char *const argv[], in getopt_1long() argument
214 optarg = argv[++optind]; in getopt_1long()
244 char *argv[], in getopt_long() argument
[all …]
Dfiptool.c29 static int info_cmd(int argc, char *argv[]);
31 static int create_cmd(int argc, char *argv[]);
33 static int update_cmd(int argc, char *argv[]);
35 static int unpack_cmd(int argc, char *argv[]);
37 static int remove_cmd(int argc, char *argv[]);
39 static int version_cmd(int argc, char *argv[]);
41 static int help_cmd(int argc, char *argv[]);
471 static int info_cmd(int argc, char *argv[]) in info_cmd() argument
478 argc--, argv++; in info_cmd()
480 parse_fip(argv[0], &toc_header); in info_cmd()
[all …]
Dwin_posix.h162 char *argv[],
171 char *argv[],
183 char *argv[],
/trusted-firmware-a-3.6.0-3.5.0/tools/amlogic/
Ddoimage.c14 #define PROGNAME(argc, argv) (((argc) >= 1) ? ((argv)[0]) : DEFAULT_PROGNAME) argument
44 int main(int argc, char **argv) in main() argument
52 usage(PROGNAME(argc, argv)); in main()
56 fin = open(argv[1], O_RDONLY); in main()
62 fout = open(argv[2], O_WRONLY | O_CREAT, 0660); in main()
/trusted-firmware-a-3.6.0-3.5.0/tools/memory/
Dprint_memory_map.py48 if len(sys.argv) >= 2:
49 build_dir = sys.argv[1]
50 if len(sys.argv) >= 3:
51 inverted_print = sys.argv[2] == '0'
/trusted-firmware-a-3.6.0-3.5.0/tools/nxp/create_pbl/
Dbyte_swap.c93 int main(int argc, char **argv) in main() argument
103 fp = fopen(argv[1], "rb+"); in main()
106 __func__, argv[1]); in main()
Dcreate_pbl.c694 int main(int argc, char **argv) in main() argument
710 while ((opt = getopt(argc, argv, in main()
/trusted-firmware-a-3.6.0-3.5.0/tools/encrypt_fw/src/
Dmain.c133 int main(int argc, char *argv[]) in main() argument
159 c = getopt_long(argc, argv, "a:f:hi:k:n:o:", cmd_opt, &opt_idx); in main()
190 print_help(argv[0], cmd_opt); in main()
194 print_help(argv[0], cmd_opt); in main()
/trusted-firmware-a-3.6.0-3.5.0/lib/romlib/
Dromlib_generator.py95 def parse_arguments(self, argv): argument
97 self.config = self.args.parse_args(argv)
263 if len(sys.argv) < 2 or sys.argv[1] not in APPS:
267 APP = APPS[sys.argv[1]]("romlib_generator.py " + sys.argv[1])
268 APP.parse_arguments(sys.argv[2:])
/trusted-firmware-a-3.6.0-3.5.0/tools/sptool/
Dsp_mk_generator.py217 sp_layout_file = os.path.abspath(sys.argv[2])
222 args["sp_gen_mk"] = os.path.abspath(sys.argv[1])
224 args["out_dir"] = os.path.abspath(sys.argv[3])
225 args["dualroot"] = sys.argv[4] == "dualroot"
/trusted-firmware-a-3.6.0-3.5.0/tools/conventional-changelog-tf-a/
Dindex.js43 let argv = Array.prototype.slice.call(arguments, 0);
45 argv.pop();
47 return argv.join("");
/trusted-firmware-a-3.6.0-3.5.0/tools/cert_create/src/
Dmain.c297 int main(int argc, char *argv[]) in main() argument
350 c = getopt_long(argc, argv, "a:b:hknps:", cmd_opt, &opt_idx); in main()
373 print_help(argv[0], cmd_opt); in main()
408 print_help(argv[0], cmd_opt); in main()
/trusted-firmware-a-3.6.0-3.5.0/tools/stm32image/
Dstm32image.c284 int main(int argc, char *argv[]) in main() argument
297 while ((opt = getopt(argc, argv, ":b:s:d:l:e:v:m:n:")) != -1) { in main()
326 argv[0]); in main()
/trusted-firmware-a-3.6.0-3.5.0/tools/marvell/doimage/
Ddoimage.c1574 int main(int argc, char *argv[]) in main() argument
1596 while ((opt = getopt(argc, argv, "hpms:i:l:e:a:b:u:n:t:c:k:")) != -1) { in main()
1659 len = strlen(argv[optind]); in main()
1662 memcpy(in_file, argv[optind], len); in main()
1667 len = strlen(argv[optind]); in main()
1670 memcpy(out_file, argv[optind], len); in main()