Home
last modified time | relevance | path

Searched refs:GflagsCompatFlag (Results 1 – 21 of 21) sorted by relevance

/device/google/cuttlefish/common/libs/utils/
Dflag_parser_test.cpp49 auto flag = GflagsCompatFlag("myflag", value); in TEST()
64 auto flag = GflagsCompatFlag("my_flag", value); in TEST()
114 auto flag = GflagsCompatFlag("myflag", value).Help("somehelp"); in TEST()
127 auto flag = GflagsCompatFlag("myflag", value); in TEST()
134 auto flag = GflagsCompatFlag("myflag"); in TEST()
145 auto flag = GflagsCompatFlag("myflag", value); in TEST()
158 auto flag = GflagsCompatFlag("myflag", value); in TEST()
171 auto flag = GflagsCompatFlag("myflag", value).Help("somehelp"); in TEST()
184 auto flag = GflagsCompatFlag("myflag", value); in TEST()
221 auto flag = GflagsCompatFlag("myflag", value).Help("somehelp"); in TEST()
[all …]
Dflag_parser.h173 Flag GflagsCompatFlag(const std::string& name);
174 Flag GflagsCompatFlag(const std::string& name, std::string& value);
175 Flag GflagsCompatFlag(const std::string& name, std::int32_t& value);
176 Flag GflagsCompatFlag(const std::string& name, bool& value);
177 Flag GflagsCompatFlag(const std::string& name, std::vector<std::string>& value);
178 Flag GflagsCompatFlag(const std::string& name, std::vector<bool>& value,
Dflag_parser.cpp415 return GflagsCompatFlag("verbosity") in VerbosityFlag()
519 Flag GflagsCompatFlag(const std::string& name) { in GflagsCompatFlag() function
527 Flag GflagsCompatFlag(const std::string& name, std::string& value) { in GflagsCompatFlag() function
528 return GflagsCompatFlag(name) in GflagsCompatFlag()
556 return GflagsCompatFlag(name) in GflagsCompatNumericFlagGeneric()
565 Flag GflagsCompatFlag(const std::string& name, int32_t& value) { in GflagsCompatFlag() function
569 Flag GflagsCompatFlag(const std::string& name, bool& value) { in GflagsCompatFlag() function
577 Flag GflagsCompatFlag(const std::string& name, in GflagsCompatFlag() function
579 return GflagsCompatFlag(name) in GflagsCompatFlag()
593 Flag GflagsCompatFlag(const std::string& name, std::vector<bool>& value, in GflagsCompatFlag() function
[all …]
Dshared_fd_flag.cpp50 return GflagsCompatFlag(name).Setter( in SharedFDFlag()
/device/google/cuttlefish/host/commands/process_restarter/
Dparser.cc47 flags.push_back(GflagsCompatFlag("ignore_sigtstp", parser.ignore_sigtstp) in ConsumeAndParse()
49 flags.push_back(GflagsCompatFlag("when_dumped", parser.when_dumped) in ConsumeAndParse()
51 flags.push_back(GflagsCompatFlag("when_killed", parser.when_killed) in ConsumeAndParse()
53 flags.push_back(GflagsCompatFlag("when_exited_with_failure", in ConsumeAndParse()
57 GflagsCompatFlag("when_exited_with_code", parser.when_exited_with_code) in ConsumeAndParse()
60 GflagsCompatFlag("first_time_argument", parser.first_time_argument) in ConsumeAndParse()
/device/google/cuttlefish/host/commands/snapshot_util_cvd/
Dparse.cc50 return GflagsCompatFlag("subcmd", value_buf).Help(snapshot_cmd_help); in SnapshotCmdFlag()
55 return GflagsCompatFlag(name, value_buf).Help(help_msg); in GetInt32Flag()
64 return GflagsCompatFlag("snapshot_path", path_buf).Help(snapshot_path_help); in SnapshotPathFlag()
68 return GflagsCompatFlag("cleanup_snapshot_path", cleanup) in CleanupSnapshotPathFlag()
123 GflagsCompatFlag("force", parsed.force) in Parse()
125 flags.push_back(GflagsCompatFlag("auto_suspend", parsed.auto_suspend) in Parse()
/device/google/cuttlefish/host/libs/config/
Ddisplay.cpp104 GflagsCompatFlag(kDisplay0FlagName, display0_flag_value) in ParseDisplayConfigsFromArgs()
106 GflagsCompatFlag(kDisplay1FlagName, display1_flag_value) in ParseDisplayConfigsFromArgs()
108 GflagsCompatFlag(kDisplay2FlagName, display2_flag_value) in ParseDisplayConfigsFromArgs()
110 GflagsCompatFlag(kDisplay3FlagName, display3_flag_value) in ParseDisplayConfigsFromArgs()
112 GflagsCompatFlag(kDisplayFlag) in ParseDisplayConfigsFromArgs()
Dinstance_nums.cpp34 auto flag = GflagsCompatFlag("base_instance_num", value); in ParseBaseInstanceFlag()
45 auto flag = GflagsCompatFlag("num_instances", value); in ParseNumInstancesFlag()
82 auto flag = GflagsCompatFlag("instance_nums", value); in ParseInstanceNumsFlag()
Dconfig_flag.cpp50 flag_ = GflagsCompatFlag("system_image_dir", path_).Help(help); in INJECT()
132 flag_ = GflagsCompatFlag("config").Help(help).Getter(getter).Setter(setter); in INJECT()
Dcustom_actions.cpp209 custom_action_config_flag_ = GflagsCompatFlag("custom_action_config"); in INJECT()
230 custom_actions_flag_ = GflagsCompatFlag("custom_actions"); in INJECT()
Dtouchpad.cpp69 GflagsCompatFlag(kTouchpadFlag) in ParseTouchpadConfigsFromArgs()
/device/google/cuttlefish/host/commands/assemble_cvd/
Dassemble_cvd.cc567 GflagsCompatFlag("help", help), in AssembleCvdMain()
568 GflagsCompatFlag("helpfull", help), in AssembleCvdMain()
569 GflagsCompatFlag("helpshort", help), in AssembleCvdMain()
570 GflagsCompatFlag("helpmatch", help_str), in AssembleCvdMain()
571 GflagsCompatFlag("helpon", help_str), in AssembleCvdMain()
572 GflagsCompatFlag("helppackage", help_str), in AssembleCvdMain()
573 GflagsCompatFlag("helpxml", helpxml), in AssembleCvdMain()
Dtouchpad.cpp72 Flag touchpad_flag = GflagsCompatFlag(kTouchpadFlag).Help(kTouchpadHelp); in WriteGflagsCompatHelpXml()
Ddisplay.cpp71 Flag display_flag = GflagsCompatFlag(kDisplayFlag).Help(kDisplayHelp); in WriteGflagsCompatHelpXml()
/device/google/cuttlefish/host/commands/status/
Dmain.cc51 GflagsCompatFlag("wait_for_launcher", flag_values.wait_for_launcher) in GetFlagValues()
55 GflagsCompatFlag("instance_name", flag_values.instance_name) in GetFlagValues()
58 flags.emplace_back(GflagsCompatFlag("print", flag_values.print) in GetFlagValues()
62 GflagsCompatFlag("all_instances", flag_values.all_instances) in GetFlagValues()
/device/google/cuttlefish/host/libs/config/adb/
Dflags.cpp31 mode_flag_ = GflagsCompatFlag("adb_mode").Help(mode_help); in INJECT()
60 Flag run_flag = GflagsCompatFlag("run_adb_connector", run_adb_connector); in Process()
75 Flag run_flag = GflagsCompatFlag("run_adb_connector", run).Help(run_help); in WriteGflagsCompatHelpXml()
/device/google/cuttlefish/host/libs/config/fastboot/
Dflags.cpp38 Flag proxy_fastboot_flag = GflagsCompatFlag(kName, proxy_fastboot); in Process()
47 Flag proxy_fastboot_flag = GflagsCompatFlag(kName, proxy_fastboot).Help(kHelp); in WriteGflagsCompatHelpXml()
/device/google/cuttlefish/host/commands/display/
Dmain.cpp102 ConsumeFlags({GflagsCompatFlag("instance_num", instance_num)}, args)); in GetInstanceNum()
172 GflagsCompatFlag(kDisplayFlag) in DoRemove()
/device/google/cuttlefish/host/commands/stop/
Dmain.cc179 GflagsCompatFlag("wait_for_launcher", wait_for_launcher) in GetFlagValues()
183 GflagsCompatFlag("clear_instance_dirs", clear_instance_dirs) in GetFlagValues()
/device/google/cuttlefish/host/commands/tombstone_receiver/
Dmain.cpp60 flags.emplace_back(GflagsCompatFlag("tombstone_dir", tombstone_dir) in TombstoneReceiverMain()
/device/google/cuttlefish/host/commands/start/
Dmain.cc350 {cuttlefish::GflagsCompatFlag("system_image_dir", image_dir)}, args_copy); in main()