/haiku/data/config/boot/ |
H A D | UserBootscript | 6 for file in $HOME/config/settings/boot/launch/* 8 /bin/open "$file" & 15 # This file is a standard bash script. For more information regarding shell
|
/haiku/src/tests/kits/media/mp3_reader_test/ |
H A D | FileDataIO.cpp | 4 : file(new BFile(filepath, open_mode)) 10 delete file; 16 return file->Read(buffer, size); 22 return file->Write(buffer, size);
|
/haiku/src/tests/kits/media/wav_reader_test/ |
H A D | FileDataIO.cpp | 4 : file(new BFile(filepath, open_mode)) 10 delete file; 16 return file->Read(buffer, size); 22 return file->Write(buffer, size);
|
/haiku/src/servers/package/ |
H A D | PackageFileManager.cpp | 43 PackageFile* file = fFilesByEntryRef.Lookup(entryRef); local 44 if (file != NULL) { 45 if (file->AcquireReference() > 0) { 46 _file = file; 51 fFilesByEntryRef.Remove(file); 54 file = new(std::nothrow) PackageFile; 55 if (file == NULL) 58 status_t error = file->Init(entryRef, this); 60 delete file; 64 fFilesByEntryRef.Insert(file); 86 PackageFileMoved(PackageFile* file, const node_ref& newDirectory) argument 101 RemovePackageFile(PackageFile* file) argument [all...] |
/haiku/src/tests/kits/storage/ |
H A D | FileTest.cpp | 81 BFile file; local 82 CPPUNIT_ASSERT( file.InitCheck() == B_NO_INIT ); 102 static void testInit(const InitTestCase& tc, BFile& file) argument 104 CPPUNIT_ASSERT( file.InitCheck() == tc.initCheck ); 114 BFile file(tc.filename, 119 testInit(tc, file); 134 BFile file(refToPass, 139 testInit(tc, file); 154 BFile file(entryToPass, 159 testInit(tc, file); 211 testInit(const InitTestCase& tc, BFile& file) argument 225 BFile file; local 247 BFile file; local 269 BFile file; local 291 BFile file; local 315 BFile file; local 351 BFile file; local 510 BFile file; local 557 BFile file; local 622 BFile file; local 660 BFile file; local 668 BFile file; local [all...] |
/haiku/src/add-ons/print/transports/print_to_file/ |
H A D | print_transport.cpp | 2 // Print to file transport add-on. 41 status_t AddFile(BFile * file); 62 BFile *file = new BFile(); local 63 AddFile(file); 64 return file; 67 BFile *file = new BFile(&ref, B_WRITE_ONLY | B_CREATE_FILE | B_ERASE_FILE); local 68 if ( file->InitCheck() != B_OK ) { 69 // invalid file selected 72 AddFile(file); 73 return file; 88 AddFile(BFile * file) argument [all...] |
/haiku/src/tests/add-ons/kernel/file_systems/bfs/ |
H A D | bfs_attribute_iterator_test.cpp | 3 * This file may be used under the terms of the MIT License. 42 add_attributes(BFile& file, int32 start, int32 count) argument 47 file.WriteAttr(name, B_INT32_TYPE, 0, &index, sizeof(int32)); 53 remove_attributes(BFile& file, int32 start, int32 count) argument 58 file.RemoveAttr(name); 64 add_marker_attribute(BFile& file, int32 index) argument 68 file.WriteAttr(name, B_INT32_TYPE, 0, &index, sizeof(int32)); 73 remove_marker_attribute(BFile& file, int32 index) argument 77 file.RemoveAttr(name); 82 test_remove_attributes(BFile& file, int3 argument 134 test_add_attributes(BFile& file, int32 start, int32 count, int32 addAt, int32 addIndex1, int32 addIndex2) argument 191 BFile file; local [all...] |
/haiku/src/libs/compat/freebsd_network/compat/sys/ |
H A D | lock.h | 11 #define MPASS3(ex, file, line) MPASS4(ex, #ex, file, line) 12 #define MPASS4(ex, what, file, line) \ 13 KASSERT((ex), ("assert %s failed at %s:%d", what, file, line))
|
/haiku/src/tools/unflatten/ |
H A D | unflatten.cpp | 12 BFile file; local 18 if (B_OK != file.SetTo(argv[1], O_RDONLY)) { 22 if (B_OK != msg.Unflatten(&file)) {
|
/haiku/src/system/libroot/posix/unistd/ |
H A D | hostname.cpp | 44 int file = open(path, O_WRONLY | O_CREAT, 0644); local 45 if (file < 0) 49 ftruncate(file, nameSize + 1); 51 if (write(file, hostName, nameSize) != (ssize_t)nameSize 52 || write(file, "\n", 1) != 1) { 53 close(file); 57 close(file); 65 // look up hostname from network settings hostname file 73 int file = open(path, O_RDONLY); local 74 if (file < [all...] |
/haiku/src/system/libroot/posix/glibc/libio/ |
H A D | iovdprintf.c | 2 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 42 tmpfil.file._lock = NULL; 44 _IO_no_init (&tmpfil.file, _IO_USER_LOCK, 0, &wd, &INTUSE(_IO_wfile_jumps)); 50 if (INTUSE(_IO_file_attach) (&tmpfil.file, d) == NULL) 55 tmpfil.file._IO_file_flags = 56 (_IO_mask_flags (&tmpfil.file, _IO_NO_READS, 60 done = INTUSE(_IO_vfprintf) (&tmpfil.file, format, arg); 62 _IO_FINISH (&tmpfil.file); [all...] |
/haiku/src/kits/debugger/dwarf/ |
H A D | DwarfManager.cpp | 28 while (DwarfFile* file = fFiles.RemoveHead()) 29 file->ReleaseReference(); 45 DwarfFile* file = _state.dwarfFile; local 47 if (file == NULL) { 48 file = new(std::nothrow) DwarfFile; 49 if (file == NULL) 51 fileReference.SetTo(file, true); 52 _state.dwarfFile = file; 54 fileReference.SetTo(file); 58 error = file [all...] |
/haiku/src/system/boot/platform/riscv/ |
H A D | FwCfg.cpp | 76 FwCfgFile file; local 77 ReadBytes((uint8_t*)&file, sizeof(file)); 78 file.size = B_BENDIAN_TO_HOST_INT32(file.size); 79 file.select = B_BENDIAN_TO_HOST_INT16(file.select); 80 file.reserved = B_BENDIAN_TO_HOST_INT16(file.reserved); 82 dprintf("size: %" B_PRIu32 "\n", file 91 ThisFile(FwCfgFile& file, uint16_t dir, const char *name) argument 110 FwCfgFile file; local [all...] |
/haiku/src/system/kernel/util/ |
H A D | hostname.cpp | 44 int file = open(path, O_WRONLY | O_CREAT, 0644); local 45 if (file < 0) 50 if (write(file, hostName, nameSize) != (ssize_t)nameSize 51 || write(file, "\n", 1) != 1) { 52 close(file); 56 close(file); 64 // look up hostname from network settings hostname file 72 int file = open(path, O_RDONLY); local 73 if (file < 0) 78 int length = read(file, hostNam [all...] |
/haiku/src/preferences/time/ |
H A D | TimeSettings.cpp | 42 BFile file(path.Path(), B_READ_ONLY); 43 if (file.InitCheck() == B_OK) { 45 if (file.Read(&tmp, sizeof(BPoint)) == sizeof(BPoint)) 63 BFile file(path.Path(), B_WRITE_ONLY | B_CREATE_FILE); 64 if (file.InitCheck() == B_OK) 65 file.Write(&leftTop, sizeof(BPoint));
|
/haiku/src/system/libroot/posix/glibc/include/ |
H A D | fcntl.h | 9 extern int __libc_open64 (const char *file, int oflag, ...); 10 extern int __libc_open (const char *file, int oflag, ...); 12 extern int __libc_creat (const char *file, mode_t mode);
|
/haiku/src/tests/add-ons/kernel/file_systems/bfs/rename/ |
H A D | rename.c | 12 int file; local 19 file = open("__file", O_CREAT | O_TRUNC | O_WRONLY); 20 if (file < 0) 22 close(file); 30 // create a file in that directory 31 file = open("__directory/1", O_CREAT | O_WRONLY); 32 close(file); 37 printf(" %s\n",rename("__file", "__directory") ? "Could not rename file!" : "Rename succeeded."); 43 // rename the file and try to remove the directory 45 printf(" %s\n", rename("__file","__directory") ? "Could not rename file!" [all...] |
/haiku/build/scripts/ |
H A D | generate_CountryFlags.sh | 9 for file in * 11 id=`echo "$file" | cut -b -2` 12 name=`echo "${file%%.*}" | cut -b 4-` 16 tail -n +3 "$file" >> $destination
|
/haiku/src/preferences/screen/ |
H A D | ScreenSettings.cpp | 31 BFile file(path.Path(), B_READ_ONLY); 32 if (file.InitCheck() == B_OK) 33 file.Read(&offset, sizeof(BPoint)); 50 BFile file(path.Path(), B_WRITE_ONLY | B_CREATE_FILE); 51 if (file.InitCheck() == B_OK) 52 file.Write(&offset, sizeof(BPoint));
|
/haiku/src/preferences/printers/ |
H A D | ScreenSettings.cpp | 31 BFile file(path.Path(), B_READ_ONLY); 32 if (file.InitCheck() == B_OK) 33 file.Read(&offset, sizeof(BPoint)); 50 BFile file(path.Path(), B_WRITE_ONLY | B_CREATE_FILE); 51 if (file.InitCheck() == B_OK) 52 file.Write(&offset, sizeof(BPoint));
|
/haiku/src/apps/text_search/ |
H A D | Model.cpp | 62 BFile file; local 63 status_t status = _OpenFile(&file, PREFS_FILE); 67 status = file.Lock(); 73 if (file.ReadAttr("RecurseDirs", B_INT32_TYPE, 0, &value, 77 if (file.ReadAttr("RecurseLinks", B_INT32_TYPE, 0, &value, 81 if (file.ReadAttr("SkipDotDirs", B_INT32_TYPE, 0, &value, 85 if (file.ReadAttr("CaseSensitive", B_INT32_TYPE, 0, &value, 89 if (file.ReadAttr("RegularExpression", B_INT32_TYPE, 0, &value, 93 if (file.ReadAttr("TextOnly", B_INT32_TYPE, 0, &value, sizeof(int32)) > 0) 96 if (file 126 BFile file; local 234 BFile file; local 266 BFile file; local 304 _OpenFile(BFile* file, const char* name, uint32 openMode, directory_which which, BVolume* volume) const argument [all...] |
/haiku/src/kits/mail/ |
H A D | MailFilter.cpp | 25 BMailFilter::HeaderFetched(entry_ref& ref, BFile& file, BMessage& attributes) argument 32 BMailFilter::BodyFetched(const entry_ref& ref, BFile& file, argument 45 BMailFilter::MessageReadyToSend(const entry_ref& ref, BFile& file) argument 51 BMailFilter::MessageSent(const entry_ref& ref, BFile& file) argument
|
/haiku/src/bin/addattr/ |
H A D | addAttr.h | 14 status_t addAttr(const char* file, type_code attrType, const char* attrName,
|
/haiku/headers/private/kernel/boot/platform/bios_ia32/ |
H A D | platform_stage2_args.h | 9 # error This file is included from <boot/stage2_args.h> only
|
/haiku/headers/private/kernel/boot/platform/efi/ |
H A D | platform_stage2_args.h | 10 # error This file is included from <boot/stage2_args.h> only
|