Searched refs:idmap_data (Results 1 – 4 of 4) sorted by relevance
118 std::unique_ptr<const LoadedIdmap> LoadedIdmap::Load(const StringPiece& idmap_data) { in Load() argument120 if (!IsValidIdmapHeader(idmap_data)) { in Load()124 const Idmap_header* header = reinterpret_cast<const Idmap_header*>(idmap_data.data()); in Load()129 const uint8_t* data_ptr = reinterpret_cast<const uint8_t*>(idmap_data.data()) + sizeof(*header); in Load()130 size_t data_size = idmap_data.size() - sizeof(*header); in Load()
62 const StringPiece idmap_data( in LoadOverlay()65 std::unique_ptr<const LoadedIdmap> loaded_idmap = LoadedIdmap::Load(idmap_data); in LoadOverlay()
96 util::unique_cptr<void> idmap_data; in TEST() local103 idmap_data.reset(temp_data); in TEST()106 ASSERT_TRUE(base::WriteFully(tf.fd, idmap_data.get(), idmap_len)); in TEST()
42 static std::unique_ptr<const LoadedIdmap> Load(const StringPiece& idmap_data);