Home
last modified time | relevance | path

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

/system/tools/aidl/
Daidl_unittest.cpp67 unique_ptr<AidlInterface> Parse(const string& path, in Parse() function in android::aidl::AidlTest
92 EXPECT_NE(nullptr, Parse("IFoo.aidl", "interface IFoo { }", &java_types_)); in TEST_F()
103 EXPECT_EQ(nullptr, Parse(path, contents, &java_types_)); in TEST_F()
104 EXPECT_EQ(nullptr, Parse(path, contents, &cpp_types_)); in TEST_F()
108 EXPECT_EQ(nullptr, Parse("IFoo.aidl", "interface IFoo { }", &cpp_types_)); in TEST_F()
110 Parse("a/IFoo.aidl", "package a; interface IFoo { }", &cpp_types_)); in TEST_F()
118 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", oneway_interface, &cpp_types_)); in TEST_F()
119 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", oneway_interface, &java_types_)); in TEST_F()
120 EXPECT_EQ(nullptr, Parse("a/IBar.aidl", oneway_method, &cpp_types_)); in TEST_F()
121 EXPECT_EQ(nullptr, Parse("a/IBar.aidl", oneway_method, &java_types_)); in TEST_F()
[all …]
Dgenerate_cpp_unittest.cpp662 unique_ptr<AidlInterface> Parse() { in Parse() function in android::aidl::cpp::ASTTest
713 unique_ptr<AidlInterface> interface = Parse(); in TEST_F()
720 unique_ptr<AidlInterface> interface = Parse(); in TEST_F()
727 unique_ptr<AidlInterface> interface = Parse(); in TEST_F()
734 unique_ptr<AidlInterface> interface = Parse(); in TEST_F()
741 unique_ptr<AidlInterface> interface = Parse(); in TEST_F()
748 unique_ptr<AidlInterface> interface = Parse(); in TEST_F()
780 return CppOptions::Parse(argc, cmdline); in GetOptions()
786 const unique_ptr<AidlInterface> interface = Parse(); in TEST_F()
793 const unique_ptr<AidlInterface> interface = Parse(); in TEST_F()
[all …]
Doptions.h42 static std::unique_ptr<JavaOptions> Parse(int argc, const char* const* argv);
77 static std::unique_ptr<CppOptions> Parse(int argc, const char* const* argv);
Dmain_cpp.cpp30 std::unique_ptr<CppOptions> options = CppOptions::Parse(argc, argv); in main()
Dmain_java.cpp30 std::unique_ptr<JavaOptions> options = JavaOptions::Parse(argc, argv); in main()
Doptions.cpp64 unique_ptr<JavaOptions> JavaOptions::Parse(int argc, const char* const* argv) { in Parse() function in android::aidl::JavaOptions
201 unique_ptr<CppOptions> CppOptions::Parse(int argc, const char* const* argv) { in Parse() function in android::aidl::CppOptions
Doptions_unittest.cpp77 unique_ptr<T> options(T::Parse(argc, command)); in GetOptions()
/system/connectivity/shill/
Darp_packet_unittest.cc105 EXPECT_FALSE(packet_.Parse(arp_bytes)); in TEST_F()
116 EXPECT_FALSE(packet_.Parse(arp_bytes)); in TEST_F()
127 EXPECT_FALSE(packet_.Parse(arp_bytes)); in TEST_F()
138 EXPECT_FALSE(packet_.Parse(arp_bytes)); in TEST_F()
149 EXPECT_FALSE(packet_.Parse(arp_bytes)); in TEST_F()
161 EXPECT_FALSE(packet_.Parse(arp_bytes)); in TEST_F()
176 EXPECT_FALSE(packet_.Parse(arp_bytes)); in TEST_F()
185 EXPECT_TRUE(packet_.Parse(arp_bytes)); in TEST_F()
194 EXPECT_TRUE(packet_.Parse(arp_bytes)); in TEST_F()
203 EXPECT_TRUE(packet_.Parse(arp_bytes)); in TEST_F()
[all …]
Darp_packet.h36 bool Parse(const ByteString& packet);
Darp_client.cc135 if (!packet->Parse(payload)) { in ReceivePacket()
Darp_packet.cc67 bool ArpPacket::Parse(const ByteString& packet) { in Parse() function in shill::ArpPacket
/system/extras/tests/sdcard/
Dplot_sdcard.py97 def Parse(self, line): member in Metadata
122 def Parse(filename): function
143 metadata.Parse(line)
266 (metadata, data) = Parse('/tmp/sdcard-scalability.txt')
317 (metadata, data) = Parse(args[0])
321 (metadata, data) = Parse(args[0])
/system/tpm/trunks/generator/
Dgenerator_test.py193 types, constants, structs, defines, typemap = parser.Parse()
206 types, constants, structs, defines, typemap = parser.Parse()
235 commands = parser.Parse()
243 commands = parser.Parse()
Dgenerator.py973 def Parse(self): member in StructureParser
1863 def Parse(self): member in CommandParser
2084 types, constants, structs, defines, typemap = structure_parser.Parse()
2086 commands = command_parser.Parse()
/system/tools/aidl/tests/
Dend_to_end_tests.cpp105 auto options = CppOptions::Parse(argc, cmdline); in TEST_F()
/system/tpm/attestation/server/
Dpkcs11_key_store_test.cc210 parsed.Parse(attributes_in); in GetAttributeValue()
284 parsed.Parse(attributes); in GetValue()
/system/core/init/
Dreadme.txt384 Parse an init config file, extending the current configuration.