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/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/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/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/headers/libs/libunwind/
H A Dlibunwind-coredump.h40 extern struct UCD_info *_UCD_create(const char *filename);
47 extern int _UCD_add_backing_file_at_segment(struct UCD_info *, int phdr_no, const char *filename);
50 const char *filename);
/haiku/src/system/libnetwork/netresolv/dst/
H A Dsupport.c222 * filename for a key file. '/', '\' and ':' are not allowed.
225 * Returns 0 if the filename would contain either '\', '/' or ':'
251 * Builds a key filename from the key name, it's id, and a
252 * suffix. '\', '/' and ':' are not allowed. fA filename is of the
257 * if the filename would be too long for space allotted
258 * if the filename would contain a '\', '/' or ':'
263 dst_s_build_filename(char *filename, const char *name, u_int16_t id, argument
267 if (filename == NULL)
269 memset(filename, 0, filename_length);
277 sprintf(filename, "
301 dst_s_fopen(const char *filename, const char *mode, int perm) argument
[all...]
/haiku/src/libs/libunwind/coredump/
H A D_UCD_create.c76 _UCD_create(const char *filename) argument
94 int fd = ui->coredump_fd = open(filename, O_RDONLY);
97 ui->coredump_filename = strdup(filename);
104 Debug(0, "'%s' is not an ELF file\n", filename);
110 Debug(0, "'%s' is not an ELF file\n", filename);
117 Debug(0, "'%s' is not a 32/64 bit ELF file\n", filename);
123 Debug(0, "'%s' is endian-incompatible\n", filename);
132 filename, 8L * sizeof(off_t));
142 Debug(0, "'%s' has wrong e_ehsize or e_phentsize\n", filename);
149 Debug(0, "Can't read phdrs from '%s'\n", filename);
307 _UCD_add_backing_file_at_segment(struct UCD_info *ui, int phdr_no, const char *filename) argument
403 _UCD_add_backing_file_at_vaddr(struct UCD_info *ui, unsigned long vaddr, const char *filename) argument
[all...]
H A D_UCD_access_mem.c55 const char *filename UNUSED;
69 filename = phdr->backing_filename;
75 filename = ui->coredump_filename;
95 filename
/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)
/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...]

Completed in 261 milliseconds

1234567