Searched refs:directory (Results 201 - 225 of 287) sorted by relevance

1234567891011>>

/haiku/src/add-ons/kernel/file_systems/userlandfs/server/
H A Dkernel_emu.cpp131 dev_t device, ino_t oldDirectory, ino_t directory,
152 request->directory = directory;
215 int32 operation, dev_t device, ino_t directory, const char* name,
236 request->directory = directory;
130 notify_listener(int32 operation, uint32 details, dev_t device, ino_t oldDirectory, ino_t directory, ino_t node, const char* oldName, const char* name) argument
214 notify_query(port_id targetPort, int32 token, int32 operation, dev_t device, ino_t directory, const char* name, ino_t node) argument
/haiku/src/kits/tracker/
H A DNavMenu.cpp465 BDirectory* directory = dynamic_cast<BDirectory*>(startModel.Node()); local
467 ASSERT(directory != NULL);
469 if (directory != NULL)
470 fContainer = new DirectoryEntryList(*directory);
752 BDirectory directory(&fNavDir);
754 if (!directory.IsRootDirectory()
H A DDeskWindow.cpp132 LoadAddOnDir(BDirectory directory, BDeskWindow* window, argument
136 while (directory.GetNextEntry(&entry) == B_OK) {
174 directory.GetNodeRef(&nodeRef);
/haiku/src/tests/kits/storage/
H A DQueryTest.cpp382 directory(-1),
402 ino_t directory; member in class:QueryTestEntry
1310 entry->directory = ref.directory;
1326 entry->directory = -1;
1359 ino_t directory;
1360 CPPUNIT_ASSERT( message.FindInt64("directory", &directory)
1362 CPPUNIT_ASSERT( directory == entry->directory );
[all...]
H A DVolumeTest.cpp541 ino_t directory; local
545 CHK(message.FindInt64("directory", &directory) == B_OK);
549 CHK(directory == nodeRef.node);
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DDirectoryIterator.cpp49 DirectoryIterator::DirectoryIterator(Inode* directory, off_t start, argument
52 fDirectory(directory),
53 fVolume(directory->GetVolume()),
56 fNumBlocks(directory->Size() == 0 ? 0
57 : (directory->Size() - 1) / fBlockSize + 1),
201 TRACE("DirectoryIterator::Next() end of directory file\n");
296 TRACE("DirectoryIterator::AddEntry(): Creating index for directory\n");
299 TRACE("DirectoryIterator::AddEntry(): Enlarging directory\n");
/haiku/src/apps/installer/
H A DInstallerWindow.cpp872 BPath directory;
877 if (partition->GetMountPoint(&directory) != B_OK)
880 if (device.GetMountPoint(&directory) != B_OK)
885 directory.Append(kPackagesDirectoryPath);
886 BDirectory dir(directory.Path());
/haiku/src/apps/mediaplayer/playlist/
H A DFilePlaylistItem.cpp377 BDirectory directory(path.Path());
378 while (directory.GetNextEntry(&entry) == B_OK) {
576 // TODO: BEntry(const BDirectory* directory, const char* path) is broken!
592 nodeRef.node = (*refs)[i].directory;
/haiku/src/apps/webpositive/
H A DDownloadProgressView.cpp465 ino_t directory; local
469 || message->FindInt64("to directory",
470 reinterpret_cast<int64*>(&directory)) != B_OK
476 entry_ref ref(device, directory, name);
481 // Find out if the directory is the Trash for this
/haiku/src/kits/storage/mime/
H A DDatabaseLocation.cpp50 DatabaseLocation::AddDirectory(const BString& directory) argument
52 return !directory.IsEmpty() && fDirectories.Add(directory);
103 // user's settings directory. Copy the node.
776 // open/create the directory for the supertype
/haiku/src/add-ons/input_server/devices/keyboard/
H A DKeyboardInputDevice.cpp788 KeyboardInputDevice::_RecursiveScan(const char* directory) argument
791 TRACE("directory: %s\n", directory);
794 BDirectory dir(directory);
/haiku/src/add-ons/kernel/file_systems/ufs2/
H A Dkernel_interface.cpp207 Inode* directory = (Inode*)_directory->private_node; local
210 status_t status = directory->CheckPermissions(X_OK);
214 status = DirectoryIterator(directory).Lookup(name, _vnodeID);
264 // opening a directory read-only is allowed, although you can't read
641 /* directory operations */
650 /* attribute directory operations */
/haiku/src/system/boot/loader/
H A Delf.cpp695 elf_load_image(Directory* directory, const char* path) argument
699 TRACE(("elf_load_image(directory = %p, \"%s\")\n", directory, path));
701 int fd = open_from(directory, path, O_RDONLY);
/haiku/src/kits/locale/
H A DDefaultCatalog.cpp80 nref.node = catalogOwner.directory;
514 nref.node = appInfo.ref.directory;
/haiku/src/kits/package/
H A DCommitTransactionResult.cpp440 messageTemplate = "Failed to open directory \"%path1%\": %error%";
443 messageTemplate = "Failed to create directory \"%path1%\": %error%";
446 messageTemplate = "Failed to remove directory \"%path1%\": %error%";
449 messageTemplate = "Failed to move directory \"%path1%\" to"
575 BCommitTransactionResult::SetOldStateDirectory(const BString& directory) argument
577 fOldStateDirectory = directory;
H A DDaemonClient.cpp79 if ((error = reply.FindInt32("base directory device", &baseDirectoryDevice))
81 || (error = reply.FindInt64("base directory node", &baseDirectoryNode))
83 || (error = reply.FindInt32("packages directory device",
85 || (error = reply.FindInt64("packages directory node",
158 // open admin directory
161 entryRef.directory = info.PackagesDirectoryRef().node;
171 // create a transaction directory
/haiku/src/add-ons/input_server/devices/tablet/
H A DTabletInputDevice.cpp540 TabletInputDevice::_RecursiveScan(const char* directory) argument
545 BDirectory dir(directory);
/haiku/src/build/libbe/storage/
H A DDirectory.cpp102 error = set_dir_fd(_kern_open_dir_entry_ref(ref->device, ref->directory, ref->name));
292 // If the directory is initialized, get the canonical paths of the dir and
347 ref->directory = fDirNodeRef.node;
547 // refers to exists and is a directory. If it doesn't exist, we try
579 if (!entry.IsDirectory()) // but is no directory
H A DFile.cpp164 int fd = _kern_open_entry_ref(ref->device, ref->directory, ref->name,
/haiku/src/kits/storage/
H A DNode.cpp534 it will be reckoned off the directory identified by \a fd, otherwise off
535 the current working directory.
543 \param fd Either a directory FD or a value < 0. In the latter case \a path
546 relative to the directory specified by \a fd (if given) or to the
547 current working directory.
597 fFd = _kern_open_entry_ref(ref->device, ref->directory, ref->name,
601 fFd = _kern_open_entry_ref(ref->device, ref->directory, ref->name,
635 (if necessary) opens the attribute directory on the node's file
H A DDirectory.cpp105 fDirFd = _kern_open_dir_entry_ref(ref->device, ref->directory, ref->name);
237 // compare the directory's node ID with the ID of the root node of the FS
312 // If the directory is initialized, get the canonical paths of the dir and
367 ref->directory = entry->d_pino;
564 // refers to exists and is a directory. If it doesn't exist, we try
596 if (!entry.IsDirectory()) // but is no directory
H A DFile.cpp111 int fd = _kern_open_entry_ref(ref->device, ref->directory, ref->name,
/haiku/src/apps/terminal/
H A DPrefHandler.cpp202 // Just create the directory. Harmless if already there
550 PrefHandler::_LoadThemesFromDirectory(const BString &directory) argument
552 BDirectory *themes = new BDirectory(directory.String());
/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/add-ons/kernel/file_systems/netfs/server/
H A DClientConnection.h180 Directory* directory, int32* volumeIDs,

Completed in 178 milliseconds

1234567891011>>