Searched refs:filename (Results 1 - 25 of 164) sorted by relevance

1234567

/haiku/src/system/libroot/posix/glibc/libio/
H A Diofopen64.c34 _IO_fopen64 (filename, mode)
35 const char *filename;
39 return __fopen_internal (filename, mode, 0);
H A Dfreopen64.c36 freopen64 (filename, mode, fp)
37 const char* filename;
49 if (filename == NULL && _IO_fileno (fp) >= 0)
53 filename = fd_to_filename (fd);
59 result = INTUSE(_IO_file_fopen) (fp, filename, mode, 0);
68 if (filename != NULL)
69 free ((char *) filename);
H A Dfreopen.c34 freopen (filename, mode, fp)
35 const char* filename;
52 result = _IO_old_freopen (filename, mode, fp);
55 result = _IO_freopen (filename, mode, fp);
68 freopen (filename, mode, fp)
69 const char* filename;
80 if (filename == NULL && _IO_fileno (fp) >= 0)
84 filename = fd_to_filename (fd);
96 result = _IO_old_file_fopen (fp, filename, mode);
105 result = INTUSE(_IO_file_fopen) (fp, filename, mod
[all...]
H A Diofopen.c63 __fopen_internal (filename, mode, is32)
64 const char *filename;
92 if (INTUSE(_IO_file_fopen) ((_IO_FILE *) new_f, filename, mode, is32)
102 _IO_new_fopen (filename, mode)
103 const char *filename;
106 return __fopen_internal (filename, mode, 1);
/haiku/headers/private/file_systems/
H A Dmime_ext_table.h16 extern status_t set_mime(const char** mime, const char* filename);
/haiku/src/bin/fwcontrol/
H A Dfwmethods.h7 typedef void (fwmethod)(int dev_fd, const char *filename, char ich, int count);
/haiku/src/tests/system/libroot/posix/
H A Dfifo_test.cpp11 const char* filename = "temp.fifo"; local
18 int rfd = open(filename, O_RDONLY | O_NONBLOCK);
24 DIR* dir = opendir(filename);
36 unlink(filename);
/haiku/src/add-ons/kernel/file_systems/shared/
H A Dmime_ext_table.c125 set_mime(const char** mime, const char* filename) argument
132 if (filename == NULL) {
136 namelen = strlen(filename);
144 if (filename[namelen-ext_len-1] != '.')
147 if (!strcasecmp(filename + namelen - ext_len, p->extension))
/haiku/src/add-ons/translators/exr/
H A DIStreamWrapper.cpp9 IStreamWrapper::IStreamWrapper(const char *filename, BPositionIO *stream) argument
10 : IStream(filename),
H A DIStreamWrapper.h17 IStreamWrapper(const char *filename, BPositionIO *stream);
/haiku/3rdparty/kallisti5/
H A DlicenseReport.rb23 def check_license(filename)
25 lines = File.foreach(filename).first(30).join("\n")
/haiku/src/add-ons/kernel/partitioning_systems/session/
H A DDebug.cpp255 DebugOutputFile(const char *filename = NULL)
258 Init(filename);
266 void Init(const char *filename) { argument
267 if (fFile < 0 && filename)
268 fFile = open(filename, O_RDWR | O_CREAT | O_TRUNC);
283 void initialize_debugger(const char *filename) argument
287 out = new DebugOutputFile(filename);
291 out = new DebugOutputFile(filename);
/haiku/src/add-ons/kernel/file_systems/udf/
H A DUdfDebug.cpp257 DebugOutputFile(const char *filename = NULL)
260 Init(filename);
268 void Init(const char *filename) { argument
269 if (fFile < 0 && filename)
270 fFile = open(filename, O_RDWR | O_CREAT | O_TRUNC);
285 void initialize_debugger(const char *filename) argument
289 out = new(nothrow) DebugOutputFile(filename);
293 out = new(nothrow) DebugOutputFile(filename);
/haiku/src/system/libnetwork/netresolv/dst/
H A Dsupport.c228 * filename for a key file. '/', '\' and ':' are not allowed.
231 * Returns 0 if the filename would contain either '\', '/' or ':'
257 * Builds a key filename from the key name, its id, and a
258 * suffix. '\', '/' and ':' are not allowed. fA filename is of the
263 * if the filename would be too long for space allotted
264 * if the filename would contain a '\', '/' or ':'
269 dst_s_build_filename(char *filename, const char *name, u_int16_t id, argument
273 if (filename == NULL)
275 memset(filename, 0, filename_length);
283 sprintf(filename, "
307 dst_s_fopen(const char *filename, const char *mode, int perm) argument
[all...]
/haiku/src/bin/rc/
H A Dprivate.h48 bool open_file_from_include_dir(const char* filename, char* outname);
/haiku/src/tools/restest/
H A Drestest.cpp43 TestResult(const char* filename) argument
44 : filename(filename), warnings(), exception(NULL)
53 BString filename; member in struct:TestResult
175 test_file(const char* filename, const TestOptions& options, argument
182 BEntry entry(filename, true);
190 BFile file(filename, B_READ_ONLY);
205 printf("\nFile `%s':\n", filename);
250 const char* filename = (const char*)files.ItemAt(i);
252 TestResult* testResult = new TestResult(filename);
[all...]
/haiku/src/libs/stdc++/legacy/
H A DSFile.cc47 SFile::SFile(const char *filename, int size, int mode, int prot) argument
48 : fstream(filename, mode, prot)
H A Dfilebuf.cc80 filebuf* filebuf::open(const char *filename, ios::openmode mode, int prot) argument
115 if (!_IO_file_open (this, filename, posix_mode, prot,
126 int fd = ::open(filename, posix_mode, prot);
140 filebuf* filebuf::open(const char *filename, const char *mode) argument
143 return (filebuf*)_IO_file_fopen(this, filename, mode, 0);
145 return (filebuf*)_IO_file_fopen(this, filename, mode);
/haiku/src/system/libroot/posix/glibc/intl/
H A Dloadinfo.h62 const char *filename; member in struct:loaded_l10nfile
85 const char *modifier, const char *filename,
/haiku/src/tests/add-ons/print/ppd/test/
H A DTestScanner.cpp17 const char* filename = scanner->GetFileName(); local
19 printf("[%d, %d] (%s) %c\n", position.x, position.y, filename, ch);
/haiku/src/bin/network/ftpd/
H A Dmd5hl.c44 MD5File(const char *filename, char *buf) argument
46 return (MD5FileChunk(filename, buf, 0, 0));
50 MD5FileChunk(const char *filename, char *buf, off_t ofs, off_t len) argument
59 f = open(filename, O_RDONLY);
/haiku/src/apps/packageinstaller/
H A DUninstallView.cpp60 const char* filename, const node_ref& ref)
68 SetText(filename);
150 BString filename, name, version; local
152 if (msg->FindString("name", &filename) != B_OK
165 _AddFile(filename.String(), ref);
169 if (filename == "packages") {
356 char filename[B_FILE_NAME_LENGTH]; local
357 if (iter.GetName(filename) != B_OK)
364 BString filenameString(filename);
366 printf("Ignoring non-package '%s'\n", filename);
59 InfoItem(const BString& name, const BString& version, const char* filename, const node_ref& ref) argument
390 _AddFile(const char* filename, const node_ref& ref) argument
[all...]
H A DInstalledPackageInfo.cpp24 info_prepare(const char *filename, BFile *file, BMessage *info) argument
26 if (filename == NULL || file == NULL || info == NULL)
34 ret = path.Append(filename);
47 info_get_package_name(const char *filename, BString &name) argument
51 status_t ret = info_prepare(filename, &file, &info);
59 info_get_package_version(const char *filename, BString &version) argument
63 status_t ret = info_prepare(filename, &file, &info);
142 BString filename = packageName; local
143 filename << version << ".pdb";
144 if (fPathToInfo.Append(filename
[all...]
/haiku/src/tests/kits/storage/
H A DNodeTest.cpp106 const char *filename; local
107 filename = "/tmp";
108 testEntries.add(new BNode(filename), filename);
109 filename = "/";
110 testEntries.add(new BNode(filename), filename);
111 filename = "/boot";
112 testEntries.add(new BNode(filename), filename);
129 const char *filename; local
[all...]
/haiku/src/apps/debugger/user_interface/report/
H A DReportUserInterface.cpp184 char filename[B_FILE_NAME_LENGTH]; local
186 strlcpy(filename, fReportPath, sizeof(filename));
188 UiUtils::ReportNameForTeam(fTeam, filename, sizeof(filename));
193 error = path.Append(filename);

Completed in 143 milliseconds

1234567