Home
last modified time | relevance | path

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

/base/update/updater/services/package/pkg_manager/
Dpkg_stream.cpp61 FileStream::~FileStream() in ~FileStream()
70 int32_t FileStream::Read(const PkgBuffer &data, size_t start, size_t needRead, size_t &readLen) in Read()
97 int32_t FileStream::Write(const PkgBuffer &data, size_t size, size_t start) in Write()
120 size_t FileStream::GetFileLength() in GetFileLength()
145 int32_t FileStream::Seek(long int offset, int whence) in Seek()
154 int32_t FileStream::Flush(size_t size) in Flush()
Dpkg_stream.h80 class FileStream : public PkgStreamImpl {
82FileStream(PkgManager::PkgManagerPtr pkgManager, const std::string fileName, FILE *stream, int32_t… in FileStream() function
85 ~FileStream() override;
Dpkg_managerImpl.cpp537 stream = new FileStream(this, fileName, file, type); in CreatePkgStream()
/base/update/updater/test/unittest/script/
Dscript_unittest.cpp85 stream = new FileStream(this, fileNameReal, file, PkgStream::PkgStreamType_Read); in CreatePkgStream()
/base/update/updater/test/unittest/package/
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