Searched refs:idmap_data (Results 1 – 5 of 5) sorted by relevance
221 const StringPiece& idmap_data) { in Load() argument223 if (!IsValidIdmapHeader(idmap_data)) { in Load()227 auto header = reinterpret_cast<const Idmap_header*>(idmap_data.data()); in Load()228 const uint8_t* data_ptr = reinterpret_cast<const uint8_t*>(idmap_data.data()) + header->Size(); in Load()229 size_t data_size = idmap_data.size() - header->Size(); in Load()
385 const StringPiece idmap_data( in LoadOverlay()388 std::unique_ptr<const LoadedIdmap> loaded_idmap = LoadedIdmap::Load(idmap_path, idmap_data); in LoadOverlay()
314 auto idmap_data = TestIdmapDataFromApkAssets("/target/target.apk", "/overlay/overlay.apk", info, in TEST() local318 ASSERT_TRUE(idmap_data) << idmap_data.GetErrorMessage(); in TEST()319 auto& data = *idmap_data; in TEST()338 auto idmap_data = TestIdmapDataFromApkAssets("/target/target.apk", "/overlay/overlay.apk", info, in TEST() local342 ASSERT_TRUE(idmap_data) << idmap_data.GetErrorMessage(); in TEST()343 auto& data = *idmap_data; in TEST()
382 auto idmap_data = IdmapData::FromResourceMapping(*resource_mapping); in FromApkAssets() local383 if (!idmap_data) { in FromApkAssets()384 return idmap_data.GetError(); in FromApkAssets()390 idmap->data_.push_back(std::move(*idmap_data)); in FromApkAssets()
146 const StringPiece& idmap_data);