Searched refs:file (Results 576 - 600 of 737) sorted by relevance

<<21222324252627282930

/haiku/src/add-ons/kernel/file_systems/exfat/
H A Dexfat.h22 typedef uint64 fileblock_t; // file block number
153 } _PACKED file; member in union:exfat_entry::__anon1374
/haiku/src/kits/media/legacy/
H A DOldAudioModule.cpp296 BAudioFileStream::BAudioFileStream(BMediaChannel *channel, BFile *file, argument
/haiku/src/bin/bfs_tools/lib/
H A DDisk.cpp128 //fprintf(stderr,"Could not open file: %s\n",strerror(fFile.InitCheck()));
151 fprintf(stderr,"Disk: Could not get partition info.\n Use file size as partition size\n");
157 fprintf(stderr,"Disk: Invalid file size (%" B_PRIdOFF " bytes)!\n",
223 BFile file("/boot/home/bootblock.old", B_READ_WRITE | B_CREATE_FILE);
224 if (file.InitCheck() < B_OK)
225 return file.InitCheck();
232 file.Write(buffer, BlockSize());
/haiku/src/preferences/keymap/
H A DKeyboardLayout.cpp146 BFile file; local
147 status_t status = file.SetTo(&ref, B_READ_ONLY);
152 status = file.GetSize(&size);
165 ssize_t bytesRead = file.Read(data, size);
/haiku/src/tests/kits/net/service/
H A Dproxy.py166 file=sys.stderr)
/haiku/src/apps/autoraise/
H A DAutoRaiseIcon.cpp250 BFile file(info.name, B_READ_ONLY);
251 if (file.InitCheck() != B_OK) {
252 printf("Unable to access AutoRaise image file: %s\n",
253 strerror(file.InitCheck()));
258 BResources res(&file);
/haiku/src/libs/util/
H A Dpidfile.c31 #include <sys/file.h>
111 * Open the PID file and obtain exclusive lock.
112 * We truncate PID file here only to remove old PID immediatelly,
113 * PID file will be truncated again in pidfile_write(), so
143 * Remember file information, so in pidfile_write() we are sure we write
170 * file if pidfile was closed and descriptor reused.
182 * Truncate PID file, so multiple calls of pidfile_write() are allowed.
/haiku/src/apps/mandelbrot/
H A DMandelbrot.cpp400 BFile file; local
402 parentDir.CreateFile(name, &file);
404 // Write the screenshot bitmap to the file
407 roster->Translate(&stream, NULL, NULL, &file, B_PNG_FORMAT,
410 BNodeInfo info(&file);
/haiku/src/servers/package/
H A DCommitTransactionHandler.h85 const BGlobalWritableFileInfo& file,
/haiku/headers/os/media/
H A DMediaAddOn.h113 virtual status_t SniffRef(const entry_ref& file,
/haiku/src/tests/kits/app/broster/
H A DRosterWatchingTester.cpp83 BFile file; local
84 CHK(file.SetTo(filename, B_READ_WRITE) == B_OK);
86 CHK(appFileInfo.SetTo(&file) == B_OK);
95 file.WriteAttrString("signature", &signatureString);
/haiku/src/apps/debugger/user_interface/gui/team_window/
H A DImageFunctionsView.cpp301 SourcePathComponentNode(NULL, "<no source file>", NULL, NULL);
544 FunctionInstance* function, LocatableFile* file,
589 return _AddFunctionNode(currentNode, function, file,
594 FunctionInstance* function, LocatableFile* file,
598 SourcePathComponentNode(parent, function->PrettyName(), file,
702 // If there's only one source file (i.e. "no source file"), expand the item.
543 _AddFunctionByPath(const BStringList& pathComponents, FunctionInstance* function, LocatableFile* file, RegExp::MatchResult& pathMatch, RegExp::MatchResult& functionMatch) argument
593 _AddFunctionNode(SourcePathComponentNode* parent, FunctionInstance* function, LocatableFile* file, RegExp::MatchResult& match) argument
/haiku/src/apps/bootmanager/
H A DLegacyBootMenu.cpp36 Note: for testing, the best way is to create a small file image, and
464 LegacyBootMenu::SaveMasterBootRecord(BMessage* settings, BFile* file) argument
496 if (file->Write(buffer, size) != size)
505 LegacyBootMenu::RestoreMasterBootRecord(BMessage* settings, BFile* file) argument
534 if (file->Read(buffer, size) != (ssize_t)size) {
/haiku/src/tests/kits/net/netservices2/
H A Dproxy.py166 file=sys.stderr)
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dmutex.h38 void _mtx_assert(struct mtx *m, int what, const char *file, int line);
/haiku/src/add-ons/kernel/file_systems/udf/
H A Dkernel_interface.cpp10 /*! \file kernel_interface.cpp */
209 udf_lookup(fs_volume *_volume, fs_vnode *_directory, const char *file, argument
212 TRACE(("udf_lookup: _directory = %p, filename = %s\n", _directory, file));
220 if (strcmp(file, ".") == 0) {
221 TRACE(("udf_lookup: file = ./\n"));
227 status = dir->Find(file, vnodeID);
246 // No debug-to-file in release_vnode; can cause a deadlock in
561 // a regular file, so we just stat() it to get the device size.
668 /* VM file access */
677 /* cache file acces
[all...]
/haiku/src/servers/registrar/
H A DTRoster.cpp89 // get the path of the settings dir and append the subpath of our file
1778 // Look for optional file type(s)
1781 status_t typeError = request->GetInfo("file type", &typeFound,
1792 if (request->FindString("file type", i, &type) == B_OK) {
1894 BFile file; local
1896 error = file.SetTo(settingsPath, B_READ_ONLY);
1899 error = file.GetSize(&size);
1908 ssize_t bytes = file.Read(data, size);
1925 // Now we just walk through the file and read in the info
2068 FILE* file;
[all...]
/haiku/src/servers/input/
H A DInputServer.cpp39 // this is an automatically generated file
248 BFile file(path.Path(), B_READ_ONLY);
249 if ((err = file.InitCheck()) != B_OK)
252 if (file.Read(&fKeys, sizeof(fKeys)) < (ssize_t)sizeof(fKeys))
258 if (file.Read(&fCharsSize, sizeof(uint32)) < (ssize_t)sizeof(uint32))
270 if (file.Read(fChars, fCharsSize) != (signed)fCharsSize)
297 // we save this keymap to file
304 BFile file; local
305 status_t err = file.SetTo(path.Path(), B_WRITE_ONLY | B_CREATE_FILE | B_ERASE_FILE);
315 if ((err = file
[all...]
/haiku/src/apps/cortex/NodeManager/
H A DNodeRef.h148 // called on them (like the video-file player in BeOS R4.5.2).
203 // access file being played
205 // or if the node has no associated file
211 // set file to play
214 const entry_ref& file,
457 const entry_ref* file=0);
/haiku/src/bin/unzip/
H A Dunzip.h7 This header file contains the public macros and typedefs required by
539 #define PK_MEM3 6 /* insufficient memory (file decompression) */
579 int UZ_EXP UzpUnzipToMemory OF((char *zip, char *file, UzpOpts *optflgs,
581 int UZ_EXP UzpGrep OF((char *archive, char *file,
/haiku/src/servers/print/
H A DPrinter.cpp39 // Notify print_server that there is a job file waiting for printing
394 // Try to read the printer name from job file.
406 // read settings from spool file and get printer name
429 BPath file(&fJob->EntryRef());
431 file.GetParent(&path);
436 // try to move job file to proper directory
483 // the spool file as argument.
486 // spoolFile - the path to the spool file.
508 // the spool file as argument.
531 // Remove spool file i
[all...]
/haiku/src/build/libroot/
H A Dfs_descriptors.cpp503 if (FileDescriptor *file = dynamic_cast<FileDescriptor*>(descriptor)) {
504 fd = file->fd;
/haiku/src/preferences/filetypes/
H A DFileTypeWindow.cpp60 BBox* fileTypeBox = new BBox("file type BBox");
171 B_TRANSLATE("Multiple files from \"%s\" file type"), name);
174 title = B_TRANSLATE("[Multiple files] file types");
177 snprintf(buffer, sizeof(buffer), B_TRANSLATE("%s file type"), ref.name);
253 // get type from file
263 error_alert(B_TRANSLATE("Could not open file"), status);
425 BFile file(&ref, B_READ_ONLY);
426 if (is_application(file))
/haiku/src/bin/network/ppp_up/
H A DConnectionView.cpp225 BFile file(&entry, B_WRITE_ONLY);
226 WriteMessageDriverSettings(file, fSettings);
/haiku/src/apps/softwareupdater/
H A DSoftwareUpdaterWindow.cpp133 // Read settings file
709 BFile file; local
710 status_t status = file.SetTo(fSettingsPath.Path(),
716 status = settings.Flatten(&file);
718 file.Unset();
726 BFile file; local
727 status_t status = file.SetTo(fSettingsPath.Path(), B_READ_ONLY);
729 status = settings.Unflatten(&file);
730 file.Unset();

Completed in 360 milliseconds

<<21222324252627282930