Searched refs:destFilePath (Results 1 – 4 of 4) sorted by relevance
| /base/hiviewdfx/hiview/service/ |
| D | hiview_service.h | 37 int32_t Copy(const std::string& srcFilePath, const std::string& destFilePath); 38 int32_t Move(const std::string& srcFilePath, const std::string& destFilePath); 63 int CopyFile(const std::string& srcFilePath, const std::string& destFilePath);
|
| D | hiview_service.cpp | 226 int32_t HiviewService::CopyFile(const std::string& srcFilePath, const std::string& destFilePath) in CopyFile() argument 239 int destFd = open(destFilePath.c_str(), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR | S_IROTH); in CopyFile() 241 HIVIEW_LOGE("failed to open destination file, des=%{public}s", destFilePath.c_str()); in CopyFile() 268 int32_t HiviewService::Copy(const std::string& srcFilePath, const std::string& destFilePath) in Copy() argument 270 return CopyFile(srcFilePath, destFilePath); in Copy() 273 int32_t HiviewService::Move(const std::string& srcFilePath, const std::string& destFilePath) in Move() argument 275 int copyResult = CopyFile(srcFilePath, destFilePath); in Move() 283 bool destResult = FileUtil::RemoveFile(destFilePath); in Move()
|
| /base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/ |
| D | hap_crl_manager_test.cpp | 40 CopyFileState CopyFile(const std::string& sourceFilePath, const std::string& destFilePath) in CopyFile() argument 48 dest.open(destFilePath.c_str(), std::ios::binary | std::ios::out | std::ios::trunc); in CopyFile()
|
| /base/print/print_fwk/services/print_service/src/ |
| D | print_cups_client.cpp | 179 std::string destFilePath = std::string(destDir) + "/" + std::string(file->d_name); in CopyDirectory() local 183 CopyDirectory(srcFilePath.c_str(), destFilePath.c_str()); in CopyDirectory() 184 chmod(destFilePath.c_str(), filestat.st_mode); in CopyDirectory() 195 FILE *destFile = fopen(destFilePath.c_str(), "wb"); in CopyDirectory() 207 chmod(destFilePath.c_str(), filestat.st_mode); in CopyDirectory()
|