/haiku/src/preferences/sounds/ |
H A D | HWindow.cpp | 62 BFile file(path.Path(), B_READ_ONLY); 65 if (file.InitCheck() == B_OK && msg.Unflatten(&file) == B_OK 85 BFile file(path.Path(), B_WRITE_ONLY | B_CREATE_FILE); 87 if (file.InitCheck() == B_OK) { 89 msg.Flatten(&file); 145 // check audio file 157 B_TRANSLATE("This is not an audio file."), 165 // add file item 174 // check file men [all...] |
/haiku/src/system/libroot/os/ |
H A D | driver_settings.cpp | 3 * This file may be used under the terms of the MIT License. 7 This file is used by three different components with different needs: 20 The file has to be recompiled for every component separately, so that 434 load_driver_settings_from_file(int file, const char *driverName) argument 438 // Allocate a buffer and read the whole file into it. 444 if (fstat(file, &stat) < B_OK) 449 if (text != NULL && read(file, text, stat.st_size) == stat.st_size) { 716 int file = -1; local 793 file = open(path, O_RDONLY); 795 file [all...] |
/haiku/src/kits/tracker/ |
H A D | Thumbnails.cpp | 124 GenerateThumbnailJob(Model* model, const BFile& file, argument 131 fFile = new(std::nothrow) BFile(file); 179 // we have translated the image file into a BBitmap 280 BFile* file = dynamic_cast<BFile*>(model->Node()); local 281 if (file == NULL) 285 status_t status = file->GetStat(&st); 290 *file, size, colorSpace); 355 // file has not changed, try to return an existing thumbnail 384 // file changed, remove all thumb attrs
|
/haiku/src/preferences/filetypes/ |
H A D | IconView.cpp | 214 BFile file(&ref, B_READ_ONLY); 215 BAppFileInfo info(&file); 216 if (file.InitCheck() == B_OK && info.InitCheck() == B_OK) 267 BFile file; local 268 status_t status = file.SetTo(&ref, B_READ_ONLY); 272 BAppFileInfo info(&file); 1060 BFile file(&fRef, B_READ_ONLY); 1061 if (file.InitCheck() != B_OK) 1065 if (info.SetTo(&file) != B_OK) 1273 BFile file; local [all...] |
/haiku/src/add-ons/media/media-add-ons/ |
H A D | AbstractFileInterfaceAddOn.cpp | 8 // AbstractFileInterfaceNode handles a file and a multistream 112 const entry_ref & file, 121 status_t status = AbstractFileInterfaceNode::StaticSniffRef(file,mime_string,out_quality); 111 SniffRef( const entry_ref & file, BMimeType * io_mime_type, float * out_quality, int32 * out_internal_id) argument
|
/haiku/src/tests/add-ons/print/ppd/parser/ |
H A D | Parser.cpp | 13 Parser::Parser(const char* file) argument 14 : fScanner(file)
|
/haiku/src/apps/webpositive/ |
H A D | CredentialsStorage.cpp | 244 CredentialsStorage::_OpenSettingsFile(BFile& file, uint32 mode) const argument 252 return file.SetTo(path.Path(), mode) == B_OK;
|
/haiku/src/kits/storage/mime/ |
H A D | MimeSnifferAddonManager.cpp | 173 MimeSnifferAddonManager::GuessMimeType(BFile* file, const void* buffer, argument 187 float priority = addons[i]->Addon()->GuessMimeType(file, buffer,
|
/haiku/headers/os/storage/ |
H A D | AppFileInfo.h | 52 BAppFileInfo(BFile* file); 55 status_t SetTo(BFile* file);
|
/haiku/headers/private/package/hpkg/ |
H A D | PackageWriterImpl.h | 51 status_t Init(BPositionIO* file, bool keepFile, 71 status_t _Init(BPositionIO* file, bool keepFile,
|
/haiku/src/bin/addattr/ |
H A D | addAttr.cpp | 145 /*! Adds an attribute to a file for the given type, name and value 151 addAttr(const char* file, type_code type, const char* name, argument 154 int fd = open(file, O_RDONLY | (resolveLinks ? 0 : O_NOTRAVERSE));
|
/haiku/src/apps/sudoku/ |
H A D | SudokuWindow.cpp | 214 B_TRANSLATE("Open file" B_UTF8_ELLIPSIS), NULL, NULL, this, 10, false, 314 SudokuWindow::_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, B_WRITE_ONLY | B_CREATE_FILE 356 status = settings.Flatten(&file);
|
/haiku/src/add-ons/media/media-add-ons/reader/ |
H A D | MediaReader.h | 7 // It reads any file and produces one output, 10 // distance in the file. So the duration is the 11 // file length. (in bytes) 73 const entry_ref & file, 83 const entry_ref & file,
|
/haiku/src/add-ons/media/media-add-ons/writer/ |
H A D | MediaWriter.h | 8 // and writes the stream to a file. It has a rather 10 // distance in the file. So the duration is the 11 // file length. (in bytes) 73 const entry_ref & file, 83 const entry_ref & file,
|
/haiku/src/kits/debugger/settings/ |
H A D | BreakpointSetting.cpp | 62 if (LocatableFile* file = location.SourceFile()) 63 file->GetPath(fSourceFile);
|
/haiku/headers/libs/print/libprint/ |
H A D | GraphicsDriver.h | 76 bool _SetupData(BFile* file); 86 bool _PrintJob(BFile* file);
|
/haiku/src/kits/debugger/debug_info/ |
H A D | DwarfImageDebugInfo.h | 50 DwarfFile* file); 92 virtual status_t AddSourceCodeInfo(LocatableFile* file,
|
H A D | ImageDebugInfo.cpp | 178 ImageDebugInfo::AddSourceCodeInfo(LocatableFile* file, argument 184 status_t error = specificInfo->AddSourceCodeInfo(file, sourceCode);
|
/haiku/src/system/kernel/disk_device_manager/ |
H A D | KFileDiskDevice.cpp | 48 // normalize the file path 55 // check the file 68 // // make the file devices dir 84 // register the file as virtual disk device 116 // free file path 139 // check the file 152 // check the file 182 KFileDiskDevice::_RegisterDevice(const char* file, const char* device) argument 184 return devfs_publish_file_device(device + 5, file);
|
/haiku/src/kits/package/hpkg/ |
H A D | PackageFileHeapReader.cpp | 27 BPositionIO* file, off_t heapOffset, off_t compressedHeapSize, 31 PackageFileHeapAccessorBase(errorOutput, file, heapOffset, 26 PackageFileHeapReader(BErrorOutput* errorOutput, BPositionIO* file, off_t heapOffset, off_t compressedHeapSize, uint64 uncompressedHeapSize, DecompressionAlgorithmOwner* decompressionAlgorithm) argument
|
/haiku/headers/os/game/ |
H A D | FileGameSound.h | 25 BFileGameSound(const entry_ref* file, 29 BFileGameSound(const char* file,
|
/haiku/src/apps/stylededit/ |
H A D | StyledEditView.cpp | 175 StyledEditView::WriteStyledEditFile(BFile* file) argument 177 return BTranslationUtils::WriteStyledEditFile(this, file,
|
/haiku/src/apps/charactermap/ |
H A D | CharacterWindow.cpp | 458 CharacterWindow::_OpenSettings(BFile& file, uint32 mode) argument 466 return file.SetTo(path.Path(), mode); 473 BFile file; local 474 status_t status = _OpenSettings(file, B_READ_ONLY); 478 return settings.Unflatten(&file); 485 BFile file; local 486 status_t status = _OpenSettings(file, B_WRITE_ONLY | B_CREATE_FILE 520 status = settings.Flatten(&file);
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | logging.h | 7 * This program/include file is free software; you can redistribute it and/or 12 * This program/include file is distributed in the hope that it will be 19 * distribution in the file COPYING); if not, write to the Free Software 37 typedef int (ntfs_log_handler)(const char *function, const char *file, int line, 65 int ntfs_log_redirect(const char *function, const char *file, int line, 85 #define NTFS_LOG_FLAG_FILENAME (1 << 1) /* Show the file origin of the message */
|
/haiku/headers/private/netservices/ |
H A D | HttpForm.h | 50 const BPath& file); 116 const BPath& file);
|