Searched refs:path (Results 1 - 25 of 1236) sorted by last modified time

1234567891011>>

/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/
H A DIMAPFolder.cpp50 status_t Init(const BPath& path, entry_ref& ref) argument
57 fPath = path;
344 BPath path; local
345 status_t status = path.SetTo(&fRef);
350 status = temporaryFile.Init(path, ref);
448 BPath path(&ref);
449 printf("IMAP: write body to %s\n", path.Path());
/haiku/src/servers/app/font/
H A DGlobalFontManager.cpp227 // path names of the styles in that directory
328 const char* path)
336 BEntry entry(path);
400 BPath path(&entry);
401 if (path.GetParent(&path) != B_OK
402 || _CreateDirectories(path.Path()) != B_OK
660 BPath path; local
661 if (find_directory(B_SYSTEM_FONTS_DIRECTORY, &path, true) == B_OK)
662 _AddPath(path
327 _AddDefaultMapping(const char* family, const char* style, const char* path) argument
787 _AddPath(const char* path) argument
864 _CreateDirectories(const char* path) argument
1019 BPath path; local
[all...]
H A DFontStyle.h41 FontStyle(node_ref& nodeRef, const char* path,
H A DFontStyle.cpp27 \param filepath path to a font file
31 FontStyle::FontStyle(node_ref& nodeRef, const char* path, FT_Face face, argument
36 fPath(path),
135 \brief Returns the path to the style's font file
136 \return The style's font file path
146 \brief Updates the path of the font style in case the style
H A DFontManager.h73 const char* path,
H A DFontManager.cpp298 FontManager::_AddFont(FT_Face face, node_ref nodeRef, const char* path, argument
325 FontStyle* style = new (std::nothrow) FontStyle(nodeRef, path, face, this);
/haiku/src/servers/app/
H A DServerApp.cpp672 // path to decorator add-on
674 BString path; local
675 link.ReadString(path);
677 status_t error = gDecorManager.SetDecorator(path, fDesktop);
699 BString path; local
701 if (link.ReadString(path) == B_OK) {
703 error = settings.SetControlLook(path.String());
1583 // 1) char* - path to font on disk
3455 BString path; local
3456 status_t status = fDesktop->HWInterface()->GetAccelerantPath(path);
3470 BString path; local
[all...]
/haiku/src/preferences/screen/
H A DScreenWindow.cpp1248 BPath path; local
1249 status_t status = find_directory(B_USER_SETTINGS_DIRECTORY, &path, true);
1253 path.Append("kernel/drivers");
1254 status = create_directory(path.Path(), 0755);
1258 path.Append("vesa");
1260 status = file.SetTo(path.Path(), B_CREATE_FILE | B_WRITE_ONLY | B_ERASE_FILE);
/haiku/src/kits/tracker/
H A DWidgetAttributeText.cpp421 BPath path; local
425 && entry.GetPath(&path) == B_OK) {
426 tmp = path.Path();
647 // get the path
649 BPath path; local
651 if (entry.InitCheck() == B_OK && entry.GetPath(&path) == B_OK) {
652 *outString = path.Path();
676 BPath path; local
678 // get the original path
679 if (entry.InitCheck() == B_OK && FSGetOriginalPath(&entry, &path)
[all...]
H A DFSUtils.cpp1742 BPath path (destDir, name);
1743 BDirectory subDir (path.Path());
1795 BPath path; local
1796 entry->GetPath(&path);
1822 BString srcString(path.Path());
1823 srcString.RemoveLast(path.Leaf());
1858 source.Append(path.Leaf());
1870 err = destDir->CreateSymLink(name, path.Path(), &link);
2146 BPath path; local
2147 // Get path o
2780 BPath path; local
2797 BPath path; local
2832 BPath path; local
2852 BPath path; local
2863 BPath path; local
2884 BPath path; local
2905 BPath path; local
2921 BPath path; local
2935 FSFindTrackerSettingsDir(BPath* path, bool autoCreate) argument
3110 FSRecursiveCreateFolder(BPath path) argument
3539 BPath path; local
4096 BPath path; local
4113 BPath path; local
4128 AddOne(directory_which which, const char* path, const char* name) argument
[all...]
H A DContainerWindow.cpp153 BPath path; local
158 result = entry.GetPath(&path);
162 image_id addOnImage = load_add_on(path.Path());
191 BPath path; local
203 result = entry.GetPath(&path);
207 addOnImage = load_add_on(path.Path());
271 BPath path; local
274 result = entry.GetPath(&path);
277 image_id addOnImage = load_add_on(path.Path());
952 // set title to full path, i
955 BPath path; local
2296 BPath path; local
3530 BPath path; local
[all...]
H A DFilePanelPriv.cpp227 BPath path; local
228 if (find_directory(B_USER_DIRECTORY, &path) == B_OK) {
229 BEntry entry(path.Path(), true);
350 BPath path(&entry);
368 panel->SetSaveText(path.Leaf());
1275 // so we follow the same path as if the user
1329 BPath path; local
1330 if (find_directory(B_USER_SETTINGS_DIRECTORY, &path, true)
1335 path.Append(kGoDirectory);
1336 BDirectory goDirectory(path
1351 BPath path; local
[all...]
/haiku/src/apps/poorman/
H A DPoorManWindow.cpp489 BPath path; local
506 entry.GetPath(&path);
507 path.Append(name);
509 if (!(f = fopen(path.Path(), "w")))
/haiku/src/apps/installer/
H A DInstallerWindow.cpp673 BPath path; local
674 if (find_directory(B_SYSTEM_APPS_DIRECTORY, &path) != B_OK
675 || path.Append("DriveSetup") != B_OK) {
676 path.SetTo("/boot/system/apps/DriveSetup");
678 BEntry entry(path.Path());
702 BPath path; local
703 if (find_directory(B_SYSTEM_APPS_DIRECTORY, &path) != B_OK
704 || path.Append("BootManager") != B_OK) {
705 path.SetTo("/boot/system/apps/BootManager");
707 BEntry entry(path
[all...]
/haiku/src/apps/drivesetup/
H A DDiskView.cpp277 BPath path; local
278 partition->GetPath(&path);
280 const char* encrypter = EncryptionType(path.Path());
/haiku/src/apps/diskprobe/
H A DProbeView.cpp282 BPath path(&fRef);
283 status = get_device_icon(path.Path(), fBitmap, B_LARGE_ICON);
429 BPath path(ref);
430 BString string = path.Path();
/haiku/src/apps/aboutsystem/
H A DAboutSystem.cpp334 BPath& path);
1074 BPath path; local
1075 if (find_directory(B_BEOS_LIB_DIRECTORY, &path) == B_OK) {
1076 path.Append("libbe.so");
1081 if (file.SetTo(path.Path(), B_READ_ONLY) == B_OK
1483 BPath path; local
1484 if (find_directory(B_SYSTEM_DATA_DIRECTORY, &path) != B_OK)
1485 path = "/system/data";
1486 path.Append("fortunes");
1487 path
2090 _GetLicensePath(const char* license, BPath& path) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A Dkernel_interface.cpp398 const char *path, int mode)
400 FUNCTION(("name: `%s', path: `%s'\n", name, path));
429 error = dir->CreateSymLink(name, path, &symLink);
397 ramfs_create_symlink(fs_volume* _volume, fs_vnode* _dir, const char *name, const char *path, int mode) argument
/haiku/src/tests/kits/storage/
H A DFindDirectoryTest.cpp112 BPath path;
113 error = find_directory(directories[i], &path, false, &volume);
115 printf("%4d: `%s'\n", directories[i], path.Path());
124 test_find_directory(directory_which dir, BPath &path, dev_t device) argument
140 path.SetTo(homePath.Path(), "Desktop");
158 path.SetTo(homePath.Path(), "Desktop/Trash");
164 path.SetTo(recycledPath.Path(), "_BEOS_");
173 error = path.SetTo("/boot/beos");
176 error = path.SetTo("/boot/beos/system");
179 error = path
308 BPath path; local
352 BPath path; local
367 BPath path; local
[all...]
/haiku/src/system/libroot/os/
H A Dfind_directory.cpp198 create_path(const char *path, mode_t mode) argument
203 if (path == NULL || ((pathLength = strlen(path)) > B_PATH_NAME_LENGTH))
211 char *slash = strchr(&path[i], '/');
216 else if (i != slash - path)
217 i = slash - path;
221 strlcpy(buffer, path, i + 1);
498 // append (remainder of) template path
680 // append (remainder of) template path
/haiku/headers/os/storage/
H A DFindDirectory.h183 status_t find_path_for_path(const char* path, path_base_directory baseDirectory,
186 status_t find_path_for_path_etc(const char* path, const char* dependency,
207 status_t find_directory(directory_which which, BPath* path,
/haiku/src/tools/fs_shell/
H A Dvfs.cpp107 making the access path vnode->mount->covers_vnode->mount->... safe if a
246 static fssh_status_t vnode_path_to_vnode(struct vnode *vnode, char *path,
251 static fssh_status_t fd_and_path_to_vnode(int fd, char *path,
995 /** \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
998 * the entry identified by the original path, and into the buffer \a filename
1000 * Neither the returned path nor the leaf name can be expected to be
1003 * \param path The path t
1012 get_dir_path_and_leaf(char *path, char *filename) argument
1093 vnode_path_to_vnode(struct vnode *vnode, char *path, bool traverseLeafLink, int count, struct vnode **_vnode, fssh_vnode_id *_parentID) argument
1247 path_to_vnode(char *path, bool traverseLink, struct vnode **_vnode, fssh_vnode_id *_parentID, bool kernel) argument
1291 path_to_dir_vnode(char *path, struct vnode **_vnode, char *filename, bool kernel) argument
1327 fd_and_path_to_dir_vnode(int fd, char *path, struct vnode **_vnode, char *filename, bool kernel) argument
1448 char *path = pathBuffer.LockBuffer(); local
1634 fd_and_path_to_vnode(int fd, char *path, bool traverseLeafLink, struct vnode **_vnode, fssh_vnode_id *_parentID, bool kernel) argument
2350 vfs_get_vnode_from_path(const char *path, bool kernel, void **_vnode) argument
2450 vfs_get_fs_node_from_path(fssh_fs_volume *volume, const char *path, bool kernel, void **_node) argument
2512 char *path; local
2608 vfs_normalize_path(const char *path, char *buffer, fssh_size_t bufferSize, bool kernel) argument
2732 vfs_entry_ref_to_path(fssh_dev_t device, fssh_ino_t inode, const char *leaf, bool kernel, char *path, fssh_size_t pathLength) argument
3097 file_create(int fd, char *path, int openMode, int perms, bool kernel) argument
3143 file_open(int fd, char *path, int openMode, bool kernel) argument
3288 dir_create(int fd, char *path, int perms, bool kernel) argument
3338 dir_open(int fd, char *path, bool kernel) argument
3471 dir_remove(int fd, char *path, bool kernel) argument
3701 common_read_link(int fd, char *path, char *buffer, fssh_size_t *_bufferSize, bool kernel) argument
3722 common_create_symlink(int fd, char *path, const char *toPath, int mode, bool kernel) argument
3748 common_create_link(char *path, char *toPath, bool kernel) argument
3785 common_unlink(int fd, char *path, bool kernel) argument
3809 common_access(char *path, int mode, bool kernel) argument
3830 common_rename(int fd, char *path, int newFD, char *newPath, bool kernel) argument
3905 common_path_read_stat(int fd, char *path, bool traverseLeafLink, struct fssh_stat *stat, bool kernel) argument
3931 common_path_write_stat(int fd, char *path, bool traverseLeafLink, const struct fssh_stat *stat, int statMask, bool kernel) argument
3955 attr_dir_open(int fd, char *path, bool kernel) argument
4555 fs_mount(char *path, const char *device, const char *fsName, uint32_t flags, const char *args, bool kernel) argument
4734 fs_unmount(char *path, uint32_t flags, bool kernel) argument
5031 set_cwd(int fd, char *path, bool kernel) argument
5082 _kern_mount(const char *path, const char *device, const char *fsName, uint32_t flags, const char *args, fssh_size_t argsLength) argument
5094 _kern_unmount(const char *path, uint32_t flags) argument
5173 _kern_open(int fd, const char *path, int openMode, int perms) argument
5228 _kern_open_dir(int fd, const char *path) argument
5289 _kern_create_dir(int fd, const char *path, int perms) argument
5300 _kern_remove_dir(int fd, const char *path) argument
5334 _kern_read_link(int fd, const char *path, char *buffer, fssh_size_t *_bufferSize) argument
5365 _kern_create_symlink(int fd, const char *path, const char *toPath, int mode) argument
5384 _kern_create_link(const char *path, const char *toPath) argument
5411 _kern_unlink(int fd, const char *path) argument
5454 _kern_access(const char *path, int mode) argument
5485 _kern_read_stat(int fd, const char *path, bool traverseLeafLink, fssh_struct_stat *stat, fssh_size_t statSize) argument
5554 _kern_write_stat(int fd, const char *path, bool traverseLeafLink, const fssh_struct_stat *stat, fssh_size_t statSize, int statMask) argument
5599 _kern_open_attr_dir(int fd, const char *path) argument
5679 _kern_setcwd(int fd, const char *path) argument
5732 _kern_entry_ref_to_path(fssh_dev_t device, fssh_ino_t inode, const char *leaf, char* path, fssh_size_t pathLength) argument
[all...]
H A Dfssh.cpp333 // construct path, if a leaf name is given
334 std::string path; local
336 path = file;
337 path += '/';
338 path += name;
339 file = path.c_str();
422 create_file(const char* path) argument
426 fssh_status_t error = _kern_read_stat(-1, path, false, &st, sizeof(st));
431 fprintf(stderr, "TODO file/directory exists. update time stamp\n", path);
436 int fd_or_error = _kern_open(-1, path, FSSH_O_CREA
452 create_dir(const char* path, bool createParents) argument
1222 char path[FSSH_B_PATH_NAME_LENGTH]; local
[all...]
/haiku/src/system/kernel/device_manager/
H A Ddevice_manager.cpp167 status_t _AddPath(Stack<KPath*>& stack, const char* path,
172 status_t _FindBestDriver(const char* path,
176 status_t _RegisterPath(const char* path);
395 KPath path("drivers");
396 if (path.Append(subPath) != B_OK)
399 size_t length = strlen(path.Path()) + 1;
402 void* list = open_module_list_etc(path.Path(), "driver_v1");
414 path.SetTo(subPath);
415 path.Append(leaf);
417 devfs_publish_directory(path
736 publish_device(device_node *node, const char *path, const char *moduleName) argument
786 unpublish_device(device_node *node, const char *path) argument
1262 char* path = NULL; local
1612 KPath* path = new(std::nothrow) KPath; local
1784 KPath* path; local
1825 _FindBestDriver(const char* path, driver_module_info*& bestDriver, float& bestSupport, device_node* previous) argument
1859 _RegisterPath(const char* path) argument
2438 device_manager_probe(const char* path, uint32 updateCycle) argument
[all...]
/haiku/src/apps/showimage/
H A DShowImageWindow.cpp794 BPath path(fImageView->Image());
795 SetTitle(path.Path());
1222 BPath path(&entry);
1223 const char* filename = path.Leaf();
1277 BPath path(&dirRef);
1278 settings->SetString("SaveDirectory", path.Path());

Completed in 113 milliseconds

1234567891011>>