/base/update/updater/services/updater_binary/ |
D | update_processor.cpp | 42 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()
|
D | update_processor.h | 62 static size_t totalSize_; variable
|
/base/hiviewdfx/hiview/core/ |
D | platform_monitor.cpp | 92 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()
|
D | platform_monitor.h | 104 uint32_t totalSize_ = 0; variable
|
/base/request/request/upload/frameworks/libs/src/ |
D | upload_task.cpp | 33 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/ |
D | download_task.cpp | 24 : 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/ |
D | sys_event.cpp | 45 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()
|
D | libhiviewbase.map | 44 "OHOS::HiviewDFX::SysEvent::totalSize_";
|
/base/request/request/download/services/src/ |
D | download_service_task.cpp | 53 …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/ |
D | progress_callback.cpp | 53 return totalSize_; in GetTotalSize() 100 totalSize_ = totalSize; in Progress()
|
/base/request/request/upload/interfaces/kits/napi/include/ |
D | progress_callback.h | 44 std::atomic<int64_t> totalSize_ {0};
|
/base/request/request/download/interfaces/kits/js/napi/download_single/include/legacy/ |
D | download_task.h | 66 uint32_t totalSize_; variable
|
/base/request/request/upload/frameworks/libs/include/ |
D | upload_task.h | 95 int64_t totalSize_; variable
|
/base/request/request/download/services/include/ |
D | download_service_task.h | 103 int64_t totalSize_; variable
|
/base/hiviewdfx/hiview/base/include/ |
D | sys_event.h | 77 static std::atomic<int64_t> totalSize_; variable
|