/haiku/src/servers/package/ |
H A D | Package.cpp | 23 fFile(file), 28 fFile->AcquireReference(); 34 fFile->ReleaseReference(); 41 Package* clone = new(std::nothrow) Package(fFile);
|
H A D | Package.h | 26 { return fFile; } 29 { return fFile->NodeRef(); } 31 { return fFile->FileName(); } 33 { return fFile->EntryRef(); } 36 { return fFile->Info(); } 39 { return fFile->RevisionedName(); } 41 { return fFile->RevisionedNameThrows(); } 56 PackageFile* fFile; member in class:Package
|
/haiku/src/tests/add-ons/kernel/file_systems/bfs/btree/ |
H A D | Volume.h | 20 Volume(BFile *file) : fFile(file) {} 25 BFile *Device() { return fFile; } 26 void *BlockCache() { return fFile; } 43 BFile *fFile; member in class:Volume
|
H A D | Inode.cpp | 18 fFile.SetTo(name,B_CREATE_FILE | B_READ_WRITE | B_ERASE_FILE); 20 fVolume = new Volume(&fFile); 52 return fFile.SetSize(bytes);
|
/haiku/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/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/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/src/add-ons/print/transports/serial_port/ |
H A D | SerialTransport.cpp | 26 status_t InitCheck() { return fFile > -1 ? B_OK : B_ERROR; } 32 int fFile; member in class:SerialTransport 38 : fFile(-1) 50 fFile = open(device, O_RDWR | O_EXCL, 0); 51 if (fFile < 0) { 54 fFile = open(device, O_WRONLY | O_EXCL, 0); 57 if (fFile < 0) 65 tcgetattr(fFile, &options); 77 tcsetattr(fFile, TCSANOW, &options); 94 close(fFile); [all...] |
/haiku/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/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/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/src/add-ons/kernel/file_systems/udf/ |
H A D | UdfDebug.cpp | 258 : fFile(-1) 264 if (fFile >= 0) 265 close(fFile); 269 if (fFile < 0 && filename) 270 fFile = open(filename, O_RDWR | O_CREAT | O_TRUNC); 273 int File() const { return fFile; } 275 int fFile; member in class:DebugOutputFile
|
/haiku/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(int32)); 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/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/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));
|
H A D | FileReadWrite.h | 28 BFile* fFile; member in class:FileReadWrite
|
/haiku/src/kits/shared/ |
H A D | SettingsHandler.cpp | 62 fFile(0), 75 fFile = fopen(fFileName, "r"); 76 if (!fFile) { 92 if (fFile) 93 fclose(fFile); 160 if (fFile == 0) 162 if (fgets(fBuffer, kBufferSize, fFile) == 0) 190 // done with fFile
|
/haiku/src/preferences/repositories/ |
H A D | RepositoriesSettings.cpp | 100 status_t status = fFile.SetTo(fFilePath.Path(), B_READ_ONLY); 102 status = settings.Unflatten(&fFile); 103 fFile.Unset(); 111 status_t status = fFile.SetTo(fFilePath.Path(), 114 status = settings.Flatten(&fFile); 115 fFile.Unset();
|
/haiku/src/apps/mail/ |
H A D | Signature.cpp | 70 fFile(NULL) 131 fDelete->SetEnabled(fFile); 204 if (fFile) { 205 delete fFile; 206 fFile = NULL; 219 fFile = new BFile(&ref, O_RDWR); 220 if (fFile->InitCheck() == B_OK) { 222 fFile->ReadAttr(INDEX_SIGNATURE, B_STRING_TYPE, 0, name, 227 fFile->GetSize(&size); 232 size = fFile [all...] |
/haiku/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/src/apps/aboutsystem/ |
H A D | HyperTextActions.cpp | 46 fFile(file) 61 if (get_ref_for_path(fFile.String(), &ref) != B_OK
|
/haiku/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/src/kits/debugger/model/ |
H A D | FileSourceCode.cpp | 21 fFile(file), 25 fFile->AcquireReference(); 35 fFile->ReleaseReference(); 128 return fFile;
|