Home
last modified time | relevance | path

Searched refs:argstr (Results 1 – 2 of 2) sorted by relevance

/system/iorap/src/inode2filename/
Dmain.cc56 std::string argstr = argv[arg]; in main() local
60 if (argstr == "--help" || argstr == "-h") { in main()
62 } else if (argstr == "--root" || argstr == "-r") { in main()
69 } else if (argstr == "--verbose" || argstr == "-v") { in main()
71 } else if (argstr == "--wait" || argstr == "-w") { in main()
77 if (Inode::Parse(argstr, /*out*/&maybe_inode, /*out*/&error_msg)) { in main()
80 if (argstr.size() >= 1) { in main()
81 if (argstr[0] == '-') { in main()
82 std::cerr << "Unrecognized flag: " << argstr << std::endl; in main()
87 std::cerr << "Failed to parse inode (" << argstr << ") because: " << error_msg << std::endl; in main()
/system/iorap/src/perfetto/
Dmain.cc161 std::string argstr = argv[arg]; in main() local
165 if (argstr == "--help" || argstr == "-h") { in main()
167 } else if (argstr == "--output-proto" || argstr == "-op") { in main()
174 } else if (argstr == "--config-proto" || argstr == "-cp") { in main()
182 } else if (argstr == "--duration-ms" || argstr == "-dm") { in main()
192 } else if (argstr == "--simple") { in main()
194 } else if (argstr == "--verbose" || argstr == "-v") { in main()
196 } else if (argstr == "--wait" || argstr == "-w") { in main()