Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/image_effect/frameworks/native/render_environment/base/cache/
H A Drender_fifo_cache.h37 currentSize_ += sizeMeasurer_(value); in Put()
38 while ((currentSize_ > capacity_) && (valueList_.size() > 1)) { in Put()
40 currentSize_ -= sizeMeasurer_(last.second); in Put()
52 currentSize_ -= sizeMeasurer_(value); in Take()
60 return currentSize_; in Size()
65 while (currentSize_ > size) {
68 if ((currentSize_ - ss) < size && biasMore) {
72 currentSize_ -= ss;
74 return currentSize_;
80 size_t currentSize_ { 0 };
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/layout/
H A Dscreen_system_manager.cpp30 currentSize_ = ScreenSizeType::XS; in OnSurfaceChanged()
32 currentSize_ = ScreenSizeType::SM; in OnSurfaceChanged()
34 currentSize_ = ScreenSizeType::MD; in OnSurfaceChanged()
36 currentSize_ = ScreenSizeType::LG; in OnSurfaceChanged()
38 currentSize_ = ScreenSizeType::XL; in OnSurfaceChanged()
H A Dscreen_system_manager.h90 return currentSize_; in GetCurrentSize()
103 ScreenSizeType currentSize_ = ScreenSizeType::UNDEFINED; variable
/ohos5.0/base/update/updater/services/flashd/daemon/
H A Dflash_commander.cpp70 currentSize_ += static_cast<size_t>(writeSize); in DoCommand()
71 if (currentSize_ >= fileSize_) { in DoCommand()
104 auto writeSize = std::min(static_cast<size_t>(payloadSize), fileSize_ - currentSize_); in DoFlash()
H A Dupdate_commander.cpp92 auto writeSize = std::min(static_cast<size_t>(payloadSize), fileSize_ - currentSize_); in DoUpdate()
103 currentSize_ += writeSize; in DoUpdate()
104 if (currentSize_ >= fileSize_) { in DoUpdate()
H A Dcommander.cpp47 …uint8_t currentProcess = static_cast<uint8_t>(static_cast<int64_t>(currentSize_) * PERCENT_FINISH … in UpdateProgress()
49 …FLASHD_LOGW("currSize_ = %u, fileSize_ = %u, currentProces = %u", currentSize_, fileSize_, current… in UpdateProgress()
H A Dcommander.h57 size_t currentSize_ = 0; variable