Searched refs:Result (Results 1 – 5 of 5) sorted by relevance
51 Result Parse(const std::string& args) {53 return Result::Success(Unit{}); // NOLINT [whitespace/braces] [5]55 return Result::Failure("Unexpected extra characters " + args);78 Result Parse(const std::string& options) {82 return Result::Usage(97 return Result::Failure(s +101 Result parse_attempt = ParseJdwpOption(jdwp_option.substr(0, equals_pos),111 return Result::Failure(s + "Must specify JDWP transport: " + options);114 return Result::Failure(s + "Must specify JDWP host and port when server=n: " + options);117 return Result::Success(std::move(jdwp_options));[all …]
31 using Result = CmdlineParseResult<T>; member37 Result Parse(const std::string& args ATTRIBUTE_UNUSED) { in Parse()39 return Result::Failure("Missing type specialization and/or value map"); in Parse()49 Result ParseAndAppend(const std::string& args ATTRIBUTE_UNUSED, in ParseAndAppend()52 return Result::Failure("Missing type specialization and/or value map"); in ParseAndAppend()
191 Result Parse(const std::string& str) {197 return Result::Failure("Failed to parse double from " + str);200 return Result::OutOfRange(204 return Result::Success(value);219 Result ParseAndAppend(const std::string& args,222 return Result::SuccessNoValue();230 #### What is a `Result`?231 `Result` is a typedef for `CmdlineParseResult<T>` and it acts similar to a poor version of235 There are helpers like `Result::Success(value)`, `Result::Failure(string message)` and so on to238 When successfully parsing a single value, `Result::Success(value)` should be used, and when[all …]
1 Iteration Result is as expected
28 Result of invoke: 7