Lines Matching defs:ref
44 BFile::BFile(const entry_ref* ref, uint32 openMode)
48 SetTo(ref, openMode);
98 BFile::SetTo(const entry_ref* ref, uint32 openMode)
102 if (!ref)
105 // if ref->name is absolute, let the path-only SetTo() do the job
106 if (BPrivate::Storage::is_absolute_path(ref->name))
107 return SetTo(ref->name, openMode);
111 int fd = _kern_open_entry_ref(ref->device, ref->directory, ref->name,