Searched refs:tmpPath (Results 1 – 9 of 9) sorted by relevance
| /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/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/web/webview/ohos_nweb/src/ |
| D | nweb_helper.cpp | 441 char tmpPath[PATH_MAX + 1] = { 0 }; in GetConfigPath() local 442 …th || strlen(configPath) == 0 || strlen(configPath) > PATH_MAX || !realpath(configPath, tmpPath)) { in GetConfigPath() 446 return std::string(tmpPath); in GetConfigPath()
|
| /base/update/updater/utils/ |
| D | utils.cpp | 565 char tmpPath[PATH_MAX] = {0}; in PathToRealPath() local 566 if (realpath(path.c_str(), tmpPath) == nullptr) { in PathToRealPath() 571 realPath = tmpPath; in PathToRealPath()
|
| /base/global/resource_management/frameworks/resmgr/src/ |
| D | hap_manager.cpp | 254 char tmpPath[PATH_MAX] = {0}; in FindRawFile() local 262 if (!PathCanonicalizeA(tmpPath, (resourcesIndexPath + "/resources/" + tempName).c_str())) { in FindRawFile() 266 if (realpath((resourcesIndexPath + "/resources/" + tempName).c_str(), tmpPath) == nullptr) { in FindRawFile() 271 const std::string realPath = tmpPath; in FindRawFile()
|
| /base/security/huks/services/huks_standard/huks_service/main/core/src/ |
| D | hks_storage.c | 693 static int32_t MakeSubPath(const char *mainPath, const char *tmpPath, char *outPath, uint32_t outPa… in MakeSubPath() argument 701 if (strncat_s(outPath, outPathLen, tmpPath, strlen(tmpPath)) != EOK) { in MakeSubPath()
|