Home
last modified time | relevance | path

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

/bootable/recovery/applypatch/
Dapplypatch_modes.cpp35 static int CheckMode(int argc, const char** argv) { in CheckMode() argument
36 if (argc < 3) { in CheckMode()
40 for (int i = 3; i < argc; i++) { in CheckMode()
47 static int SpaceMode(int argc, const char** argv) { in SpaceMode() argument
48 if (argc != 3) { in SpaceMode()
62 static bool ParsePatchArgs(int argc, const char** argv, std::vector<std::string>* sha1s, in ParsePatchArgs() argument
67 for (int i = 0; i < argc; ++i) { in ParsePatchArgs()
95 static int PatchMode(int argc, const char** argv) { in PatchMode() argument
99 if (argc >= 3 && strcmp(argv[1], "-b") == 0) { in PatchMode()
106 argc -= 2; in PatchMode()
[all …]
Dapplypatch_main.cpp26 int main(int argc, char** argv) { in main() argument
27 return applypatch_modes(argc, const_cast<const char**>(argv)); in main()
Dimgdiff_main.cpp19 int main(int argc, char** argv) { in main() argument
20 return imgdiff(argc, const_cast<const char**>(argv)); in main()
Dapplypatch_modes.h20 int applypatch_modes(int argc, const char** argv);
Dimgdiff.cpp850 int imgdiff(int argc, const char** argv) { in imgdiff() argument
853 if (argc >= 2 && strcmp(argv[1], "-z") == 0) { in imgdiff()
855 --argc; in imgdiff()
860 if (argc >= 3 && strcmp(argv[1], "-b") == 0) { in imgdiff()
879 argc -= 2; in imgdiff()
883 if (argc != 4) { in imgdiff()
/bootable/recovery/
Drecovery-refresh.cpp47 int main(int argc, char **argv) { in main() argument
54 if ((argc <= 1) || !argv[1] || in main()
Drecovery-persist.cpp112 int main(int argc, char **argv) { in main() argument
146 if ((argc <= 1) || !argv[1] || strcmp(argv[1], "--force-persist")) { in main()
Drecovery.cpp311 static std::vector<std::string> get_args(const int argc, char** const argv) { in get_args() argument
312 CHECK_GT(argc, 0); in get_args()
333 std::vector<std::string> args(argv, argv + argc); in get_args()
1352 int main(int argc, char **argv) { in main() argument
1377 if (argc == 2 && strcmp(argv[1], "--adbd") == 0) { in main()
1393 std::vector<std::string> args = get_args(argc, argv); in main()
/bootable/recovery/updater/
Dupdater.cpp59 int main(int argc, char** argv) { in main() argument
71 if (argc != 4 && argc != 5) { in main()
72 LOG(ERROR) << "unexpected number of arguments: " << argc; in main()
161 if (argc == 5) { in main()
/bootable/recovery/edify/
Dedify_parser.cpp47 int main(int argc, char** argv) { in main() argument
50 if (argc != 2) { in main()
/bootable/recovery/applypatch/include/applypatch/
Dimgdiff.h37 int imgdiff(int argc, const char** argv);
/bootable/recovery/minui/
Dmkfont.c4 int main(int argc, char *argv) in main() argument
/bootable/recovery/uncrypt/
Duncrypt.cpp602 int main(int argc, char** argv) { in main() argument
607 if (argc == 2 && strcmp(argv[1], "--clear-bcb") == 0) { in main()
609 } else if (argc == 2 && strcmp(argv[1], "--setup-bcb") == 0) { in main()
611 } else if (argc == 1) { in main()
613 } else if (argc == 3) { in main()
/bootable/recovery/update_verifier/
Dupdate_verifier.cpp208 int main(int argc, char** argv) { in main() argument
209 for (int i = 1; i < argc; i++) { in main()