Searched refs:dir (Results 176 - 200 of 705) sorted by relevance

1234567891011>>

/haiku-fatelf/src/apps/people/
H A DPersonWindow.cpp199 entry_ref dir; local
200 if (msg->FindRef("directory", &dir) == B_OK) {
203 directory.SetTo(&dir);
212 entry.GetRef(&dir);
213 _SetToRef(new entry_ref(dir));
360 BDirectory dir; local
361 dir.SetTo(path.Path());
364 if (dir.FindEntry("people", &entry) == B_OK
365 || (dir.CreateDirectory("people", &dir)
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/netfs/server/
H A DFDManager.h37 static status_t OpenDir(const char* path, DIR*& dir);
38 static status_t OpenAttrDir(const char* path, DIR*& dir);
/haiku-fatelf/src/add-ons/print/drivers/postscript/
H A DPPDParser.cpp22 PPDParser::PPDParser(const BDirectory& dir, const char* fname) argument
24 BFile file(&dir, fname, B_READ_ONLY);
/haiku-fatelf/src/apps/codycam/
H A DFtpClient.h41 bool ChangeDir(const string& dir);
42 bool PrintWorkingDir(string& dir);
H A DSpawningUploadClient.h26 virtual bool ChangeDir(const string& dir);
27 virtual bool PrintWorkingDir(string& dir);
/haiku-fatelf/src/bin/coreutils/lib/
H A Ddirent.in.h52 extern int dirfd (DIR *dir) _GL_ARG_NONNULL ((1));
94 extern int scandir (const char *dir, struct dirent ***namelist,
H A Dlocalcharset.c130 const char *dir; local
136 dir = getenv ("CHARSETALIASDIR");
137 if (dir == NULL || dir[0] == '\0')
138 dir = relocate (LIBDIR);
140 /* Concatenate dir and base into freshly allocated file_name. */
142 size_t dir_len = strlen (dir);
144 int add_slash = (dir_len > 0 && !ISSLASH (dir[dir_len - 1]));
148 memcpy (file_name, dir, dir_len);
H A Dsavedir.c116 savedir (char const *dir) argument
118 return savedirstream (opendir (dir));
H A Dfchdir.c95 get_name (char const *dir) argument
107 if (dir[0] == '.' && dir[1] == '\0')
111 result = chdir (dir) ? NULL : getcwd (NULL, 0);
121 result = canonicalize_file_name (dir);
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dlocalcharset.c115 const char *dir; local
121 dir = getenv ("CHARSETALIASDIR");
122 if (dir == NULL || dir[0] == '\0')
123 dir = relocate (LIBDIR);
125 /* Concatenate dir and base into freshly allocated file_name. */
127 size_t dir_len = strlen (dir);
129 int add_slash = (dir_len > 0 && !ISSLASH (dir[dir_len - 1]));
133 memcpy (file_name, dir, dir_len);
H A Dsavedir.c122 savedir (char const *dir) argument
124 return savedirstream (opendir (dir));
/haiku-fatelf/src/bin/network/wget/lib/
H A Dlocalcharset.c121 const char *dir; local
127 dir = getenv ("CHARSETALIASDIR");
128 if (dir == NULL || dir[0] == '\0')
129 dir = relocate (LIBDIR);
131 /* Concatenate dir and base into freshly allocated file_name. */
133 size_t dir_len = strlen (dir);
135 int add_slash = (dir_len > 0 && !ISSLASH (dir[dir_len - 1]));
139 memcpy (file_name, dir, dir_len);
/haiku-fatelf/src/libs/iconv/
H A Dlocalcharset.c116 const char *dir; local
122 dir = getenv ("CHARSETALIASDIR");
123 if (dir == NULL || dir[0] == '\0')
124 dir = relocate (LIBDIR);
126 /* Concatenate dir and base into freshly allocated file_name. */
128 size_t dir_len = strlen (dir);
130 int add_slash = (dir_len > 0 && !ISSLASH (dir[dir_len - 1]));
134 memcpy (file_name, dir, dir_len);
/haiku-fatelf/src/libs/print/libgutenprint/src/main/
H A Dpath.c36 static int stpi_scandir (const char *dir,
202 char *dir = NULL; /* Path name */ local
215 dir = (char *) stp_malloc(len + 1);
216 strncpy(dir, start, len);
217 dir[len] = '\0';
218 stp_list_item_create(list, NULL, dir);
269 stpi_scandir (const char *dir, argument
274 DIR *dp = opendir (dir);
/haiku-fatelf/src/system/boot/platform/bios_ia32/
H A Dsmp_trampoline.S8 // 0x9eff8 : page dir
46 popl %eax # get the page dir
47 movl %eax,%cr3 # set the page dir
/haiku-fatelf/src/system/boot/platform/pxe_ia32/
H A Dsmp_trampoline.S8 // 0x8cff8 : page dir
46 popl %eax # get the page dir
47 movl %eax,%cr3 # set the page dir
/haiku-fatelf/src/system/libroot/posix/glibc/libio/
H A Diofopncook.c38 static _IO_off64_t _IO_cookie_seek (_IO_FILE *fp, _IO_off64_t offset, int dir);
70 _IO_cookie_seek (fp, offset, dir)
73 int dir;
78 || (cfile->__io_functions.seek (cfile->__cookie, &offset, dir)
193 int dir);
198 _IO_old_cookie_seek (fp, offset, dir)
201 int dir;
211 ret = seek (cfile->__cookie, offset, dir);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/kernel_add_on/
H A DVolume.h67 status_t Create(void* dir, const char* name,
88 status_t Link(void* dir, const char* name, void* node);
89 status_t Unlink(void* dir, const char* name);
90 status_t Symlink(void* dir, const char* name,
98 status_t MkDir(void* dir, const char* name, int mode);
99 status_t RmDir(void* dir, const char* name);
107 status_t Walk(void* dir, const char* entryName,
165 status_t _Walk(void* dir, const char* entryName,
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/server/
H A DFDManager.h38 static status_t OpenDir(const char* path, DIR*& dir);
39 static status_t OpenAttrDir(const char* path, DIR*& dir);
/haiku-fatelf/src/tests/kits/storage/
H A DSymLinkTest.cpp512 // existing dir link
542 // dir
591 // existing absolute dir link
618 // existing relative dir link
668 BDirectory dir; local
669 CPPUNIT_ASSERT( dir.SetTo("/boot") == B_OK);
670 CPPUNIT_ASSERT( equals(link.MakeLinkedPath(&dir, &path), B_BAD_ADDRESS,
674 dir.Unset();
675 // existing absolute dir link
678 CPPUNIT_ASSERT( dir
[all...]
/haiku-fatelf/src/add-ons/print/transports/ipp/
H A DIppSetupDlg.cpp74 BDirectory *dir; member in class:IppSetupView
78 : BView(frame, "", B_FOLLOW_ALL, B_WILL_DRAW), dir(d)
126 dir->WriteAttr(IPP_URL, B_STRING_TYPE, 0, url->Text(), strlen(url->Text()) + 1);
149 IppSetupDlg::IppSetupDlg(BDirectory *dir) argument
158 IppSetupView *view = new IppSetupView(Bounds(), dir);
/haiku-fatelf/src/kits/print/
H A DFolderWatcher.cpp136 ino_t dir; local
150 if (msg->FindInt64("to directory", &dir) == B_OK && folder.node == dir) {
153 } else if (msg->FindInt64("from directory", &dir) == B_OK && folder.node == dir) {
/haiku-fatelf/src/kits/tracker/
H A DNodePreloader.cpp161 BDirectory dir(dirPath);
162 if (!dir.InitCheck() == B_OK)
166 dir.GetNodeRef(&nodeRef);
171 dir.Rewind();
174 if (dir.GetNextRef(&ref) != B_OK)
/haiku-fatelf/src/libs/pdflib/config/
H A Dltmain.sh543 dir=`$echo "X$libobj" | $Xsed -e 's%/[^/]*$%%'`
544 if test "X$dir" = "X$libobj"; then
545 dir="$objdir"
547 dir="$dir/$objdir"
549 libobj="$dir/"`$echo "X$libobj" | $Xsed -e 's%^.*/%%'`
551 if test -d "$dir"; then
555 $show "$mkdir $dir"
556 $run $mkdir $dir
558 if test $status -ne 0 && test ! -d $dir; the
[all...]
/haiku-fatelf/src/libs/ncurses/test/
H A Dbs.c113 int dir; /* direction of `bow' */ member in struct:__anon4866
278 int newx = ss->x + l * xincr[ss->dir];
279 int newy = ss->y + l * yincr[ss->dir];
302 ss->dir = rnd(2) ? E : S;
303 ss->x = rnd(BWIDTH - (ss->dir == E ? ss->length : 0));
304 ss->y = rnd(BDEPTH - (ss->dir == S ? ss->length : 0));
327 ss->dir =
335 ss->dir =
465 ss->dir = N;
469 ss->dir
[all...]

Completed in 291 milliseconds

1234567891011>>