/haiku/src/system/libroot/posix/glibc/libio/ |
H A D | iofopen64.c | 34 _IO_fopen64 (filename, mode) 35 const char *filename; 39 return __fopen_internal (filename, mode, 0);
|
H A D | freopen64.c | 36 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 D | freopen.c | 34 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 D | iofopen.c | 63 __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 D | mime_ext_table.h | 16 extern status_t set_mime(const char** mime, const char* filename);
|
/haiku/src/bin/fwcontrol/ |
H A D | fwmethods.h | 7 typedef void (fwmethod)(int dev_fd, const char *filename, char ich, int count);
|
/haiku/src/tests/system/libroot/posix/ |
H A D | fifo_test.cpp | 11 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 D | mime_ext_table.c | 125 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 D | IStreamWrapper.cpp | 9 IStreamWrapper::IStreamWrapper(const char *filename, BPositionIO *stream) argument 10 : IStream(filename),
|
H A D | IStreamWrapper.h | 17 IStreamWrapper(const char *filename, BPositionIO *stream);
|
/haiku/3rdparty/kallisti5/ |
H A D | licenseReport.rb | 23 def check_license(filename) 25 lines = File.foreach(filename).first(30).join("\n")
|
/haiku/src/add-ons/kernel/partitioning_systems/session/ |
H A D | Debug.cpp | 255 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 D | UdfDebug.cpp | 257 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 D | support.c | 228 * 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 D | private.h | 48 bool open_file_from_include_dir(const char* filename, char* outname);
|
/haiku/src/tools/restest/ |
H A D | restest.cpp | 43 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 D | SFile.cc | 47 SFile::SFile(const char *filename, int size, int mode, int prot) argument 48 : fstream(filename, mode, prot)
|
H A D | filebuf.cc | 80 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 D | loadinfo.h | 62 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 D | TestScanner.cpp | 17 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 D | md5hl.c | 44 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 D | UninstallView.cpp | 60 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 D | InstalledPackageInfo.cpp | 24 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 D | NodeTest.cpp | 106 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 D | ReportUserInterface.cpp | 184 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);
|