Lines Matching refs:destination

175 PackageItem::InitPath(const char* path, BPath* destination)
186 ret = destination->SetTo(path, fPath.String());
192 ret = destination->SetTo(fPath.String());
208 ret = destination->SetTo(mountPoint.Path(), fPath.String());
218 BString pathString(destination->Path());
249 destination->SetTo(pathString.String());
258 PackageItem::HandleAttributes(BPath *destination, BNode *node,
263 BVolume volume(dev_for_path(destination->Path()));
301 destination->Path());
815 BPath &destination = state->destination;
819 ret = InitPath(path, &destination);
826 ret = create_directory(destination.Path(), kDefaultMode);
830 BDirectory dir(destination.Path());
842 ret = HandleAttributes(&destination, &dir, "FoDa");
880 BPath& destination = state->destination;
885 if (state->status == B_NO_INIT || destination.InitCheck() != B_OK) {
886 ret = InitPath(path, &destination);
890 ret = file.SetTo(destination.Path(),
894 destination.GetParent(&directory);
898 ret = file.SetTo(destination.Path(), B_WRITE_ONLY | B_CREATE_FILE);
909 ret = file.SetTo(destination.Path(),
1046 BPath &destination = state->destination;
1049 if (state->status == B_NO_INIT || destination.InitCheck() != B_OK
1052 ret = InitPath(path, &destination);
1056 BString linkName(destination.Leaf());
1057 parser_debug("%s:%s:%s\n", fPath.String(), destination.Path(),
1061 ret = destination.GetParent(&dirPath);
1072 parser_debug("destination InitCheck failed %s for %s\n",
1077 ret = dir->CreateSymLink(destination.Path(), fLink.String(), &symlink);
1081 symlink.SetTo(destination.Path());
1099 ret = entry.SetTo(destination.Path());
1104 ret = dir->CreateSymLink(destination.Path(), fLink.String(),
1143 ret = HandleAttributes(&destination, &symlink, "LnDa");