Home
last modified time | relevance | path

Searched refs:ConsumeFlags (Results 1 – 15 of 15) sorted by relevance

/device/google/cuttlefish/common/libs/utils/
Dflag_parser_test.cpp238 EXPECT_THAT(ConsumeFlags(flags, {"-int=5", "-string=a"}), IsOk()); in TEST()
241 EXPECT_THAT(ConsumeFlags(flags, {"--int=6", "--string=b"}), IsOk()); in TEST()
244 EXPECT_THAT(ConsumeFlags(flags, {"-int", "7", "-string", "c"}), IsOk()); in TEST()
247 EXPECT_THAT(ConsumeFlags(flags, {"--int", "8", "--string", "d"}), IsOk()); in TEST()
396 EXPECT_THAT(ConsumeFlags(flags, args), IsError()); in TEST()
397 EXPECT_THAT(ConsumeFlags(flags, args, in TEST()
Dflag_parser.h138 Result<void> ConsumeFlags(const std::vector<Flag>& flags,
141 Result<void> ConsumeFlags(const std::vector<Flag>& flags,
Dflag_parser.cpp375 Result<void> ConsumeFlags(const std::vector<Flag>& flags, in ConsumeFlags() function
393 Result<void> ConsumeFlags(const std::vector<Flag>& flags, in ConsumeFlags() function
/device/google/cuttlefish/host/commands/display/
Dmain.cpp102 ConsumeFlags({GflagsCompatFlag("instance_num", instance_num)}, args)); in GetInstanceNum()
179 auto parse_res = ConsumeFlags(remove_displays_flags, args); in DoRemove()
/device/google/cuttlefish/host/libs/config/fastboot/
Dflags.cpp39 CF_EXPECT(ConsumeFlags({proxy_fastboot_flag}, args), in Process()
/device/google/cuttlefish/host/commands/process_restarter/
Dparser.cc68 CF_EXPECT(ConsumeFlags(flags, args, recognize_end_of_option_mark)); in ConsumeAndParse()
/device/google/cuttlefish/host/libs/config/
Dtouchpad.cpp77 CF_EXPECT(ConsumeFlags(touchpad_flags, args), in ParseTouchpadConfigsFromArgs()
Ddisplay.cpp120 CF_EXPECT(ConsumeFlags(display_flags, args), in ParseDisplayConfigsFromArgs()
Dcustom_actions.cpp331 CF_EXPECT(ConsumeFlags(Flags(), args)); in Process()
/device/google/cuttlefish/host/libs/config/adb/
Dflags.cpp61 CF_EXPECT(ConsumeFlags({run_flag, mode_flag_}, args), in Process()
/device/google/cuttlefish/host/commands/tombstone_receiver/
Dmain.cpp73 auto parse_res = ConsumeFlags(flags, args); in TombstoneReceiverMain()
/device/google/cuttlefish/host/commands/snapshot_util_cvd/
Dparse.cc130 auto parse_res = ConsumeFlags(flags, args); in Parse()
/device/google/cuttlefish/host/commands/status/
Dmain.cc70 CF_EXPECT(ConsumeFlags(flags, args), "Could not process command line flags."); in GetFlagValues()
/device/google/cuttlefish/host/commands/stop/
Dmain.cc192 auto parse_res = ConsumeFlags(flags, args); in GetFlagValues()
/device/google/cuttlefish/host/commands/start/
Dmain.cc349 auto parse_res = cuttlefish::ConsumeFlags( in main()