Home
last modified time | relevance | path

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

12

/art/cmdline/
Dcmdline_types.h62 Result Parse(const std::string& args) {
72 Result Parse(const std::string& args) {
92 Result Parse(const std::string& option) {
116 Result Parse(const std::string& arg) {
207 Result Parse(const std::string& str) {
252 Result Parse(const std::string& str) {
262 Result Parse(const std::string& str) {
310 Result Parse(const std::string& str) {
312 CmdlineParseResult<unsigned int> res = uint_parser.Parse(str);
327 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()
567 EXPECT_TRUE(IsResultSuccessful(parser_->Parse( in TEST_F()
584 EXPECT_EQ(success0, ct.Parse("1,2,3,4")); in TEST_F()
587 EXPECT_EQ(success1, ct.Parse("1")); in TEST_F()
589 EXPECT_FALSE(ct.Parse("").IsSuccess()); in TEST_F()
590 EXPECT_FALSE(ct.Parse(",").IsSuccess()); in TEST_F()
591 EXPECT_FALSE(ct.Parse("1,").IsSuccess()); in TEST_F()
[all …]
Dcmdline_parser.h547 CmdlineResult Parse(const std::string& argv) { in Parse() function
551 return Parse(TokenRange(std::move(tokenized))); in Parse()
555 CmdlineResult Parse(const char* argv) { in Parse() function
556 return Parse(std::string(argv)); in Parse()
561 CmdlineResult Parse(const std::vector<const char*>& argv) { in Parse() function
562 return Parse(TokenRange(argv.begin(), argv.end())); in Parse()
567 CmdlineResult Parse(const std::vector<std::string>& argv) { in Parse() function
568 return Parse(TokenRange(argv.begin(), argv.end())); in Parse()
573 CmdlineResult Parse(const char* argv[], int argc) { in Parse() function
574 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()
126 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F()
143 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F()
162 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F()
179 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F()
Dparsed_options.h54 static bool Parse(const RuntimeOptions& options,
Dbacktrace_helper.cc60 CHECK(maps_.Parse()); in UnwindHelper()
Dclass_loader_context.h283 bool Parse(const std::string& spec, bool parse_checksums = false);
Dparsed_options.cc53 bool ParsedOptions::Parse(const RuntimeOptions& options, in Parse() function in art::ParsedOptions
658 CmdlineResult parse_result = parser->Parse(argv_list); in DoParse()
Dclass_loader_context.cc111 if (result->Parse(spec)) { in Create()
330 bool ClassLoaderContext::Parse(const std::string& spec, bool parse_checksums) { in Parse() function in art::ClassLoaderContext
1290 if (!expected_context.Parse(context_spec, verify_checksums)) { in VerifyClassLoaderContextMatch()
/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
478 std::unique_ptr<Dex2oatArgumentMap> Dex2oatArgumentMap::Parse(int argc, in Parse() function in art::Dex2oatArgumentMap
482 CmdlineResult parse_result = parser.Parse(argv, argc); in Parse()
Ddex2oat_options.def36 // Parse-able keys from the command line.
/art/tools/dexanalyze/
Ddexanalyze.cc68 int Parse(int argc, char** argv) { in Parse() function
195 int result = options.Parse(argc, argv); in Run()
/art/odrefresh/
DTODO.md12 2. Parse apex-info-list.xml into an apex_info (to make version and location available).
/art/runtime/metrics/
Dreporter.h55 static std::optional<ReportingPeriodSpec> Parse(
Dreporter.cc272 period_spec = ReportingPeriodSpec::Parse(spec_str.value(), &error); in FromFlags()
305 std::optional<ReportingPeriodSpec> ReportingPeriodSpec::Parse( in Parse() function in art::metrics::ReportingPeriodSpec
Dreporter_test.cc115 config.period_spec = ReportingPeriodSpec::Parse(period_spec, &error); in SetupReporter()
422 std::optional<ReportingPeriodSpec> spec = ReportingPeriodSpec::Parse(spec_str, &error_msg); in Verify()
/art/compiler/driver/
Dcompiler_options.cc136 CmdlineResult parse_result = parser.Parse(options); in ParseCompilerOptions()
Dcompiler_options_map.def36 // Parse-able keys from the command line.
Dcompiler_options_map-inl.h36 Result Parse(const std::string& option) {
/art/openjdkjvmti/
Dti_logging.cc84 art::CmdlineType<art::LogVerbosity>::Result result = cmdline_parser.Parse(parse_data); in SetVerboseFlagExt()
/art/cmdline/detail/
Dcmdline_parse_argument_detail.h511 CmdlineParseResult<TArg> result = type_parser.Parse(argument); in ParseArgumentSingle()

12