/haiku/src/tests/kits/storage/ |
H A D | FileTest.h | 36 const char * filename; member in struct:FileTest::InitTestCase
|
H A D | FileTest.cpp | 40 const char *filename; local 41 filename = existingFilename; 42 testEntries.add(new BFile(filename, B_READ_ONLY), filename); 50 const char *filename; local 51 filename = existingFilename; 52 testEntries.add(new BFile(filename, B_READ_WRITE), filename); 106 execCommand(string("rm ") + tc.filename); 114 BFile file(tc.filename, [all...] |
H A D | SymLinkTest.cpp | 44 const char *filename; local 45 filename = "/tmp"; 46 testEntries.add(new BSymLink(filename), filename); 47 filename = dirLinkname; 48 testEntries.add(new BSymLink(filename), filename); 49 filename = fileLinkname; 50 testEntries.add(new BSymLink(filename), filename); 62 const char *filename; local [all...] |
/haiku/src/bin/unzip/ |
H A D | fileio.c | 135 "warning: filename too long--truncating.\n"; 241 QFilename(__G__ G.filename); 245 /* Borland 5.0's stat() barfs if the filename has no extension and the 247 if (access(G.filename, 0) == -1) { 248 FILE *tmp = fopen(G.filename, "wb+"); 257 if (SSTAT(G.filename, &G.statbuf) == 0 || lstat(G.filename,&G.statbuf) == 0) 259 if (SSTAT(G.filename, &G.statbuf) == 0) 263 FnFilter1(G.filename))); 271 flen = strlen(G.filename); 1811 char *filename; /* exist yet */ variable [all...] |
H A D | extract.c | 136 "%s: bad filename length (%s)\n"; 397 FnFilter1(G.filename), "central")); 410 FnFilter1(G.filename), "central")); 429 FnFilter1(G.filename))); 447 if (match(G.filename, G.pfnames[i], uO.C_flag)) { 456 if (match(G.filename, G.pxnames[i], uO.C_flag)) { 752 FnFilter1(G.filename), "VMS", 761 FnFilter1(G.filename))); 771 FnFilter1(G.filename), "PK", 783 FnFilter1(G.filename), [all...] |
H A D | beos.c | 105 /* break the wildspec into a directory part and a wildcard filename */ 290 extent fnlen = strlen(G.filename); 291 if (fnlen > 0 && G.filename[fnlen-1] == '/') 327 * MPN_INF_TRUNC - caution (truncated filename) 361 renamed_fullpath = (renamed && (*G.filename == '/')); 369 cp = (char *)strrchr(G.filename, '/'); 371 cp = G.filename; /* point to internal zipfile-member pathname */ 376 Begin main loop through characters in filename. 438 FnFilter1(G.filename))); 444 Report if directory was created (and no file to create: filename ende [all...] |
/haiku/src/tools/gensyscalls/ |
H A D | gensyscalls.cpp | 321 void _WriteSyscallsFile(const char* filename) argument 324 ofstream file(filename, ofstream::out | ofstream::trunc); 326 throw IOException(string("Failed to open `") + filename + "'."); 345 void _WriteDispatcherFile(const char* filename) argument 348 ofstream file(filename, ofstream::out | ofstream::trunc); 350 throw IOException(string("Failed to open `") + filename + "'."); 390 void _WriteNumbersFile(const char* filename) argument 393 ofstream file(filename, ofstream::out | ofstream::trunc); 395 throw IOException(string("Failed to open `") + filename + "'."); 417 void _WriteTableFile(const char* filename) argument 502 _WriteSTraceFile(const char* filename) argument [all...] |
/haiku/src/apps/packageinstaller/ |
H A D | InstalledPackageInfo.h | 28 status_t info_get_package_name(const char* filename, BString& name); 29 status_t info_get_package_version(const char* filename, BString& name);
|
H A D | UninstallView.h | 36 void _AddFile(const char* filename,
|
/haiku/headers/private/storage/ |
H A D | DiskDeviceRoster.h | 99 partition_id RegisterFileDevice(const char* filename); 101 status_t UnregisterFileDevice(const char* filename); 132 status_t GetDeviceForPath(const char* filename, 134 status_t GetPartitionForPath(const char* filename, 136 status_t GetFileDeviceForPath(const char* filename,
|
/haiku/headers/private/kernel/disk_device_manager/ |
H A D | ddm_userland_interface.h | 28 partition_id _user_find_disk_device(const char *filename, size_t *neededSize); 29 partition_id _user_find_partition(const char *filename, size_t *neededSize); 30 partition_id _user_find_file_disk_device(const char *filename, 36 partition_id _user_register_file_device(const char *filename); 38 const char *filename); 39 // Only a valid deviceID or filename need to be passed. The other one 40 // is -1/NULL. If both is given only filename is ignored.
|
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/ |
H A D | nvme_common.c | 118 int nvme_parse_sysfs_value(const char *filename, argument 125 if ((f = fopen(filename, "r")) == NULL) { 127 __func__, filename); 133 __func__, filename); 140 __func__, filename);
|
/haiku/src/add-ons/kernel/partitioning_systems/session/ |
H A D | Debug.h | 32 void initialize_debugger(const char *filename); 90 #define INITIALIZE_DEBUGGING_OUTPUT_FILE(filename) initialize_debugger(filename); 92 #define INITIALIZE_DEBUGGING_OUTPUT_FILE(filename) ; 205 #define INITIALIZE_DEBUGGING_OUTPUT_FILE(filename) ;
|
/haiku/src/add-ons/kernel/file_systems/udf/ |
H A D | UdfDebug.h | 36 void initialize_debugger(const char *filename); 95 #define INITIALIZE_DEBUGGING_OUTPUT_FILE(filename) initialize_debugger(filename); 97 #define INITIALIZE_DEBUGGING_OUTPUT_FILE(filename) ; 212 #define INITIALIZE_DEBUGGING_OUTPUT_FILE(filename) ;
|
/haiku/src/add-ons/accelerants/radeon_hd/ |
H A D | bios.cpp | 197 char filename[255]; local 198 sprintf(filename, "/boot/system/cache/tmp/radeon_hd_bios_1002_%" B_PRIx32 201 fp = fopen(filename, "wb"); 203 TRACE("%s: Cannot create AtomBIOS blob at %s\n", __func__, filename); 211 TRACE("%s: AtomBIOS dumped to %s\n", __func__, filename);
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | dir.cpp | 47 _next_dirent_(struct diri *iter, struct _dirent_info_ *oinfo, char *filename, argument 156 if (unicode_to_utf8(uni, filename_len, (uint8*)filename, len)) { 165 "don't match\n", filename); 175 msdos_to_utf8(buffer, (uchar *)filename, len, buffer[0xc] & 0x18); 198 char *filename, int len) 204 result = _next_dirent_(iter, &info, filename, len); 210 if (!strcmp(filename, ".")) { 213 } else if (!strcmp(filename, "..")) { 257 DPRINTF(2, ("get_next_dirent: found %s (vnid %" B_PRIdINO ")\n", filename, 279 char filename[51 local 197 get_next_dirent(nspace *vol, vnode *dir, struct diri *iter, ino_t *vnid, char *filename, int len) argument 378 char filename[512]; local 431 char filename[512]; local 494 char filename[512]; local 626 char filename[512]; local 921 char filename[512]; /* need this for setting mime type */ local [all...] |
/haiku/src/bin/fwcontrol/ |
H A D | fwmpegts.c | 161 mpegtsrecv(int d, const char *filename, char ich, int count) argument 174 if (strcmp(filename, "-") == 0) 177 fd = open(filename, O_CREAT | O_WRONLY | O_TRUNC, 0660); 179 err(EX_NOINPUT, "%s", filename);
|
/haiku/src/tests/kits/opengl/glsl/ |
H A D | shaderutil.h | 34 CompileShaderFile(GLenum shaderType, const char *filename);
|
/haiku/src/apps/mediaplayer/settings/ |
H A D | Settings.h | 66 const char* filename = SETTINGS_FILENAME);
|
/haiku/src/tools/ |
H A D | hardlink_packages.py | 50 for filename in os.listdir(args_src): 51 if (not (filename.endswith("-" + arch + ".hpkg")) and 52 not (filename.endswith("-any.hpkg"))): 54 packageVersions.append(filename)
|
/haiku/src/apps/terminal/ |
H A D | ThemeWindow.cpp | 121 const char* filename; local 124 msg->FindString("name", &filename); 127 BPath path(&dir, filename); 140 // Name the theme after the filename 142 PREF_THEME_NAME, filename);
|
/haiku/src/bin/rc/ |
H A D | lexer.l | 51 // buffer, filename, and line number on the include stack, so we 55 char* filename; 227 incl.filename = strdup(lexfile); 254 strcpy(lexfile, incl.filename); 256 free(incl.filename);
|
H A D | rdef.cpp | 162 open_file_from_include_dir(const char *filename, char *outname) argument 167 strcat(tmpname, filename);
|
/haiku/src/tools/elfsymbolpatcher/ |
H A D | ElfFile.h | 109 status_t SetTo(const char *filename); 125 status_t _SetTo(const char *filename);
|
/haiku/src/kits/storage/disk_device/ |
H A D | DiskDeviceRoster.cpp | 154 BDiskDeviceRoster::RegisterFileDevice(const char* filename) argument 156 if (!filename) 158 return _kern_register_file_device(filename); 163 BDiskDeviceRoster::UnregisterFileDevice(const char* filename) argument 165 if (!filename) 167 return _kern_unregister_file_device(-1, filename); 439 BDiskDeviceRoster::GetDeviceForPath(const char* filename, BDiskDevice* device) argument 441 if (!filename || !device) 446 partition_id id = _kern_find_disk_device(filename, &neededSize); 456 BDiskDeviceRoster::GetPartitionForPath(const char* filename, argument 482 GetFileDeviceForPath(const char* filename, BDiskDevice* device) argument [all...] |