/haiku-fatelf/src/bin/makeudfimage/ |
H A D | FileStream.cpp | 17 : PositionIOStream(fFile) 18 , fFile(path, open_mode) 27 error = fFile.InitCheck();
|
H A D | FileStream.h | 24 void Flush() { fFile.Sync(); } 27 BFile fFile; member in class:FileStream
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/btree/ |
H A D | Volume.h | 20 Volume(BFile *file) : fFile(file) {} 22 BFile *Device() { return fFile; } 31 BFile *fFile; member in class:Volume
|
H A D | Inode.cpp | 17 fFile.SetTo(name,B_CREATE_FILE | B_READ_WRITE | B_ERASE_FILE); 19 fVolume = new Volume(&fFile); 51 return fFile.SetSize(bytes);
|
/haiku-fatelf/src/add-ons/print/transports/parallel_port/ |
H A D | ParallelTransport.cpp | 45 status_t InitCheck() { return fFile > -1 ? B_OK : B_ERROR; } 51 int fFile; member in class:ParallelTransport 56 : fFile(-1) 67 fFile = open(device, O_RDWR | O_EXCL, 0); 68 if (fFile < 0) { 71 fFile = open(device, O_WRONLY | O_EXCL, 0); 74 if (fFile < 0) 89 close(fFile); 94 return read(fFile, buffer, size); 99 return write(fFile, buffe [all...] |
/haiku-fatelf/src/add-ons/print/transports/serial_port/ |
H A D | SerialTransport.cpp | 45 status_t InitCheck() { return fFile > -1 ? B_OK : B_ERROR; } 51 int fFile; member in class:SerialTransport 56 : fFile(-1) 67 fFile = open(device, O_RDWR | O_EXCL, 0); 68 if (fFile < 0) { 71 fFile = open(device, O_WRONLY | O_EXCL, 0); 74 if (fFile < 0) 90 close(fFile); 95 return read(fFile, buffer, size); 100 return write(fFile, buffe [all...] |
/haiku-fatelf/src/tools/restest/ |
H A D | OffsetFile.cpp | 9 : fFile(), 17 : fFile(), 34 fFile = file; 36 return fFile.InitCheck(); 43 fFile.Unset(); 52 return fFile.InitCheck(); 59 // return fFile.Read(buffer, size); 66 // return fFile.Write(buffer, size); 74 return fFile.ReadAt(pos + fOffset, buffer, size); 81 return fFile [all...] |
/haiku-fatelf/src/kits/storage/ |
H A D | OffsetFile.cpp | 19 : fFile(NULL), 27 : fFile(NULL), 44 fFile = file; 46 return fFile->InitCheck(); 53 fFile = NULL; 62 return (fFile ? fFile->InitCheck() : B_NO_INIT); 69 return fFile; 79 result = fFile->ReadAt(pos + fOffset, buffer, size); 90 result = fFile [all...] |
H A D | FileIO.cpp | 15 fFile(file), 23 if (fOwnsFile && fFile != NULL) 24 fclose(fFile); 32 ssize_t bytesRead = fread(buffer, 1, size, fFile); 41 ssize_t bytesRead = fwrite(buffer, 1, size, fFile); 58 fseeko(fFile, oldPosition, SEEK_SET); 76 fseeko(fFile, oldPosition, SEEK_SET); 85 if (fseeko(fFile, position, seekMode) < 0) 95 off_t result = ftello(fFile); 129 off_t oldPosition = ftello(fFile); [all...] |
/haiku-fatelf/src/tests/add-ons/print/ppd/ui/ |
H A D | PrinterSelection.h | 22 BString fFile; member in class:FileItem 27 , fFile(file) 31 const char* GetFile() { return fFile.String(); }
|
/haiku-fatelf/src/tests/add-ons/print/ppd/parser/ |
H A D | PPDFile.cpp | 17 fSize = fFile->Read(fBuffer, kReadBufferSize); 28 , fFile(file, B_READ_ONLY) 32 , fBuffer(&fFile) 43 return fFile.InitCheck();
|
H A D | PPDFile.h | 26 BFile* fFile; member in class:FileBuffer 33 FileBuffer(BFile* file) : fFile(file), fIndex(0), fSize(0) {} 40 BFile fFile; member in class:PPDFile
|
/haiku-fatelf/src/add-ons/kernel/file_systems/udf/ |
H A D | UdfDebug.cpp | 256 : fFile(-1) 262 if (fFile >= 0) 263 close(fFile); 267 if (fFile < 0 && filename) 268 fFile = open(filename, O_RDWR | O_CREAT | O_TRUNC); 271 int File() const { return fFile; } 273 int fFile; member in class:DebugOutputFile
|
/haiku-fatelf/src/add-ons/kernel/partitioning_systems/session/ |
H A D | Debug.cpp | 256 : fFile(-1) 262 if (fFile >= 0) 263 close(fFile); 267 if (fFile < 0 && filename) 268 fFile = open(filename, O_RDWR | O_CREAT | O_TRUNC); 271 int File() const { return fFile; } 273 int fFile; member in class:DebugOutputFile
|
/haiku-fatelf/src/add-ons/print/drivers/pdf/source/ |
H A D | Scanner.cpp | 34 fFile = fopen(name, "r"); 40 if (fFile) fclose(fFile); 44 return fFile != NULL ? B_OK : B_ERROR; 48 return feof(fFile); 52 int ch = fgetc(fFile); 65 ungetc(ch, fFile);
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/udf/r5/ |
H A D | UdfDebug.cpp | 255 : fFile(-1) 261 if (fFile >= 0) 262 close(fFile); 266 if (fFile < 0 && filename) 267 fFile = open(filename, O_RDWR | O_CREAT | O_TRUNC); 270 int File() const { return fFile; } 272 int fFile; member in class:DebugOutputFile
|
/haiku-fatelf/src/libs/print/libprint/ |
H A D | PrintProcess.cpp | 49 fFile = file; 59 fOffset = fFile->Position(); 62 fFile->Read(&o, sizeof(o)); 63 fFile->Seek(o, SEEK_SET); 78 fFile->Read(&fPictureCount, sizeof(long)); 80 fOffset = fFile->Position(); 82 fFile->Seek(fOffset, SEEK_SET); 85 fFile->Seek(sizeof(offset) + sizeof(dummy), SEEK_CUR); 98 *picture_data = new PictureData(fFile);
|
/haiku-fatelf/src/apps/bootmanager/ |
H A D | FileSelectionPage.cpp | 85 fSettings->ReplaceString("file", fFile->Text()); 113 fFile = new BTextControl(rect, "file", 116 fFile->SetDivider(be_plain_font->StringWidth(fFile->Label()) + 5); 117 AddChild(fFile); 132 float left = fFile->Frame().left; 138 float fileHeight = fFile->Bounds().Height(); 148 fFile->MoveTo(left, fileTop); 151 fFile->ResizeTo(width, fileHeight); 166 BPath file(fFile [all...] |
/haiku-fatelf/src/apps/mediaplayer/support/ |
H A D | FileReadWrite.cpp | 16 : fFile(file), 40 ssize_t written = fFile->Write(contents.String(), contents.Length()); 53 fAmtRead = fFile->Read(&fBuffer, sizeof(fBuffer)); 78 fAmtRead = fFile->Read(&fBuffer, sizeof(fBuffer));
|
/haiku-fatelf/src/kits/tracker/ |
H A D | SettingsHandler.cpp | 53 : fFile(0), 66 fFile = fopen(fFileName, "r"); 67 if (!fFile) { 83 if (fFile) 84 fclose(fFile); 151 if (fFile == 0) 153 if (fgets(fBuffer, kBufferSize, fFile) == 0) 179 // done with fFile
|
/haiku-fatelf/src/kits/media/ |
H A D | Sound.cpp | 24 fFile(NULL), 41 fFile(new(std::nothrow) BFile(soundFile, B_READ_ONLY)), 47 if (fFile == NULL) { 52 fStatus = fFile->InitCheck(); 57 fTrackReader = new(std::nothrow) BPrivate::BTrackReader(fFile, fFormat); 75 fFile(NULL), 90 delete fFile; 157 if (fFile != NULL) { 159 fFile->GetSize(&result);
|
/haiku-fatelf/src/apps/pulse/ |
H A D | Prefs.cpp | 32 fFile = new BFile(path.Path(), B_READ_WRITE | B_CREATE_FILE); 33 if (fFile->InitCheck() != B_OK) { 35 if (fFile->SetTo(path.Path(), B_READ_ONLY) != B_OK) { 132 delete fFile; 185 status_t err = fFile->ReadAttr(name, B_INT32_TYPE, 0, value, 4); 188 if (fFile->WriteAttr(name, B_INT32_TYPE, 0, defaultvalue, 4) < 0) { 204 status_t err = fFile->ReadAttr(name, B_BOOL_TYPE, 0, value, 1); 207 if (fFile->WriteAttr(name, B_BOOL_TYPE, 0, defaultvalue, 1) < 0) { 223 status_t err = fFile->ReadAttr(name, B_RECT_TYPE, 0, value, sizeof(BRect)); 226 if (fFile [all...] |
/haiku-fatelf/src/apps/aboutsystem/ |
H A D | HyperTextActions.cpp | 47 fFile(file) 62 if (get_ref_for_path(fFile.String(), &ref) != B_OK
|
/haiku-fatelf/src/tests/kits/midi/synth_file_reader/ |
H A D | SynthFileReader.cpp | 40 fFile = fopen(synthFile, "r+b"); 42 if (fFile) { 46 fclose(fFile); fFile = NULL; 52 if (fFile) { 53 fclose(fFile); fFile = NULL; 58 return fFile != NULL ? B_OK : B_ERROR; 66 return 1 == fread(data, size, 1, fFile); 116 fseek(fFile, byte [all...] |
/haiku-fatelf/src/apps/debugger/model/ |
H A D | FileSourceCode.cpp | 21 fFile(file), 25 fFile->AcquireReference(); 35 fFile->ReleaseReference(); 128 return fFile;
|