Home
last modified time | relevance | path

Searched refs:FromBinaryStream (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/cmds/idmap2/include/idmap2/
DIdmap.h87 static std::unique_ptr<const IdmapHeader> FromBinaryStream(std::istream& stream);
139 static std::unique_ptr<const Header> FromBinaryStream(std::istream& stream);
164 static std::unique_ptr<const TypeEntry> FromBinaryStream(std::istream& stream);
201 static std::unique_ptr<const IdmapData> FromBinaryStream(std::istream& stream);
229 static Result<std::unique_ptr<const Idmap>> FromBinaryStream(std::istream& stream);
/frameworks/base/cmds/idmap2/tests/
DIdmapTests.cpp47 std::unique_ptr<const IdmapHeader> header = IdmapHeader::FromBinaryStream(stream); in TEST()
64 std::unique_ptr<const IdmapHeader> header = IdmapHeader::FromBinaryStream(stream); in TEST()
74 std::unique_ptr<const IdmapData::Header> header = IdmapData::Header::FromBinaryStream(stream); in TEST()
86 std::unique_ptr<const IdmapData::TypeEntry> data = IdmapData::TypeEntry::FromBinaryStream(stream); in TEST()
101 std::unique_ptr<const IdmapData> data = IdmapData::FromBinaryStream(stream); in TEST()
127 auto result = Idmap::FromBinaryStream(stream); in TEST()
168 const auto result = Idmap::FromBinaryStream(stream); in TEST()
510 std::unique_ptr<const IdmapHeader> header = IdmapHeader::FromBinaryStream(stream); in TEST()
522 IdmapHeader::FromBinaryStream(bad_magic_stream); in TEST()
535 IdmapHeader::FromBinaryStream(bad_version_stream); in TEST()
[all …]
DIdmap2BinaryTests.cpp101 const auto idmap = Idmap::FromBinaryStream(fin); in TEST_F()
193 auto idmap_static_no_name = Idmap::FromBinaryStream(idmap_static_no_name_raw_stream); in TEST_F()
199 auto idmap_static_1 = Idmap::FromBinaryStream(idmap_static_1_raw_stream); in TEST_F()
205 auto idmap_static_2 = Idmap::FromBinaryStream(idmap_static_2_raw_stream); in TEST_F()
DBinaryStreamVisitorTests.cpp38 auto result1 = Idmap::FromBinaryStream(raw_stream); in TEST()
46 auto result2 = Idmap::FromBinaryStream(stream); in TEST()
DPrettyPrintVisitorTests.cpp66 const auto idmap = Idmap::FromBinaryStream(raw_stream); in TEST()
DRawPrintVisitorTests.cpp64 const auto idmap = Idmap::FromBinaryStream(raw_stream); in TEST()
/frameworks/base/cmds/idmap2/libidmap2/
DIdmap.cpp132 std::unique_ptr<const IdmapHeader> IdmapHeader::FromBinaryStream(std::istream& stream) { in FromBinaryStream() function in android::idmap2::IdmapHeader
187 std::unique_ptr<const IdmapData::Header> IdmapData::Header::FromBinaryStream(std::istream& stream) { in FromBinaryStream() function in android::idmap2::IdmapData::Header
199 std::unique_ptr<const IdmapData::TypeEntry> IdmapData::TypeEntry::FromBinaryStream( in FromBinaryStream() function in android::idmap2::IdmapData::TypeEntry
222 std::unique_ptr<const IdmapData> IdmapData::FromBinaryStream(std::istream& stream) { in FromBinaryStream() function in android::idmap2::IdmapData
224 data->header_ = IdmapData::Header::FromBinaryStream(stream); in FromBinaryStream()
229 std::unique_ptr<const TypeEntry> type = IdmapData::TypeEntry::FromBinaryStream(stream); in FromBinaryStream()
247 Result<std::unique_ptr<const Idmap>> Idmap::FromBinaryStream(std::istream& stream) { in FromBinaryStream() function in android::idmap2::Idmap
251 idmap->header_ = IdmapHeader::FromBinaryStream(stream); in FromBinaryStream()
259 std::unique_ptr<const IdmapData> data = IdmapData::FromBinaryStream(stream); in FromBinaryStream()
/frameworks/base/cmds/idmap2/idmap2/
DVerify.cpp47 const std::unique_ptr<const IdmapHeader> header = IdmapHeader::FromBinaryStream(fin); in Verify()
DDump.cpp53 const auto idmap = Idmap::FromBinaryStream(fin); in Dump()
DLookup.cpp191 auto idmap_header = IdmapHeader::FromBinaryStream(fin); in Lookup()
/frameworks/base/cmds/idmap2/idmap2d/
DIdmap2Service.cpp104 const std::unique_ptr<const IdmapHeader> header = IdmapHeader::FromBinaryStream(fin); in verifyIdmap()