/haiku/headers/os/media/ |
H A D | FileInterface.h | 30 virtual status_t SniffRef(const entry_ref& file, 33 virtual status_t SetRef(const entry_ref& file,
|
/haiku/headers/private/shared/ |
H A D | CommandPipe.h | 72 // This function reads line-by-line from "file". It calls IsCanceled() 73 // on the passed LineReader instance for each byte read from file 75 status_t ReadLines(FILE* file, LineReader* lineReader); 76 // This method can be used to read the entire file into a BString. 77 BString ReadLines(FILE* file);
|
/haiku/src/apps/bootmanager/ |
H A D | LegacyBootMenu.h | 35 BFile* file); 37 BFile* file);
|
H A D | BootManagerController.cpp | 49 fSettings.AddString("file", path.Path()); 57 fSettings.AddString("file", ""); 208 fSettings.FindString("file", &path); 209 BFile file(path.String(), B_READ_WRITE | B_CREATE_FILE | B_ERASE_FILE); 210 fSaveMBRStatus = fBootMenu->SaveMasterBootRecord(&fSettings, &file); 221 fSettings.FindString("file", &path); 225 "(MBR) of %disk from %file. Do you wish to continue?", 226 "Don't translate the place holders: %disk and %file"); 228 message.ReplaceFirst("%file", path); 237 BFile file(pat 352 BString file; local 451 BString file; local [all...] |
/haiku/src/apps/mediaplayer/support/ |
H A D | FileReadWrite.cpp | 15 FileReadWrite::FileReadWrite(BFile* file, int32 sourceEncoding) argument 16 : fFile(file), 56 // Return true if we hit a newline or the end of the file 57 // TODO: If the source file is expected to have different encoding,
|
/haiku/src/tools/fs_shell/ |
H A D | module.cpp | 54 char *file; member in struct:FSShell::module 129 create_module(fssh_module_info *info, const char *file, int offset, module **_module) argument 133 TRACE(("create_module(info = %p, file = \"%s\", offset = %d, _module = %p)\n", 134 info, file, offset, _module)); 148 TRACE(("create_module: name = \"%s\", file = \"%s\"\n", info->name, file)); 156 module->file = fssh_strdup(file); 157 if (module->file == NULL) { 301 module, module->name, module->file, (in [all...] |
/haiku/src/tools/restest/ |
H A D | ResourceItem.h | 43 status_t LoadData(BPositionIO& file, 46 status_t WriteData(BPositionIO& file) const;
|
/haiku/src/apps/packageinstaller/ |
H A D | InstalledPackageInfo.cpp | 24 info_prepare(const char *filename, BFile *file, BMessage *info) argument 26 if (filename == NULL || file == NULL || info == NULL) 36 ret = file->SetTo(path.Path(), B_READ_ONLY); 38 ret = info->Unflatten(file); 49 BFile file; local 51 status_t ret = info_prepare(filename, &file, &info); 61 BFile file; local 63 status_t ret = info_prepare(filename, &file, &info); 264 // package info file
|
/haiku/src/kits/package/hpkg/ |
H A D | PackageReader.cpp | 56 BPackageReader::Init(BPositionIO* file, bool keepFile, uint32 flags) argument 61 return fImpl->Init(file, keepFile, flags);
|
/haiku/src/build/libroot/ |
H A D | misc.cpp | 27 _debuggerAssert(const char *file, int line, const char *expression) argument 30 snprintf(buffer, sizeof(buffer), "%s:%d: %s\n", file, line, expression);
|
/haiku/src/kits/game/ |
H A D | SimpleGameSound.cpp | 39 entry_ref file; local 41 if (get_ref_for_path(inFile, &file) != B_OK) 44 SetInitError(Init(&file)); 147 BMediaFile file(inFile); 152 if (file.InitCheck() != B_OK) 153 return file.InitCheck(); 155 BMediaTrack* audioStream = file.TrackAt(0); 216 file.ReleaseTrack(audioStream);
|
/haiku/src/libs/compat/freebsd_network/compat/sys/ |
H A D | linker_set.h | 34 #error this file needs sys/cdefs.h as a prerequisite 44 * Private macros, not to be used outside this header file. 52 #error this file needs to be ported to your compiler
|
/haiku/src/kits/debugger/files/ |
H A D | FileManager.h | 51 status_t LoadSourceFile(LocatableFile* file, 78 LocatableFile* file);
|
/haiku/src/kits/debugger/debug_info/ |
H A D | FunctionInstance.cpp | 43 if (LocatableFile* file = SourceFile()) { 45 file->GetPath(path);
|
/haiku/src/apps/debugger/user_interface/gui/teams_window/ |
H A D | TeamsWindow.cpp | 314 TeamsWindow::_OpenSettings(BFile& file, uint32 mode) argument 322 return file.SetTo(path.Path(), mode); 329 BFile file; local 330 status_t status = _OpenSettings(file, B_READ_ONLY); 334 return settings.Unflatten(&file); 341 BFile file; local 342 status_t status = _OpenSettings(file, 354 status = settings.Flatten(&file);
|
/haiku/src/apps/activitymonitor/ |
H A D | ActivityWindow.cpp | 251 ActivityWindow::_OpenSettings(BFile& file, uint32 mode) argument 259 return file.SetTo(path.Path(), mode); 266 BFile file; local 267 status_t status = _OpenSettings(file, B_READ_ONLY); 271 return settings.Unflatten(&file); 278 BFile file; local 279 status_t status = _OpenSettings(file, B_WRITE_ONLY | B_CREATE_FILE 313 status = settings.Flatten(&file);
|
/haiku/src/apps/resedit/ |
H A D | ResView.cpp | 225 BFile file(path.Path(), B_CREATE_FILE | B_READ_WRITE); 226 if (file.InitCheck() != B_OK) 242 // Add all the 133t resources and attributes of the file 243 BFile file(&ref, B_READ_ONLY); 245 if (resources.SetTo(&file) != B_OK) 247 file.Unset(); 287 BFile file(fRef,B_READ_WRITE); 288 BResources res(&file,true); 289 file.Unset(); 377 BFile file( [all...] |
/haiku/src/kits/locale/ |
H A D | DefaultCatalog.cpp | 40 /*! This file implements the default catalog-type for the opentracker locale 106 given entry-ref (which usually is an app- or add-on-file). 246 BFile file; local 247 status_t res = file.SetTo(&appOrAddOnRef, B_READ_ONLY); 252 res = rsrc.SetTo(&file); 301 BFile file; local 302 status_t res = file.SetTo(&appOrAddOnRef, B_READ_WRITE); 307 res = rsrc.SetTo(&file); 329 catalog-file. 520 BEntry file(catalogPat [all...] |
/haiku/headers/os/mail/ |
H A D | MailAttachment.h | 21 virtual status_t SetTo(BFile *file, bool deleteFileWhenDone = false) = 0; 38 BSimpleMailAttachment(BFile *file, bool delete_when_done); 44 virtual status_t SetTo(BFile *file, bool delete_file_when_done = false); 85 BAttributedMailAttachment(BFile *file, bool delete_when_done); 91 virtual status_t SetTo(BFile *file, bool delete_file_when_done = false); 97 //-----we pay no attention to entry, but set it to the location of our file in /tmp
|
/haiku/src/tools/translation/bitsinfo/ |
H A D | bitsinfo.cpp | 60 BFile file(filepath, B_READ_ONLY); 62 if (file.InitCheck() == B_OK) { 68 if (file.Read(reinterpret_cast<uint8 *> (&header), size) != size) { 74 // I don't need the file anymore 75 file.Unset(); 200 while ((ret = file.Read(prow, header.rowBytes)) > 0) { 216 "file path is opening"), filepath);
|
/haiku/src/kits/network/libnetservices/ |
H A D | FileRequest.cpp | 25 BUrlRequest(url, output, listener, context, "BUrlProtocol.File", "file"), 60 BFile file(fUrl.Path().String(), B_READ_ONLY); 61 status_t error = file.InitCheck(); 65 BNodeInfo info(&file); 77 error = file.GetSize(&size); 89 chunkSize = file.Read(chunk, sizeof(chunk)); 121 // Stop here, and don't hit the assert below, if the file doesn't exist.
|
/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/ |
H A D | IMAPFolder.cpp | 35 TemporaryFile(BFile& file) argument 37 fFile(file), 332 /*! Stores the given \a stream into a temporary file using the provided 333 BFile object. A new file will be created, and the \a ref object will 334 point to it. The file will remain open when this method exits without 342 size_t& length, entry_ref& ref, BFile& file) 349 TemporaryFile temporaryFile(file); 354 status = _WriteStream(file, stream, length); 363 message has been fetched. This method also closes the \a file passed in. 366 IMAPFolder::MessageStored(entry_ref& ref, BFile& file, uint3 argument 341 StoreMessage(uint32 fetchFlags, BDataIO& stream, size_t& length, entry_ref& ref, BFile& file) argument 437 StoreBody(uint32 uid, BDataIO& stream, size_t& length, entry_ref& ref, BFile& file) argument 459 BodyStored(entry_ref& ref, BFile& file, uint32 uid) argument 779 _WriteStream(BFile& file, BDataIO& stream, size_t& length) const argument [all...] |
/haiku/src/libs/stdc++/legacy/ |
H A D | editbuf.cc | 4 This file is part of the GNU IO Library. This library is free 16 along with this library; see the file COPYING. If not, write to the Free 23 the executable file might be covered by the GNU General Public License. 36 /* Hence this file falls under the GNU License! */ 96 return str->buffer->tell(file->__bufp); 300 edit_streambuf *file; local 302 for (file = files; file != NULL; file = file [all...] |
/haiku/src/build/libbe/storage/ |
H A D | File.cpp | 6 \file File.cpp 40 /*! If \a file is uninitialized, the newly constructed BFile will be, too. 41 \param file the BFile object to be copied 43 BFile::BFile(const BFile &file) argument 48 *this = file; 52 /*! \brief Creates a BFile and initializes it to the file referred to by 54 \param ref the entry_ref referring to the file 55 \param openMode the mode in which the file should be opened 67 /*! \brief Creates a BFile and initializes it to the file referred to by 69 \param entry the BEntry referring to the file 480 operator =(const BFile &file) argument [all...] |
/haiku/src/kits/storage/ |
H A D | File.cpp | 34 BFile::BFile(const BFile& file) argument 38 *this = file; 42 // Creates a BFile and initializes it to the file referred to by 52 // Creates a BFile and initializes it to the file referred to by 62 // Creates a BFile and initializes it to the file referred to by 72 // Creates a BFile and initializes it to the file referred to by 95 // Re-initializes the BFile to the file referred to by the 124 // Re-initializes the BFile to the file referred to by the 151 // Re-initializes the BFile to the file referred to by the 175 // Re-initializes the BFile to the file referre 310 operator =(const BFile &file) argument [all...] |