Home
last modified time | relevance | path

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

/art/cmdline/
Dcmdline_types.h59 Result Parse(const std::string& args) {
73 Result Parse(const std::string& option) {
99 Result Parse(const std::string& arg) {
183 Result Parse(const std::string& str) {
227 Result Parse(const std::string& str) {
236 Result Parse(const std::string& str) {
283 Result Parse(const std::string& str) {
285 CmdlineParseResult<unsigned int> res = uint_parser.Parse(str);
299 Result Parse(const std::string& args) {
317 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.cc169 EXPECT_TRUE(IsResultSuccessful(parser_->Parse(argv))); \
184 EXPECT_TRUE(IsResultSuccessful(parser_->Parse(argv))); \
203 EXPECT_TRUE(IsResultFailure(parser_->Parse(argv), failure_status));\
215 EXPECT_TRUE(IsResultSuccessful(parser.Parse(""))); in TEST_F()
559 EXPECT_TRUE(IsResultSuccessful(parser_->Parse( in TEST_F()
Dcmdline.h133 bool Parse(int argc, char** argv) { in Parse() function
314 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_test.cc74 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F()
118 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F()
137 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F()
156 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F()
Dparsed_options.h53 static bool Parse(const RuntimeOptions& options,
Dclass_loader_context.h182 bool Parse(const std::string& spec, bool parse_checksums = false);
Dclass_loader_context.cc79 if (result->Parse(spec)) { in Create()
152 bool ClassLoaderContext::Parse(const std::string& spec, bool parse_checksums) { in Parse() function in art::ClassLoaderContext
684 if (!expected_context.Parse(context_spec, verify_checksums)) { in VerifyClassLoaderContextMatch()
Dparsed_options.cc49 bool ParsedOptions::Parse(const RuntimeOptions& options, in Parse() function in art::ParsedOptions
486 CmdlineResult parse_result = parser->Parse(argv_list); in DoParse()
Druntime_options.def36 // Parse-able keys from the command line.
Dclass_loader_context_test.cc128 if (!context->Parse(context_spec, /*parse_checksums*/ true)) { in ParseContextWithChecksums()
Druntime.cc630 bool parsed = ParsedOptions::Parse(raw_options, ignore_unrecognized, runtime_options); in ParseOptions()
/art/dex2oat/
Ddex2oat_options.h61 static std::unique_ptr<Dex2oatArgumentMap> Parse(int argc,
Ddex2oat_options.cc28 Result Parse(const std::string& option) { in Parse() function
270 std::unique_ptr<Dex2oatArgumentMap> Dex2oatArgumentMap::Parse(int argc, in Parse() function in art::Dex2oatArgumentMap
274 CmdlineResult parse_result = parser.Parse(argv, argc); in Parse()
Ddex2oat_options.def36 // Parse-able keys from the command line.
Ddex2oat.cc1182 std::unique_ptr<M> args_uptr = M::Parse(argc, const_cast<const char**>(argv), &error_msg); in ParseArgs()
/art/compiler/driver/
Dcompiler_options.cc119 CmdlineResult parse_result = parser.Parse(options); in ParseCompilerOptions()
Dcompiler_options_map.def36 // Parse-able keys from the command line.
/art/tools/
Dart126 # Parse a colon-separated list into an array (e.g. "foo.dex:bar.dex" -> (foo.dex bar.dex))
178 # Parse -cp <CP>, -classpath <CP>, and $CLASSPATH to find the dex files.
/art/cmdline/detail/
Dcmdline_parse_argument_detail.h449 CmdlineParseResult<TArg> result = type_parser.Parse(argument); in ParseArgumentSingle()