Home
last modified time | relevance | path

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

12

/system/tools/aidl/
Daidl_unittest.cpp155 AidlDefinedType* Parse(const string& path, const string& contents, AidlTypenames& typenames_, in Parse() function in android::aidl::AidlTest
210 EXPECT_NE(nullptr, Parse("IFoo.aidl", "interface IFoo { }", typenames_, GetLanguage())); in TEST_P()
214 EXPECT_NE(nullptr, Parse("IFoo.aidl", "interface IFoo { } // foo", typenames_, GetLanguage())); in TEST_P()
228 EXPECT_EQ(nullptr, Parse(path, contents, typenames_, GetLanguage())); in TEST_P()
234 EXPECT_NE(nullptr, Parse("a/IBar.aidl", interface_list, typenames_, GetLanguage())); in TEST_P()
242 EXPECT_EQ(nullptr, Parse("a/IBaz.aidl", interface_ibinder, typenames_, GetLanguage())); in TEST_P()
251 EXPECT_EQ(nullptr, Parse("a/IBar.aidl", oneway_interface, typenames_, GetLanguage())); in TEST_P()
260 EXPECT_EQ(nullptr, Parse("a/IBar.aidl", oneway_method, typenames_, GetLanguage())); in TEST_P()
269 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", oneway_method, typenames_, GetLanguage())); in TEST_P()
278 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", oneway_method, typenames_, GetLanguage())); in TEST_P()
[all …]
Dparser.cpp28 std::unique_ptr<Parser> Parser::Parse(const std::string& filename, in Parse() function in Parser
Dparser.h60 static std::unique_ptr<Parser> Parse(const std::string& filename,
Daidl.cpp422 std::unique_ptr<Parser> main_parser = Parser::Parse(input_file_name, io_delegate, *typenames); in load_and_validate_aidl()
501 std::unique_ptr<Parser> import_parser = Parser::Parse(import_path, io_delegate, *typenames); in load_and_validate_aidl()
515 std::unique_ptr<Parser> import_parser = Parser::Parse(imported_file, io_delegate, *typenames); in load_and_validate_aidl()
842 std::unique_ptr<Parser> p = Parser::Parse(file, io_delegate, typenames); in preprocess_aidl()
/system/core/libunwindstack/tests/
DMapsTest.cpp32 ASSERT_FALSE(maps.Parse()) << "Failed on: " + line; in VerifyLine()
34 ASSERT_TRUE(maps.Parse()) << "Failed on: " + line; in VerifyLine()
182 ASSERT_TRUE(maps.Parse()); in TEST()
234 ASSERT_TRUE(maps.Parse()); in TEST()
269 ASSERT_TRUE(maps.Parse()); in TEST()
296 ASSERT_TRUE(maps.Parse()); in TEST()
314 ASSERT_TRUE(maps.Parse()); in TEST()
334 ASSERT_TRUE(maps.Parse()); in TEST()
367 ASSERT_TRUE(maps.Parse()); in TEST()
409 ASSERT_TRUE(maps.Parse()); in TEST()
[all …]
DUnwindTest.cpp168 ASSERT_TRUE(maps->Parse()); in InnerFunction()
259 ASSERT_TRUE(maps.Parse()); in TEST_F()
320 ASSERT_TRUE(maps.Parse()); in RemoteUnwind()
382 ASSERT_TRUE(maps.Parse()); in TEST_F()
418 ASSERT_TRUE(maps.Parse()); in RemoteThroughSignal()
450 ASSERT_TRUE(maps.Parse()); in TEST_F()
/system/core/libprocinfo/
Dprocess_map_benchmark.cpp48 maps.Parse(); in BM_unwindstack_FileMaps()
60 maps.Parse(); in BM_unwindstack_BufferMaps()
/system/core/libunwindstack/benchmarks/
Dunwind_benchmarks.cpp62 if (!maps.Parse()) { in BM_uncached_unwind()
75 if (!maps.Parse()) { in BM_cached_unwind()
DElfBenchmark.cpp83 if (!maps.Parse()) { in InitializeBuildId()
/system/core/libunwindstack/include/unwindstack/
DMaps.h54 virtual bool Parse();
117 bool Parse() override;
/system/core/libunwindstack/
DMaps.cpp62 bool Maps::Parse() { in Parse() function in unwindstack::Maps
112 bool BufferMaps::Parse() { in Parse() function in unwindstack::BufferMaps
142 if (!Parse()) { in Reparse()
DLocalUnwinder.cpp51 if (!maps_->Parse()) { in Init()
/system/bt/gd/packet/parser/test/
Dvariable.h47 …static std::optional<Iterator<little_endian>> Parse(Variable* instance, Iterator<little_endian> it… in Parse() function
/system/bt/gd/packet/parser/
Dcustom_type_checker.h44 ParseChecker<C, little_endian, &C::Parse>*, ToStringChecker<C, &C::ToString>*);
DREADME62 static Type Parse(Iterator);
/system/iorap/src/inode2filename/
Dinode.cc31 bool Inode::Parse(const std::string& str, Inode* out, std::string* error_msg) { in Parse() function in iorap::inode2filename::Inode
Dinode.h31 static bool Parse(const std::string& str, /*out*/Inode* out, /*out*/std::string* error_msg);
Dmain.cc77 if (Inode::Parse(argstr, /*out*/&maybe_inode, /*out*/&error_msg)) { in main()
/system/bt/packet/avrcp/
Davrcp_browse_packet.h57 static std::shared_ptr<BrowsePacket> Parse(
Davrcp_packet.h70 static std::shared_ptr<Packet> Parse(
Davrcp_browse_packet.cc53 std::shared_ptr<BrowsePacket> BrowsePacket::Parse( in Parse() function in bluetooth::avrcp::BrowsePacket
Davrcp_packet.cc71 std::shared_ptr<Packet> Packet::Parse( in Parse() function in bluetooth::avrcp::Packet
/system/bt/profile/avrcp/
Davrcp_message_converter.h67 static std::shared_ptr<::bluetooth::Packet> Parse(tAVRC_MSG* m) { in Parse() function
Dconnection_handler.cc397 auto pkt = AvrcpMessageConverter::Parse(p_msg); in MessageCb()
401 device_map_[handle]->BrowseMessageReceived(label, BrowsePacket::Parse(pkt)); in MessageCb()
406 device_map_[handle]->MessageReceived(label, Packet::Parse(pkt)); in MessageCb()
/system/core/libbacktrace/
DUnwindStackMap.cpp53 if (!stack_maps_->Parse()) { in Build()

12