Lines Matching defs:file
4 * you may not use this file except in compliance with the License.
49 virtual int32_t AddEntry(const PkgManager::FileInfoPtr file, const PkgStreamPtr inStream)
81 auto file = std::make_unique<Lz4PkgFile>(pkgManager_, PkgStreamImpl::ConvertPkgStream(stream));
82 EXPECT_NE(file, nullptr);
84 auto entry = std::make_unique<Lz4FileEntry>(file.get(), lz4NodeId);
104 std::unique_ptr<TestFile> file = std::make_unique<TestFile>(pkgManager_,
106 EXPECT_NE(file, nullptr);
107 ret = file->AddEntry(&fileInfo, PkgStreamImpl::ConvertPkgStream(stream));
110 ret = file->SavePackage(offset);
124 std::unique_ptr<TestFile> file = std::make_unique<TestFile>(pkgManager_,
126 EXPECT_NE(file, nullptr);
127 std::unique_ptr<ZipFileEntry> entry = std::make_unique<ZipFileEntry>(file.get(), zipNodeId);