Searched refs:dir (Results 1 - 25 of 705) sorted by last modified time

1234567891011>>

/haiku-fatelf/src/bin/bfs_tools/
H A Drecover.cpp346 checkDirectoryContents(Disk& disk, Directory *dir) argument
348 dir->Rewind();
353 while (dir->GetNextEntry(name, &run) == B_OK) {
354 if (run == dir->BlockRun() || run == dir->Parent()
369 missing->SetParent(dir->BlockRun());
382 "missing (%ld, %d, %d)\n", dir->Name(),
383 dir->BlockRun().allocation_group,
384 dir->BlockRun().start, name,
392 if (missing->InodeBuffer()->parent != dir
444 Directory *dir = dynamic_cast<Directory *>(parentNode); local
632 Directory *dir = dynamic_cast<Directory *>(node); local
[all...]
/haiku-fatelf/src/system/kernel/fs/
H A Dvfs.cpp2068 /*! Looks up the entry with name \a name in the directory represented by \a dir
2073 lookup_dir_entry(struct vnode* dir, const char* name, struct vnode** _vnode) argument
2077 if (dir->mount->entry_cache.Lookup(dir->id, name, id))
2078 return get_vnode(dir->device, id, _vnode, true, false);
2080 status_t status = FS_CALL(dir, lookup, name, &id);
2087 *_vnode = lookup_vnode(dir->device, id);
2092 " vnid 0x%" B_PRIx64 ")\n", dir->device, id);
2096 // ktrace_printf("lookup_dir_entry(): dir: %p (%ld, %lld), name: \"%s\" -> "
2097 // "%p (%ld, %lld)", dir, di
2869 struct vnode* dir = NULL; local
4240 struct vnode* dir; local
9183 struct vnode* dir; local
[all...]
/haiku-fatelf/build/scripts/
H A Dbuild_fatelf_cross_tools68 local dir="$1"
69 mkdir -p "${dir}"
70 check_error "Failed to create directory: ${dir}"
82 local dir="$1"
83 pushd "${dir}" >/dev/null
84 check_error "Failed to change to directory: ${dir}"
104 local dir="$1"
482 for dir in "${DESTROOT}/${PREFIX}/libexec/gcc/${arch}/"*; do
483 safe_push_cwd "${dir}"
596 local dir
[all...]
/haiku-fatelf/src/kits/storage/disk_device/
H A DPartition.cpp465 BDirectory dir; local
466 status_t error = volume.GetRootDirectory(&dir);
468 error = mountPoint->SetTo(&dir, NULL);
/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/kits/tracker/
H A DTracker.cpp1183 BDirectory dir(node);
1184 if (dir.InitCheck() != B_OK)
1200 || dir.Contains(&wind_entry)) {
H A DPoseView.cpp802 // and trash pose on desktop dir
805 BDirectory dir; local
806 if (FSGetDeskDir(&dir) == B_OK) {
812 if (dir.WriteAttr(poseInfoAttr, B_RAW_TYPE, 0,
815 dir.RemoveAttr(poseInfoAttrForeign);
818 && dir.WriteAttr(kAttrExtendedDisksPoseInfo,
822 dir.RemoveAttr(kAttrExtendedDisksPoseInfoForegin);
1833 // set location from poseinfo if saved loc was for this dir
2124 // check if CreatePoses should be called (abort if dir has been
2828 BDirectory dir; local
2900 BDirectory dir; local
4167 CreateClippingFile(BPoseView* poseView, BFile &result, char* resultingName, BDirectory* dir, BMessage* message, const char* fallbackName, bool setLocation, BPoint dropPoint) argument
[all...]
H A DPoseView.h594 char* resultingName, BDirectory* dir, BMessage* message,
H A DNodeWalker.h77 TNodeWalker(const BDirectory* dir, bool includeTopDirectory);
85 TNodeWalker(const BDirectory* dir);
H A DInfoWindow.cpp717 BDirectory dir(window->TargetModel()->EntryRef());
720 if (dir.InitCheck() != B_OK) {
733 dir.GetEntry(&dirEntry);
738 // check if user has asked for trash dir info
745 FSRecursiveCalcSize(window, &loopControl, &dir, &size, &fileCount,
H A DNodeWalker.cpp153 TNodeWalker::TNodeWalker(const BDirectory* dir, bool includeTopDirectory) argument
160 fOriginalDirCopy(*dir),
163 fTopDir = new BDirectory(*dir);
230 TNodeWalker::TNodeWalker(const BDirectory* dir) argument
237 fOriginalDirCopy(*dir),
240 fTopDir = new BDirectory(*dir);
262 // done with the old dir, pop it
272 // point to the new top dir
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/servers/print/
H A DPrinter.cpp434 BDirectory dir(path.Path());
437 return entry.MoveTo(&dir) == B_OK;
H A DTransport.cpp81 BDirectory dir;
82 if ((result = dir.SetTo(path.Path())) != B_OK)
87 while(dir.GetNextEntry(&entry) == B_OK) {
/haiku-fatelf/src/add-ons/kernel/busses/scsi/usb/
H A Dusb_scsi.c781 EDirection dir = eDirNone;
800 case CAM_DIR_IN: dir = eDirIn; break;
801 case CAM_DIR_OUT: dir = eDirOut; break;
802 default: dir = eDirNone; break;
812 dir, ccbio, transfer_callback);
/haiku-fatelf/src/apps/stylededit/
H A DStyledEditWindow.cpp739 BDirectory dir(&dirRef);
740 BEntry entry(&dir, name);
743 if (dir.InitCheck() == B_OK && entry.InitCheck() == B_OK) {
1025 entry_ref dir;
1027 if (fSaveMessage->FindRef("directory", &dir) != B_OK
1032 BPath documentPath(&dir);
1314 entry_ref dir; local
1316 if (fSaveMessage->FindRef("directory", &dir) != B_OK
1320 BPath documentPath(&dir);
1360 entry_ref dir;
[all...]
/haiku-fatelf/src/apps/poorman/libhttpd/
H A Dlibhttpd.c75 # include <sys/dir.h>
/haiku-fatelf/src/apps/showimage/
H A DShowImageWindow.cpp1187 BDirectory dir(&dirRef);
1188 fImageView->SaveToFile(&dir, filename, NULL, &outFormat[i]);
/haiku-fatelf/src/apps/soundrecorder/
H A DRecorderWindow.cpp1365 entry_ref dir;
1368 && msg->FindRef("directory", &dir) == B_OK) {
1369 BDirectory directory(&dir);
/haiku-fatelf/src/add-ons/input_server/methods/canna/rk/
H A Ddd.c443 * read a DD directory using dics.dir file.
448 char *dics_dir = "/dics.dir";
489 /* create dd even if there is no directory or dics.dir file */
716 /* dics.dir */
717 sprintf(dicsdir, "%s/dics.dir", dd->dd_path);
721 sprintf(backup, "%s/#dics.dir", dd->dd_path);
726 /* create dics.dir */
739 n = sprintf(header, "#CANNA dics.dir [%s] %s\n", whattime, dd->dd_name);
865 char dir[RK_PATH_BMAX + 1]; local
867 char *dir local
[all...]
/haiku-fatelf/src/apps/terminal/
H A DTermView.cpp2187 BDirectory dir; local
2189 dir.SetTo(&ref);
2191 entry.GetParent(&dir);
2195 dir.GetNodeRef(&nodeRef);
2197 } else if (firstDir != dir) {
/haiku-fatelf/src/preferences/virtualmemory/
H A DSettingsWindow.cpp101 BDirectory dir; local
102 if (fVolume.GetRootDirectory(&dir) == B_OK) {
104 if (dir.GetEntry(&entry) == B_OK) {
/haiku-fatelf/
H A Dconfigure15 --alternative-gcc-output-dir <dir>
19 a gcc 4 Haiku or vice versa). <dir> specifies the
29 --build-cross-tools <build tools dir>
30 Assume cross compilation. <build tools dir>
35 --build-cross-tools-gcc4 <arch> <build tools dir>
409 --alternative-gcc-output-dir)
/haiku-fatelf/src/preferences/shortcuts/
H A DShortcutsSpec.cpp564 BDirectory dir(directoryName);
565 if (dir.InitCheck() == B_NO_ERROR) {
573 while (dir.GetNextEntry(&nextEnt) == B_NO_ERROR) {
643 // And re-append it iff the file is a dir.
H A DShortcutsWindow.cpp631 BDirectory dir(&entry);
632 BEntry saveTo(&dir, name, true);

Completed in 261 milliseconds

1234567891011>>