Home
last modified time | relevance | path

Searched refs:Parse (Results 1 – 23 of 23) 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.cc175 EXPECT_TRUE(IsResultSuccessful(parser_->Parse(argv))); \
190 EXPECT_TRUE(IsResultSuccessful(parser_->Parse(argv))); \
209 EXPECT_TRUE(IsResultFailure(parser_->Parse(argv), failure_status));\
221 EXPECT_TRUE(IsResultSuccessful(parser.Parse(""))); in TEST_F()
570 EXPECT_TRUE(IsResultSuccessful(parser_->Parse( in TEST_F()
Dcmdline.h142 bool Parse(int argc, char** argv) { in Parse() function
341 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.cc75 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F()
121 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F()
138 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F()
157 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F()
176 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F()
Dparsed_options.h54 static bool Parse(const RuntimeOptions& options,
Dclass_loader_context.h227 bool Parse(const std::string& spec, bool parse_checksums = false);
Dclass_loader_context.cc110 if (result->Parse(spec)) { in Create()
308 bool ClassLoaderContext::Parse(const std::string& spec, bool parse_checksums) { in Parse() function in art::ClassLoaderContext
1135 if (!expected_context.Parse(context_spec, verify_checksums)) { in VerifyClassLoaderContextMatch()
Dparsed_options.cc50 bool ParsedOptions::Parse(const RuntimeOptions& options, in Parse() function in art::ParsedOptions
512 CmdlineResult parse_result = parser->Parse(argv_list); in DoParse()
Druntime_options.def36 // Parse-able keys from the command line.
Dclass_loader_context_test.cc185 if (!context->Parse(context_spec, /*parse_checksums=*/ true)) { in ParseContextWithChecksums()
Druntime.cc699 bool parsed = ParsedOptions::Parse(raw_options, ignore_unrecognized, runtime_options); in ParseOptions()
/art/dex2oat/
Ddex2oat_options.h62 static std::unique_ptr<Dex2oatArgumentMap> Parse(int argc,
Ddex2oat_options.cc28 Result Parse(const std::string& option) { in Parse() function
266 std::unique_ptr<Dex2oatArgumentMap> Dex2oatArgumentMap::Parse(int argc, in Parse() function in art::Dex2oatArgumentMap
270 CmdlineResult parse_result = parser.Parse(argv, argc); in Parse()
Ddex2oat_options.def36 // Parse-able keys from the command line.
Ddex2oat.cc1107 std::unique_ptr<M> args_uptr = M::Parse(argc, const_cast<const char**>(argv), &error_msg); in ParseArgs()
/art/tools/dexanalyze/
Ddexanalyze.cc67 int Parse(int argc, char** argv) { in Parse() function
194 int result = options.Parse(argc, argv); in Run()
/art/compiler/driver/
Dcompiler_options.cc135 CmdlineResult parse_result = parser.Parse(options); in ParseCompilerOptions()
Dcompiler_options_map.def36 // Parse-able keys from the command line.
/art/tools/
Dart87 # Parse a colon-separated list into an array (e.g. "foo.dex:bar.dex" -> (foo.dex bar.dex))
139 # Parse -cp <CP>, -classpath <CP>, and $CLASSPATH to find the dex files.
315 # Parse arguments
/art/cmdline/detail/
Dcmdline_parse_argument_detail.h449 CmdlineParseResult<TArg> result = type_parser.Parse(argument); in ParseArgumentSingle()