Searched refs:option_name (Results 1 – 5 of 5) sorted by relevance
226 std::string option_name = argv[i]; in RunSimpleperfCmd() local227 auto it = common_option_formats.find(option_name); in RunSimpleperfCmd()229 args.emplace_back(std::move(option_name)); in RunSimpleperfCmd()233 LOG(ERROR) << "Missing argument for " << option_name; in RunSimpleperfCmd()236 if (option_name == "-h" || option_name == "--help") { in RunSimpleperfCmd()238 } else if (option_name == "--log") { in RunSimpleperfCmd()244 } else if (option_name == "--log-to-android-buffer") { in RunSimpleperfCmd()248 } else if (option_name == "--version") { in RunSimpleperfCmd()
244 void Modprobe::AddOption(const std::string& module_name, const std::string& option_name, in AddOption() argument248 auto option_str = option_name + "=" + value; in AddOption()259 std::string option_name = ""; in ParseKernelCmdlineOptions() local277 if (!module_name.empty() && !option_name.empty()) { in ParseKernelCmdlineOptions()278 AddOption(module_name, option_name, value); in ParseKernelCmdlineOptions()282 option_name = ""; in ParseKernelCmdlineOptions()302 option_name = cmdline.substr(start, i - start); in ParseKernelCmdlineOptions()312 if (!module_name.empty() && !option_name.empty()) { in ParseKernelCmdlineOptions()313 AddOption(module_name, option_name, value); in ParseKernelCmdlineOptions()
127 const std::string option_name = longOptions[optionIndex].name; in main() local128 LOG(ERROR) << "Invalid option: " << option_name; in main()
1509 const std::string option_name = long_options[option_index].name; in main() local1510 if (option_name == value_str) { in main()1514 } else if (option_name == system_boot_reason_str) { in main()1516 } else if (option_name == boot_complete_str) { in main()1518 } else if (option_name == boot_reason_str) { in main()1520 } else if (option_name == factory_reset_str) { in main()1522 } else if (option_name == boot_reason_enum_str) { in main()1525 LOG(ERROR) << "Invalid option: " << option_name; in main()
53 void AddOption(const std::string& module_name, const std::string& option_name,