Home
last modified time | relevance | path

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

/art/cmdline/
Dcmdline_types.h59 Result Parse(const std::string& args) {
73 Result Parse(const std::string& option) {
96 Result Parse(const std::string& arg) {
180 Result Parse(const std::string& str) {
224 Result Parse(const std::string& str) {
233 Result Parse(const std::string& str) {
280 Result Parse(const std::string& str) {
282 CmdlineParseResult<unsigned int> res = uint_parser.Parse(str);
296 Result Parse(const std::string& args) {
314 Result Parse(const std::string& args) {
[all …]
Dcmdline_parser_test.cc174 EXPECT_TRUE(IsResultSuccessful(parser_->Parse(argv))); \
189 EXPECT_TRUE(IsResultSuccessful(parser_->Parse(argv))); \
208 EXPECT_TRUE(IsResultFailure(parser_->Parse(argv), failure_status));\
220 EXPECT_TRUE(IsResultSuccessful(parser.Parse(""))); in TEST_F()
565 EXPECT_TRUE(IsResultSuccessful(parser_->Parse( in TEST_F()
581 EXPECT_EQ(success0, ct.Parse("1,2,3,4")); in TEST_F()
583 EXPECT_EQ(success1, ct.Parse("1")); in TEST_F()
585 EXPECT_FALSE(ct.Parse("").IsSuccess()); in TEST_F()
586 EXPECT_FALSE(ct.Parse(",").IsSuccess()); in TEST_F()
587 EXPECT_FALSE(ct.Parse("1,").IsSuccess()); in TEST_F()
[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.h142 bool Parse(int argc, char** argv) { in Parse() function
345 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.cc76 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F()
124 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F()
141 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F()
160 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F()
177 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F()
Dparsed_options.h54 static bool Parse(const RuntimeOptions& options,
Dbacktrace_helper.cc54 CHECK(maps_.Parse()); in UnwindHelper()
Dclass_loader_context.h272 bool Parse(const std::string& spec, bool parse_checksums = false);
Dparsed_options.cc51 bool ParsedOptions::Parse(const RuntimeOptions& options, in Parse() function in art::ParsedOptions
544 CmdlineResult parse_result = parser->Parse(argv_list); in DoParse()
Dclass_loader_context.cc114 if (result->Parse(spec)) { in Create()
312 bool ClassLoaderContext::Parse(const std::string& spec, bool parse_checksums) { in Parse() function in art::ClassLoaderContext
1239 if (!expected_context.Parse(context_spec, verify_checksums)) { in VerifyClassLoaderContextMatch()
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.cc730 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
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.cc1288 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.cc134 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.
318 # Parse arguments
/art/cmdline/detail/
Dcmdline_parse_argument_detail.h449 CmdlineParseResult<TArg> result = type_parser.Parse(argument); in ParseArgumentSingle()