Lines Matching defs:destPath
121 const char* destPath;
122 error = destEntry.GetPath(destPathBuffer, destPath);
126 return _CopyEntry(sourcePath, destPath);
131 BCopyEngine::_CopyEntry(const char* sourcePath, const char* destPath)
146 bool destExists = lstat(destPath, &destStat) == 0;
157 "way.\n", sourcePath, destPath);
168 sourcePath, destPath);
174 if (unlink(destPath) < 0) {
176 "Failed to unlink \"%s\": %s\n", destPath, strerror(errno));
213 error = BDirectory().CreateDirectory(destPath, &destDir);
216 "Failed to make directory \"%s\": %s\n", destPath,
223 error = BDirectory().CreateFile(destPath, &destFile);
226 "Failed to create file \"%s\": %s\n", destPath,
233 error = _CopyFileData(sourcePath, sourceFile, destPath, destFile);
255 error = BDirectory().CreateSymLink(destPath, linkTo, &destSymLink);
258 "Failed to create symlink \"%s\": %s\n", destPath,
270 error = _CopyAttributes(sourcePath, *sourceNode, destPath, *destNode);
312 error = destEntryPath.SetTo(destPath, entry->d_name);
316 "\"%s\": %s\n", destPath, entry->d_name, strerror(error));
339 const char* destPath, BFile& destination)
358 destPath, strerror(bytesWritten));
364 destPath);
375 const char* destPath, BNode& destination)
441 "\"%s\" of file \"%s\": %s\n", attrName, destPath,