Searched refs:Parse (Results 1 - 16 of 16) sorted by path

/system/connectivity/shill/
H A Darp_client.cc135 if (!packet->Parse(payload)) {
H A Darp_packet.cc67 bool ArpPacket::Parse(const ByteString& packet) { function in class:shill::ArpPacket
H A Darp_packet.h35 // Parse a payload and save to local parameters.
36 bool Parse(const ByteString& packet);
H A Darp_packet_unittest.cc105 EXPECT_FALSE(packet_.Parse(arp_bytes));
116 EXPECT_FALSE(packet_.Parse(arp_bytes));
127 EXPECT_FALSE(packet_.Parse(arp_bytes));
138 EXPECT_FALSE(packet_.Parse(arp_bytes));
149 EXPECT_FALSE(packet_.Parse(arp_bytes));
161 EXPECT_FALSE(packet_.Parse(arp_bytes));
176 EXPECT_FALSE(packet_.Parse(arp_bytes));
185 EXPECT_TRUE(packet_.Parse(arp_bytes));
192 // Parse should succeed with arbitrary trailing padding.
194 EXPECT_TRUE(packet_.Parse(arp_byte
[all...]
/system/extras/tests/sdcard/
H A Dplot_sdcard.py33 >>> (metadata, data) = p.Parse('/tmp/data.txt')
97 def Parse(self, line): member in class:Metadata
122 def Parse(filename): function
123 """Parse a file with the collected data.
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/tools/aidl/
H A Daidl_unittest.cpp67 unique_ptr<AidlInterface> Parse(const string& path, function in class:android::aidl::AidlTest
92 EXPECT_NE(nullptr, Parse("IFoo.aidl", "interface IFoo { }", &java_types_));
103 EXPECT_EQ(nullptr, Parse(path, contents, &java_types_));
104 EXPECT_EQ(nullptr, Parse(path, contents, &cpp_types_));
108 EXPECT_EQ(nullptr, Parse("IFoo.aidl", "interface IFoo { }", &cpp_types_));
110 Parse("a/IFoo.aidl", "package a; interface IFoo { }", &cpp_types_));
118 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", oneway_interface, &cpp_types_));
119 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", oneway_interface, &java_types_));
120 EXPECT_EQ(nullptr, Parse("a/IBar.aidl", oneway_method, &cpp_types_));
121 EXPECT_EQ(nullptr, Parse("
[all...]
H A Dgenerate_cpp_unittest.cpp662 unique_ptr<AidlInterface> Parse() { function in class:android::aidl::cpp::ASTTest
713 unique_ptr<AidlInterface> interface = Parse();
720 unique_ptr<AidlInterface> interface = Parse();
727 unique_ptr<AidlInterface> interface = Parse();
734 unique_ptr<AidlInterface> interface = Parse();
741 unique_ptr<AidlInterface> interface = Parse();
748 unique_ptr<AidlInterface> interface = Parse();
780 return CppOptions::Parse(argc, cmdline);
786 const unique_ptr<AidlInterface> interface = Parse();
793 const unique_ptr<AidlInterface> interface = Parse();
[all...]
H A Dmain_cpp.cpp30 std::unique_ptr<CppOptions> options = CppOptions::Parse(argc, argv);
H A Dmain_java.cpp30 std::unique_ptr<JavaOptions> options = JavaOptions::Parse(argc, argv);
H A Doptions.cpp64 unique_ptr<JavaOptions> JavaOptions::Parse(int argc, const char* const* argv) { function in class:android::aidl::JavaOptions
201 unique_ptr<CppOptions> CppOptions::Parse(int argc, const char* const* argv) { function in class:android::aidl::CppOptions
205 // Parse flags, all of which start with '-'
H A 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);
H A Doptions_unittest.cpp77 unique_ptr<T> options(T::Parse(argc, command));
/system/tools/aidl/tests/
H A Dend_to_end_tests.cpp105 auto options = CppOptions::Parse(argc, cmdline);
/system/tpm/attestation/server/
H A Dpkcs11_key_store_test.cc210 parsed.Parse(attributes_in);
284 parsed.Parse(attributes);
/system/tpm/trunks/generator/
H A Dgenerator.py933 types, constants, structs, defines, typemap = parser.Parse()
973 def Parse(self): member in class:StructureParser
974 """Parse everything in a structures file.
1539 # Parse the header -- this should always exist.
1550 # Parse any handles.
1568 # Parse response parameters.
1863 def Parse(self): member in class:CommandParser
2084 types, constants, structs, defines, typemap = structure_parser.Parse()
2086 commands = command_parser.Parse()
H A 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()

Completed in 199 milliseconds