file 212 lib/util.h MC_MOCKABLE int my_execvp (const char *file, char *const argv[]); file 390 lib/utilunix.c my_execvp (const char *file, char *const argv[]) file 392 lib/utilunix.c return execvp (file, argv); file 561 lib/vfs/direntry.c vfs_file_handler_t *file = VFS_FILE_HANDLER (fh); file 564 lib/vfs/direntry.c if (file->linear == LS_LINEAR_PREOPEN) file 565 lib/vfs/direntry.c if (VFS_SUBCLASS (me)->linear_start (me, file, file->pos) == 0) file 568 lib/vfs/direntry.c if (file->linear == LS_LINEAR_CLOSED) file 571 lib/vfs/direntry.c if (file->linear == LS_LINEAR_OPEN) file 572 lib/vfs/direntry.c return VFS_SUBCLASS (me)->linear_read (me, file, buffer, count); file 574 lib/vfs/direntry.c if (file->handle != -1) file 578 lib/vfs/direntry.c n = read (file->handle, buffer, count); file 592 lib/vfs/direntry.c vfs_file_handler_t *file = VFS_FILE_HANDLER (fh); file 595 lib/vfs/direntry.c if (file->linear != LS_NOT_LINEAR) file 598 lib/vfs/direntry.c file->changed = TRUE; file 599 lib/vfs/direntry.c if (file->handle != -1) file 603 lib/vfs/direntry.c n = write (file->handle, buffer, count); file 617 lib/vfs/direntry.c vfs_file_handler_t *file = VFS_FILE_HANDLER (fh); file 618 lib/vfs/direntry.c off_t size = file->ino->st.st_size; file 620 lib/vfs/direntry.c if (file->linear == LS_LINEAR_OPEN) file 623 lib/vfs/direntry.c if (file->handle != -1) file 627 lib/vfs/direntry.c retval = lseek (file->handle, offset, whence); file 636 lib/vfs/direntry.c offset += file->pos; file 645 lib/vfs/direntry.c file->pos = 0; file 647 lib/vfs/direntry.c file->pos = offset; file 649 lib/vfs/direntry.c file->pos = size; file 650 lib/vfs/direntry.c return file->pos; file 658 lib/vfs/direntry.c vfs_file_handler_t *file = VFS_FILE_HANDLER (fh); file 671 lib/vfs/direntry.c if (file->linear == LS_LINEAR_OPEN) file 675 lib/vfs/direntry.c if ((me->flags & VFSF_USETMP) != 0 && file->changed && sub->file_store != NULL) file 679 lib/vfs/direntry.c s = vfs_s_fullpath (me, file->ino); file 685 lib/vfs/direntry.c res = sub->file_store (me, fh, s, file->ino->localname); file 691 lib/vfs/direntry.c if (file->handle != -1) file 693 lib/vfs/direntry.c close (file->handle); file 694 lib/vfs/direntry.c file->handle = -1; file 697 lib/vfs/direntry.c vfs_s_free_inode (me, file->ino); file 403 lib/widget/input_complete.c FILE *file; file 407 lib/widget/input_complete.c file = fopen (filename, "r"); file 408 lib/widget/input_complete.c if (file == NULL) file 411 lib/widget/input_complete.c while (fgets (buffer, sizeof (buffer) - 1, file) != NULL) file 469 lib/widget/input_complete.c fclose (file); file 104 src/clipboard.c int file = -1; file 145 src/clipboard.c if (file < 0) file 150 src/clipboard.c file = mc_open (fname_vpath, clip_open_flags, clip_open_mode); file 153 src/clipboard.c if (file < 0) file 157 src/clipboard.c nwrite = mc_write (file, p->out.buf, p->out.len); file 162 src/clipboard.c if (file >= 0) file 163 src/clipboard.c mc_close (file); file 177 src/clipboard.c int file; file 190 src/clipboard.c file = mc_open (fname_vpath, clip_open_flags, clip_open_mode); file 193 src/clipboard.c if (file == -1) file 200 src/clipboard.c ret = mc_write (file, text, str_len); file 203 src/clipboard.c mc_close (file); file 90 src/diffviewer/internal.h const char *file[DIFF_COUNT]; /* filenames */ file 1716 src/diffviewer/ydiff.c ndiff = dff_execute (dview->args, extra, dview->file[DIFF_LEFT], dview->file[DIFF_RIGHT], ops); file 1727 src/diffviewer/ydiff.c rv |= dff_reparse (DIFF_LEFT, dview->file[DIFF_LEFT], ops, printer, &ctx); file 1731 src/diffviewer/ydiff.c rv |= dff_reparse (DIFF_RIGHT, dview->file[DIFF_RIGHT], ops, printer, &ctx); file 1997 src/diffviewer/ydiff.c f0 = fopen (dview->file[DIFF_RIGHT], "r"); file 1999 src/diffviewer/ydiff.c f0 = fopen (dview->file[DIFF_LEFT], "r"); file 2035 src/diffviewer/ydiff.c f0 = fopen (dview->file[DIFF_RIGHT], "r"); file 2036 src/diffviewer/ydiff.c f1 = fopen (dview->file[DIFF_LEFT], "r"); file 2040 src/diffviewer/ydiff.c f0 = fopen (dview->file[DIFF_LEFT], "r"); file 2041 src/diffviewer/ydiff.c f1 = fopen (dview->file[DIFF_RIGHT], "r"); file 2082 src/diffviewer/ydiff.c f0 = fopen (dview->file[DIFF_RIGHT], "r"); file 2083 src/diffviewer/ydiff.c f1 = fopen (dview->file[DIFF_LEFT], "r"); file 2087 src/diffviewer/ydiff.c f0 = fopen (dview->file[DIFF_LEFT], "r"); file 2088 src/diffviewer/ydiff.c f1 = fopen (dview->file[DIFF_RIGHT], "r"); file 2137 src/diffviewer/ydiff.c dview->merged[n_merge] = mc_util_make_backup_if_possible (dview->file[n_merge], "~~~"); file 2142 src/diffviewer/ydiff.c dview->file[n_merge], "~~~", unix_error_string (errno)); file 2182 src/diffviewer/ydiff.c res = rewrite_backup_content (merge_file_name_vpath, dview->file[n_merge]); file 2438 src/diffviewer/ydiff.c dview->file[DIFF_LEFT] = file1; file 2439 src/diffviewer/ydiff.c dview->file[DIFF_RIGHT] = file2; file 2883 src/diffviewer/ydiff.c tmp_vpath = vfs_path_from_str (dview->file[ord]); file 2968 src/diffviewer/ydiff.c res = mc_util_unlink_backup_if_possible (dview->file[DIFF_LEFT], "~~~"); file 2973 src/diffviewer/ydiff.c res = mc_util_unlink_backup_if_possible (dview->file[DIFF_RIGHT], "~~~"); file 3021 src/diffviewer/ydiff.c if (mc_util_restore_from_backup_if_possible (dview->file[DIFF_LEFT], "~~~")) file 3022 src/diffviewer/ydiff.c res = mc_util_unlink_backup_if_possible (dview->file[DIFF_LEFT], "~~~"); file 3023 src/diffviewer/ydiff.c if (mc_util_restore_from_backup_if_possible (dview->file[DIFF_RIGHT], "~~~")) file 3024 src/diffviewer/ydiff.c res = mc_util_unlink_backup_if_possible (dview->file[DIFF_RIGHT], "~~~"); file 3411 src/diffviewer/ydiff.c real_file##n = file##n; \ file 3412 src/diffviewer/ydiff.c if (!vfs_file_is_local (file##n)) \ file 3414 src/diffviewer/ydiff.c real_file##n = mc_getlocalcopy (file##n); \ file 3438 src/diffviewer/ydiff.c mc_ungetlocalcopy (file##n, real_file##n, changed); \ file 197 src/editor/edit.c int file; file 202 src/editor/edit.c file = mc_open (filename_vpath, O_RDONLY | O_BINARY); file 203 src/editor/edit.c if (file < 0) file 221 src/editor/edit.c ret = (edit_buffer_read_file (buf, file, buf->size, &rsm, &aborted) == buf->size); file 234 src/editor/edit.c mc_close (file); file 310 src/editor/edit.c int file; file 315 src/editor/edit.c file = mc_open (filename_vpath, O_NONBLOCK | O_RDONLY | O_BINARY, 0666); file 316 src/editor/edit.c if (file < 0) file 322 src/editor/edit.c file = mc_open (filename_vpath, O_NONBLOCK | O_RDONLY | O_BINARY | O_CREAT | O_EXCL, 0666); file 323 src/editor/edit.c if (file < 0) file 335 src/editor/edit.c if (mc_fstat (file, st) < 0) file 382 src/editor/edit.c (void) mc_close (file); file 1730 src/editor/edit.c edit_insert_column_from_file (WEdit *edit, int file, off_t *start_pos, off_t *end_pos, file 1742 src/editor/edit.c while ((blocklen = mc_read (file, (char *) data, TEMP_BUF_LEN)) > 0) file 2039 src/editor/edit.c int file; file 2044 src/editor/edit.c file = mc_open (filename_vpath, O_RDONLY | O_BINARY); file 2045 src/editor/edit.c if (file == -1) file 2049 src/editor/edit.c blocklen = mc_read (file, buf, sizeof (VERTICAL_MAGIC)); file 2056 src/editor/edit.c mc_lseek (file, 0, SEEK_SET); file 2064 src/editor/edit.c blocklen = edit_insert_column_from_file (edit, file, &mark1, &mark2, &c1, &c2); file 2079 src/editor/edit.c while ((blocklen = mc_read (file, (char *) buf, TEMP_BUF_LEN)) > 0) file 2103 src/editor/edit.c mc_close (file); file 253 src/editor/editcmd.c FILE *file; file 256 src/editor/editcmd.c file = (FILE *) popen (p, "w"); file 258 src/editor/editcmd.c if (file != NULL) file 260 src/editor/editcmd.c filelen = edit_write_stream (edit, file); file 262 src/editor/editcmd.c pclose (file); file 264 src/editor/editcmd.c if (pclose (file) != 0) file 303 src/editor/editcmd.c FILE *file; file 309 src/editor/editcmd.c file = (FILE *) fopen (savename, "w"); file 310 src/editor/editcmd.c if (file != NULL) file 312 src/editor/editcmd.c filelen = edit_write_stream (edit, file); file 313 src/editor/editcmd.c fclose (file); file 931 src/editor/editcmd.c int file; file 943 src/editor/editcmd.c file = mc_open (exp_vpath, O_RDONLY | O_BINARY); file 945 src/editor/editcmd.c if (file == -1) file 950 src/editor/editcmd.c mc_close (file); file 1527 src/editor/editcmd.c int file; file 1532 src/editor/editcmd.c file = mc_open (vpath, O_CREAT | O_WRONLY | O_TRUNC, file 1535 src/editor/editcmd.c if (file == -1) file 1542 src/editor/editcmd.c r = mc_write (file, VERTICAL_MAGIC, sizeof (VERTICAL_MAGIC)); file 1550 src/editor/editcmd.c r = mc_write (file, p, len); file 1573 src/editor/editcmd.c len -= mc_write (file, (char *) buf, end - start); file 1578 src/editor/editcmd.c mc_close (file); file 1221 src/editor/editwidget.c const GList *file; file 1269 src/editor/editwidget.c for (file = files; file != NULL; file = g_list_next (file)) file 1273 src/editor/editwidget.c f_ok = edit_load_file_from_filename (edit_dlg, (const edit_arg_t *) file->data); file 693 src/filemanager/dir.c if_link_is_exe (const vfs_path_t *full_name_vpath, const file_entry_t *file) file 697 src/filemanager/dir.c if (S_ISLNK (file->st.st_mode) && mc_stat (full_name_vpath, &b) == 0) file 103 src/filemanager/dir.h gboolean if_link_is_exe (const vfs_path_t * full_name, const file_entry_t * file); file 110 src/filemanager/dir.h link_isdir (const file_entry_t *file) file 112 src/filemanager/dir.h return (file->f.link_to_dir != 0); file 3732 src/filemanager/file.c file_error (file_op_context_t *ctx, gboolean allow_retry, const char *format, const char *file) file 3736 src/filemanager/file.c g_snprintf (buf, sizeof (buf), format, path_trunc (file, 30), unix_error_string (errno)); file 58 src/filemanager/file.h const char *file); file 391 src/filemanager/find.c get_list_info (char **file, char **dir, gsize *start, gsize *end) file 395 src/filemanager/find.c listbox_get_current (find_list, file, (void **) &location); file 927 src/filemanager/find.c insert_file (const char *dir, const char *file, gsize start, gsize end) file 951 src/filemanager/find.c tmp_name = g_strdup_printf (" %s", file); file 962 src/filemanager/find.c find_add_match (const char *dir, const char *file, gsize start, gsize end) file 964 src/filemanager/find.c insert_file (dir, file, start, end); file 1453 src/filemanager/find.c find_do_view_edit (gboolean unparsed_view, gboolean edit, char *dir, char *file, off_t search_start, file 1462 src/filemanager/find.c filename = strchr (file + 4, ':') + 1; file 1463 src/filemanager/find.c line = atoi (file + 4); file 1467 src/filemanager/find.c filename = file + 4; file 1341 src/filemanager/mountlist.c get_fs_usage (char const *file, char const *disk, struct fs_usage *fsp) file 1349 src/filemanager/mountlist.c if (statvfs (file, &vfsd) < 0) file 1372 src/filemanager/mountlist.c if (statvfs64 (file, &fsd) < 0) file 1386 src/filemanager/mountlist.c if (statfs (file, &fsd, sizeof (struct statfs)) != 0) file 1395 src/filemanager/mountlist.c if (statfs (file, &fsd) < 0) file 1406 src/filemanager/mountlist.c if (statfs (file, &fsd) < 0) file 1430 src/filemanager/mountlist.c if (statfs (file, &fsd) < 0) file 1439 src/filemanager/mountlist.c if (statfs (file, &fsd, sizeof (fsd), 0) < 0) file 2786 src/filemanager/panel.c file_entry_t *file = &panel->dir.list[i]; file 2788 src/filemanager/panel.c if (!panels_options.reverse_files_only || !S_ISDIR (file->st.st_mode)) file 2789 src/filemanager/panel.c do_file_mark (panel, i, file->f.marked ? 0 : 1); file 213 src/filemanager/treestore.c FILE *file; file 221 src/filemanager/treestore.c file = fopen (name, "r"); file 223 src/filemanager/treestore.c if (file != NULL file 224 src/filemanager/treestore.c && (fgets (buffer, sizeof (buffer), file) == NULL file 227 src/filemanager/treestore.c fclose (file); file 228 src/filemanager/treestore.c file = NULL; file 231 src/filemanager/treestore.c if (file != NULL) file 238 src/filemanager/treestore.c while (fgets (buffer, MC_MAXPATHLEN, file)) file 302 src/filemanager/treestore.c fclose (file); file 335 src/filemanager/treestore.c FILE *file; file 337 src/filemanager/treestore.c file = fopen (name, "w"); file 338 src/filemanager/treestore.c if (file == NULL) file 341 src/filemanager/treestore.c fprintf (file, "%s\n", TREE_SIGNATURE); file 355 src/filemanager/treestore.c i = fprintf (file, "%d:%d %s\n", current->scanned ? 1 : 0, common, encoded); file 363 src/filemanager/treestore.c i = fprintf (file, "%d:%s\n", current->scanned ? 1 : 0, encoded); file 376 src/filemanager/treestore.c fclose (file); file 532 src/filemanager/treestore.c process_special_dirs (GList **special_dirs, const char *file) file 537 src/filemanager/treestore.c cfg = mc_config_init (file, TRUE); file 899 src/usermenu.c char *file; file 901 src/usermenu.c file = mc_config_get_full_path (EDIT_HOME_BLOCK_FILE); file 902 src/usermenu.c result = quote_func (file, FALSE); file 903 src/usermenu.c g_free (file); file 846 src/vfs/cpio/cpio.c vfs_file_handler_t *file = VFS_FILE_HANDLER (fh); file 849 src/vfs/cpio/cpio.c off_t begin = file->ino->data_offset; file 852 src/vfs/cpio/cpio.c if (mc_lseek (fd, begin + file->pos, SEEK_SET) != begin + file->pos) file 855 src/vfs/cpio/cpio.c count = MIN (count, (size_t) (file->ino->st.st_size - file->pos)); file 861 src/vfs/cpio/cpio.c file->pos += res; file 925 src/vfs/extfs/extfs.c char *file; file 934 src/vfs/extfs/extfs.c file = extfs_get_path_from_entry (entry); file 935 src/vfs/extfs/extfs.c quoted_file = name_quote (file, FALSE); file 936 src/vfs/extfs/extfs.c g_free (file); file 945 src/vfs/extfs/extfs.c file = extfs_skip_leading_dotslash (quoted_file); file 961 src/vfs/extfs/extfs.c file, (char *) NULL); file 968 src/vfs/extfs/extfs.c file, " ", quoted_localname, (char *) NULL); file 1120 src/vfs/extfs/extfs.c vfs_file_handler_t *file = VFS_FILE_HANDLER (fh); file 1122 src/vfs/extfs/extfs.c return read (file->handle, buffer, count); file 1130 src/vfs/extfs/extfs.c vfs_file_handler_t *file = VFS_FILE_HANDLER (fh); file 1133 src/vfs/extfs/extfs.c close (file->handle); file 1134 src/vfs/extfs/extfs.c file->handle = -1; file 1137 src/vfs/extfs/extfs.c if (file->changed) file 1142 src/vfs/extfs/extfs.c (" copyin ", EXTFS_SUPER (VFS_FILE_HANDLER_SUPER (fh)), file->ino->ent, file 1143 src/vfs/extfs/extfs.c file->ino->localname)) file 1146 src/vfs/extfs/extfs.c if (stat (file->ino->localname, &file_status) != 0) file 1149 src/vfs/extfs/extfs.c file->ino->st.st_size = file_status.st_size; file 1151 src/vfs/extfs/extfs.c file->ino->st.st_mtime = time (NULL); file 1300 src/vfs/extfs/extfs.c vfs_file_handler_t *file = VFS_FILE_HANDLER (fh); file 1302 src/vfs/extfs/extfs.c extfs_stat_move (buf, file->ino); file 1364 src/vfs/extfs/extfs.c vfs_file_handler_t *file = VFS_FILE_HANDLER (fh); file 1366 src/vfs/extfs/extfs.c file->changed = TRUE; file 1367 src/vfs/extfs/extfs.c return write (file->handle, buf, nbyte); file 1508 src/vfs/extfs/extfs.c vfs_file_handler_t *file = VFS_FILE_HANDLER (fh); file 1510 src/vfs/extfs/extfs.c return lseek (file->handle, offset, whence); file 2099 src/vfs/ftpfs/ftpfs.c vfs_file_handler_t *file = VFS_FILE_HANDLER (fh); file 2102 src/vfs/ftpfs/ftpfs.c if (file->linear == LS_NOT_LINEAR) file 2104 src/vfs/ftpfs/ftpfs.c if (file->linear == LS_LINEAR_CLOSED || file->linear == LS_LINEAR_PREOPEN) file 72 src/vfs/sftpfs/file.c sftpfs_file_handler_t *file = SFTP_FILE_HANDLER (fh); file 78 src/vfs/sftpfs/file.c flags = file->flags; file 79 src/vfs/sftpfs/file.c mode = file->mode; file 134 src/vfs/sftpfs/file.c sftpfs_file_handler_t *file = SFTP_FILE_HANDLER (fh); file 169 src/vfs/sftpfs/file.c file->handle = file 172 src/vfs/sftpfs/file.c if (file->handle != NULL) file 186 src/vfs/sftpfs/file.c file->flags = flags; file 187 src/vfs/sftpfs/file.c file->mode = mode; file 207 src/vfs/sftpfs/file.c libssh2_sftp_seek64 (file->handle, file_info.st_size); file 272 src/vfs/sftpfs/file.c sftpfs_file_handler_t *file = SFTP_FILE_HANDLER (fh); file 290 src/vfs/sftpfs/file.c rc = libssh2_sftp_read (file->handle, buffer, count); file 300 src/vfs/sftpfs/file.c fh->pos = (off_t) libssh2_sftp_tell64 (file->handle); file 322 src/vfs/sftpfs/file.c sftpfs_file_handler_t *file = SFTP_FILE_HANDLER (fh); file 327 src/vfs/sftpfs/file.c fh->pos = (off_t) libssh2_sftp_tell64 (file->handle); file 333 src/vfs/sftpfs/file.c rc = libssh2_sftp_write (file->handle, buffer, count); file 385 src/vfs/sftpfs/file.c sftpfs_file_handler_t *file = SFTP_FILE_HANDLER (fh); file 418 src/vfs/sftpfs/file.c libssh2_sftp_seek64 (file->handle, fh->pos); file 419 src/vfs/sftpfs/file.c fh->pos = (off_t) libssh2_sftp_tell64 (file->handle); file 1222 src/vfs/shell/shell.c vfs_file_handler_t *file = VFS_FILE_HANDLER (fh); file 1225 src/vfs/shell/shell.c if (file->linear == LS_NOT_LINEAR) file 1227 src/vfs/shell/shell.c if (file->linear == LS_LINEAR_CLOSED || file->linear == LS_LINEAR_PREOPEN) file 116 src/vfs/tar/tar-sparse.c gboolean (*init) (struct tar_sparse_file * file); file 117 src/vfs/tar/tar-sparse.c gboolean (*done) (struct tar_sparse_file * file); file 118 src/vfs/tar/tar-sparse.c gboolean (*sparse_member_p) (struct tar_sparse_file * file); file 119 src/vfs/tar/tar-sparse.c gboolean (*fixup_header) (struct tar_sparse_file * file); file 120 src/vfs/tar/tar-sparse.c gboolean (*decode_header) (tar_super_t * archive, struct tar_sparse_file * file); file 141 src/vfs/tar/tar-sparse.c static gboolean oldgnu_sparse_member_p (struct tar_sparse_file *file); file 142 src/vfs/tar/tar-sparse.c static gboolean oldgnu_fixup_header (struct tar_sparse_file *file); file 143 src/vfs/tar/tar-sparse.c static gboolean oldgnu_get_sparse_info (tar_super_t * archive, struct tar_sparse_file *file); file 145 src/vfs/tar/tar-sparse.c static gboolean star_sparse_member_p (struct tar_sparse_file *file); file 146 src/vfs/tar/tar-sparse.c static gboolean star_fixup_header (struct tar_sparse_file *file); file 147 src/vfs/tar/tar-sparse.c static gboolean star_get_sparse_info (tar_super_t * archive, struct tar_sparse_file *file); file 149 src/vfs/tar/tar-sparse.c static gboolean pax_sparse_member_p (struct tar_sparse_file *file); file 150 src/vfs/tar/tar-sparse.c static gboolean pax_decode_header (tar_super_t * archive, struct tar_sparse_file *file); file 266 src/vfs/tar/tar-sparse.c sparse_select_optab (const tar_super_t *archive, struct tar_sparse_file *file) file 276 src/vfs/tar/tar-sparse.c file->optab = &oldgnu_optab; file 280 src/vfs/tar/tar-sparse.c file->optab = &pax_optab; file 284 src/vfs/tar/tar-sparse.c file->optab = &star_optab; file 297 src/vfs/tar/tar-sparse.c sparse_init (tar_super_t *archive, struct tar_sparse_file *file) file 299 src/vfs/tar/tar-sparse.c memset (file, 0, sizeof (*file)); file 301 src/vfs/tar/tar-sparse.c if (!sparse_select_optab (archive, file)) file 304 src/vfs/tar/tar-sparse.c if (file->optab->init != NULL) file 305 src/vfs/tar/tar-sparse.c return file->optab->init (file); file 313 src/vfs/tar/tar-sparse.c sparse_done (struct tar_sparse_file *file) file 315 src/vfs/tar/tar-sparse.c if (file->optab->done != NULL) file 316 src/vfs/tar/tar-sparse.c return file->optab->done (file); file 324 src/vfs/tar/tar-sparse.c sparse_member_p (struct tar_sparse_file *file) file 326 src/vfs/tar/tar-sparse.c if (file->optab->sparse_member_p != NULL) file 327 src/vfs/tar/tar-sparse.c return file->optab->sparse_member_p (file); file 335 src/vfs/tar/tar-sparse.c sparse_fixup_header (struct tar_sparse_file *file) file 337 src/vfs/tar/tar-sparse.c if (file->optab->fixup_header != NULL) file 338 src/vfs/tar/tar-sparse.c return file->optab->fixup_header (file); file 346 src/vfs/tar/tar-sparse.c sparse_decode_header (tar_super_t *archive, struct tar_sparse_file *file) file 348 src/vfs/tar/tar-sparse.c if (file->optab->decode_header != NULL) file 349 src/vfs/tar/tar-sparse.c return file->optab->decode_header (archive, file); file 370 src/vfs/tar/tar-sparse.c oldgnu_add_sparse (struct tar_sparse_file *file, struct sparse *s) file 382 src/vfs/tar/tar-sparse.c || file->stat_info->stat.st_size < size || file->stat_info->archive_file_size < 0) file 385 src/vfs/tar/tar-sparse.c sparse_add_map (file->stat_info, &sp); file 393 src/vfs/tar/tar-sparse.c oldgnu_sparse_member_p (struct tar_sparse_file *file) file 395 src/vfs/tar/tar-sparse.c (void) file; file 403 src/vfs/tar/tar-sparse.c oldgnu_fixup_header (struct tar_sparse_file *file) file 410 src/vfs/tar/tar-sparse.c file->stat_info->archive_file_size = file->stat_info->stat.st_size; file 411 src/vfs/tar/tar-sparse.c file->stat_info->stat.st_size = MAX (0, realsize); file 422 src/vfs/tar/tar-sparse.c oldgnu_get_sparse_info (tar_super_t *archive, struct tar_sparse_file *file) file 429 src/vfs/tar/tar-sparse.c if (file->stat_info->sparse_map != NULL) file 430 src/vfs/tar/tar-sparse.c g_array_set_size (file->stat_info->sparse_map, 0); file 434 src/vfs/tar/tar-sparse.c rc = oldgnu_add_sparse (file, &h->oldgnu_header.sp[i]); file 449 src/vfs/tar/tar-sparse.c rc = oldgnu_add_sparse (file, &h->sparse_header.sp[i]); file 458 src/vfs/tar/tar-sparse.c star_sparse_member_p (struct tar_sparse_file *file) file 460 src/vfs/tar/tar-sparse.c (void) file; file 468 src/vfs/tar/tar-sparse.c star_fixup_header (struct tar_sparse_file *file) file 475 src/vfs/tar/tar-sparse.c file->stat_info->archive_file_size = file->stat_info->stat.st_size; file 476 src/vfs/tar/tar-sparse.c file->stat_info->stat.st_size = MAX (0, realsize); file 487 src/vfs/tar/tar-sparse.c star_get_sparse_info (tar_super_t *archive, struct tar_sparse_file *file) file 494 src/vfs/tar/tar-sparse.c if (file->stat_info->sparse_map != NULL) file 495 src/vfs/tar/tar-sparse.c g_array_set_size (file->stat_info->sparse_map, 0); file 502 src/vfs/tar/tar-sparse.c rc = oldgnu_add_sparse (file, &h->star_in_header.sp[i]); file 519 src/vfs/tar/tar-sparse.c rc = oldgnu_add_sparse (file, &h->star_ext_header.sp[i]); file 521 src/vfs/tar/tar-sparse.c file->dumped_size += BLOCKSIZE; file 530 src/vfs/tar/tar-sparse.c pax_sparse_member_p (struct tar_sparse_file *file) file 532 src/vfs/tar/tar-sparse.c return file->stat_info->sparse_map != NULL && file->stat_info->sparse_map->len > 0 file 533 src/vfs/tar/tar-sparse.c && file->stat_info->sparse_major > 0; file 539 src/vfs/tar/tar-sparse.c pax_decode_header (tar_super_t *archive, struct tar_sparse_file *file) file 541 src/vfs/tar/tar-sparse.c if (file->stat_info->sparse_major > 0) file 566 src/vfs/tar/tar-sparse.c if (file->stat_info->sparse_map == NULL) file 567 src/vfs/tar/tar-sparse.c file->stat_info->sparse_map = file 570 src/vfs/tar/tar-sparse.c g_array_set_size (file->stat_info->sparse_map, u); file 588 src/vfs/tar/tar-sparse.c || file->stat_info->stat.st_size < size) file 594 src/vfs/tar/tar-sparse.c sparse_add_map (file->stat_info, &sp); file 599 src/vfs/tar/tar-sparse.c file->dumped_size += BLOCKSIZE * (tar_current_block_ordinal (archive) - start); file 612 src/vfs/tar/tar-sparse.c struct tar_sparse_file file; file 614 src/vfs/tar/tar-sparse.c if (!sparse_init (archive, &file)) file 617 src/vfs/tar/tar-sparse.c file.stat_info = st; file 618 src/vfs/tar/tar-sparse.c return sparse_member_p (&file); file 626 src/vfs/tar/tar-sparse.c struct tar_sparse_file file; file 628 src/vfs/tar/tar-sparse.c if (!sparse_init (archive, &file)) file 631 src/vfs/tar/tar-sparse.c file.stat_info = st; file 632 src/vfs/tar/tar-sparse.c return sparse_fixup_header (&file); file 641 src/vfs/tar/tar-sparse.c struct tar_sparse_file file; file 643 src/vfs/tar/tar-sparse.c if (!sparse_init (archive, &file)) file 646 src/vfs/tar/tar-sparse.c file.stat_info = st; file 647 src/vfs/tar/tar-sparse.c file.fd = -1; file 649 src/vfs/tar/tar-sparse.c rc = sparse_decode_header (archive, &file); file 650 src/vfs/tar/tar-sparse.c (void) tar_skip_file (archive, file.stat_info->archive_file_size - file.dumped_size); file 651 src/vfs/tar/tar-sparse.c return (sparse_done (&file) && rc) ? dump_status_ok : dump_status_short; file 1231 src/vfs/tar/tar.c vfs_file_handler_t *file = VFS_FILE_HANDLER (fh); file 1233 src/vfs/tar/tar.c off_t begin = file->pos; file 1236 src/vfs/tar/tar.c if (file->ino->user_data != NULL) file 1238 src/vfs/tar/tar.c if (tar_lseek_sparse (file, begin) != begin) file 1241 src/vfs/tar/tar.c res = tar_read_sparse (file, buffer, count); file 1245 src/vfs/tar/tar.c begin += file->ino->data_offset; file 1250 src/vfs/tar/tar.c count = (size_t) MIN ((off_t) count, file->ino->st.st_size - file->pos); file 1257 src/vfs/tar/tar.c file->pos += res; file 149 src/vfs/undelfs/undelfs.c undelfs_get_path (const vfs_path_t *vpath, char **fsname, char **file) file 186 src/vfs/undelfs/undelfs.c *file = g_strdup (p + 1); file 194 src/vfs/undelfs/undelfs.c *file = g_strdup (""); file 335 src/vfs/undelfs/undelfs.c char *file, *f = NULL; file 339 src/vfs/undelfs/undelfs.c undelfs_get_path (vpath, &file, &f); file 340 src/vfs/undelfs/undelfs.c if (file == NULL) file 349 src/vfs/undelfs/undelfs.c if (!ext2_fname || strcmp (ext2_fname, file)) file 352 src/vfs/undelfs/undelfs.c ext2_fname = file; file 358 src/vfs/undelfs/undelfs.c g_free (file); file 435 src/vfs/undelfs/undelfs.c char *file, *f = NULL; file 442 src/vfs/undelfs/undelfs.c undelfs_get_path (vpath, &file, &f); file 443 src/vfs/undelfs/undelfs.c if (file == NULL) file 449 src/vfs/undelfs/undelfs.c if (!ext2_fname || strcmp (ext2_fname, file)) file 452 src/vfs/undelfs/undelfs.c g_free (file); file 468 src/vfs/undelfs/undelfs.c g_free (file); file 476 src/vfs/undelfs/undelfs.c g_free (file); file 487 src/vfs/undelfs/undelfs.c g_free (file); file 649 src/vfs/undelfs/undelfs.c char *file, *f = NULL; file 651 src/vfs/undelfs/undelfs.c undelfs_get_path (vpath, &file, &f); file 652 src/vfs/undelfs/undelfs.c if (file == NULL) file 666 src/vfs/undelfs/undelfs.c g_free (file); file 671 src/vfs/undelfs/undelfs.c if (!ext2_fname || strcmp (ext2_fname, file)) file 673 src/vfs/undelfs/undelfs.c g_free (file); file 679 src/vfs/undelfs/undelfs.c g_free (file); file 703 src/vfs/undelfs/undelfs.c char *file, *f = NULL; file 706 src/vfs/undelfs/undelfs.c undelfs_get_path (vpath, &file, &f); file 707 src/vfs/undelfs/undelfs.c if (file == NULL) file 716 src/vfs/undelfs/undelfs.c fd = open (file, O_RDONLY); file 719 src/vfs/undelfs/undelfs.c message (D_ERROR, undelfserr, _("Cannot open file \"%s\""), file); file 721 src/vfs/undelfs/undelfs.c g_free (file); file 726 src/vfs/undelfs/undelfs.c g_free (file); file 285 src/viewer/mcviewer.c mcview_load (WView *view, const char *command, const char *file, int start_line, file 293 src/viewer/mcviewer.c view->filename_vpath = vfs_path_from_str (file); file 296 src/viewer/mcviewer.c if (file != NULL && file[0] != '\0') file 300 src/viewer/mcviewer.c if (!g_path_is_absolute (file)) file 305 src/viewer/mcviewer.c view->workdir_vpath = vfs_path_append_new (p, file, (char *) NULL); file 314 src/viewer/mcviewer.c fname = x_basename (file); file 315 src/viewer/mcviewer.c dir = g_strndup (file, (size_t) (fname - file)); file 328 src/viewer/mcviewer.c if (command != NULL && (view->mode_flags.magic || file == NULL || file[0] == '\0')) file 330 src/viewer/mcviewer.c else if (file != NULL && file[0] != '\0') file 337 src/viewer/mcviewer.c vpath = vfs_path_from_str (file); file 342 src/viewer/mcviewer.c file, unix_error_string (errno)); file 357 src/viewer/mcviewer.c file, unix_error_string (errno)); file 390 src/viewer/mcviewer.c type = get_compression_type (fd, file); file 398 src/viewer/mcviewer.c tmp_filename = g_strconcat (file, decompress_extension (type), (char *) NULL); file 407 src/viewer/mcviewer.c file, unix_error_string (errno)); file 50 src/viewer/mcviewer.h extern gboolean mcview_load (WView * view, const char *command, const char *file, int start_line, file 205 tests/lib/utilunix__my_system-common.c my_execvp (const char *file, char *const argv[]) file 208 tests/lib/utilunix__my_system-common.c execvp__file__captured = g_strdup (file);