| /base/startup/init/services/param/adapter/ |
| D | param_persistadp.c | 59 char *tmpPath = (updaterMode == 0) ? PARAM_PERSIST_SAVE_PATH : "/param/persist_parameters"; in LoadPersistParam() local 60 LoadPersistParam_(tmpPath, buffer, buffSize); in LoadPersistParam() 61 tmpPath = (updaterMode == 0) ? PARAM_PERSIST_SAVE_TMP_PATH : "/param/tmp_persist_parameters"; in LoadPersistParam() 62 LoadPersistParam_(tmpPath, buffer, buffSize); in LoadPersistParam()
|
| /base/update/updater/test/unittest/mount_test/ |
| D | mount_unittest.cpp | 149 const std::string tmpPath = "/vendor/etc/fstab.updater"; variable 150 std::string vendorSource = GetBlockDeviceByMountPoint(tmpPath); 155 …auto ret = open(tmpPath.c_str(), O_RDONLY | O_CREAT | O_TRUNC, S_IRWXU | S_IRGRP | S_IXGRP | S_IRO… 162 unlink(tmpPath.c_str());
|
| /base/update/updater/services/updater_binary/ |
| D | update_partitions.cpp | 133 std::string tmpPath = "/data/updater" + filePath; in SetNewPartition() local 135 if (realpath(tmpPath.c_str(), realPath) == nullptr) { in SetNewPartition() 136 LOG(ERROR) << "Error to create: " << tmpPath; in SetNewPartition() 154 LOG(ERROR) << "Open " << tmpPath << " failed: " << errno; in SetNewPartition()
|
| /base/update/updater/test/unittest/updater_test/ |
| D | updater_unittest.cpp | 42 std::string tmpPath = "/tmp"; in SetUp() local 49 auto ret = mkdir(tmpPath.c_str(), mode); in SetUp()
|
| /base/tee/tee_client/services/tlogcat/src/ |
| D | tlogcat.c | 475 static void LogTmpDirClear(const char *tmpPath) in LogTmpDirClear() argument 480 DIR *dir = opendir(tmpPath); in LogTmpDirClear() 482 tloge("open dir %s failed, errno:%d\n", tmpPath, errno); in LogTmpDirClear() 494 "%s/%s", tmpPath, de->d_name); in LogTmpDirClear() 505 ret = rmdir(tmpPath); in LogTmpDirClear() 507 tloge("clear %s failed, err:%d, errno:%d\n", tmpPath, ret, errno); in LogTmpDirClear() 511 static int32_t MkdirTmpPath(const char *tmpPath) in MkdirTmpPath() argument 516 ret = rmdir(tmpPath); in MkdirTmpPath() 520 LogTmpDirClear(tmpPath); in MkdirTmpPath() 523 ret = mkdir(tmpPath, TLOGCAT_FILE_MODE); in MkdirTmpPath() [all …]
|
| /base/update/updater/test/unittest/applypatch_test/ |
| D | applypatch_unittest.cpp | 44 std::string tmpPath = "/tmp"; in SetUp() local 50 auto ret = mkdir(tmpPath.c_str(), S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); in SetUp()
|
| /base/global/resource_management/frameworks/resmgr/src/ |
| D | hap_manager.cpp | 258 char tmpPath[PATH_MAX] = {0}; in FindRawFile() local 266 if (!PathCanonicalizeA(tmpPath, (resourcesIndexPath + "/resources/" + tempName).c_str())) { in FindRawFile() 270 if (realpath((resourcesIndexPath + "/resources/" + tempName).c_str(), tmpPath) == nullptr) { in FindRawFile() 275 const std::string realPath = tmpPath; in FindRawFile()
|
| /base/web/webview/ohos_nweb/src/ |
| D | nweb_helper.cpp | 1038 char tmpPath[PATH_MAX + 1] = { 0 }; 1039 …th || strlen(configPath) == 0 || strlen(configPath) > PATH_MAX || !realpath(configPath, tmpPath)) { 1043 return std::string(tmpPath);
|
| /base/update/updater/utils/ |
| D | utils.cpp | 653 char tmpPath[PATH_MAX] = {0}; in PathToRealPath() local 654 if (realpath(path.c_str(), tmpPath) == nullptr) { in PathToRealPath() 659 realPath = tmpPath; in PathToRealPath()
|
| /base/security/huks/services/huks_standard/huks_service/main/core/src/ |
| D | hks_storage.c | 756 static int32_t MakeSubPath(const char *mainPath, const char *tmpPath, char *outPath, uint32_t outPa… in MakeSubPath() argument 764 if (strncat_s(outPath, outPathLen, tmpPath, strlen(tmpPath)) != EOK) { in MakeSubPath()
|