filename 49 lib/event-types.h const char *filename; filename 28 lib/filehighlight.h gboolean mc_fhl_read_ini_file (mc_fhl_t * fhl, const gchar * filename); filename 188 lib/filehighlight/ini-file-read.c mc_fhl_read_ini_file (mc_fhl_t *fhl, const gchar *filename) filename 190 lib/filehighlight/ini-file-read.c if (fhl == NULL || filename == NULL || !exist_file (filename)) filename 194 lib/filehighlight/ini-file-read.c return mc_config_read_file (fhl->config, filename, TRUE, FALSE); filename 196 lib/filehighlight/ini-file-read.c fhl->config = mc_config_init (filename, TRUE); filename 58 lib/mcconfig/paths.c const char *filename; filename 283 lib/mcconfig/paths.c for (rule_index = 0; mc_config_files_reference[rule_index].filename != NULL; rule_index++) filename 284 lib/mcconfig/paths.c if (strcmp (config_name, mc_config_files_reference[rule_index].filename) == 0) filename 286 lib/mcconfig/paths.c mc_config_files_reference[rule_index].filename, (char *) NULL); filename 584 lib/util.c extension (const char *filename) filename 588 lib/util.c d = strrchr (filename, '.'); filename 596 lib/util.c load_mc_home_file (const char *from, const char *filename, char **allocated_filename, filename 603 lib/util.c hintfile_base = g_build_filename (from, filename, (char *) NULL); filename 193 lib/util.h char *load_mc_home_file (const char *from, const char *filename, char **allocated_filename, filename 682 lib/vfs/parse_ls_vga.c vfs_parse_ls_lga (const char *p, struct stat *s, char **filename, char **linkname, filename 831 lib/vfs/parse_ls_vga.c if (filename != NULL) filename 832 lib/vfs/parse_ls_vga.c *filename = g_strndup (p + column_ptr[idx], column_ptr[idx2] - column_ptr[idx] - 1); filename 845 lib/vfs/parse_ls_vga.c if (filename != NULL) filename 849 lib/vfs/parse_ls_vga.c *filename = t; filename 57 lib/vfs/utilvfs.h gboolean vfs_parse_ls_lga (const char *p, struct stat *s, char **filename, char **linkname, filename 336 lib/vfs/vfs.c vfs_strip_suffix_from_filename (const char *filename) filename 340 lib/vfs/vfs.c if (filename == NULL) filename 343 lib/vfs/vfs.c p = g_strdup (filename); filename 269 lib/vfs/vfs.h char *vfs_strip_suffix_from_filename (const char *filename); filename 132 lib/widget/input_complete.c static char *filename = NULL; filename 166 lib/widget/input_complete.c g_free (filename); filename 172 lib/widget/input_complete.c filename = g_strdup (++temp); filename 178 lib/widget/input_complete.c filename = g_strdup (text); filename 194 lib/widget/input_complete.c filename_len = strlen (filename); filename 215 lib/widget/input_complete.c if (entry->d_name[0] != filename[0] || entry->d_len < filename_len filename 216 lib/widget/input_complete.c || strncmp (filename, entry->d_name, filename_len) != 0) filename 275 lib/widget/input_complete.c MC_PTR_FREE (filename); filename 401 lib/widget/input_complete.c fetch_hosts (const char *filename, GPtrArray *hosts) filename 407 lib/widget/input_complete.c file = fopen (filename, "r"); filename 538 lib/widget/menu.c event_data.filename = NULL; filename 294 src/diffviewer/ydiff.c dview_fopen (const char *filename, int flags) filename 303 src/diffviewer/ydiff.c fd = open (filename, flags); filename 893 src/diffviewer/ydiff.c dff_reparse (diff_place_t ord, const char *filename, const GArray *ops, DFUNC printer, void *ctx) filename 903 src/diffviewer/ydiff.c f = dview_fopen (filename, O_RDONLY); filename 192 src/editor/edit-impl.h gboolean edit_save_block (WEdit * edit, const char *filename, off_t start, off_t finish); filename 1525 src/editor/editcmd.c edit_save_block (WEdit *edit, const char *filename, off_t start, off_t finish) filename 1531 src/editor/editcmd.c vpath = vfs_path_from_str (filename); filename 379 src/editor/editwidget.c char *filename; filename 387 src/editor/editwidget.c filename = g_strdup (_("[NoName]")); filename 389 src/editor/editwidget.c filename = g_strdup (vfs_path_as_str (edit->filename_vpath)); filename 391 src/editor/editwidget.c file_label = str_term_trim (filename, len - str_term_width1 (_("Edit: "))); filename 392 src/editor/editwidget.c g_free (filename); filename 71 src/editor/etags.c g_free (hash->filename); filename 210 src/editor/etags.c char *filename = NULL; filename 234 src/editor/etags.c g_free (filename); filename 235 src/editor/etags.c filename = g_strndup (buf, pos); filename 257 src/editor/etags.c def_hash->fullpath = mc_build_filename (start_path, filename, (char *) NULL); filename 258 src/editor/etags.c def_hash->filename = g_strdup (filename); filename 287 src/editor/etags.c g_free (filename); filename 304 src/editor/etags.c g_strdup_printf ("%s -> %s:%ld", def_hash->short_define, def_hash->filename, filename 12 src/editor/etags.h char *filename; filename 894 src/editor/syntax.c open_include_file (const char *filename) filename 899 src/editor/syntax.c error_file_name = g_strdup (filename); filename 900 src/editor/syntax.c if (g_path_is_absolute (filename)) filename 901 src/editor/syntax.c return fopen (filename, "r"); filename 905 src/editor/syntax.c g_build_filename (mc_config_get_data_path (), EDIT_SYNTAX_DIR, filename, (char *) NULL); filename 912 src/editor/syntax.c g_build_filename (mc_global.share_data_dir, EDIT_SYNTAX_DIR, filename, (char *) NULL); filename 74 src/filemanager/chattr.c char *filename; filename 299 src/filemanager/chattr.c tty_print_string (fat->filename); filename 304 src/filemanager/chattr.c tty_print_string (str_trunc (fat->filename, w->rect.cols)); filename 349 src/filemanager/chattr.c g_free (fat->filename); filename 360 src/filemanager/chattr.c fileattrtext_new (int y, int x, const char *filename, unsigned long attr) filename 366 src/filemanager/chattr.c width = str_term_width1 (filename); filename 372 src/filemanager/chattr.c fat->filename = g_strdup (filename); filename 582 src/filemanager/cmd.c char *filename; filename 589 src/filemanager/cmd.c filename = filename 592 src/filemanager/cmd.c if (filename == NULL) filename 595 src/filemanager/cmd.c vpath = vfs_path_from_str (filename); filename 596 src/filemanager/cmd.c g_free (filename); filename 901 src/filemanager/ext.c const char *filename; filename 933 src/filemanager/ext.c filename = vfs_path_get_last_path_str (filename_vpath); filename 934 src/filemanager/ext.c filename = x_basename (filename); filename 935 src/filemanager/ext.c filename_len = strlen (filename); filename 1007 src/filemanager/ext.c found = mc_search_run (search, filename, 0, filename_len, NULL); filename 1027 src/filemanager/ext.c cmp_func (pattern, filename + filename_len - pattern_len, pattern_len) == 0; filename 1030 src/filemanager/ext.c && cmp_func (pattern, filename, filename_len) == 0; filename 109 src/filemanager/filegui.c statfs (char const *filename, struct fs_info *buf) filename 113 src/filemanager/filegui.c device = dev_for_path (filename); filename 949 src/filemanager/filemanager.c prepend_cwd_on_local (const char *filename) filename 953 src/filemanager/filemanager.c vpath = vfs_path_from_str (filename); filename 954 src/filemanager/filemanager.c if (!vfs_file_is_local (vpath) || g_path_is_absolute (filename)) filename 959 src/filemanager/filemanager.c return vfs_path_append_new (vfs_get_raw_current_dir (), filename, (char *) NULL); filename 1016 src/filemanager/find.c search_content (WDialog *h, const char *directory, const char *filename) filename 1026 src/filemanager/find.c vpath = vfs_path_build_filename (directory, filename, (char *) NULL); filename 1041 src/filemanager/find.c g_snprintf (buffer, sizeof (buffer), _("Grepping in %s"), filename); filename 1136 src/filemanager/find.c g_snprintf (result, sizeof (result), _("Grepping in %s"), filename); filename 1143 src/filemanager/find.c g_snprintf (result, sizeof (result), "%d:%s", line, filename); filename 1456 src/filemanager/find.c const char *filename = NULL; filename 1462 src/filemanager/find.c filename = strchr (file + 4, ':') + 1; filename 1467 src/filemanager/find.c filename = file + 4; filename 1471 src/filemanager/find.c fullname_vpath = vfs_path_build_filename (dir, filename, (char *) NULL); filename 1794 src/filemanager/find.c char **dirname, char **filename) filename 1815 src/filemanager/find.c *filename = g_strdup (file_tmp); filename 1817 src/filemanager/find.c if (return_value == B_PANELIZE && *filename != NULL) filename 1904 src/filemanager/find.c char *filename = NULL, *dirname = NULL; filename 1918 src/filemanager/find.c v = do_find (panel, start_dir, start_dir_len, ignore_dirs, &dirname, &filename); filename 1935 src/filemanager/find.c if (filename != NULL) filename 1942 src/filemanager/find.c offset = strchr (filename + 4, ':') - filename + 1; filename 1944 src/filemanager/find.c panel_set_current_by_name (panel, filename + offset); filename 1947 src/filemanager/find.c else if (filename != NULL) filename 1951 src/filemanager/find.c filename_vpath = vfs_path_from_str (filename); filename 1959 src/filemanager/find.c g_free (filename); filename 5010 src/filemanager/panel.c char *filename; filename 5021 src/filemanager/panel.c filename = g_strndup (fe->fname->str, fe->fname->len); filename 5027 src/filemanager/panel.c if (strcmp (panel->dir.list[i - 1].fname->str, filename) == 0) filename 5033 src/filemanager/panel.c g_free (filename); filename 1099 src/help.c if (event_data->filename != NULL) filename 1100 src/help.c g_file_get_contents (event_data->filename, &filedata, NULL, NULL); filename 1106 src/help.c event_data->filename ? event_data->filename : hlpfile, unix_error_string (errno)); filename 1075 src/setup.c setup_save_config_show_error (const char *filename, GError **mcerror) filename 1079 src/setup.c message (D_ERROR, MSG_ERROR, _("Cannot save file %s:\n%s"), filename, (*mcerror)->message); filename 150 src/setup.h void setup_save_config_show_error (const char *filename, GError ** mcerror); filename 1581 src/vfs/extfs/extfs.c const char *filename; filename 1600 src/vfs/extfs/extfs.c while ((filename = g_dir_read_name (dir)) != NULL) filename 1605 src/vfs/extfs/extfs.c g_snprintf (fullname, sizeof (fullname), "%s" PATH_SEP_STR "%s", dirname, filename); filename 1625 src/vfs/extfs/extfs.c len = strlen (filename); filename 1626 src/vfs/extfs/extfs.c info.need_archive = (filename[len - 1] != '+'); filename 1628 src/vfs/extfs/extfs.c info.prefix = g_strndup (filename, len); filename 1669 src/vfs/ftpfs/ftpfs.c char buffer[2048] = "", *filename; filename 1732 src/vfs/ftpfs/ftpfs.c if (vfs_parse_ls_lga (buffer, &s, &filename, NULL)) filename 1736 src/vfs/ftpfs/ftpfs.c r = strcmp (fe->name, filename); filename 1737 src/vfs/ftpfs/ftpfs.c g_free (filename); filename 79 src/vfs/ftpfs/ftpfs_parse_ls.c typedef gboolean (*ftpfs_line_parser) (char *line, struct stat * s, char **filename, filename 84 src/vfs/ftpfs/ftpfs_parse_ls.c static gboolean ftpfs_parse_long_list_UNIX (char *line, struct stat *s, char **filename, filename 86 src/vfs/ftpfs/ftpfs_parse_ls.c static gboolean ftpfs_parse_long_list_NT (char *line, struct stat *s, char **filename, filename 88 src/vfs/ftpfs/ftpfs_parse_ls.c static gboolean ftpfs_parse_long_list_EPLF (char *line, struct stat *s, char **filename, filename 90 src/vfs/ftpfs/ftpfs_parse_ls.c static gboolean ftpfs_parse_long_list_MLSD (char *line, struct stat *s, char **filename, filename 92 src/vfs/ftpfs/ftpfs_parse_ls.c static gboolean ftpfs_parse_long_list_AS400 (char *line, struct stat *s, char **filename, filename 94 src/vfs/ftpfs/ftpfs_parse_ls.c static gboolean ftpfs_parse_long_list_OS2 (char *line, struct stat *s, char **filename, filename 96 src/vfs/ftpfs/ftpfs_parse_ls.c static gboolean ftpfs_parse_long_list_MacWebStar (char *line, struct stat *s, char **filename, filename 277 src/vfs/ftpfs/ftpfs_parse_ls.c parse_ls_line (char *line, struct stat *s, char **filename, char **linkname) filename 411 src/vfs/ftpfs/ftpfs_parse_ls.c *filename = g_strdup (name); filename 419 src/vfs/ftpfs/ftpfs_parse_ls.c ftpfs_parse_long_list_UNIX (char *line, struct stat *s, char **filename, char **linkname, int *err) filename 430 src/vfs/ftpfs/ftpfs_parse_ls.c ret = parse_ls_line (line, s, filename, linkname); filename 450 src/vfs/ftpfs/ftpfs_parse_ls.c ftpfs_parse_long_list_NT (char *line, struct stat *s, char **filename, char **linkname, int *err) filename 517 src/vfs/ftpfs/ftpfs_parse_ls.c *filename = g_strdup (t); filename 542 src/vfs/ftpfs/ftpfs_parse_ls.c ftpfs_parse_long_list_EPLF (char *line, struct stat *s, char **filename, char **linkname, int *err) filename 622 src/vfs/ftpfs/ftpfs_parse_ls.c *filename = g_strndup (name, name_len); filename 654 src/vfs/ftpfs/ftpfs_parse_ls.c ftpfs_parse_long_list_MLSD (char *line, struct stat *s, char **filename, char **linkname, int *err) filename 773 src/vfs/ftpfs/ftpfs_parse_ls.c *filename = g_strdup (name); filename 819 src/vfs/ftpfs/ftpfs_parse_ls.c ftpfs_parse_long_list_AS400 (char *line, struct stat *s, char **filename, char **linkname, int *err) filename 898 src/vfs/ftpfs/ftpfs_parse_ls.c *filename = g_strdup (t); filename 904 src/vfs/ftpfs/ftpfs_parse_ls.c *filename = g_strdup (t); filename 923 src/vfs/ftpfs/ftpfs_parse_ls.c ftpfs_parse_long_list_OS2 (char *line, struct stat *s, char **filename, char **linkname, int *err) filename 982 src/vfs/ftpfs/ftpfs_parse_ls.c *filename = g_strdup (t); filename 991 src/vfs/ftpfs/ftpfs_parse_ls.c ftpfs_parse_long_list_MacWebStar (char *line, struct stat *s, char **filename, filename 1098 src/vfs/ftpfs/ftpfs_parse_ls.c *filename = g_strdup (name); filename 122 src/vfs/sftpfs/config_parser.c sftpfs_correct_file_name (const char *filename) filename 127 src/vfs/sftpfs/config_parser.c fn = tilde_expand (filename); filename 763 src/vfs/shell/shell.c char *filename; filename 767 src/vfs/shell/shell.c filename = buffer; filename 769 src/vfs/shell/shell.c if (strcmp (filename, "\".\"") == 0 || strcmp (filename, "\"..\"") == 0) filename 772 src/vfs/shell/shell.c filename_bound = filename + strlen (filename); filename 785 src/vfs/shell/shell.c if (*filename == '"') filename 786 src/vfs/shell/shell.c ++filename; filename 788 src/vfs/shell/shell.c linkname = strstr (filename, "\" -> \""); filename 793 src/vfs/shell/shell.c if (filename_bound > filename && *(filename_bound - 1) == '"') filename 804 src/vfs/shell/shell.c ent->name = g_strndup (filename, filename_bound - filename); filename 817 src/vfs/shell/shell.c if (filename_bound - filename > 2) filename 823 src/vfs/shell/shell.c if (*filename == '"') filename 824 src/vfs/shell/shell.c ++filename; filename 829 src/vfs/shell/shell.c ent->name = g_strndup (filename, filename_bound - filename); filename 347 src/viewer/actions_cmd.c char *filename; filename 350 src/viewer/actions_cmd.c filename = show_file_history (CONST_WIDGET (view), &action); filename 352 src/viewer/actions_cmd.c if (filename != NULL && (action == CK_View || action == CK_Enter)) filename 357 src/viewer/actions_cmd.c mcview_load (view, NULL, filename, 0, 0, 0); filename 363 src/viewer/actions_cmd.c g_free (filename); filename 74 src/viewer/lib.c char *filename, *command; filename 82 src/viewer/lib.c filename = g_strdup (vfs_path_as_str (view->filename_vpath)); filename 90 src/viewer/lib.c mcview_load (view, command, filename, 0, 0, 0); filename 93 src/viewer/lib.c g_free (filename); filename 256 tests/lib/vfs/vfs_parse_ls_lga.c char *filename = NULL; filename 271 tests/lib/vfs/vfs_parse_ls_lga.c vfs_parse_ls_lga (data->input_string, &test_stat, &filename, &linkname, &filepos); filename 276 tests/lib/vfs/vfs_parse_ls_lga.c mctest_assert_str_eq (filename, data->expected_filename); filename 273 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c const char *filename, const char *linkname) filename 279 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c if (filename != NULL) filename 280 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c yaml_dump_string ("name", filename); filename 316 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c const char *filename, const char *linkname) filename 321 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c if (filename != NULL) filename 322 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c printf ("%s", filename); filename 343 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c char *filename, *linkname; filename 347 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c filename = NULL; filename 350 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c success = vfs_parse_ls_lga (line, &st, &filename, &linkname, NULL); filename 356 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c yaml_dump_record (success, line, &st, filename, linkname); filename 358 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c ls_dump_record (success, line, &st, filename, linkname); filename 360 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c g_free (filename);