Searched refs:file (Results 26 - 50 of 737) sorted by relevance

1234567891011>>

/haiku/headers/private/kernel/boot/platform/openfirmware/
H A Dplatform_stage2_args.h9 # error This file is included from <boot/stage2_args.h> only
/haiku/src/system/libroot/posix/
H A Dassert.cpp24 __assert_fail(const char* assertion, const char* file, unsigned int line, argument
27 fprintf(stderr, "%s: %s:%d:%s: %s\n", __progname, file, line, function,
42 __assert_perror_fail(int error, const char* file, unsigned int line, argument
45 __assert_fail(strerror(error), file, line, function); local
/haiku/src/tools/checkstyle/
H A Dutils.py24 file = open(outputFileName, 'w')
25 file.write("""
37 file.write(fileName + "<br/>")
38 file.write("</p>")
39 file.close()
43 file = open(outputFileName, 'a')
44 file.write("""
48 file.close()
55 file = open(outputFileName, 'a')
56 file
[all...]
/haiku/src/add-ons/print/drivers/postscript/
H A DPPDParser.cpp16 PPDParser::PPDParser(BFile& file) argument
18 InitData(file);
24 BFile file(&dir, fname, B_READ_ONLY);
25 InitData(file);
31 BFile file(path.Path(), B_READ_ONLY);
32 InitData(file);
37 PPDParser::InitData(BFile& file) argument
39 // Check if file exists...
40 if ((fInitErr = file.InitCheck()) != B_OK)
43 // Read entire file int
[all...]
/haiku/src/apps/debuganalyzer/util/
H A DDataSource.cpp40 BFile* file = new(std::nothrow) BFile; local
41 if (file == NULL)
44 status_t error = OpenFile(*file);
46 delete file;
50 *_io = file;
77 PathDataSource::OpenFile(BFile& file) argument
79 return file.SetTo(fPath.Path(), B_READ_ONLY);
119 EntryRefDataSource::OpenFile(BFile& file) argument
121 return file.SetTo(&fRef, B_READ_ONLY);
/haiku/src/libs/print/libprint/
H A DPrintProcess.cpp14 PictureData::PictureData(BFile *file) argument
17 DBGMSG(("1: current seek position = 0x%x\n", (int)file->Position()));
19 file->Read(&point, sizeof(BPoint));
20 file->Read(&rect, sizeof(BRect));
27 DBGMSG(("2: current seek position = 0x%x\n", (int)file->Position()));
29 picture->Unflatten(file);
31 DBGMSG(("3: current seek position = 0x%x\n", (int)file->Position()));
47 PageData::PageData(BFile *file, bool reverse) argument
49 fFile = file;
57 file
107 SpoolData(BFile *file, int32 page_count, int32 nup, bool reverse) argument
[all...]
/haiku/src/tools/gensyscalls/
H A Dgensyscalls.cpp33 " <calls> - Output: The assembly source file "
36 " <dispatcher> - Output: The C source file to be included by "
38 " syscall dispatcher source file.\n"
42 " <table> - Output: A C source file containing an array "
45 " <strace> - Output: A C source file for strace "
323 // open the syscalls output file
324 ofstream file(filename, ofstream::out | ofstream::trunc);
325 if (!file.is_open())
340 file << "SYSCALL" << (paramSize / 4) << "("
347 // open the dispatcher output file
[all...]
/haiku/src/add-ons/print/transports/shared/
H A DDbgMsg.h9 void DUMP_BFILE(BFile *file, const char *name);
14 #define DUMP_BFILE(file, name) (void)0
/haiku/src/apps/icon-o-matic/generic/support/
H A Dsupport_settings.cpp31 BFile file(path.Path(), B_READ_ONLY);
32 if ((ret = file.InitCheck()) == B_OK) {
33 ret = message->Unflatten(&file);
34 file.Unset();
54 BFile file(path.Path(),
56 if ((ret = file.InitCheck()) == B_OK) {
57 ret = message->Flatten(&file);
58 file.Unset();
/haiku/src/apps/mediaconverter/
H A DMediaFileInfo.h3 This file may be used under the terms of the MIT License.
20 MediaFileInfo(BMediaFile* file = NULL);
21 status_t LoadInfo(BMediaFile* file);
/haiku/src/apps/expander/
H A DExpanderSettings.cpp62 read_data(BFile& file, T& value) argument
64 return file.Read(&value, sizeof(T)) == (ssize_t)sizeof(T);
85 BFile file; local
86 if (Open(&file, B_READ_ONLY) != B_OK)
101 if (read_data(file, unknown)
102 && read_data(file, automaticallyExpandFiles)
103 && read_data(file, closeWhenDone)
104 && read_data(file, destinationFolder)
105 && read_data(file, unknown)
106 && read_data(file, re
201 Open(BFile* file, int32 mode) argument
[all...]
/haiku/data/bin/
H A Dinstall-wifi-firmwares.sh96 local file=$2
100 if [ ! -e $dir/$file ] ; then
102 wget -nv -O $dir/$file $url
116 for file in * ; do
117 if [ "$file" != "$driver" ] && [ -f "$file" ] ; then
118 chmod a=r $file
152 local file='ipw2100-fw-1.3.tgz'
153 local url="${baseURL}/intel/${file}"
155 cp "${firmwareDir}/${driver}/${file}" "
[all...]
/haiku/src/tests/kits/storage/
H A DResourcesTest.cpp29 static const char *emptyFile = "/tmp/testDir/empty-file";
30 static const char *noResFile = "/tmp/testDir/no-res-file";
33 static const char *noSuchFile = "/tmp/testDir/no-such-file";
214 + " ; echo \"That's not a resource file.\" > " + noResFile
231 // x86 resource file
235 BFile file(x86ResFile, B_READ_ONLY);
236 CPPUNIT_ASSERT( file.InitCheck() == B_OK );
237 CPPUNIT_ASSERT( resources.SetTo(&file, false) == B_OK );
239 // ppc resource file
243 BFile file(ppcResFil
508 BFile file; local
910 BFile file; local
[all...]
/haiku/src/tests/add-ons/kernel/file_systems/consistency_check/
H A Dgenerate_hashs.cpp56 status_t Process(int file) argument
60 fFile = file;
151 fprintf(stderr, "Could not stat file \"%s\": %s\n", path,
163 int file = open(path, O_RDONLY); local
164 if (file < 0) {
165 fprintf(stderr, "Could not open file \"%s\": %s\n", path,
170 status_t status = gSHA.Process(file);
197 int file = open(name, O_WRONLY | O_TRUNC | O_CREAT); local
198 if (file < 0) {
199 fprintf(stderr, "%s: Could not write hash file \"
255 int file = open(hashFileName, O_RDONLY); local
[all...]
/haiku/headers/private/kernel/boot/platform/routerboard_mipsel/
H A Dplatform_stage2_args.h9 # error This file is included from <boot/stage2_args.h> only
/haiku/headers/private/kernel/boot/platform/u-boot/
H A Dplatform_stage2_args.h9 # error This file is included from <boot/stage2_args.h> only
/haiku/src/bin/hid_decode/
H A Dhid_decode.cpp25 BFile file(argv[1], B_READ_ONLY);
26 if (!file.IsReadable()) {
27 printf("can't open file \"%s\" for reading\n", argv[1]);
32 file.GetSize(&descriptorLength);
40 ssize_t read = file.Read(reportDescriptor, descriptorLength);
42 printf("failed to read file of %lld bytes: %s\n", descriptorLength,
/haiku/src/bin/rc/
H A Dcompile.cpp41 static BFile file; variable
58 char* file; member in struct:mem_t
73 AddIncludeDir(const char *file);
81 AddIncludeDir::AddIncludeDir(const char *file) argument
83 // ignore the special stdin file
84 if (!strcmp(file, "-"))
87 if (fPath.SetTo(file) != B_OK
117 mem.file = strdup(lexfile);
136 free(i->file);
157 printf("%p allocated at %s:%ld\n", i->ptr, i->file,
193 compile_file(char *file) argument
[all...]
/haiku/src/bin/keymap/
H A DKeymap.h32 status_t LoadSource(FILE* file);
36 status_t SaveAsSource(FILE* file);
49 void _SaveSourceText(FILE* file,
52 void _SaveSourceText(FILE* file);
/haiku/headers/os/add-ons/mail_daemon/
H A DMailFilter.h24 virtual BMailFilterAction HeaderFetched(entry_ref& ref, BFile& file,
26 virtual void BodyFetched(const entry_ref& ref, BFile& file,
32 BFile& file);
33 virtual void MessageSent(const entry_ref& ref, BFile& file);
/haiku/src/add-ons/mail_daemon/inbound_filters/spam_filter/
H A DSpamFilter.h21 virtual BMailFilterAction HeaderFetched(entry_ref& ref, BFile& file,
23 virtual void BodyFetched(const entry_ref& ref, BFile& file,
27 status_t _CheckForSpam(BFile& file);
35 status_t _AddSpamToSubject(BNode& file, float spamRatio);
/haiku/headers/private/kernel/boot/platform/amiga_m68k/
H A Dplatform_kernel_args.h10 # error This file is included from <boot/kernel_args.h> only
H A Dplatform_stage2_args.h9 # error This file is included from <boot/stage2_args.h> only
/haiku/headers/private/kernel/boot/platform/atari_m68k/
H A Dplatform_kernel_args.h10 # error This file is included from <boot/kernel_args.h> only
H A Dplatform_stage2_args.h9 # error This file is included from <boot/stage2_args.h> only

Completed in 100 milliseconds

1234567891011>>