Home
last modified time | relevance | path

Searched refs:GetFileSize (Results 1 – 25 of 51) sorted by relevance

123

/base/sensors/miscdevice/utils/include/
Dfile_utils.h35 int32_t GetFileSize(const std::string& filePath);
36 int64_t GetFileSize(int32_t fd);
/base/sensors/miscdevice/utils/src/
Dfile_utils.cpp66 int32_t GetFileSize(const std::string& filePath) in GetFileSize() function
76 int64_t GetFileSize(int32_t fd) in GetFileSize() function
101 int32_t fileSize = GetFileSize(filePath); in CheckFileSize()
145 int64_t fdSize = GetFileSize(rawFd.fd); in ReadFd()
/base/security/code_signature/test/unittest/
Dmulti_thread_local_sign_test.cpp42 uint64_t GetFileSize(int32_t fd) in GetFileSize() function
59 uint32_t fileSize = GetFileSize(fin); in DupFile()
/base/update/sys_installer/services/module_update/util/include/
Dmodule_zip_helper.h38 bool GetFileSize(uint32_t &size);
/base/hiviewdfx/faultloggerd/common/dfxutil/
Ddfx_util.h33 AT_SYMBOL_HIDDEN off_t GetFileSize(const int& fd);
Ddfx_util.cpp168 off_t GetFileSize(const int& fd) in GetFileSize() function
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/utility/include/
Dfile_util.h34 uint64_t GetFileSize(const std::string& file);
/base/msdp/device_status/libs/include/
Ddevicestatus_data_parse.h37 int32_t GetFileSize(const std::string& filePath);
/base/request/request/frameworks/js/napi/include/legacy/
Ddownload_task.h56 bool GetFileSize(uint32_t &result);
/base/update/updateservice/services/core/ability/utils/include/
Dfile_utils.h35 static int64_t GetFileSize(const std::string &fileName);
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cleaner/
Dapp_event_log_cleaner.cpp51 uint64_t delFileSize = FileUtil::GetFileSize(delFile); in ClearSpace()
/base/request/request/frameworks/js/napi/src/legacy/
Ddownload_task.cpp91 bool DownloadTask::GetFileSize(uint32_t &result) in GetFileSize() function in OHOS::Request::Legacy::DownloadTask
180 if (GetFileSize(totalSize_)) { in Run()
/base/msdp/device_status/libs/src/
Ddevicestatus_data_parse.cpp157 int32_t DeviceStatusDataParse::GetFileSize(const std::string& filePath) in GetFileSize() function in OHOS::Msdp::DeviceStatus::DeviceStatusDataParse
178 int32_t fileSize = GetFileSize(filePath); in CheckFileSize()
/base/security/code_signature/utils/include/
Dfsverity_utils_helper.h69 bool GetFileSize(uint64_t *size) in GetFileSize() function
/base/update/sys_installer/services/module_update/util/src/
Dmodule_zip_helper.cpp117 bool ModuleZipHelper::GetFileSize(uint32_t &size) in GetFileSize() function in OHOS::SysInstaller::ModuleZipHelper
199 if (!GetFileSize(length)) { in GetFileContent()
/base/msdp/device_status/utils/common/include/
Dutility.h57 static ssize_t GetFileSize(const char *path);
Dutil.h104 int32_t GetFileSize(const std::string &filePath);
/base/security/code_signature/utils/src/
Dfsverity_utils_helper.cpp83 if (!reader.GetFileSize(&tree_params.file_size)) { in ComputeDigest()
/base/hiviewdfx/faultloggerd/frameworks/unwinder/
Ddfx_memory_file.cpp59 size_t fileSize = static_cast<size_t>(GetFileSize(fd)); in Init()
/base/update/updater/services/package/pkg_manager/
Dpkg_utils.h35 size_t GetFileSize(const std::string &fileName);
Dpkg_utils.cpp58 size_t GetFileSize(const std::string &fileName) in GetFileSize() function
147 size_t size = GetFileSize(path); in GetFileSize()
/base/msdp/device_status/utils/common/src/
Dutil.cpp234 int32_t GetFileSize(const std::string &filePath) in GetFileSize() function
278 int32_t fileSize = GetFileSize(realPath); in IsValidSvgFile()
/base/update/updater/utils/
Dutils.cpp439 int GetFileSize(const std::string &dLog) in GetFileSize() function
477 if (Utils::GetFileSize(sLog) > MAX_LOG_SIZE) { in CopyUpdaterLogs()
483 while (Utils::GetFileSize(sLog) + GetDirSizeForFile(dLog) > MAX_LOG_DIR_SIZE) { in CopyUpdaterLogs()
493 if (GetFileSize(dLog) >= MAX_LOG_SIZE) { in CopyUpdaterLogs()
/base/update/updateservice/services/firmware/common/src/
Dfirmware_update_helper.cpp135 int64_t realSize = FileUtils::GetFileSize(component.spath); in IsUpgradePackagesReady()
/base/hiviewdfx/hiview/base/running_status_logger/
Drunning_status_logger.cpp110 if (FileUtil::GetFileSize(allLogFiles.back()) + content.size() < singleLogFileSizeLimit) { in GetLogWroteDestFile()

123