Searched refs:file (Results 1 - 25 of 1427) sorted by last modified time

1234567891011>>

/haiku-fatelf/src/apps/debugger/dwarf/
H A DDwarfFile.cpp63 ExpressionEvaluationContext(DwarfFile* file, CompilationUnit* unit, argument
72 fFile(file),
353 target_addr_t FDEAddressOffset(ElfFile* file, argument
368 return file->TextSegment()->LoadAddress();
371 return file->DataSegment()->LoadAddress();
389 ElfFile* file, ElfSection* debugFrameSection,
392 target_addr_t address = valueOnly ? 0 : FDEAddressOffset(file,
504 // load the ELF file
1442 // file names
1444 while (const char* file
388 ReadEncodedAddress(DataReader &reader, ElfFile* file, ElfSection* debugFrameSection, bool valueOnly = false) const argument
[all...]
H A DDwarfManager.cpp40 DwarfFile* file = new(std::nothrow) DwarfFile; local
41 if (file == NULL)
44 BReference<DwarfFile> fileReference(file, true);
45 status_t error = file->Load(fileName);
50 fFiles.Add(file);
54 file->AcquireReference();
55 _file = file;
66 DwarfFile* file = it.Next();) {
67 status_t error = file->FinishLoading();
/haiku-fatelf/src/bin/bfs_tools/lib/
H A DInode.cpp544 // attributes (of a file)
770 if (pos > fInode->data.size) // reading outside the file
815 // FIXME: truncate size -> should enlargen the file
817 if (pos > fInode->data.size) // writing outside the file
965 BFile file; local
966 status = file.SetTo(path.Path(),
976 ssize_t written = file.Write(buffer, size);
981 return CopyAttributesTo(&file);
H A DDisk.cpp122 //fprintf(stderr,"Could not open file: %s\n",strerror(fFile.InitCheck()));
145 fprintf(stderr,"Disk: Could not get partition info.\n Use file size as partition size\n");
151 fprintf(stderr,"Disk: Invalid file size (%Ld bytes)!\n",fSize);
215 BFile file("/boot/home/bootblock.old", B_READ_WRITE | B_CREATE_FILE);
216 if (file.InitCheck() < B_OK)
217 return file.InitCheck();
224 file.Write(buffer, BlockSize());
/haiku-fatelf/src/bin/network/arp/
H A Darp.cpp96 " -f - read ARP entries from file\n"
252 FILE *file = fopen(filename, "r"); local
253 if (file == NULL) {
254 fprintf(stderr, "%s: Could not open file: %s\n", kProgramName, strerror(errno));
261 while (fgets(line, sizeof(line), file) != NULL) {
331 fclose(file);
386 // set from file
/haiku-fatelf/src/kits/print/
H A DPrinterDriverAddOn.cpp136 BFile file(spoolFile, B_READ_WRITE);
146 parameters.AddInt32("file", (addr_t)&file);
149 BMessage* message = (*func)(&file, spoolFolder, &parameters);
/haiku-fatelf/src/preferences/filetypes/
H A DApplicationTypeWindow.cpp235 // TODO: we could identify the file in case it doesn't have a type...
295 B_TRANSLATE("Save into resource file" B_UTF8_ELLIPSIS), NULL));
518 BFile file(&entry, B_READ_ONLY);
519 if (file.InitCheck() != B_OK)
522 BAppFileInfo info(&file);
680 BFile file; local
681 status_t status = file.SetTo(&fEntry, B_READ_WRITE);
685 BAppFileInfo info(&file);
/haiku-fatelf/src/system/kernel/fs/
H A Dvfs.cpp20 #include <sys/file.h>
122 /*! \brief Structure to manage a mounted file system
271 // file descriptor operation prototypes
714 /*! Tries to open the specified file system module.
715 Accepts a file system name of the form "bfs" or "file_systems/bfs/v1".
716 Returns a pointer to file system module interface, or NULL if it
738 /*! Accepts a file system name of the form "bfs" or "file_systems/bfs/v1"
750 // the name already seems to be the module's file name
772 /*! Accepts a list of file system names separated by a colon, one for each
773 layer and returns the file syste
4241 struct vnode* file; local
[all...]
/haiku-fatelf/src/apps/debugger/controllers/
H A DDebugReportGenerator.cpp109 BFile file(&outputPath, B_WRITE_ONLY | B_CREATE_FILE | B_ERASE_FILE);
110 status_t result = file.InitCheck();
127 result = file.Write(output.String(), output.Length());
/haiku-fatelf/src/apps/deskbar/
H A DBarView.cpp987 BFile file(&hintref, O_RDONLY);
988 BAppFileInfo fileinfo(&file);
H A DBarApp.cpp781 BFile file(ref, B_READ_ONLY);
782 BAppFileInfo appMime(&file);
913 BFile file(&appInfo.ref, B_READ_ONLY);
914 BAppFileInfo appMime(&file);
H A DDeskbarMenu.cpp573 BFile file(&ref, B_READ_ONLY);
576 BAppFileInfo appInfo(&file);
/haiku-fatelf/src/apps/workspaces/
H A DWorkspaces.cpp4 * This file is distributed under the terms of the MIT License.
85 status_t _Open(BFile& file, int mode);
174 BFile file; local
175 if (_Open(file, B_READ_ONLY) == B_OK) {
177 if (settings.Unflatten(&file) == B_OK) {
195 BFile file(path.Path(), B_READ_ONLY);
196 if (file.InitCheck() == B_OK
197 && file.Read(&fWindowFrame, sizeof(BRect)) == sizeof(BRect)) {
201 if (file.Read(&frame, sizeof(BRect)) == sizeof(BRect))
258 // write settings file
259 BFile file; local
276 _Open(BFile& file, int mode) argument
[all...]
/haiku-fatelf/src/bin/bfs_tools/
H A Dbfsinfo.cpp21 dump_bplustree(Disk &disk, BPositionIO *file, off_t size, bool hexDump) argument
29 if (file->ReadAt(0, buffer, size) != size) {
30 puts("couldn't read whole file");
177 fprintf(stderr, "Could not open device or file: %s\n", strerror(disk.InitCheck()));
/haiku-fatelf/src/kits/storage/
H A DResourceFile.cpp8 \file ResourceFile.cpp
46 // recognized file types (indices into kFileTypeNames)
60 "x86 resource file",
61 "PPC resource file",
62 "ELF object file",
63 "FatELF object file",
64 "PEF object file",
65 "empty file",
79 read_exactly(BPositionIO& file, off_t position, void* buffer, size_t size, argument
82 ssize_t read = file
96 write_exactly(BPositionIO& file, off_t position, const void* buffer, size_t size, const char* errorMessage = NULL) argument
241 SetTo(BFile* file, bool clobber) argument
372 _InitFile(BFile& file, bool clobber) argument
454 _InitELFFile(BFile& file) argument
503 _InitELFXFile(BFile& file, uint64 fileSize) argument
677 _InitFatELFFile(BFile& file) argument
723 _InitPEFFile(BFile& file, const PEFContainerHeader& pefHeader) argument
1330 BFile* file = fFile.File(); local
[all...]
H A DMime.cpp12 \file Mime.cpp
335 BFile file; local
346 status = file.SetTo(path.Path(), B_READ_ONLY);
348 status = file.GetSize(&size);
363 if (file.Read(*_data, size) != size) {
H A DFile.cpp34 BFile::BFile(const BFile& file) argument
38 *this = file;
42 // Creates a BFile and initializes it to the file referred to by
52 // Creates a BFile and initializes it to the file referred to by
62 // Creates a BFile and initializes it to the file referred to by
72 // Creates a BFile and initializes it to the file referred to by
95 // Re-initializes the BFile to the file referred to by the
124 // Re-initializes the BFile to the file referred to by the
151 // Re-initializes the BFile to the file referred to by the
175 // Re-initializes the BFile to the file referre
310 operator =(const BFile &file) argument
[all...]
/haiku-fatelf/src/kits/tracker/
H A DTrackerScripting.cpp51 Create file: on a "Tracker" "File" "B_CREATE_PROPERTY" "name"
/haiku-fatelf/src/servers/notification/
H A DNotificationWindow.cpp424 BFile file(path.Path(), B_READ_ONLY);
426 if (settings.Unflatten(&file) != B_OK)
469 BFile file(path.Path(), B_WRITE_ONLY);
475 settings.Flatten(&file);
492 BFile file(path.Path(), B_READ_ONLY);
493 settings.Unflatten(&file);
535 BFile file(path.Path(), B_READ_ONLY);
536 settings.Unflatten(&file);
/haiku-fatelf/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...]
H A DSettings.cpp103 Settings::Save(BFile* file) argument
123 message.Flatten(file);
128 Settings::Load(BFile* file) argument
131 if (message.Unflatten(file) == B_OK) {
/haiku-fatelf/src/system/kernel/vm/
H A DVMAnonymousCache.cpp239 swap_file* file = it.Next();) {
240 swap_addr_t total = file->last_slot - file->first_slot;
242 "\n", file->vnode, total, file->bmp->free_slots);
245 freeSwapPages += file->bmp->free_slots;
268 panic("swap_slot_alloc(): no swap file in the system\n");
300 // if this swap file has used more than 90% percent of its space
324 panic("find_swap_file(): can't find swap file for slot %" B_PRIu32 "\n",
523 // we'd risk a deadlock in case we come from the file cach
[all...]
/haiku-fatelf/data/bin/
H A Dinstalloptionalpackage388 for file in ${buildFiles} ; do
389 GetBuildFile ${file}
397 # GetBuildFile <file>
458 local file="${baseDir}/OptionalPackageNames"
459 if ! [ -f ${file} ] ; then
469 done < ${file}
476 # Creates a file containing available package names
481 local file="${baseDir}/OptionalPackageNames"
482 if [ -e "${file}" ]; then
483 rm "${file}"
[all...]
/haiku-fatelf/src/apps/stylededit/
H A DStyledEditWindow.cpp530 B_TRANSLATE("Unable to unlock file\n\t%s"),
745 BFile file(&entry, B_READ_WRITE | B_CREATE_FILE);
746 if (file.InitCheck() == B_OK
747 && (status = file.GetStat(&st)) == B_OK) {
748 // check the file permissions
753 bs_printf(&alertText, B_TRANSLATE("This file is marked "
767 status = fTextView->WriteStyledEditFile(&file);
1343 // info about position of caret may live in the file attributes
1401 BFile file; local
1403 status = file
[all...]
H A DStyledEditView.cpp140 StyledEditView::WriteStyledEditFile(BFile* file) argument
142 return BTranslationUtils::WriteStyledEditFile(this, file,

Completed in 181 milliseconds

1234567891011>>