Home
last modified time | relevance | path

Searched refs:argc (Results 1 – 16 of 16) sorted by relevance

/bootable/recovery/minadbd/
Dminadbd.cpp36 int main(int argc, char** argv) { in main() argument
39 if ((argc != 3 && argc != 4) || argv[1] != "--socket_fd"s || in main()
40 (argc == 4 && argv[3] != "--rescue"s)) { in main()
41 LOG(ERROR) << "minadbd has invalid arguments, argc: " << argc; in main()
56 if (argc == 4) { in main()
/bootable/recovery/updater/
Dupdater_main.cpp48 int main(int argc, char** argv) { in main() argument
66 if (argc != 4 && argc != 5) { in main()
67 LOG(ERROR) << "unexpected number of arguments: " << argc; in main()
87 if (argc == 5) { in main()
Dupdate_simulator_main.cpp53 int main(int argc, char** argv) { in main() argument
76 while ((arg = getopt_long(argc, argv, "", OPTIONS, &option_index)) != -1) { in main()
/bootable/recovery/applypatch/
Dimgdiff_main.cpp19 int main(int argc, char** argv) { in main() argument
20 return imgdiff(argc, const_cast<const char**>(argv)); in main()
Dapplypatch_main.cpp22 int main(int argc, char** argv) { in main() argument
24 return applypatch_modes(argc, argv); in main()
Dapplypatch_modes.h20 int applypatch_modes(int argc, char* argv[]);
Dapplypatch_modes.cpp111 int applypatch_modes(int argc, char* argv[]) { in applypatch_modes() argument
139 while ((arg = getopt_long(argc, argv, "", OPTIONS, &option_index)) != -1) { in applypatch_modes()
Dimgdiff.cpp1474 int imgdiff(int argc, const char** argv) { in imgdiff() argument
1486 while ((opt = getopt_long(argc, const_cast<char**>(argv), "zb:v", OPTIONS, &option_index)) != in imgdiff()
1537 if (argc - optind != 3) { in imgdiff()
/bootable/recovery/update_verifier/
Dupdate_verifier_main.cpp26 int main(int argc, char** argv) { in main() argument
37 return update_verifier(argc, argv); in main()
Dupdate_verifier.cpp305 int update_verifier(int argc, char** argv) { in update_verifier() argument
306 for (int i = 1; i < argc; i++) { in update_verifier()
/bootable/recovery/
Drecovery-refresh.cpp48 int main(int argc, char **argv) { in main() argument
55 if ((argc <= 1) || !argv[1] || in main()
Drecovery-persist.cpp113 int main(int argc, char **argv) { in main() argument
150 if ((argc <= 1) || !argv[1] || strcmp(argv[1], "--force-persist")) { in main()
Drecovery_main.cpp92 static std::vector<std::string> get_args(const int argc, char** const argv, std::string* stage) { in get_args() argument
93 CHECK_GT(argc, 0); in get_args()
121 std::vector<std::string> args(argv, argv + argc); in get_args()
319 int main(int argc, char** argv) { in main() argument
342 std::vector<std::string> args = get_args(argc, argv, &stage); in main()
/bootable/recovery/applypatch/include/applypatch/
Dimgdiff.h37 int imgdiff(int argc, const char** argv);
/bootable/recovery/uncrypt/
Duncrypt.cpp621 int main(int argc, char** argv) { in main() argument
626 if (argc == 2 && strcmp(argv[1], "--clear-bcb") == 0) { in main()
628 } else if (argc == 2 && strcmp(argv[1], "--setup-bcb") == 0) { in main()
630 } else if (argc == 1) { in main()
632 } else if (argc == 3) { in main()
/bootable/recovery/update_verifier/include/update_verifier/
Dupdate_verifier.h34 int update_verifier(int argc, char** argv);