Searched refs:file (Results 201 - 225 of 1427) sorted by relevance

1234567891011>>

/haiku-fatelf/src/add-ons/index_server/
H A DIndexServerAddOn.cpp60 BFile file(path.Path(), B_READ_ONLY);
61 if (file.InitCheck() != B_OK)
65 file.ReadAttr(kCatchUpEnabledAttr, B_UINT32_TYPE, 0, &value,
68 file.ReadAttr(kSyncPositionAttr, B_INT64_TYPE, 0,
70 file.ReadAttr(kWatchingStartAttr, B_INT64_TYPE, 0,
72 file.ReadAttr(kWatchingPositionAttr, B_INT64_TYPE, 0,
93 BFile file(path.Path(), B_READ_WRITE | B_CREATE_FILE | B_ERASE_FILE);
94 if (file.InitCheck() != B_OK)
98 file.WriteAttr(kCatchUpEnabledAttr, B_UINT32_TYPE, 0, &value,
100 file
[all...]
/haiku-fatelf/src/apps/haiku3d/mesh/
H A DStaticMesh.cpp78 BFile file(fileName, B_WRITE_ONLY | B_CREATE_FILE | B_ERASE_FILE);
80 if (file.InitCheck() != B_OK) {
85 file.Write(&fFaceCount, sizeof(uint32));
87 file.Write(&fFaces[i].vertexCount, sizeof(uint16));
89 file.Write(&fFaces[i].v[vi], sizeof(Vertex));
99 BFile file(fileName, B_READ_ONLY);
101 if (file.InitCheck() != B_OK) {
106 file.Read(&fFaceCount, sizeof(uint32));
109 file.Read(&fFaces[i].vertexCount, sizeof(uint16));
111 file
[all...]
/haiku-fatelf/src/bin/bash/support/
H A Dmissing39 aclocal touch file \`aclocal.m4'
40 autoconf touch file \`configure'
41 autoheader touch file \`config.h.in'
46 makeinfo touch the output file
109 you modified a \`.y' file. You may need the \`Bison' package
139 you modified a \`.l' file. You may need the \`Flex' package
162 you modified a \`.texi' or \`.texinfo' file, or any other file
167 file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
168 if test -z "$file"; the
[all...]
/haiku-fatelf/src/bin/coreutils/lib/
H A Dverror.c55 verror_at_line (int status, int errnum, const char *file, argument
62 glibc violates GNU Coding Standards when the file argument to
64 if (file)
65 error_at_line (status, errnum, file, line_number, "%s", message);
H A Dclosein.c39 /* Set the file name to be reported in the event an error is detected
43 close_stdin_set_file_name (const char *file) argument
45 file_name = file;
57 (sed -ne 1q; cat) < file
58 tail -n 1 file
99 char const *close_error = _("error closing file");
H A Dcloseout.c38 /* Set the file name to be reported in the event an error is detected
41 close_stdout_set_file_name (const char *file) argument
43 file_name = file;
H A Dfopen-safer.c31 fopen_safer (char const *file, char const *mode) argument
33 FILE *fp = fopen (file, mode);
/haiku-fatelf/src/bin/coreutils/src/
H A Dextract-magic94 my $file = $ARGV[0];
96 open FH, $file
97 or die "$ME: can't open `$file' for reading: $!\n";
109 This file is generated automatically from $file. */
119 or (warn "$ME:$file:$.: malformed case S_MAGIC_... line"),
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dopenat-proc.c36 /* The results of open() in this file are not used with fchdir,
53 openat_proc_name (char buf[OPENAT_BUFFER_SIZE], int fd, char const *file) argument
61 /proc/self/fd mishandles "..", and any file name might expand
89 size_t bufsize = PROC_SELF_FD_NAME_SIZE_BOUND (strlen (file));
91 sprintf (result, PROC_SELF_FD_FORMAT, fd, file);
H A Dclosein.c39 /* Set the file name to be reported in the event an error is detected
43 close_stdin_set_file_name (const char *file) argument
45 file_name = file;
57 (sed -ne 1q; cat) < file
58 tail -n 1 file
99 char const *close_error = _("error closing file");
/haiku-fatelf/src/bin/gdb/gdb/
H A Dcomplaints.c6 This file is part of GDB.
52 /* Structure to manage complaints about symbol file contents. */
56 const char *file; member in struct:complain
126 find_complaint (struct complaints *complaints, const char *file, argument
140 && complaint->file == file
148 complaint->file = file;
170 vcomplaint (struct complaints **c, const char *file, int line, const char *fmt, argument
174 struct complain *complaint = find_complaint (complaints, file, lin
253 internal_complaint(struct complaints **complaints, const char *file, int line, const char *fmt, ...) argument
[all...]
H A Dmacrocmd.c5 This file is part of GDB.
124 struct macro_source_file *file,
127 fprintf_filtered (stream, "%s:%d\n", file->filename, line);
129 while (file->included_by)
132 file->included_by->filename,
133 file->included_at_line);
134 file = file->included_by;
155 d = macro_lookup_definition (ms->file, ms->line, name);
159 struct macro_source_file *file
121 show_pp_source_pos(struct ui_file *stream, struct macro_source_file *file, int line) argument
157 struct macro_source_file *file local
[all...]
/haiku-fatelf/src/system/libroot/posix/stdio/
H A Dfopen.c49 fopen(file, mode)
50 const char *file;
65 if ((f = open(file, oflags, DEFFILEMODE)) < 0) {
83 * the file extends, this will fail, but there is not much
/haiku-fatelf/src/tests/add-ons/print/ppd/parser/
H A DPPDFile.cpp26 PPDFile::PPDFile(const char* file, PPDFile* previousFile) argument
27 : fFileName(file)
28 , fFile(file, B_READ_ONLY)
H A DPPDFile.h33 FileBuffer(BFile* file) : fFile(file), fIndex(0), fSize(0) {} argument
47 // Opens the file for reading. Use IsValid to check if the file could
50 // can be used to store a reference to a previous file.
51 PPDFile(const char* file, PPDFile* previousFile = NULL);
52 // Closes the file.
64 // The previous file from the constructor.
66 // Returns the file name
H A DParser.h39 // Initializes the parser with the file
40 Parser(const char* file);
41 // Returns B_OK if the constructor could open the file
45 // Includes the file for parsing
46 bool Include(const char* file) { return fScanner.Include(file); } argument
/haiku-fatelf/src/libs/compat/freebsd_network/
H A Dcompat_cpp.cpp16 _kernel_contigmalloc_cpp(const char* file, int line, size_t size, argument
26 const char* baseName = strrchr(file, '/');
27 baseName = baseName != NULL ? baseName + 1 : file;
/haiku-fatelf/src/tests/kits/storage/
H A DAppFileInfoTest.cpp37 = "application/x-vnd.obos.app-file-info-test1";
39 = "application/x-vnd.obos.app-file-info-test2";
41 = "application/x-vnd.obos.app-file-info-test3";
43 = "application/x-vnd.obos.app-file-info-test4";
52 = "application/x-vnd.obos.app-file-info-test-app1";
54 = "application/x-vnd.obos.app-file-info-test-app2";
56 = "application/x-vnd.obos.app-file-info-test-app3";
180 = new BApplication("application/x-vnd.obos.app-file-info-test");
270 ReadResource(BFile &file, const char *name, int32 id, type_code type, argument
274 CHK(resources.SetTo(&file)
304 CheckResource(BFile &file, const char *name, int32 id, type_code type, const void *data, size_t dataSize) argument
332 CheckNoResource(BFile &file, const char *name) argument
389 CheckAttribute(BNode &file, const TypeValue &value) argument
395 CheckResource(BFile &file, const TypeValue &value) argument
430 CheckAttribute(BNode &file, const SignatureValue &value) argument
436 CheckResource(BFile &file, const SignatureValue &value) argument
479 CheckAttribute(BNode &file, const AppFlagsValue &value) argument
485 CheckResource(BFile &file, const AppFlagsValue &value) argument
545 CheckAttribute(BNode &file, const SupportedTypesValue &value) argument
557 CheckResource(BFile &file, const SupportedTypesValue &value) argument
623 CheckAttribute(BNode &file, const IconValue &value) argument
631 CheckResource(BFile &file, const IconValue &value) argument
685 CheckAttribute(BNode &file, const VersionInfoValue &value) argument
692 CheckResource(BFile &file, const VersionInfoValue &value) argument
747 CheckAttribute(BNode &file, const IconForTypeValue &value) argument
759 CheckResource(BFile &file, const IconForTypeValue &value) argument
787 CheckTypeResource(BFile &file, const char *data) argument
805 CheckSignatureResource(BFile &file, const char *data) argument
822 CheckAppFlagsResource(BFile &file, uint32 flags) argument
839 CheckSupportedTypesResource(BFile &file, const BMessage *data) argument
870 CheckIconResource(BFile &file, BBitmap *data) argument
906 CheckVersionInfoResource(BFile &file, version_info *data) argument
943 CheckIconForTypeResource(BFile &file, const char *type, BBitmap *data, int32 resourceID = -1) argument
994 CheckNoIconForTypeResource(BFile &file, const char *type, icon_size iconSize) argument
1044 BFile file; local
1083 BFile file; local
[all...]
/haiku-fatelf/src/bin/
H A Dclockconfig.cpp30 BFile file; local
31 status_t status = file.SetTo(path.Path(), B_READ_ONLY);
33 fprintf(stderr, "%s: can't open RTC settings file\n", program);
38 ssize_t bytesRead = file.Read(buffer, sizeof(buffer));
40 fprintf(stderr, "%s: unable to read RTC settings file\n", program);
54 BFile file; local
55 status_t status = file.SetTo(path.Path(), B_READ_ONLY);
57 fprintf(stderr, "%s: can't open Time settings file\n", program);
62 status = settings.Unflatten(&file);
64 fprintf(stderr, "%s: unable to parse Time settings file\
[all...]
/haiku-fatelf/src/libs/stdc++/legacy/
H A Dstdstrbufs.cc4 This file is part of the GNU IO Library. This library is free
16 along with this library; see the file COPYING. If not, write to the Free
23 the executable file might be covered by the GNU General Public License. */
26 /* This file provides definitions of _IO_stdin, _IO_stdout, and _IO_stderr
69 DEF_STDFILE(_IO_stdout_, 1, &_IO_stdin_.file, _IO_NO_READS);
70 DEF_STDFILE(_IO_stderr_, 2, &_IO_stdout_.file,
79 _IO_FILE file; member in struct:_IO_fake_stdiobuf::__anon5197
121 DEF_STDIOFILE(_IO_stdin_buf, 0, stdin, _IO_NO_WRITES, &_IO_stderr_.file);
122 DEF_STDIOFILE(_IO_stdout_buf, 1, stdout, _IO_NO_READS, &_IO_stdin_buf.s.file);
123 DEF_STDIOFILE(_IO_stderr_buf, 2, stderr, _IO_NO_READS, &_IO_stdout_buf.s.file);
[all...]
/haiku-fatelf/src/preferences/keyboard/
H A DKeyboardSettings.cpp16 // Keyboard setting file layout is like this:
33 BFile file; local
42 status = file.SetTo(path.Path(), B_READ_ONLY);
44 if (file.ReadAt(sizeof(kb_settings), &fCorner, sizeof(fCorner)) != sizeof(fCorner)) {
57 BFile file; local
65 // be careful: don't create the file if it doesn't already exist
66 if (file.SetTo(path.Path(), B_WRITE_ONLY) < B_OK)
69 file.WriteAt(sizeof(kb_settings), &fCorner, sizeof(fCorner));
/haiku-fatelf/data/bin/
H A Duserguide10 open file://$localizedUserGuide
H A Dwelcome10 open file://$localizedWelcomeFile
/haiku-fatelf/src/apps/debugger/user_interface/gui/teams_window/
H A DTeamsWindow.cpp119 TeamsWindow::_OpenSettings(BFile& file, uint32 mode) argument
127 return file.SetTo(path.Path(), mode);
134 BFile file; local
135 status_t status = _OpenSettings(file, B_READ_ONLY);
139 return settings.Unflatten(&file);
146 BFile file; local
147 status_t status = _OpenSettings(file,
159 status = settings.Flatten(&file);
/haiku-fatelf/src/apps/mediaconverter/
H A DMediaFileListView.h4 // This file may be used under the terms of the Be Sample Code License.
19 MediaFileListItem(BMediaFile* file, const entry_ref& ref);
37 bool AddMediaItem(BMediaFile* file,

Completed in 134 milliseconds

1234567891011>>