Searched refs:directory (Results 1 - 25 of 287) sorted by last modified time

1234567891011>>

/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/
H A DIMAPFolder.cpp251 // TODO: copy it to the trash directory first!
386 BNode directory(&fRef);
387 status_t status = _WriteUInt32(directory, kLastUIDAttribute, uid);
524 BDirectory directory(&fRef);
526 while (directory.GetNextEntry(&entry) == B_OK) {
/haiku/src/servers/app/font/
H A DGlobalFontManager.cpp52 node_ref directory; member in struct:GlobalFontManager::font_directory
89 ref.directory = nodeRef.node;
162 || message->FindInt64("directory", &nodeRef.node) != B_OK
175 // a new directory to watch for us
179 font_directory* directory = _FindDirectory(nodeRef); local
180 if (directory == NULL) {
181 // unknown directory? how come?
185 _AddFont(*directory, entry);
192 // has the entry been moved into a monitored directory or has
199 || message->FindInt64("to directory",
205 font_directory* directory = _FindDirectory(nodeRef); local
277 font_directory* directory = _FindDirectory(nodeRef); local
310 font_directory* directory = fDirectories.ItemAt(i); local
396 font_directory* directory = _FindDirectory(nodeRef); local
485 _RemoveStyle(font_directory& directory, FontStyle* style) argument
504 font_directory* directory = _FindDirectory(nodeRef); local
688 font_directory* directory = fDirectories.ItemAt(i); local
703 _AddFont(font_directory& directory, BEntry& entry) argument
761 font_directory* directory = fDirectories.ItemAt(i); local
772 _RemoveDirectory(font_directory* directory) argument
916 BDirectory directory; local
[all...]
H A DFontStyle.cpp154 ref.directory = parentNodeRef.node;
/haiku/src/kits/tracker/
H A DFSUtils.cpp527 // we aren't copying into the same directory
712 // It was not a special directory/file after all. Allow renaming.
850 // user declined rename in system directory
854 // entry must have a parent directory
897 "directory."));
901 "directory."));
1118 && srcRef->directory == deststat.st_ino)) {
1290 // we are about to ignore this entire directory
1298 // fall through if not a directory
1408 SetupPoseLocation(ref.directory, destNodeRe
[all...]
H A DContainerWindow.cpp1629 // cannot cut files in root, trash or in a virtual directory
2294 BDirectory directory; local
2327 // the "Tracker" settings directory is only used to get its icon
2343 FSGetBootDeskDir(&directory);
2344 if (directory.InitCheck() == B_OK && directory.GetEntry(&entry) == B_OK
2365 && volume.GetRootDirectory(&directory) == B_OK
2366 && directory.GetEntry(&entry) == B_OK
2381 if (volume.GetRootDirectory(&directory) == B_OK
2382 && directory
[all...]
H A DFilePanelPriv.cpp213 // check for legal starting directory
328 // resolve it and see if it is a directory
344 // if not a directory, set to the parent, and select the child
363 // if the target directory is already current, we won't
402 message->FindInt64("to directory", (int64*)&dirNode.node);
408 // if current directory moved, update entry ref and menu
641 // No selection, but the current directory could be opened.
696 // add directory menu and menufield
1630 message.AddRef("directory", TargetModel()->EntryRef());
1683 // if we have only one directory an
[all...]
H A DPoseView.h94 // directory and this is a desktop pose view.
127 // re-use the pose view for a new directory
489 // in the case where the directory has been switched while
590 char* resultingName, BDirectory* directory, BMessage* message,
H A DTracker.cpp318 message.AddInt64("directory",
319 model.EntryRef()->directory);
H A DPoseView.cpp784 poseInfo.fInitedDirectory = model->EntryRef()->directory;
825 // and Trash pose on Desktop directory
1184 // set up a directory iteration
1193 BDirectory* directory = dynamic_cast<BDirectory*>(sourceModel.Node()); local
1195 ASSERT(directory != NULL);
1197 if (directory == NULL) {
1202 EntryListBase* entryList = new CachedDirectoryEntryList(*directory);
1405 // can be a directory or any other collection of entry_refs, such
1407 // other than standard directory iterations
1474 // this handles the case of a file panel when the directory i
4350 CreateClippingFile(BPoseView* poseView, BFile &result, char* resultingName, BDirectory* directory, BMessage* message, const char* fallbackName, bool setLocation, BPoint dropPoint) argument
[all...]
H A DFindPanel.cpp139 MostUsedNames(const char* fileName, const char* directory,
291 BDirectory directory(path.Path());
292 entry.SetTo(&directory, "default");
609 // create query file in the user's directory
659 && message->FindRef("directory", &dir) == B_OK
664 BDirectory directory(&dir);
665 BEntry entry(&directory, name);
1246 error = message->FindRef("directory", &dir);
1270 && message->FindRef("directory", &dir) == B_OK) {
1311 BDirectory directory(di
3250 MostUsedNames(const char* fileName, const char* directory, int32 maxCount) argument
[all...]
H A DDeskWindow.cpp132 LoadAddOnDir(BDirectory directory, BDeskWindow* window, argument
136 while (directory.GetNextEntry(&entry) == B_OK) {
174 directory.GetNodeRef(&nodeRef);
/haiku/src/apps/installer/
H A DInstallerWindow.cpp871 BPath directory;
876 if (partition->GetMountPoint(&directory) != B_OK)
879 if (device.GetMountPoint(&directory) != B_OK)
884 directory.Append(kPackagesDirectoryPath);
885 BDirectory dir(directory.Path());
/haiku/src/apps/diskprobe/
H A DProbeView.cpp1361 BDirectory directory; local
1363 if (directory.SetTo(&fEditor.AttributeRef()) == B_OK
1364 && directory.IsRootDirectory())
1365 directory.GetVolume(&volume);
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A Dkernel_interface.cpp408 // check directory
413 // directory deleted?
419 // check directory write permissions
464 // check directory
469 // directory deleted?
475 // check directory write permissions
515 // check directory write permissions
524 // unlink the entry, if it isn't a non-empty directory
560 // target directory deleted?
567 // check directory writ
[all...]
/haiku/src/tools/fs_shell/
H A Dvfs.cpp995 /** \brief Gets the directory path and leaf name for a given path.
997 * The supplied \a path is transformed to refer to the directory part of
1051 // get the directory vnode and let vnode_path_to_vnode() do the rest
1052 struct vnode *directory; local
1054 fssh_status_t status = get_vnode(mountID, directoryID, &directory, false);
1058 return vnode_path_to_vnode(directory, clonedName, false, 0, _vnode, NULL);
1138 // Check if we have the right to search the current directory vnode.
1140 // searching a directory is always allowed
1195 // Check if we start from the root directory or the current
1196 // directory ("vnod
2959 create_vnode(struct vnode *directory, const char *name, int openMode, int perms, bool kernel) argument
3079 struct vnode *directory; local
3100 struct vnode *directory; local
3474 struct vnode *directory; local
3752 struct vnode *directory, *vnode; local
[all...]
H A Dfssh.cpp430 // TODO file/directory exists. Update access/modification time
431 fprintf(stderr, "TODO file/directory exists. update time stamp\n", path);
486 // there is something left, which we can call a parent directory and
507 // make the directory
511 fprintf(stderr, "Error: Failed to make directory \"%s\": %s\n", path,
552 fprintf(stderr, "Error: Failed to read directory \"%s\": %s\n", name,
581 fprintf(stderr, "Error: \"%s\" is a directory.\n", entry);
591 // remove the directory
594 fprintf(stderr, "Error: Failed to remove directory \"%s\": %s\n",
639 fprintf(stderr, "Usage: %s <directory>\
642 const char* directory = argv[1]; local
1539 char directory[FSSH_B_PATH_NAME_LENGTH]; local
[all...]
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A Dkernel_interface.cpp383 Inode* directory = (Inode*)_directory->private_node; local
386 status_t status = directory->CheckPermissions(X_OK);
390 status = DirectoryIterator(directory).Lookup(name, strlen(name), _vnodeID);
393 entry_cache_add_missing(volume->ID(), directory->ID(), name);
396 entry_cache_add(volume->ID(), directory->ID(), name, *_vnodeID);
539 // opening a directory read-only is allowed, although you can't read
666 Inode* directory = (Inode*)_directory->private_node; local
668 status_t status = directory->CheckPermissions(W_OK);
676 status = DirectoryIterator(directory).Lookup(name, strlen(name), &id);
688 status = inode.Dereference(transaction, &path, directory
712 Inode* directory = (Inode*)_directory->private_node; local
757 Inode* directory = (Inode*)_directory->private_node; local
[all...]
/haiku/src/system/kernel/fs/
H A Dvfs.cpp1965 // Get current working directory from io context
1989 /*! \brief Gets the directory path and leaf name for a given path.
1991 The supplied \a path is transformed to refer to the directory part of
2058 // get the directory vnode and let vnode_path_to_vnode() do the rest
2059 struct vnode* directory; local
2061 status_t status = get_vnode(mountID, directoryID, &directory, true, false);
2065 return vnode_path_to_vnode(directory, clonedName, traverse, kernel,
2070 /*! Looks up the entry with name \a name in the directory represented by \a dir
2116 If the function fails and leafName is not NULL, \a _vnode contains the last directory,
2124 last existing directory i
5378 create_vnode(struct vnode* directory, const char* name, int openMode, int perms, bool kernel) argument
5560 struct vnode* directory; local
5580 VnodePutter directory; local
6124 VnodePutter directory; local
6491 VnodePutter directory; local
[all...]
/haiku/src/servers/package/
H A DCommitTransactionHandler.cpp225 // Clean up the unused empty transaction directory for first boot
262 // move packages to activate back to transaction directory
265 // move packages to deactivate back to packages directory
272 // well as the creation of the old state directory.
321 // check the transaction directory name -- we only allow a simple
322 // subdirectory of the admin directory
330 " directory name: \"%s\"\n", transactionDirectoryName.String());
334 // open the directory
337 BDirectory directory; local
338 status_t error = _OpenPackagesSubDirectory(directoryPath, false, directory);
1636 BDirectory directory; local
1653 BDirectory directory; local
1936 _TagPackageEntriesRecursively(BDirectory& directory, const BString& value, bool nonDirectoriesOnly) argument
2002 _AssertEntriesAreEqual(const BEntry& entry, const BDirectory* directory) argument
[all...]
H A DVolume.cpp112 BDirectory directory;
114 if (directory.SetTo(&fNodeRef) == B_OK
115 && directory.GetEntry(&entry) == B_OK) {
206 // open the root directory
207 BDirectory directory; local
208 error = directory.SetTo(&fRootDirectoryRef);
210 ERROR("Volume::Init(): failed to open root directory: %s\n",
215 // get the directory path
217 error = directory.GetEntry(&entry);
224 ERROR("Volume::Init(): failed to get root directory pat
715 BDirectory directory; local
1003 BDirectory directory; local
1457 BDirectory directory; local
[all...]
/haiku/src/apps/text_search/
H A DGrepWindow.cpp122 entry_ref directory;
123 _InitRefsReceived(&directory, message);
125 fModel->fDirectory = directory;
350 GrepWindow::_InitRefsReceived(entry_ref* directory, BMessage* message) argument
363 if (message->FindRef("dir_ref", 0, directory) == B_OK)
372 // ok, special case, we use this folder as base directory
374 *directory = ref;
919 // name. When the event occurs for a file in a watched directory,
1449 entry_ref directory;
1450 _InitRefsReceived(&directory, messag
[all...]
/haiku/src/servers/registrar/
H A DRecentEntries.cpp258 (*item)->ref.device, (*item)->ref.directory, (*item)->ref.name,
327 mapItem->first.device, mapItem->first.directory,
336 mapItem->first.device, mapItem->first.directory,
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A DFUSEVolume.cpp370 FUSENode* directory; member in struct:FUSEVolume::ReadDirBuffer
379 ReadDirBuffer(FUSEVolume* volume, FUSENode* directory, DirCookie* cookie, argument
383 directory(directory),
935 // lock the directory
1121 // lock the directory
1186 // lock the directory
1237 // lock the directory
1290 // lock the directories -- the target directory for writing, the node's
1344 // lock the directory
[all...]
/haiku/src/apps/haikudepot/util/
H A DStorageUtils.cpp130 HDERROR("the working directory at [%s] is not a directory",
142 /* This method will traverse the directory structure and will remove all of the
150 BDirectory directory(path.Path());
155 directory.GetNextEntry(&directoryEntry) != B_ENTRY_NOT_FOUND) {
187 /*! This function will delete all of the files in a directory except for the most
195 BDirectory directory(path.Path());
201 directory.GetNextEntry(&directoryEntry) != B_ENTRY_NOT_FOUND) {
250 * If the object is a directory then this value is also set to true.
294 It is assumed here that the directory containin
[all...]
/haiku/src/servers/app/drawing/interface/local/
H A DAccelerantHWInterface.h110 bool _RecursiveScan(const char* directory, int deviceNumber,

Completed in 254 milliseconds

1234567891011>>