Home
last modified time | relevance | path

Searched refs:fileLength_ (Results 1 – 2 of 2) sorted by relevance

/base/update/updater/services/package/pkg_manager/
Dpkg_stream.cpp141 if (fileLength_ == 0) { in GetFileLength()
151 fileLength_ = static_cast<size_t>(ret); in GetFileLength()
157 return fileLength_; in GetFileLength()
175 if (fileLength_ == 0) { in Flush()
176 fileLength_ = size; in Flush()
187 fileLength_ = static_cast<size_t>(ret); in Flush()
188 if (size != fileLength_) { in Flush()
189 PKG_LOGE("Flush size %zu local size:%zu", size, fileLength_); in Flush()
Dpkg_stream.h92 … : PkgStreamImpl(pkgManager, fileName), stream_(stream), fileLength_(0), streamType_(streamType) {} in FileStream()
113 size_t fileLength_; variable
233 PkgStreamType_FlowData) : PkgStreamImpl(pkgManager, fileName), fileLength_(fileSize), in PkgStreamImpl()
255 return fileLength_; in GetFileLength()
272 size_t fileLength_ {};