Lines Matching refs:sourceNode

988 copy_attribute(const char *source, Node *sourceNode, const char *target,
1013 fssh_ssize_t bytesRead = sourceNode->ReadAttr(name, info.type, pos,
1039 copy_attributes(const char *source, Node *sourceNode, const char *target,
1044 while ((numRead = sourceNode->GetNextAttr(name, sizeof(name))) > 0) {
1047 fssh_status_t error = sourceNode->GetAttrInfo(name, info);
1055 error = copy_attribute(source, sourceNode, target, targetNode, name,
1081 Node *sourceNode;
1084 sourceNode);
1090 NodeDeleter sourceDeleter(sourceNode);
1114 if (sourceNode->IsDirectory() && targetNode->IsDirectory()) {
1131 } else if (sourceNode->IsFile() && targetNode->IsFile()) {
1154 if (sourceNode->IsFile()) {
1157 error = targetDomain->CreateFile(target, sourceNode->Stat(), file);
1163 } else if (sourceNode->IsDirectory()) {
1173 error = targetDomain->CreateDirectory(target, sourceNode->Stat(),
1180 } else if (sourceNode->IsSymLink()) {
1182 SymLink *sourceLink = sourceNode->ToSymLink();
1195 sourceNode->Stat(), link);
1213 error = copy_attributes(source, sourceNode, target, targetNode);
1219 if (sourceNode->IsFile()) {
1220 error = copy_file_contents(source, sourceNode->ToFile(), target,
1222 } else if (sourceNode->IsDirectory()) {
1224 sourceNode->ToDirectory(), targetDomain, target, options);
1383 Node *sourceNode;
1386 sourceNode);
1392 NodeDeleter sourceDeleter(sourceNode);
1395 error = copy_attributes(source, sourceNode, target, targetNode);
1414 Node *sourceNode;
1418 sourceNode);
1424 NodeDeleter sourceDeleter(sourceNode);
1427 Directory *sourceDir = sourceNode->ToDirectory();