Lines Matching refs:std

32   std::cerr << "Usage: " << argv[0] << " <path of sqlite db>" << std::endl;  in Usage()
33 std::cerr << "" << std::endl; in Usage()
34 std::cerr << " Compile the perfetto trace for an package and activity." << std::endl; in Usage()
35 std::cerr << " The info of perfetto trace is stored in the sqlite db." << std::endl; in Usage()
36 std::cerr << "" << std::endl; in Usage()
37 std::cerr << " Optional flags:" << std::endl; in Usage()
38 std::cerr << " --package $,-p $ Package name." << std::endl; in Usage()
39 std::cerr << " --version $,-ve $ Package version." << std::endl; in Usage()
40 std::cerr << " --activity $,-a $ Activity name." << std::endl; in Usage()
41std::cerr << " --inode-textcache $,-it $ Resolve inode->filename from textcache." << std::endl; in Usage()
42 std::cerr << " --help,-h Print this Usage." << std::endl; in Usage()
43std::cerr << " --recompile,-r Force re-compilation, which replace the existing comp… in Usage()
44std::cerr << " --purge-package,-pp Purge all files associated with a package." << std::e… in Usage()
45 std::cerr << " --verbose,-v Set verbosity (default off)." << std::endl; in Usage()
46std::cerr << " --output-text,-ot Output ascii text instead of protobuf (default off)."… in Usage()
47 std::cerr << " --min_traces,-mt The min number of perfetto traces needed " in Usage()
48 << "for compilation (default 1)." << std::endl; in Usage()
49 std::cerr << " --exclude-dex-files,-edf Set of exclude dex files" << std::endl; in Usage()
63 std::vector<std::string> arg_input_filenames; in Main()
64 std::optional<std::string> arg_package; in Main()
65 std::optional<std::string> arg_purge_package; in Main()
67 std::optional<std::string> arg_activity; in Main()
68 std::optional<std::string> arg_inode_textcache; in Main()
76 std::string argstr = argv[arg]; in Main()
78 std::string arg_next = has_arg_next ? argv[arg+1] : ""; in Main()
84 std::cerr << "Missing --package <value>" << std::endl; in Main()
91 std::cerr << "Missing --version <value>" << std::endl; in Main()
96 std::cerr << "Invalid --version " << arg_next << std::endl; in Main()
103 std::cerr << "Missing --activity <value>" << std::endl; in Main()
110 std::cerr << "Missing --inode-textcache <value>" << std::endl; in Main()
117 std::cerr << "Missing --purge-package <value>" << std::endl; in Main()
130 std::cerr << "Missing --min_traces <value>" << std::endl; in Main()
133 arg_min_traces = std::stoul(arg_next); in Main()
150 std::string db_path = arg_input_filenames[0]; in Main()
173 std::make_shared<Exec>(), in Main()
178 ret_code = !Compile(std::move(db_path), in Main()
179 std::move(*arg_package), in Main()
180 std::move(*arg_activity), in Main()
184 ret_code = !Compile(std::move(db_path), std::move(*arg_package), arg_version, params); in Main()
186 ret_code = !Compile(std::move(db_path), params); in Main()