/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/client/ |
H A D | ShareVolume.h | 74 virtual status_t Create(Node* dir, const char* name, 89 virtual status_t Link(Node* dir, const char* name, 91 virtual status_t Unlink(Node* dir, const char* name); 92 virtual status_t Symlink(Node* dir, const char* name, 100 virtual status_t MkDir(Node* dir, const char* name, 102 virtual status_t RmDir(Node* dir, const char* name); 110 virtual status_t Walk(Node* dir, const char* entryName,
|
H A D | Volume.cpp | 281 Volume::Create(Node* dir, const char* name, int openMode, int mode, argument 345 Volume::Link(Node* dir, const char* name, Node* node) argument 352 Volume::Unlink(Node* dir, const char* name) argument 359 Volume::Symlink(Node* dir, const char* name, const char* target) argument 386 Volume::MkDir(Node* dir, const char* name, int mode) argument 393 Volume::RmDir(Node* dir, const char* name) argument 436 Volume::Walk(Node* dir, const char* entryName, char** resolvedPath, argument
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/bt_fs/ |
H A D | nfs_add_on.c | 867 extern int fs_create(fs_nspace *ns, fs_node *dir, const char *name, int omode, int perms, vnode_id *vnid, argument 875 result = btLookup(ns, dir->vnid, name, vnid, &st); 880 create_node(ns, dir->vnid, name, *vnid, false); 913 error = btCreate(ns, dir->vnid, name, vnid, omode, perms, &st); 917 newNode = create_node(ns, dir->vnid, name, *vnid, true); 924 return notify_listener(B_ENTRY_CREATED, ns->nsid, dir->vnid, 0, *vnid, name); 928 extern int fs_unlink(fs_nspace *ns, fs_node *dir, const char *name) argument 937 error = btLookup(ns, dir->vnid, name, &vnid, &st); 941 create_node(ns, dir->vnid, name, vnid, false); 958 error = btUnlink(ns, dir 984 fs_mkdir(fs_nspace *ns, fs_node *dir, const char *name, int perms) argument 1046 fs_rmdir(fs_nspace *ns, fs_node *dir, const char *name) argument 1089 fs_symlink(fs_nspace *ns, fs_node *dir, const char *name, const char *path) argument [all...] |
/haiku-fatelf/src/bin/fwcontrol/ |
H A D | fwcrom.c | 87 #define CROM_END(cc) ((vm_offset_t)(cc)->stack[0].dir + MAX_ROM - 1) 108 cc->stack[0].dir = (struct csrdirectory *)p; 118 return (&ptr->dir->entry[ptr->index]); 138 ptr->dir = (struct csrdirectory *) (reg + reg->val); 146 if (ptr->index < ptr->dir->crc_len && 150 if (ptr->index < ptr->dir->crc_len) 318 struct csrdirectory *dir; local 340 dir = (struct csrdirectory *) (reg + reg->val); 341 crc = crom_crc((uint32_t *)&dir->entry[0], dir [all...] |
/haiku-fatelf/src/tests/kits/storage/ |
H A D | EntryTest.cpp | 129 static string get_shortest_relative_path(TestEntry *dir, TestEntry *entry); 393 BDirectory dir("/boot/home/Desktop"); 394 CPPUNIT_ASSERT( dir.InitCheck() == B_OK ); 395 BEntry entry(&dir, testEntry->cpath, traverse); 410 BDirectory dir(testEntry->super->cpath); 411 CPPUNIT_ASSERT( dir.InitCheck() == B_OK ); 412 BEntry entry(&dir, testEntry->cname, traverse); 427 BDirectory dir(testEntry->super->super->cpath); 428 CPPUNIT_ASSERT( dir.InitCheck() == B_OK ); 429 BEntry entry(&dir, entryNam 1415 BDirectory dir; local 1531 BDirectory dir; local 1636 BDirectory dir; local 1775 BDirectory dir; local 2126 get_entry_ref_for_entry(const char *dir, const char *leaf, entry_ref *ref) argument [all...] |
/haiku-fatelf/src/build/libroot/ |
H A D | fs_attr_generic.cpp | 37 // stat the dir 42 // the attribute dir base dir is no directory 130 // stat the dir 135 // the attribute dir is no directory 176 // make sure the attribute dir for the node exits 280 fs_close_attr_dir(DIR *dir) argument 282 return closedir(dir); 287 fs_read_attr_dir(DIR *dir) argument 292 entry = readdir(dir); 307 fs_rewind_attr_dir(DIR *dir) argument 529 DIR *dir = open_attr_dir(ref, (path ? realPath.c_str() : NULL), local [all...] |
/haiku-fatelf/src/bin/bash/lib/readline/examples/ |
H A D | fileman.c | 445 char dir[1024], *s; local 447 s = getcwd (dir, sizeof(dir) - 1); 450 printf ("Error getting pwd: %s\n", dir); 454 printf ("Current directory is %s\n", dir);
|
/haiku-fatelf/src/bin/coreutils/src/ |
H A D | stdbuf.c | 150 char *dir; local 152 for (dir = strtok (path, ":"); dir != NULL; dir = strtok (NULL, ":")) 154 char *candidate = file_name_concat (dir, arg, NULL);
|
/haiku-fatelf/src/bin/diffutils/src/ |
H A D | Makefile | 127 analyze.c context.c diff.c dir.c ed.c ifdef.c io.c \ 145 dir.$(OBJEXT) ed.$(OBJEXT) ifdef.$(OBJEXT) io.$(OBJEXT) \ 169 ./$(DEPDIR)/diff3.Po ./$(DEPDIR)/dir.Po \ 245 include ./$(DEPDIR)/dir.Po 315 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ 316 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 317 dir="/$$dir"; \ 318 $(mkinstalldirs) "$(distdir)$$dir"; \ [all...] |
H A D | dir.c | 37 char const **names; /* Sorted names of files in dir, followed by 0. */ 54 dir_read (struct file_data const *dir, struct dirdata *dirdata) argument 74 if (dir->desc != -1) 77 register DIR *reading = opendir (dir->name); 192 It gets three operands: CMP, name of file in dir 0, name of file in dir 1. 256 /* Compare next name in dir 0 with next name in dir 1. 257 At the end of a dir, 258 pretend the "next name" in that dir i [all...] |
/haiku-fatelf/src/bin/gdb/readline/examples/ |
H A D | fileman.c | 442 char dir[1024], *s; local 444 s = getcwd (dir, sizeof(dir) - 1); 447 printf ("Error getting pwd: %s\n", dir); 451 printf ("Current directory is %s\n", dir);
|
/haiku-fatelf/src/bin/ |
H A D | play.cpp | 49 BDirectory dir; local 50 dir.SetTo(directory); 51 if(dir.InitCheck() != B_NO_ERROR) { 54 dir.Rewind(); 56 while(dir.GetNextEntry(&entry) >= 0) {
|
/haiku-fatelf/src/build/libbe/storage/ |
H A D | File.cpp | 100 \param dir the BDirectory, relative to which the file's path name is 102 \param path the file's path name relative to \a dir 106 BFile::BFile(const BDirectory *dir, const char *path, uint32 openMode) argument 111 SetTo(dir, path, openMode); 264 \param dir the BDirectory, relative to which the file's path name is 266 \param path the file's path name relative to \a dir 269 - \c B_BAD_VALUE: \c NULL \a dir or \a path or bad \a openMode. 282 BFile::SetTo(const BDirectory *dir, const char *path, uint32 openMode) argument 286 if (!dir) 289 int fd = _kern_open(dir [all...] |
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/BeManager/ |
H A D | Groups.cpp | 101 DIR *dir; local 119 dir = OpenGroups(); 120 if (dir) 122 while ((dirInfo = ReadGroup(dir)) != NULL) 129 CloseGroups(dir);
|
H A D | Users.cpp | 101 DIR *dir; local 120 dir = OpenUsers(); 121 if (dir) 123 while ((dirInfo = ReadUser(dir)) != NULL) 131 CloseUsers(dir);
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/MyNetwork/ |
H A D | btAddOn.h | 91 int fs_create(fs_nspace *ns, fs_node *dir, const char *name, 94 int fs_unlink(fs_nspace *ns, fs_node *dir, const char *name); 98 int fs_mkdir(fs_nspace *ns, fs_node *dir, const char *name, int perms); 103 int fs_rmdir(fs_nspace *ns, fs_node *dir, const char *name); 106 int fs_symlink(fs_nspace *ns, fs_node *dir, const char *name,
|
/haiku-fatelf/src/kits/storage/ |
H A D | File.cpp | 75 BFile::BFile(const BDirectory *dir, const char* path, uint32 openMode) argument 79 SetTo(dir, path, openMode); 179 BFile::SetTo(const BDirectory* dir, const char* path, uint32 openMode) argument 183 if (!dir) 188 int fd = _kern_open(dir->fDirFd, path, openMode, DEFFILEMODE & ~__gUmask);
|
/haiku-fatelf/src/bin/network/ftp/ |
H A D | fetch.c | 309 * "file://host/dir/file" "dir/file" 312 * "ftp://host//dir/file" "/dir/file" 1319 char *host, *path, *dir, *file, *user, *pass; local 1325 host = path = dir = file = user = pass = NULL; 1380 dir = path; 1381 if (! EMPTYSTRING(dir)) { 1386 * retrieving the file. So we set dir="/" and file="file". 1392 * dir [all...] |
/haiku-fatelf/src/tools/fs_shell/ |
H A D | fssh.cpp | 430 fprintf(stderr, "Error: Cannot make dir, entry \"%s\" is in the way.\n", 435 // the dir doesn't exist yet 438 // create the parent dir path 454 // actually never be here in case of the root dir, but anyway) -- or 489 static fssh_status_t remove_entry(int dir, const char *entry, bool recursive, 496 // open the dir 497 int dir = _kern_open_dir(parentDir, name); local 498 if (dir < 0) { 499 fprintf(stderr, "Error: Failed to open dir \"%s\": %s\n", name, 500 fssh_strerror(dir)); 534 remove_entry(int dir, const char *entry, bool recursive, bool force) argument 582 move_entry(int dir, const char *entry, int targetDir, const char* target, bool force) argument 943 const char *dir = argv[argi]; local [all...] |
/haiku-fatelf/src/add-ons/media/media-add-ons/firewire_dv/ |
H A D | FireWireDVAddOn.cpp | 128 BDirectory dir(path); 129 if (dir.InitCheck() != B_OK) 134 while (dir.GetNextEntry(&ent) == B_OK) {
|
/haiku-fatelf/src/add-ons/media/media-add-ons/vst_host/ |
H A D | VSTAddOn.cpp | 109 BDirectory dir(path); 110 if (dir.InitCheck() != B_OK) { 115 while(dir.GetNextEntry(&ent) == B_OK) {
|
/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | savewd.c | 96 savewd_chdir (struct savewd *wd, char const *dir, int options, argument 107 fd = open (dir, 130 result = (fd < 0 ? chdir (dir) : fchdir (fd));
|
/haiku-fatelf/src/bin/patch/ |
H A D | backupfile.c | 47 # include <sys/dir.h> 168 max_backup_version (const char *file, const char *dir) argument 176 dirp = opendir (dir);
|
/haiku-fatelf/src/libs/icon/style/ |
H A D | Style.cpp | 245 fGammaCorrectedColors[i].r = table.dir(fColors[i].r); 246 fGammaCorrectedColors[i].g = table.dir(fColors[i].g); 247 fGammaCorrectedColors[i].b = table.dir(fColors[i].b);
|
/haiku-fatelf/src/libs/print/libgutenprint/src/main/ |
H A D | dither-impl.h | 243 #define ADVANCE_BIDIRECTIONAL(d,bit,in,dir,width,xer,xstep,xmod,err,S) \ 250 err[ii][jj] += dir; \ 251 if (dir == 1) \
|