Searched refs:file (Results 426 - 450 of 737) sorted by relevance

<<11121314151617181920>>

/haiku/src/preferences/sounds/
H A DHWindow.cpp62 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 Ddriver_settings.cpp3 * 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 DThumbnails.cpp124 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 DIconView.cpp214 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 DAbstractFileInterfaceAddOn.cpp8 // 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 DParser.cpp13 Parser::Parser(const char* file) argument
14 : fScanner(file)
/haiku/src/apps/webpositive/
H A DCredentialsStorage.cpp244 CredentialsStorage::_OpenSettingsFile(BFile& file, uint32 mode) const argument
252 return file.SetTo(path.Path(), mode) == B_OK;
/haiku/src/kits/storage/mime/
H A DMimeSnifferAddonManager.cpp173 MimeSnifferAddonManager::GuessMimeType(BFile* file, const void* buffer, argument
187 float priority = addons[i]->Addon()->GuessMimeType(file, buffer,
/haiku/headers/os/storage/
H A DAppFileInfo.h52 BAppFileInfo(BFile* file);
55 status_t SetTo(BFile* file);
/haiku/headers/private/package/hpkg/
H A DPackageWriterImpl.h51 status_t Init(BPositionIO* file, bool keepFile,
71 status_t _Init(BPositionIO* file, bool keepFile,
/haiku/src/bin/addattr/
H A DaddAttr.cpp145 /*! 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 DSudokuWindow.cpp214 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 DMediaReader.h7 // 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 DMediaWriter.h8 // 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 DBreakpointSetting.cpp62 if (LocatableFile* file = location.SourceFile())
63 file->GetPath(fSourceFile);
/haiku/headers/libs/print/libprint/
H A DGraphicsDriver.h76 bool _SetupData(BFile* file);
86 bool _PrintJob(BFile* file);
/haiku/src/kits/debugger/debug_info/
H A DDwarfImageDebugInfo.h50 DwarfFile* file);
92 virtual status_t AddSourceCodeInfo(LocatableFile* file,
H A DImageDebugInfo.cpp178 ImageDebugInfo::AddSourceCodeInfo(LocatableFile* file, argument
184 status_t error = specificInfo->AddSourceCodeInfo(file, sourceCode);
/haiku/src/system/kernel/disk_device_manager/
H A DKFileDiskDevice.cpp48 // 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 DPackageFileHeapReader.cpp27 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 DFileGameSound.h25 BFileGameSound(const entry_ref* file,
29 BFileGameSound(const char* file,
/haiku/src/apps/stylededit/
H A DStyledEditView.cpp175 StyledEditView::WriteStyledEditFile(BFile* file) argument
177 return BTranslationUtils::WriteStyledEditFile(this, file,
/haiku/src/apps/charactermap/
H A DCharacterWindow.cpp458 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 Dlogging.h7 * 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 DHttpForm.h50 const BPath& file);
116 const BPath& file);

Completed in 110 milliseconds

<<11121314151617181920>>