Searched refs:ConsumeFlags (Results 1 – 15 of 15) sorted by relevance
/device/google/cuttlefish/common/libs/utils/ |
D | flag_parser_test.cpp | 238 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()
|
D | flag_parser.h | 138 Result<void> ConsumeFlags(const std::vector<Flag>& flags, 141 Result<void> ConsumeFlags(const std::vector<Flag>& flags,
|
D | flag_parser.cpp | 375 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/ |
D | main.cpp | 102 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/ |
D | flags.cpp | 39 CF_EXPECT(ConsumeFlags({proxy_fastboot_flag}, args), in Process()
|
/device/google/cuttlefish/host/commands/process_restarter/ |
D | parser.cc | 68 CF_EXPECT(ConsumeFlags(flags, args, recognize_end_of_option_mark)); in ConsumeAndParse()
|
/device/google/cuttlefish/host/libs/config/ |
D | touchpad.cpp | 77 CF_EXPECT(ConsumeFlags(touchpad_flags, args), in ParseTouchpadConfigsFromArgs()
|
D | display.cpp | 120 CF_EXPECT(ConsumeFlags(display_flags, args), in ParseDisplayConfigsFromArgs()
|
D | custom_actions.cpp | 331 CF_EXPECT(ConsumeFlags(Flags(), args)); in Process()
|
/device/google/cuttlefish/host/libs/config/adb/ |
D | flags.cpp | 61 CF_EXPECT(ConsumeFlags({run_flag, mode_flag_}, args), in Process()
|
/device/google/cuttlefish/host/commands/tombstone_receiver/ |
D | main.cpp | 73 auto parse_res = ConsumeFlags(flags, args); in TombstoneReceiverMain()
|
/device/google/cuttlefish/host/commands/snapshot_util_cvd/ |
D | parse.cc | 130 auto parse_res = ConsumeFlags(flags, args); in Parse()
|
/device/google/cuttlefish/host/commands/status/ |
D | main.cc | 70 CF_EXPECT(ConsumeFlags(flags, args), "Could not process command line flags."); in GetFlagValues()
|
/device/google/cuttlefish/host/commands/stop/ |
D | main.cc | 192 auto parse_res = ConsumeFlags(flags, args); in GetFlagValues()
|
/device/google/cuttlefish/host/commands/start/ |
D | main.cc | 349 auto parse_res = cuttlefish::ConsumeFlags( in main()
|