Searched refs:directory (Results 1 - 25 of 287) sorted by relevance

1234567891011>>

/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DEntryRef.cpp28 if (device < 0 || directory < 0)
38 hash = 17 * hash + (uint32)(directory >> 32);
39 hash = 17 * hash + (uint32)directory;
58 directory = nodeID;
67 directory = ref.directory;
82 directory = ref.directory;
/haiku/headers/private/storage/
H A DNotOwningEntryRef.h32 NotOwningEntryRef(dev_t device, ino_t directory, const char* name) argument
34 SetTo(device, directory, name);
52 NotOwningEntryRef& SetTo(dev_t device, ino_t directory, const char* name) argument
55 this->directory = directory;
67 return node_ref(device, directory);
73 directory = directoryRef.node;
79 return SetTo(other.device, other.directory, other.name);
H A DNodeMonitorHandler.h22 static status_t make_entry_ref(dev_t device, ino_t directory,
29 virtual void EntryCreated(const char *name, ino_t directory,
31 virtual void EntryRemoved(const char *name, ino_t directory,
39 ino_t directory);
/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
686 font_directory* directory = fDirectories.ItemAt(i); local
701 _AddFont(font_directory& directory, BEntry& entry) argument
759 font_directory* directory = fDirectories.ItemAt(i); local
770 _RemoveDirectory(font_directory* directory) argument
914 BDirectory directory; local
[all...]
/haiku/src/kits/debugger/files/
H A DFileManager.cpp25 const char* directory; member in struct:FileManager::EntryPath
28 EntryPath(const char* directory, const char* name) argument
30 directory(directory),
35 EntryPath(const BString& directory, const BString& name) argument
37 directory(directory.Length() > 0 ? directory.String() : NULL),
44 directory(NULL),
49 directory
175 BString directory; local
208 _LocateDirectory(LocatableDirectory* directory, const BString& locatedPath, bool implicit) argument
235 LocatableDirectory* directory local
272 _LocateEntries(LocatableDirectory* directory, const BString& locatedPath, bool implicit) argument
312 LocatableDirectory* directory = _GetDirectory(normalizedDirPath); local
340 LocatableDirectory* directory local
357 LocatableDirectory* directory = new(std::nothrow) LocatableDirectory( local
609 GetTargetFile(const BString& directory, const BString& relativePath) argument
635 GetSourceFile(const BString& directory, const BString& relativePath) argument
[all...]
/haiku/src/tools/fs_shell/
H A Dnode_monitor.cpp11 fssh_notify_entry_created(fssh_mount_id device, fssh_vnode_id directory, argument
19 fssh_notify_entry_removed(fssh_mount_id device, fssh_vnode_id directory, argument
53 fssh_mount_id device, fssh_vnode_id directory, const char *name,
62 fssh_mount_id device, fssh_vnode_id directory, const char *name,
71 fssh_mount_id device, fssh_vnode_id directory, const char *name,
52 fssh_notify_query_entry_created(fssh_port_id port, int32_t token, fssh_mount_id device, fssh_vnode_id directory, const char *name, fssh_vnode_id node) argument
61 fssh_notify_query_entry_removed(fssh_port_id port, int32_t token, fssh_mount_id device, fssh_vnode_id directory, const char *name, fssh_vnode_id node) argument
70 fssh_notify_query_attr_changed(fssh_port_id port, int32_t token, fssh_mount_id device, fssh_vnode_id directory, const char *name, fssh_vnode_id node) argument
/haiku/src/kits/storage/mime/
H A DMimeEntryProcessor.cpp56 BDirectory directory; local
57 error = directory.SetTo(&entry);
62 while (directory.GetNextRef(&childEntry) == B_OK)
H A DDatabaseDirectory.cpp48 BString directory = directories.StringAt(i); local
50 directory << '/' << superType;
52 AddDirectory(directory);
/haiku/src/apps/terminal/
H A DTitlePlaceholderMapper.cpp33 // current working directory
37 BString directory(fProcessInfo.CurrentDirectory());
39 int32 index = directory.Length();
41 index = directory.FindLast('/', index - 1);
45 if (number == 0 && index >= 0 && index + 1 < directory.Length())
46 directory.Remove(0, index + 1);
49 _string = directory;
/haiku/src/kits/app/
H A DMessageUtils.cpp43 if (*size < sizeof(ref->device) + sizeof(ref->directory))
48 memcpy((void *)buffer, (const void *)&ref->directory, sizeof(ref->directory));
49 buffer += sizeof(ref->directory);
50 *size -= sizeof(ref->device) + sizeof(ref->directory);
61 *size = sizeof(ref->device) + sizeof(ref->directory) + nameLength;
70 if (size < sizeof(ref->device) + sizeof(ref->directory)) {
77 memcpy((void *)&ref->directory, (const void *)buffer,
78 sizeof(ref->directory));
79 buffer += sizeof(ref->directory);
[all...]
/haiku/src/tests/system/kernel/file_corruption/fs/
H A DNotifications.cpp16 EntryCreatedNotification::EntryCreatedNotification(Directory* directory, argument
19 fDirectory(directory),
37 EntryRemovedNotification::EntryRemovedNotification(Directory* directory, argument
40 fDirectory(directory),
/haiku/src/servers/bluetooth/
H A DDeviceManager.cpp42 || (msg->FindInt64("directory", &ref.directory)!=B_OK)
50 // Check if the entry is a File or a directory
85 BDirectory directory(nref);
86 status_t status = directory.InitCheck();
105 while ((error = directory.GetNextRef(&ref)) == B_OK) {
119 BDirectory directory(nref);
120 status_t status = directory.InitCheck();
129 while (directory.GetNextEntry(&entry, true) == B_OK) {
135 msg.AddInt64("directory", nre
198 BDirectory directory; local
277 BDirectory directory; local
[all...]
/haiku/headers/os/add-ons/tracker/
H A DTrackerAddOn.h14 void process_refs(entry_ref directory, BMessage* refs, void* reserved);
/haiku/src/system/boot/loader/
H A Delf.h14 extern status_t elf_load_image(Directory* directory, const char* path);
/haiku/src/build/libbe/storage/
H A DMergedDirectory.cpp72 BMergedDirectory::AddDirectory(BDirectory* directory) argument
74 return fDirectories.AddItem(directory) ? B_OK : B_NO_MEMORY;
81 BDirectory* directory = new(std::nothrow) BDirectory(path); local
82 if (directory == NULL)
84 ObjectDeleter<BDirectory> directoryDeleter(directory);
86 if (directory->InitCheck() != B_OK)
87 return directory->InitCheck();
89 status_t error = AddDirectory(directory);
190 for (int32 i = 0; BDirectory* directory = fDirectories.ItemAt(i); i++)
191 directory
[all...]
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DEntryIterator.cpp12 EntryIterator::EntryIterator(Directory *directory) argument
13 : fDirectory(directory),
29 EntryIterator::SetTo(Directory *directory) argument
32 status_t error = (directory ? B_OK : B_BAD_VALUE);
34 fDirectory = directory;
H A DEntryIterator.h17 EntryIterator(Directory *directory = NULL);
20 status_t SetTo(Directory *directory);
/haiku/src/kits/debugger/dwarf/
H A DCompilationUnit.cpp79 CompilationUnit::AddDirectory(const char* directory) argument
81 BString* directoryString = new(std::nothrow) BString(directory);
102 BString* directory = fDirectories.ItemAt(index); local
103 return directory != NULL ? directory->String() : NULL;
/haiku/src/kits/storage/
H A DNodeMonitorHandler.cpp9 NodeMonitorHandler::make_entry_ref(dev_t device, ino_t directory, argument
14 ref->directory = directory;
88 NodeMonitorHandler::EntryCreated(const char *name, ino_t directory, argument
96 NodeMonitorHandler::EntryRemoved(const char *name, ino_t directory, argument
128 ino_t directory)
149 ino_t directory; local
153 (msg->FindInt64("directory", &directory) != B_OK) ||
158 EntryCreated(name, directory, devic
127 DeviceMounted(dev_t new_device, dev_t device, ino_t directory) argument
167 ino_t directory; local
241 ino_t directory; local
[all...]
H A DMergedDirectory.cpp73 BMergedDirectory::AddDirectory(BDirectory* directory) argument
75 return fDirectories.AddItem(directory) ? B_OK : B_NO_MEMORY;
82 BDirectory* directory = new(std::nothrow) BDirectory(path); local
83 if (directory == NULL)
85 ObjectDeleter<BDirectory> directoryDeleter(directory);
87 if (directory->InitCheck() != B_OK)
88 return directory->InitCheck();
90 status_t error = AddDirectory(directory);
123 ref->directory = entry->d_pino;
183 for (int32 i = 0; BDirectory* directory
[all...]
H A DEntryOperationEngineBase.cpp28 BEntryOperationEngineBase::Entry::Entry(const BDirectory& directory, argument
31 fDirectory(&directory),
92 BDirectory directory; local
93 error = directory.SetTo(fDirectoryRef);
95 error = buffer.SetTo(&directory, fPath);
141 // get the directory path
146 BDirectory directory; local
147 error = directory.SetTo(fDirectoryRef);
149 error = directory.GetEntry(&entry);
/haiku/src/tools/
H A Dgenerate_attribute_stores.cpp42 recurse_directory(BDirectory &directory, uint8 *copyBuffer) argument
49 directory.Rewind();
51 while (directory.GetNextRef(&ref) == B_OK) {
73 directory.CreateDirectory(ATTRIBUTE_DIR_NAME, NULL);
74 if (!directory.Contains(ATTRIBUTE_DIR_NAME,
76 printf("attribute store directory not available\n");
80 attributeDir.SetTo(&directory, ATTRIBUTE_DIR_NAME);
138 printf("usage: %s <root directory>\n", argv[0]);
/haiku/headers/private/shared/
H A DTrackerAddOnAppLaunch.h17 process_refs(entry_ref directory, BMessage* refs, void* reserved) argument
23 // The "directory" entry_ref holds the entry_ref of the folder from where
29 refs->AddRef("dir_ref", &directory);
/haiku/src/servers/launch/
H A DAbstractEmptyDirectoryJob.cpp31 fprintf(stderr, "Cannot create directory \"%s\": %s\n", path,
45 BDirectory directory(&directoryEntry);
47 while (directory.GetNextEntry(&entry) == B_OK) {
/haiku/src/add-ons/input_server/devices/virtualkeyboard/
H A DVirtualKeyboardWindow.cpp88 BDirectory directory; local
89 if (directory.SetTo(path.Path()) == B_OK)
90 _LoadLayoutMenu(menu, directory);
96 VirtualKeyboardWindow::_LoadLayoutMenu(BMenu* menu, BDirectory directory) argument
100 while (directory.GetNextRef(&ref) == B_OK) {
127 BDirectory directory; local
130 if (directory.SetTo(path.Path()) == B_OK) {
131 while (directory.GetNextRef(&ref) == B_OK) {

Completed in 315 milliseconds

1234567891011>>