Searched refs:Parse (Results 1 – 13 of 13) sorted by relevance
26 TEST(ApiLevelTest, Parse) { in TEST() argument31 EXPECT_FALSE(api_level_map.Parse("")); in TEST()32 EXPECT_FALSE(api_level_map.Parse("A")); in TEST()34 EXPECT_TRUE(api_level_map.Parse("current").has_value()); in TEST()35 EXPECT_EQ(FUTURE_API_LEVEL, api_level_map.Parse("current").value()); in TEST()37 EXPECT_TRUE(api_level_map.Parse("UpsideDownCake").has_value()); in TEST()38 EXPECT_EQ(9000, api_level_map.Parse("UpsideDownCake").value()); in TEST()40 EXPECT_TRUE(api_level_map.Parse("16").has_value()); in TEST()41 EXPECT_EQ(16l, api_level_map.Parse("16").value()); in TEST()
39 std::optional<ApiLevel> Parse(const std::string &api) const;
49 std::optional<ApiLevel> ApiLevelMap::Parse(const std::string &api) const { in Parse() function in header_checker::utils::ApiLevelMap
28 TEST(ConfigFileTest, Parse) { in TEST() argument
53 std::unique_ptr<ExportedSymbolSet> result(parser.Parse(stream)); in TEST()86 std::unique_ptr<ExportedSymbolSet> result(parser.Parse(stream)); in TEST()101 std::unique_ptr<ExportedSymbolSet> result(parser.Parse(stream)); in TEST()140 std::unique_ptr<ExportedSymbolSet> result(parser.Parse(stream)); in TEST()173 std::unique_ptr<ExportedSymbolSet> result(parser.Parse(stream)); in TEST()188 std::unique_ptr<ExportedSymbolSet> result(parser.Parse(stream)); in TEST()202 std::unique_ptr<ExportedSymbolSet> result(parser.Parse(stream)); in TEST()216 std::unique_ptr<ExportedSymbolSet> result(parser.Parse(stream)); in TEST()231 std::unique_ptr<ExportedSymbolSet> result(parser.Parse(stream)); in TEST()246 std::unique_ptr<ExportedSymbolSet> result(parser.Parse(stream)); in TEST()[all …]
35 virtual std::unique_ptr<ExportedSymbolSet> Parse() = 0;
137 std::optional<utils::ApiLevel> intro = api_level_map_.Parse( in ParseSymbolTags()151 std::optional<utils::ApiLevel> intro = api_level_map_.Parse( in ParseSymbolTags()335 std::unique_ptr<ExportedSymbolSet> VersionScriptParser::Parse( in Parse() function in header_checker::repr::VersionScriptParser
103 std::unique_ptr<ExportedSymbolSet> Parse(std::istream &version_script_stream);
65 std::unique_ptr<ExportedSymbolSet> Parse() override { in Parse() function in header_checker::repr::ELFSoFileParser
26 flag.Parse()
451 version_script_symbols_ = version_script_parser_.Parse(stream); in ReadExportedSymbolsFromVersionScript()467 shared_object_symbols_ = so_parser->Parse(); in ReadExportedSymbolsFromSharedObjectFile()490 std::optional<utils::ApiLevel> api_level = api_level_map.Parse(api); in InitializeVersionScriptParser()
188 flag.Parse()
48 if (!google::protobuf::TextFormat::Parse(&text_is, &tu)) { in ReadDumpImpl()