Searched refs:file (Results 126 - 150 of 737) sorted by relevance

1234567891011>>

/haiku/src/system/libroot/posix/glibc/libio/
H A Dgenops.c2 This file is part of the GNU C Library.
19 As a special exception, if you link the code in this file with
23 however invalidate any other reasons why the executable file
61 if (fp->file._flags & _IO_LINKED)
71 f = (struct _IO_FILE_plus **) &(*f)->file._chain)
75 *f = (struct _IO_FILE_plus *) fp->file._chain;
80 fp->file._flags &= ~_IO_LINKED;
95 if ((fp->file._flags & _IO_LINKED) == 0)
97 fp->file._flags |= _IO_LINKED;
104 fp->file
326 __underflow(_IO_FILE *file) argument
[all...]
H A Diofopen.c2 This file is part of the GNU C Library.
19 As a special exception, if you link the code in this file with
23 however invalidate any other reasons why the executable file
49 vanilla file operations and reset the jump table accordingly. */
80 new_f->fp.file._lock = &new_f->lock;
83 _IO_no_init (&new_f->fp.file, 0, 0, &new_f->wd, &INTUSE(_IO_wfile_jumps));
85 _IO_no_init (&new_f->fp.file, 1, 0, NULL, NULL);
94 return __fopen_maybe_mmap (&new_f->fp.file);
/haiku/src/kits/media/
H A DSoundFile.cpp60 BMediaFile * file = fMediaFile; local
62 delete file;
65 BFile * file = fSoundFile; local
67 delete file;
342 BFile * file = new BFile(ref, B_READ_ONLY); local
343 status = file->InitCheck();
345 fSoundFile = file;
348 BMediaFile * media = new BMediaFile(file);
352 delete file;
371 delete file;
[all...]
/haiku/src/apps/processcontroller/
H A DPreferences.cpp44 BFile file(&entry, B_READ_ONLY);
45 if (file.InitCheck() == B_OK)
46 Unflatten(&file);
66 BFile file(fSettingsFile, B_READ_ONLY);
67 if (file.InitCheck() == B_OK)
68 Unflatten(&file);
77 BFile file; local
79 file.SetTo(fSettingsFile, B_READ_WRITE | B_CREATE_FILE | B_ERASE_FILE);
84 prefdir.CreateFile(fName, &file, false);
88 if (file
[all...]
/haiku/headers/posix/
H A Dshadow.h44 extern struct spwd* fgetspent(FILE* file);
45 extern int fgetspent_r(FILE* file, struct spwd* spwd, char* buffer,
/haiku/src/apps/bootmanager/
H A DBootMenu.h25 "type" String (short name of file system: bfs, dos)
45 BFile* file) = 0;
47 BFile* file) = 0;
/haiku/src/apps/launchbox/
H A Dsupport.cpp33 BFile file(path.Path(), B_READ_ONLY);
34 if ((ret = file.InitCheck()) == B_OK) {
35 ret = message->Unflatten(&file);
36 file.Unset();
56 BFile file(path.Path(), B_WRITE_ONLY | B_CREATE_FILE
58 if ((ret = file.InitCheck()) == B_OK) {
59 ret = message->Flatten(&file);
60 file.Unset();
/haiku/src/apps/showimage/
H A DShowImageSettings.cpp188 ShowImageSettings::_OpenSettingsFile(BFile* file, bool forReading) argument
197 return file->SetTo(path.Path(), forReading
205 BFile file; local
206 if (_OpenSettingsFile(&file, true))
207 fSettings.Unflatten(&file);
214 BFile file; local
215 if (_OpenSettingsFile(&file, false))
216 fSettings.Flatten(&file);
/haiku/src/tests/add-ons/print/ppd/parser/
H A DScanner.h26 Scanner(const char* file);
37 // Returns the file name of the current character
49 // Include the file at the current position and read the first char.
50 bool Include(const char* file);
/haiku/src/tools/restest/
H A DOffsetFile.h12 OffsetFile(const BFile& file, off_t offset);
15 status_t SetTo(const BFile& file, off_t offset);
H A DOffsetFile.cpp16 OffsetFile::OffsetFile(const BFile& file, off_t offset) argument
21 SetTo(file, offset);
31 OffsetFile::SetTo(const BFile& file, off_t offset) argument
34 fFile = file;
H A DResourceFile.h22 void Init(BFile& file); // throws Exception
40 void _InitFile(BFile& file);
41 void _InitELFFile(BFile& file);
42 void _InitPEFFile(BFile& file,
/haiku/headers/os/drivers/bus/
H A DATA.h38 union ata_task_file *file, ata_reg_mask mask);
40 union ata_task_file *file, ata_reg_mask mask);
/haiku/src/apps/aboutsystem/
H A DHyperTextActions.cpp44 OpenFileAction::OpenFileAction(const BString& file) argument
46 fFile(file)
59 // get the entry ref and let Tracker open the file
/haiku/headers/private/storage/
H A DOffsetFile.h6 \file OffsetFile.h
21 \brief Provides access to a file skipping a certain amount of bytes at
25 data of a file past a certain offset. This is very handy e.g. for dealing
26 with resources, as they always reside at the end of a file, but may start
36 OffsetFile(BFile *file, off_t offset);
39 status_t SetTo(BFile *file, off_t offset);
/haiku/src/tools/translation/bmpinfo/
H A Dbmpinfo.cpp54 uint32 fileSize; // file size in bytes
56 uint32 dataOffset; // file offset to actual image
82 print_bmp_info(BFile &file) argument
88 if (file.Read(buf, size) != size) {
89 printf(B_TRANSLATE("Error: unable to read BMP file header\n"));
105 printf(B_TRANSLATE(" file size: 0x%.8lx (%lu)\n"), fh.fileSize,
113 if (file.Read(&headersize, 4) != 4) {
123 if (file.Read(reinterpret_cast<uint8 *> (&msh) + 4, 36) != 36) {
165 if (file.Read(reinterpret_cast<uint8 *> (&os2) + 4, 8) != 8) {
196 "file\
201 BFile file; local
[all...]
/haiku/src/system/libnetwork/netresolv/isc/
H A Dassertions.c90 default_assertion_failed(const char *file, int line, assertion_type type, argument
94 file, line, assertion_type_to_text(type), cond,
101 /*! \file */
/haiku/src/servers/registrar/
H A DRecentApps.cpp131 BFile file;
135 status_t err = file.SetTo(ref, B_READ_ONLY);
137 err = info.SetTo(&file);
212 apps list to the given file stream.
216 RecentApps::Save(FILE* file) argument
218 status_t error = file ? B_OK : B_BAD_VALUE;
220 fprintf(file, "# Recent applications\n");
223 fprintf(file, "RecentApp %s\n", item->c_str());
225 fprintf(file, "\n");
/haiku/src/add-ons/kernel/network/ppp/shared/libppp/headers/
H A DMessageDriverSettingsUtils.h27 extern bool WriteMessageDriverSettings(BFile& file, const BMessage& message);
/haiku/src/apps/drivesetup/
H A DDriveSetup.h29 status_t _GetSettingsFile(BFile& file,
/haiku/src/apps/mediaplayer/supplier/
H A DSubTitlesSRT.h19 SubTitlesSRT(BFile* file, const char* name);
/haiku/src/apps/mediaplayer/support/
H A DFileReadWrite.h19 FileReadWrite(BFile* file,
/haiku/src/tests/add-ons/translators/exif/
H A Ddump_exif.cpp95 BFile file(&ref, B_READ_WRITE);
96 status_t status = file.InitCheck();
102 BBufferIO stream(&file, 65536, false);
103 status = process_jpeg(file);
105 fprintf(stderr, "%s: processing JPEG file failed: %s\n", ref.name,
/haiku/src/apps/deskcalc/
H A DCalcApplication.h35 status_t _InitSettingsFile(BFile* file, bool write);
/haiku/headers/private/storage/mime/
H A DMimeSniffer.h32 virtual float GuessMimeType(BFile* file,

Completed in 513 milliseconds

1234567891011>>