Lines Matching refs:argv
664 int main(int argc ATTRIBUTE_UNUSED, char** argv) { in main() argument
665 android::base::InitLogging(argv); in main()
671 CHECK(argv[index] != nullptr); in main()
675 if (strcmp(argv[index], "-l") == 0) { in main()
677 CHECK(argv[index] != nullptr); in main()
685 if (strcmp(argv[index], "-s") == 0) { in main()
687 CHECK(argv[index] != nullptr); in main()
689 CHECK(android::base::ParseUint(argv[index], &signal_uint)) << "Signal not a number."; in main()
692 CHECK(argv[index] != nullptr); in main()
695 if (strcmp(argv[index], "-e") == 0) { in main()
697 CHECK(argv[index] != nullptr); in main()
699 CHECK(android::base::ParseUint(argv[index], &timeout_exit_code_uint)) in main()
703 CHECK(argv[index] != nullptr); in main()
718 execvp(argv[index], &argv[index]); in main()