Searched refs:arg_start (Results 1 – 6 of 6) sorted by relevance
/system/libufdt/utils/src/ |
D | mkdtimg_create.c | 26 static int calculate_args_entry_count(int argc, char *argv[], int arg_start) { in calculate_args_entry_count() argument 30 for (i = arg_start; i < argc; i++) { in calculate_args_entry_count() 56 static int output_img_with_args(FILE *img_fp, int argc, char *argv[], int arg_start) { in output_img_with_args() argument 57 int entry_count = calculate_args_entry_count(argc, argv, arg_start); in output_img_with_args() 62 for (i = arg_start; i < argc; i++) { in output_img_with_args() 118 int handle_command_create(int argc, char *argv[], int arg_start) { in handle_command_create() argument 122 if (argc - arg_start < 1) { in handle_command_create() 127 const char *img_filename = argv[arg_start]; in handle_command_create() 137 ret = output_img_with_args(img_fp, argc, argv, arg_start + 1); in handle_command_create()
|
D | mkdtimg.c | 24 extern int handle_command_help(int argc, char *argv[], int arg_start); 26 extern int handle_command_dump(int argc, char *argv[], int arg_start); 28 extern int handle_command_create(int argc, char *argv[], int arg_start); 30 extern int handle_command_cfg_create(int argc, char *argv[], int arg_start); 36 int (*handler)(int argc, char *argv[], int arg_start); 92 int handle_command_help(int argc, char *argv[], int arg_start) { in handle_command_help() argument 95 if (argc - arg_start < 1) { in handle_command_help() 100 if (strcmp(argv[arg_start], "all") == 0) { in handle_command_help() 105 const struct command_info *info = search_command(argv[arg_start]); in handle_command_help()
|
D | mkdtimg_cfg_create.c | 169 int handle_command_cfg_create(int argc, char *argv[], int arg_start) { in handle_command_cfg_create() argument 170 if (argc - arg_start < 2) { in handle_command_cfg_create() 177 params.img_filename = argv[arg_start]; in handle_command_cfg_create() 178 params.cfg_filename = argv[arg_start + 1]; in handle_command_cfg_create() 180 optind = arg_start + 2; in handle_command_cfg_create()
|
D | mkdtimg_dump.c | 248 int handle_command_dump(int argc, char *argv[], int arg_start) { in handle_command_dump() argument 249 if (argc - arg_start < 1) { in handle_command_dump() 256 params.img_filename = argv[arg_start]; in handle_command_dump() 258 optind = arg_start + 1; in handle_command_dump()
|
/system/core/fs_mgr/libsnapshot/ |
D | snapuserd_daemon.cpp | 34 int arg_start = gflags::ParseCommandLineFlags(&argc, &argv, true); in StartServer() local 40 for (int i = arg_start; i < argc; i++) { in StartServer()
|
D | make_cow_from_ab_ota.cpp | 681 int arg_start = gflags::ParseCommandLineFlags(&argc, &argv, false); in main() local 685 if (argc - arg_start != 2) { in main() 690 android::snapshot::PayloadConverter pc(argv[arg_start], argv[arg_start + 1]); in main()
|