Searched refs:dir (Results 276 - 300 of 705) sorted by relevance

<<11121314151617181920>>

/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/client/
H A DShareVolume.h74 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 DVolume.cpp281 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 Dnfs_add_on.c867 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 Dfwcrom.c87 #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 DEntryTest.cpp129 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 Dfs_attr_generic.cpp37 // 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 Dfileman.c445 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 Dstdbuf.c150 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 DMakefile127 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 Ddir.c37 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 Dfileman.c442 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 Dplay.cpp49 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 DFile.cpp100 \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 DGroups.cpp101 DIR *dir; local
119 dir = OpenGroups();
120 if (dir)
122 while ((dirInfo = ReadGroup(dir)) != NULL)
129 CloseGroups(dir);
H A DUsers.cpp101 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 DbtAddOn.h91 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 DFile.cpp75 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 Dfetch.c309 * "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 Dfssh.cpp430 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 DFireWireDVAddOn.cpp128 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 DVSTAddOn.cpp109 BDirectory dir(path);
110 if (dir.InitCheck() != B_OK) {
115 while(dir.GetNextEntry(&ent) == B_OK) {
/haiku-fatelf/src/bin/coreutils/lib/
H A Dsavewd.c96 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 Dbackupfile.c47 # 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 DStyle.cpp245 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 Ddither-impl.h243 #define ADVANCE_BIDIRECTIONAL(d,bit,in,dir,width,xer,xstep,xmod,err,S) \
250 err[ii][jj] += dir; \
251 if (dir == 1) \

Completed in 304 milliseconds

<<11121314151617181920>>