Home
last modified time | relevance | path

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

123

/aosp14/frameworks/base/cmds/idmap2/tests/
H A DCommandLineOptionsTests.cpp46 auto success = opts.Parse({"--foo", "--bar"}); in TEST()
52 success = opts.Parse({"--foo"}); in TEST()
69 success = opts.Parse({"--foo"}); in TEST()
102 success = opts.Parse({"--foo", "BAZ"}); in TEST()
106 success = opts.Parse({"--foo"}); in TEST()
109 success = opts.Parse({"--foo", "--bar", "BAR"}); in TEST()
112 success = opts.Parse({"--foo", "FOO", "--bar"}); in TEST()
131 success = opts.Parse({"--foo", "BAZ"}); in TEST()
150 success = opts.Parse({"--foo"}); in TEST()
172 auto success = opts.Parse({"--unexpected"}); in TEST()
[all …]
/aosp14/frameworks/base/cmds/incident_helper/src/
H A DTextParserBase.h36 virtual status_t Parse(const int in, const int out) const = 0;
47 virtual status_t Parse(const int in, const int out) const;
58 virtual status_t Parse(const int /** in */, const int /** out */) const { while (true); }; in Parse() function
69 virtual status_t Parse(const int in, const int out) const;
H A DTextParserBase.cpp26 status_t NoopParser::Parse(const int in, const int out) const in Parse() function in NoopParser
41 status_t ReverseParser::Parse(const int in, const int out) const in Parse() function in ReverseParser
H A Dmain.cpp105 status_t err = parser->Parse(STDIN_FILENO, STDOUT_FILENO); in main()
/aosp14/system/core/fs_mgr/libsnapshot/libsnapshot_cow/
H A Dcow_api_test.cpp79 ASSERT_TRUE(reader.Parse(cow_->fd)); in TEST_F()
127 ASSERT_TRUE(reader.Parse(cow_->fd)); in TEST_F()
205 ASSERT_TRUE(reader.Parse(cow_->fd)); in TEST_F()
281 ASSERT_TRUE(reader.Parse(cow_->fd)); in TEST_F()
334 ASSERT_TRUE(reader.Parse(cow_->fd)); in TEST_P()
407 ASSERT_TRUE(reader.Parse(cow_->fd)); in TEST_P()
466 ASSERT_TRUE(reader.Parse(cow_->fd)); in TEST_F()
526 ASSERT_TRUE(reader.Parse(cow_->fd)); in TEST_F()
569 ASSERT_TRUE(reader.Parse(cow_->fd)); in TEST_P()
640 ASSERT_TRUE(reader.Parse(cow_->fd)); in TEST_F()
[all …]
/aosp14/frameworks/base/cmds/incident_helper/tests/
H A DKernelWakesParser_test.cpp71 ASSERT_EQ(NO_ERROR, parser.Parse(fd, STDOUT_FILENO)); in TEST_F()
109 ASSERT_EQ(NO_ERROR, parser.Parse(fd, STDOUT_FILENO)); in TEST_F()
H A DProcrankParser_test.cpp99 ASSERT_EQ(NO_ERROR, parser.Parse(fd, STDOUT_FILENO)); in TEST_F()
137 ASSERT_EQ(NO_ERROR, parser.Parse(fd, STDOUT_FILENO)); in TEST_F()
H A DBatteryTypeParser_test.cpp63 ASSERT_EQ(NO_ERROR, parser.Parse(fd, STDOUT_FILENO)); in TEST_F()
/aosp14/system/core/fs_mgr/libsnapshot/include/libsnapshot/
H A Dcow_reader.h123 bool Parse(android::base::unique_fd&& fd, std::optional<uint64_t> label = {});
124 bool Parse(android::base::borrowed_fd fd, std::optional<uint64_t> label = {});
/aosp14/frameworks/base/cmds/incident_helper/src/parsers/
H A DKernelWakesParser.h30 virtual status_t Parse(const int in, const int out) const;
H A DPsParser.h30 virtual status_t Parse(const int in, const int out) const;
H A DBatteryTypeParser.h33 virtual status_t Parse(const int in, const int out) const;
H A DCpuFreqParser.h32 virtual status_t Parse(const int in, const int out) const;
H A DCpuInfoParser.h33 virtual status_t Parse(const int in, const int out) const;
H A DEventLogTagsParser.h32 virtual status_t Parse(const int in, const int out) const;
H A DPageTypeInfoParser.h32 virtual status_t Parse(const int in, const int out) const;
H A DProcrankParser.h32 virtual status_t Parse(const int in, const int out) const;
H A DSystemPropertiesParser.h32 virtual status_t Parse(const int in, const int out) const;
H A DBatteryTypeParser.cpp27 BatteryTypeParser::Parse(const int in, const int out) const in Parse() function in BatteryTypeParser
H A DKernelWakesParser.cpp27 KernelWakesParser::Parse(const int in, const int out) const in Parse() function in KernelWakesParser
H A DEventLogTagsParser.cpp25 EventLogTagsParser::Parse(const int in, const int out) const in Parse() function in EventLogTagsParser
/aosp14/frameworks/base/cmds/idmap2/idmap2/
H A DDump.cpp48 const auto opts_ok = opts.Parse(args); in Dump()
H A DLookup.cpp167 const auto opts_ok = opts.Parse(args); in Lookup()
173 if (!ConfigDescription::Parse(config_str, &config)) { in Lookup()
/aosp14/frameworks/base/libs/androidfw/tests/
H A DConfigDescription_test.cpp30 if (ConfigDescription::Parse(input, config)) { in TestParse()
143 CHECK(ConfigDescription::Parse(str, &config)) << "invalid configuration: " << str; in ParseConfigOrDie()
/aosp14/frameworks/base/cmds/idmap2/include/idmap2/
H A DCommandLineOptions.h51 Result<Unit> Parse(const std::vector<std::string>& argv) const;

123