Home
last modified time | relevance | path

Searched refs:totalSize_ (Results 1 – 15 of 15) sorted by relevance

/base/update/updater/services/updater_binary/
Dupdate_processor.cpp42 size_t UScriptInstructionRawImageWrite::totalSize_ = 0; member in Updater::UScriptInstructionRawImageWrite
120 if (totalSize_ != 0) { in RawImageWriteProcessor()
122 …riter->GetUpdaterEnv()->PostMessage("set_progress", std::to_string((float)readSize_ / totalSize_)); in RawImageWriteProcessor()
163 totalSize_ = info->unpackedSize; in Execute()
165 UPDATER_ERROR_CHECK(partitionSize >= totalSize_, in Execute()
166 "partition size: " << partitionSize << " is short than image size: " << totalSize_, in Execute()
184 totalSize_ = 0; in Execute()
Dupdate_processor.h62 static size_t totalSize_; variable
/base/hiviewdfx/hiview/core/
Dplatform_monitor.cpp92 if (maxTotalSize_ < SysEvent::totalSize_) { in CollectPerfProfiler()
93 maxTotalSize_.store(SysEvent::totalSize_); in CollectPerfProfiler()
97 totalSize_ = static_cast<uint32_t>(SysEvent::totalSize_); in CollectPerfProfiler()
135 maxTotalCount_.load(), maxTotalSize_.load(), totalCount_, totalSize_, in CollectPerfProfiler()
205 perfMeasure.totalSize = totalSize_; in GetBreakStat()
206 totalSize_ = 0; in GetBreakStat()
334 uint32_t curTotalSize_ = static_cast<uint32_t>(SysEvent::totalSize_); in ReportBreakProfile()
385 if (SysEvent::totalSize_ <= totalSizeBenchMark_) { in Breaking()
389 HIVIEW_LOGE("break as event reach critical size %{public}u", SysEvent::totalSize_.load()); in Breaking()
394 if (SysEvent::totalSize_ <= recoveryBenchMark) { in Breaking()
Dplatform_monitor.h104 uint32_t totalSize_ = 0; variable
/base/request/request/upload/frameworks/libs/src/
Dupload_task.cpp33 totalSize_ = 0; in UploadTask()
84 (static_cast<IProgressCallback *>(callback))->Progress(uploadedSize_, totalSize_); in Off()
104 progressCallback_->Progress(uploadedSize_, totalSize_); in SetCallback()
171 totalSize_ = 0; in InitFileArray()
201 totalSize_ += static_cast<int64_t>(fileSize); in InitFileArray()
260 totalSize_ = 0; in OnRun()
292 if (uploadedSize_ == totalSize_) { in OnProgress()
296 progressCallback_->Progress(uploadedSize_, totalSize_); in OnProgress()
/base/request/request/download/interfaces/kits/js/napi/download_single/src/legacy/
Ddownload_task.cpp24 : taskId_(token), option_(option), callback_(callback), totalSize_(0), hasFileSize_(false) in DownloadTask()
175 if (GetFileSize(totalSize_)) { in Run()
179 …NLOAD_HILOGD("download task retrytime: %{public}u, totalSize_: %{public}u", retryTime, totalSize_); in Run()
210 if (localFileLenth < totalSize_) { in DoDownload()
/base/hiviewdfx/hiview/base/
Dsys_event.cpp45 std::atomic<int64_t> SysEvent::totalSize_(0); member in OHOS::HiviewDFX::SysEvent
53 totalSize_.fetch_add(jsonStr.length()); in SysEvent()
68 totalSize_.fetch_sub(jsonExtraInfo_.length()); in ~SysEvent()
69 if (totalSize_ < 0) { in ~SysEvent()
70 totalSize_.store(0); in ~SysEvent()
Dlibhiviewbase.map44 "OHOS::HiviewDFX::SysEvent::totalSize_";
/base/request/request/download/services/src/
Ddownload_service_task.cpp53 …mimeType_(""), totalSize_(INVALID_LEN), downloadSize_(INVALID_LEN), isPartialMode_(false), forceSt… in DownloadServiceTask()
102 if (!GetFileSize(totalSize_)) { in Run()
180 info.SetDownloadTotalBytes(totalSize_); in Query()
473 …task->eventCb_("progress", task->taskId_, task->downloadSize_, task->totalSize_, task->isNotifyAp… in ProgressCallback()
475 task->downloadSize_, task->totalSize_); in ProgressCallback()
508 if (totalSize_ == INVALID_LEN || pos < static_cast<off_t>(totalSize_)) { in ExecHttp()
511 downloadSize_ = totalSize_; in ExecHttp()
522 PublishNotification(config_.IsBackground(), prevSize_, downloadSize_, totalSize_); in ExecHttp()
536 TaskStatistics::GetInstance().ReportTasksSize(totalSize_); in RecordTaskEvent()
545 … std::string traceParam = "name:" + config_.GetFilePath() + " size:" + std::to_string(totalSize_) + in CurlPerformFileTransfer()
/base/request/request/upload/interfaces/kits/napi/src/
Dprogress_callback.cpp53 return totalSize_; in GetTotalSize()
100 totalSize_ = totalSize; in Progress()
/base/request/request/upload/interfaces/kits/napi/include/
Dprogress_callback.h44 std::atomic<int64_t> totalSize_ {0};
/base/request/request/download/interfaces/kits/js/napi/download_single/include/legacy/
Ddownload_task.h66 uint32_t totalSize_; variable
/base/request/request/upload/frameworks/libs/include/
Dupload_task.h95 int64_t totalSize_; variable
/base/request/request/download/services/include/
Ddownload_service_task.h103 int64_t totalSize_; variable
/base/hiviewdfx/hiview/base/include/
Dsys_event.h77 static std::atomic<int64_t> totalSize_; variable