Home
last modified time | relevance | path

Searched refs:FileStream (Results 1 – 7 of 7) sorted by relevance

/base/update/updater/services/package/pkg_manager/
Dpkg_stream.cpp66 FileStream::~FileStream() in ~FileStream()
75 int32_t FileStream::Read(PkgBuffer &data, size_t start, size_t needRead, size_t &readLen) in Read()
112 int32_t FileStream::Write(const PkgBuffer &data, size_t size, size_t start) in Write()
135 size_t FileStream::GetFileLength() in GetFileLength()
160 int32_t FileStream::Seek(long int offset, int whence) in Seek()
169 int32_t FileStream::Flush(size_t size) in Flush()
Dpkg_stream.h89 class FileStream : public PkgStreamImpl {
91FileStream(PkgManager::PkgManagerPtr pkgManager, const std::string fileName, FILE *stream, int32_t… in FileStream() function
94 ~FileStream() override;
Dpkg_managerImpl.cpp559 stream = new FileStream(this, fileName, file, type); in DoCreatePkgStream()
/base/update/updater/test/unittest/script/
Dscript_unittest.cpp127 stream = new FileStream(this, fileNameReal, file, PkgStream::PkgStreamType_Read); in CreatePkgStream()
/base/update/updater/test/unittest/package/
Dpkg_verify_unittest.cpp199 FileStream filestream(nullptr, "", nullptr, PkgStream::PkgStreamType_Read); in TestHashDataVerifierFailed01()
Dpkg_manager_unittest.cpp201 auto stream = std::make_unique<FileStream>(pkgManager_, testPackageName, nullptr, 0); in TestInvalidStream()
/base/update/updater/test/unittest/test_data/applypatch/
DTestDecompressGzip.new.gz