Home
last modified time | relevance | path

Searched refs:Parse (Results 1 – 10 of 10) sorted by relevance

/art/cmdline/
Dcmdline_types.h50 Result Parse(const std::string& args) {
77 Result Parse(const std::string& options) {
182 Result Parse(const std::string arg) {
266 Result Parse(const std::string& str) {
287 Result Parse(const std::string& str) {
350 Result Parse(const std::string& str) {
352 CmdlineParseResult<unsigned int> res = uint_parser.Parse(str);
366 Result Parse(const std::string& args) {
384 Result Parse(const std::string& args) {
436 Result Parse(const std::string& args) {
[all …]
Dcmdline_parser.h446 CmdlineResult Parse(const std::string& argv) { in Parse() function
450 return Parse(TokenRange(std::move(tokenized))); in Parse()
454 CmdlineResult Parse(const char* argv) { in Parse() function
455 return Parse(std::string(argv)); in Parse()
460 CmdlineResult Parse(const std::vector<const char*>& argv) { in Parse() function
461 return Parse(TokenRange(argv.begin(), argv.end())); in Parse()
466 CmdlineResult Parse(const std::vector<std::string>& argv) { in Parse() function
467 return Parse(TokenRange(argv.begin(), argv.end())); in Parse()
472 CmdlineResult Parse(const char* argv[], int argc) { in Parse() function
473 return Parse(TokenRange(&argv[1], argc - 1)); // ignore argv[0] because it's the program name in Parse()
[all …]
Dcmdline_type_parser.h37 Result Parse(const std::string& args ATTRIBUTE_UNUSED) { in Parse() function
Dcmdline_parser_test.cc151 EXPECT_TRUE(IsResultSuccessful(parser_->Parse(argv))); \
157 EXPECT_TRUE(IsResultSuccessful(parser_->Parse(argv))); \
176 EXPECT_TRUE(IsResultFailure(parser_->Parse(argv), failure_status));\
188 EXPECT_TRUE(IsResultSuccessful(parser.Parse(""))); in TEST_F()
542 EXPECT_TRUE(IsResultSuccessful(parser_->Parse( in TEST_F()
Dcmdline.h127 bool Parse(int argc, char** argv) { in Parse() function
300 if (args_ == nullptr || !args_->Parse(argc, argv)) { in Main()
DREADME.md183 The `Parse` method should be implemented for most types. Some types will allow appending (such as an
191 Result Parse(const std::string& str) {
/art/runtime/
Dparsed_options.h75 bool Parse(const RuntimeOptions& options, bool ignore_unrecognized,
Dparsed_options.cc49 if (parsed->Parse(options, ignore_unrecognized, runtime_options)) { in Create()
374 bool ParsedOptions::Parse(const RuntimeOptions& options, bool ignore_unrecognized, in Parse() function in art::ParsedOptions
405 CmdlineResult parse_result = parser->Parse(argv_list); in Parse()
Druntime_options.def34 // Parse-able keys from the command line.
/art/cmdline/detail/
Dcmdline_parse_argument_detail.h447 CmdlineParseResult<TArg> result = type_parser.Parse(argument); in ParseArgumentSingle()