/haiku/src/tools/fs_shell/ |
H A D | vfs.cpp | 998 * the entry identified by the original path, and into the buffer \a filename 1005 * \param filename The buffer into which the leaf name will be written. 1012 get_dir_path_and_leaf(char *path, char *filename) argument 1022 if (fssh_strlcpy(filename, path, FSSH_B_FILE_NAME_LENGTH) >= FSSH_B_FILE_NAME_LENGTH) 1029 fssh_strcpy(filename, "."); 1032 if (fssh_strlcpy(filename, p, FSSH_B_FILE_NAME_LENGTH) 1286 * the last portion in filename. 1291 path_to_dir_vnode(char *path, struct vnode **_vnode, char *filename, bool kernel) argument 1293 fssh_status_t status = get_dir_path_and_leaf(path, filename); 1319 * \param filename 1327 fd_and_path_to_dir_vnode(int fd, char *path, struct vnode **_vnode, char *filename, bool kernel) argument 3290 char filename[FSSH_B_FILE_NAME_LENGTH]; local 3787 char filename[FSSH_B_FILE_NAME_LENGTH]; local [all...] |
/haiku/src/apps/showimage/ |
H A D | ShowImageWindow.cpp | 1223 const char* filename = path.Leaf(); local 1224 fSavePanel->SetSaveText(filename); 1239 const char* filename; local 1240 if (message->FindString("name", &filename) != B_OK) 1272 fImageView->SaveToFile(&dir, filename, NULL, &outFormat[i]);
|
/haiku/src/system/kernel/fs/ |
H A D | vfs.cpp | 1992 the entry identified by the original path, and into the buffer \a filename 1999 \param filename The buffer into which the leaf name will be written. 2006 get_dir_path_and_leaf(char* path, char* filename) argument 2019 if (strlcpy(filename, path, B_FILE_NAME_LENGTH) >= B_FILE_NAME_LENGTH) 2032 strcpy(filename, "."); 2040 if (strlcpy(filename, last, B_FILE_NAME_LENGTH) >= B_FILE_NAME_LENGTH) 2361 the last portion in filename. 2365 path_to_dir_vnode(char* path, VnodePutter& _vnode, char* filename, argument 2368 status_t status = get_dir_path_and_leaf(path, filename); 2394 \param filename 2401 fd_and_path_to_dir_vnode(int fd, char* path, VnodePutter& _vnode, char* filename, bool kernel) argument 2447 vnode_and_path_to_dir_vnode(struct vnode* vnode, char* path, VnodePutter& _vnode, char* filename, bool kernel) argument 5902 char filename[B_FILE_NAME_LENGTH]; local 6518 char filename[B_FILE_NAME_LENGTH]; local 9496 char filename[B_FILE_NAME_LENGTH]; local [all...] |
/haiku/src/add-ons/accelerants/intel_extreme/ |
H A D | accelerant.cpp | 51 char filename[255]; local 53 sprintf(filename, "/boot/system/cache/tmp/ie-%04" B_PRId32 ".bin", 61 int fd = open(filename, O_CREAT | O_WRONLY, 0644);
|
/haiku/src/tools/elfsymbolpatcher/ |
H A D | ElfFile.cpp | 512 ElfFile::SetTo(const char *filename) argument 515 status_t error = _SetTo(filename); 599 ElfFile::_SetTo(const char *filename) argument 601 if (!filename) 604 status_t error = fFile.SetTo(filename, B_READ_ONLY);
|
/haiku/src/servers/registrar/ |
H A D | MIMEManager.cpp | 211 const char *filename; local 212 err = message->FindString("filename", &filename); 214 err = fDatabase.GuessMimeType(filename, &str);
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | file.cpp | 77 parent_node->filename); 87 strlcpy(buffer, node->filename, bufferSize); 170 if (node->filename) free(node->filename); 467 node->filename, strerror(result)); 605 dir->filename, strerror(result)); 952 "%s (%s)\n", odir->filename, strerror(result)); 958 "%s (%s)\n", ndir->filename, strerror(result)); 1006 if (file->filename) free(file->filename); [all...] |
H A D | dosfs.cpp | 98 kprintf(" (%s)", n->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/tests/kits/game/chart/ |
H A D | ChartWindow.cpp | 334 char *filename, version_info *info) 346 path.Append(filename); 333 get_file_version_info(directory_which dir, char *filename, version_info *info) argument
|
/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/system/libnetwork/netresolv/net/ |
H A D | hesiod.c | 313 read_config_file(struct hesiod_p *ctx, const char *filename) argument 320 assert(filename != NULL); 327 fp = fopen(filename, "r");
|
/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...] |
H A D | dst_api.c | 395 * Write a private key to disk. The filename will be of the form: 462 * filename of the key file to be read. 484 EREPORT(("%s: Cannot make filename from %s, %d, and %s\n", 594 char filename[PATH_MAX]; local 608 /* Make the filename */ 609 if (dst_s_build_filename(filename, key->dk_key_name, key->dk_id, 611 EREPORT(("%s: Cannot make filename from %s, %d, and %s\n", 618 if ((fp = dst_s_fopen(filename, "w+", mode)) == NULL) { 620 __func__, filename, errno)); 833 char filename[PATH_MA local [all...] |
H A D | dst_internal.h | 136 int dst_s_build_filename( char *filename, const char *name, 140 FILE *dst_s_fopen (const char *filename, const char *mode, int perm);
|
/haiku/headers/private/system/ |
H A D | syscalls.h | 581 extern partition_id _kern_find_disk_device(const char *filename, 583 extern partition_id _kern_find_partition(const char *filename, 585 extern partition_id _kern_find_file_disk_device(const char *filename, 590 extern partition_id _kern_register_file_device(const char *filename); 592 const char *filename); 593 // Only a valid deviceID or filename need to be passed. The other one 594 // is -1/NULL. If both is given only filename is ignored.
|
/haiku/src/apps/cortex/RouteApp/ |
H A D | RouteApp.cpp | 616 const char* filename) { 660 filename, 614 _writeSelectedNodeSet( entry_ref* dirRef, const char* filename) argument
|
/haiku/src/tests/kits/storage/ |
H A D | MimeTypeTest.cpp | 4746 const char *filename = file.name.c_str(); 4747 //printf("file: %s\n", filename); 4755 CHK(BMimeType::GuessMimeType(filename, &type) == B_OK); 4770 CHK(node.SetTo(filename) == B_OK); 4774 CHK(get_ref_for_path(filename, &ref) == B_OK); 4777 printf("type: %s, should be: %s (file == '%s')\n", type.Type(), realType, filename); 4786 string filename = string(testDir) + "/file100.cpp"; 4797 CHK(get_ref_for_path(filename.c_str(), &ref) == B_OK); 4807 const char *filename = file.name.c_str(); 4809 CHK(get_ref_for_path(filename, [all...] |
/haiku/src/tests/add-ons/kernel/file_systems/random_read/ |
H A D | random_read.cpp | 199 // get a nice filename of the program 200 char *filename = strrchr(argv[0], '/') local 207 filename, filename, FILE_SIZE, NUMBER_OF_LOOPS);
|
/haiku/src/bin/bfs_tools/ |
H A D | chkindex.cpp | 406 char *filename = strrchr(tool,'/'); local 411 ,filename ? filename + 1 : tool);
|
H A D | bfswhich.cpp | 245 char* filename = strrchr(tool, '/'); local 247 filename ? filename + 1 : tool);
|
/haiku/headers/os/interface/ |
H A D | View.h | 539 void SetDiskMode(char* filename, long offset); 548 void DrawPicture(const char* filename, long offset, 553 void DrawPictureAsync(const char* filename,
|
/haiku/headers/os/app/ |
H A D | Roster.h | 233 void _LoadRecentLists(const char* filename) const; 234 void _SaveRecentLists(const char* filename) const;
|
/haiku/src/bin/debug/strace/ |
H A D | strace.cpp | 706 // read filename 707 const char *filename = NULL; local 710 filename = arg + 3; 714 filename = argv[++argi]; 718 outputFile = fopen(filename, "w+"); 721 kCommandName, filename, strerror(errno));
|
/haiku/src/add-ons/kernel/file_systems/nfs/ |
H A D | nfs_add_on.h | 95 extern status_t nfs_lookup(fs_nspace *ns, const nfs_fhandle *dir, const char *filename, nfs_fhandle *fhandle, struct stat *st);
|