dir               148 lib/mcconfig/paths.c     char *dir;
dir               166 lib/mcconfig/paths.c         dir = g_build_filename (profile_root, ".config", (char *) NULL);
dir               167 lib/mcconfig/paths.c         mc_config_str = mc_config_init_one_config_path (dir, MC_USERCONF_DIR, mcerror);
dir               168 lib/mcconfig/paths.c         g_free (dir);
dir               170 lib/mcconfig/paths.c         dir = g_build_filename (profile_root, ".cache", (char *) NULL);
dir               171 lib/mcconfig/paths.c         mc_cache_str = mc_config_init_one_config_path (dir, MC_USERCONF_DIR, mcerror);
dir               172 lib/mcconfig/paths.c         g_free (dir);
dir               174 lib/mcconfig/paths.c         dir = g_build_filename (profile_root, ".local", "share", (char *) NULL);
dir               175 lib/mcconfig/paths.c         mc_data_str = mc_config_init_one_config_path (dir, MC_USERCONF_DIR, mcerror);
dir               176 lib/mcconfig/paths.c         g_free (dir);
dir                53 lib/skin/ini-file.c     GDir *dir;
dir                56 lib/skin/ini-file.c     dir = g_dir_open (name, 0, NULL);
dir                59 lib/skin/ini-file.c     if (dir != NULL)
dir                63 lib/skin/ini-file.c         while ((cname = g_dir_read_name (dir)) != NULL)
dir                85 lib/skin/ini-file.c         g_dir_close (dir);
dir                95 lib/vfs/direntry.c     struct vfs_s_inode *dir;
dir               107 lib/vfs/direntry.c vfs_s_automake (struct vfs_class *me, struct vfs_s_inode *dir, char *path, int flags)
dir               116 lib/vfs/direntry.c     res = vfs_s_generate_entry (me, path, dir, (flags & FL_MKDIR) != 0 ? (0777 | S_IFDIR) : 0777);
dir               117 lib/vfs/direntry.c     vfs_s_insert_entry (me, dir, res);
dir               153 lib/vfs/direntry.c         fullpath = vfs_s_fullpath (me, entry->dir);
dir               163 lib/vfs/direntry.c         VFS_SUBCLASS (me)->find_entry (me, entry->dir->super->root, linkname, follow - 1, FL_NONE);
dir               422 lib/vfs/direntry.c     struct vfs_s_inode *dir;
dir               426 lib/vfs/direntry.c     dir = vfs_s_inode_from_path (vpath, FL_DIR | FL_FOLLOW);
dir               427 lib/vfs/direntry.c     if (dir == NULL)
dir               432 lib/vfs/direntry.c     if (!S_ISDIR (dir->st.st_mode))
dir               438 lib/vfs/direntry.c     dir->st.st_nlink++;
dir               440 lib/vfs/direntry.c     if (dir->subdir == NULL)    /* This can actually happen if we allow empty directories */
dir               447 lib/vfs/direntry.c     info->cur = g_queue_peek_head_link (dir->subdir);
dir               448 lib/vfs/direntry.c     info->dir = dir;
dir               458 lib/vfs/direntry.c     struct vfs_dirent *dir = NULL;
dir               467 lib/vfs/direntry.c         dir = vfs_dirent_init (NULL, name, 0);
dir               473 lib/vfs/direntry.c     return dir;
dir               482 lib/vfs/direntry.c     struct vfs_s_inode *dir = info->dir;
dir               484 lib/vfs/direntry.c     vfs_s_free_inode (dir->super->me, dir);
dir               965 lib/vfs/direntry.c     if (ent->dir != NULL)
dir               966 lib/vfs/direntry.c         g_queue_remove (ent->dir->subdir, ent);
dir               982 lib/vfs/direntry.c vfs_s_insert_entry (struct vfs_class *me, struct vfs_s_inode *dir, struct vfs_s_entry *ent)
dir               986 lib/vfs/direntry.c     ent->dir = dir;
dir               989 lib/vfs/direntry.c     g_queue_push_tail (dir->subdir, ent);
dir              1260 lib/vfs/direntry.c             ino = ino->ent->dir;
dir              1272 lib/vfs/direntry.c     if (ino->ent->dir == NULL || ino->ent->dir->ent == NULL)
dir              1275 lib/vfs/direntry.c     return g_strconcat (ino->ent->dir->ent->name, PATH_SEP_STR, ino->ent->name, (char *) NULL);
dir              1322 lib/vfs/direntry.c         struct vfs_s_inode *dir;
dir              1330 lib/vfs/direntry.c         dir = vfs_s_find_inode (path_element->class, super, dirname, LINK_FOLLOW, FL_DIR);
dir              1331 lib/vfs/direntry.c         if (dir == NULL)
dir              1338 lib/vfs/direntry.c         ent = vfs_s_generate_entry (path_element->class, name, dir, 0755);
dir              1340 lib/vfs/direntry.c         vfs_s_insert_entry (path_element->class, dir, ent);
dir               441 lib/vfs/interface.c     path_element->dir.info = info;
dir               444 lib/vfs/interface.c     path_element->dir.converter = (path_element->encoding != NULL) ?
dir               446 lib/vfs/interface.c     if (path_element->dir.converter == INVALID_CONV)
dir               447 lib/vfs/interface.c         path_element->dir.converter = str_cnv_from_term;
dir               483 lib/vfs/interface.c         entry = vfs->readdir (vfs_path_element->dir.info);
dir               489 lib/vfs/interface.c         str_vfs_convert_from (vfs_path_element->dir.converter, entry->d_name, vfs_str_buffer);
dir               522 lib/vfs/interface.c         if (vfs_path_element->dir.converter != str_cnv_from_term)
dir               524 lib/vfs/interface.c             str_close_conv (vfs_path_element->dir.converter);
dir               525 lib/vfs/interface.c             vfs_path_element->dir.converter = INVALID_CONV;
dir               529 lib/vfs/interface.c         result = vfs->closedir ? (*vfs->closedir) (vfs_path_element->dir.info) : -1;
dir               391 lib/vfs/path.c         element->dir.converter =
dir               416 lib/vfs/path.c         element->dir.converter =
dir               491 lib/vfs/path.c         element->dir.converter =
dir               510 lib/vfs/path.c         element->dir.converter =
dir               575 lib/vfs/path.c vfs_path_strip_home (const char *dir)
dir               585 lib/vfs/path.c         if (strncmp (dir, home_dir, len) == 0 && (IS_PATH_SEP (dir[len]) || dir[len] == '\0'))
dir               586 lib/vfs/path.c             return g_strdup_printf ("~%s", dir + len);
dir               589 lib/vfs/path.c     return g_strdup (dir);
dir               681 lib/vfs/path.c             str_vfs_convert_from (element->dir.converter, element->path, recode_buffer);
dir               864 lib/vfs/path.c         new_element->dir.converter = str_crt_conv_from (new_element->encoding);
dir               866 lib/vfs/path.c         new_element->dir.converter = element->dir.converter;
dir               868 lib/vfs/path.c     new_element->dir.info = element->dir.info;
dir               897 lib/vfs/path.c         str_close_conv (element->dir.converter);
dir              1050 lib/vfs/path.c     return (element->dir.converter != str_cnv_from_term && element->dir.converter != INVALID_CONV);
dir              1076 lib/vfs/path.c         str_close_conv (path_element->dir.converter);
dir              1078 lib/vfs/path.c     path_element->dir.converter = str_crt_conv_from (path_element->encoding);
dir              1197 lib/vfs/path.c         element->dir.converter =
dir                53 lib/vfs/path.h     } dir;
dir               257 lib/vfs/utilvfs.c         char *dir = pcopy;
dir               260 lib/vfs/utilvfs.c         while (!IS_PATH_SEP (*dir) && *dir != '\0')
dir               261 lib/vfs/utilvfs.c             dir++;
dir               262 lib/vfs/utilvfs.c         if (*dir == '\0')
dir               266 lib/vfs/utilvfs.c             path_element->path = g_strndup (dir, pcopy_len - (size_t) (dir - pcopy));
dir               267 lib/vfs/utilvfs.c             *dir = '\0';
dir               353 lib/vfs/utilvfs.c     path_element->dir.converter = INVALID_CONV;
dir               320 lib/vfs/vfs.h  int mc_closedir (DIR * dir);
dir                79 lib/vfs/xdirentry.h     struct vfs_s_inode *dir;    /* Directory we are in, i.e. our parent */
dir               164 lib/vfs/xdirentry.h void vfs_s_insert_entry (struct vfs_class *me, struct vfs_s_inode *dir, struct vfs_s_entry *ent);
dir              1116 src/editor/editcmd.c     int dir = 0;
dir              1120 src/editor/editcmd.c         dir = query_dialog (_("Syntax file edit"),
dir              1133 src/editor/editcmd.c     if (dir == 0)
dir              1142 src/editor/editcmd.c     else if (dir == 1)
dir              1162 src/editor/editcmd.c     int dir;
dir              1166 src/editor/editcmd.c     dir = query_dialog (_("Menu edit"),
dir              1179 src/editor/editcmd.c     switch (dir)
dir              1227 src/editor/editwidget.c         char *dir;
dir              1229 src/editor/editwidget.c         dir = mc_build_filename (mc_config_get_cache_path (), EDIT_HOME_DIR, (char *) NULL);
dir              1230 src/editor/editwidget.c         made_directory = (mkdir (dir, 0700) != -1 || errno == EEXIST);
dir              1231 src/editor/editwidget.c         g_free (dir);
dir              1233 src/editor/editwidget.c         dir = mc_build_filename (mc_config_get_path (), EDIT_HOME_DIR, (char *) NULL);
dir              1234 src/editor/editwidget.c         made_directory = (mkdir (dir, 0700) != -1 || errno == EEXIST);
dir              1235 src/editor/editwidget.c         g_free (dir);
dir              1237 src/editor/editwidget.c         dir = mc_build_filename (mc_config_get_data_path (), EDIT_HOME_DIR, (char *) NULL);
dir              1238 src/editor/editwidget.c         made_directory = (mkdir (dir, 0700) != -1 || errno == EEXIST);
dir              1239 src/editor/editwidget.c         g_free (dir);
dir               835 src/filemanager/achown.c     while (!panel->dir.list[current_file].f.marked)
dir               838 src/filemanager/achown.c     return panel->dir.list[current_file].fname;
dir              1086 src/filemanager/chattr.c     while (!panel->dir.list[current_file].f.marked)
dir              1089 src/filemanager/chattr.c     return panel->dir.list[current_file].fname;
dir               416 src/filemanager/chmod.c     while (!panel->dir.list[current_file].f.marked)
dir               419 src/filemanager/chmod.c     return panel->dir.list[current_file].fname;
dir               289 src/filemanager/chown.c     while (!panel->dir.list[current_file].f.marked)
dir               292 src/filemanager/chown.c     return panel->dir.list[current_file].fname;
dir               154 src/filemanager/cmd.c         filename_vpath = vfs_path_from_str (panel->dir.list[file_idx].fname->str);
dir               279 src/filemanager/cmd.c     for (i = 0; i < panel->dir.len; i++)
dir               281 src/filemanager/cmd.c         file_entry_t *source = &panel->dir.list[i];
dir               291 src/filemanager/cmd.c         for (j = 0; j < other->dir.len; j++)
dir               292 src/filemanager/cmd.c             if (g_string_equal (source->fname, other->dir.list[j].fname))
dir               295 src/filemanager/cmd.c         if (j >= other->dir.len)
dir               301 src/filemanager/cmd.c             file_entry_t *target = &other->dir.list[j];
dir               837 src/filemanager/cmd.c     char *dir;
dir               844 src/filemanager/cmd.c     dir =
dir               849 src/filemanager/cmd.c     if (dir != NULL && *dir != '\0')
dir               853 src/filemanager/cmd.c         if (IS_PATH_SEP (dir[0]) || dir[0] == '~')
dir               854 src/filemanager/cmd.c             absdir = vfs_path_from_str (dir);
dir               859 src/filemanager/cmd.c             char *tmpdir = dir;
dir               861 src/filemanager/cmd.c             if (dir[0] == '\\' && dir[1] == '~')
dir               862 src/filemanager/cmd.c                 tmpdir = dir + 1;
dir               873 src/filemanager/cmd.c             update_panels (UP_OPTIMIZE, dir);
dir               880 src/filemanager/cmd.c     g_free (dir);
dir               948 src/filemanager/cmd.c     int dir = 0;
dir               951 src/filemanager/cmd.c         dir = query_dialog (_("Extension file edit"),
dir               957 src/filemanager/cmd.c     if (dir == 0)
dir               966 src/filemanager/cmd.c     else if (dir == 1)
dir               989 src/filemanager/cmd.c     int dir = 0;
dir               992 src/filemanager/cmd.c     dir = query_dialog (_("Menu edit"),
dir              1006 src/filemanager/cmd.c     switch (dir)
dir              1047 src/filemanager/cmd.c     int dir = 0;
dir              1050 src/filemanager/cmd.c         dir = query_dialog (_("Highlighting groups file edit"),
dir              1057 src/filemanager/cmd.c     if (dir == 0)
dir              1066 src/filemanager/cmd.c     else if (dir == 1)
dir              1369 src/filemanager/cmd.c     const file_entry_t *entry = &panel->dir.list[panel->selected];
dir              1382 src/filemanager/cmd.c     file_entry_t *entry = &panel->dir.list[panel->selected];
dir              1432 src/filemanager/cmd.c     for (i = 0; i < panel->dir.len; i++)
dir              1433 src/filemanager/cmd.c         if (S_ISDIR (panel->dir.list[i].st.st_mode)
dir              1434 src/filemanager/cmd.c             && ((panel->dirs_marked != 0 && panel->dir.list[i].f.marked)
dir              1435 src/filemanager/cmd.c                 || panel->dirs_marked == 0) && !DIR_IS_DOTDOT (panel->dir.list[i].fname->str))
dir              1443 src/filemanager/cmd.c             p = vfs_path_from_str (panel->dir.list[i].fname->str);
dir              1449 src/filemanager/cmd.c             panel->dir.list[i].st.st_size = (off_t) total;
dir              1450 src/filemanager/cmd.c             panel->dir.list[i].f.dir_size_computed = 1;
dir               636 src/filemanager/file.c     DIR *dir;
dir               642 src/filemanager/file.c     dir = mc_opendir (dirname_vpath);
dir               643 src/filemanager/file.c     if (dir == NULL)
dir               646 src/filemanager/file.c     while (ret == FILE_CONT && (dirent = mc_readdir (dir)) != NULL)
dir               682 src/filemanager/file.c     mc_closedir (dir);
dir               704 src/filemanager/file.c     for (i = 0; i < panel->dir.len; i++)
dir               706 src/filemanager/file.c         const file_entry_t *fe = &panel->dir.list[i];
dir              1398 src/filemanager/file.c try_erase_dir (file_op_context_t * ctx, const char *dir)
dir              1402 src/filemanager/file.c     while (my_rmdir (dir) != 0 && !ctx->skip_all)
dir              1404 src/filemanager/file.c         return_status = file_error (TRUE, _("Cannot remove directory \"%s\"\n%s"), dir);
dir              1479 src/filemanager/file.c     DIR *dir;
dir              1483 src/filemanager/file.c     dir = mc_opendir (vpath);
dir              1484 src/filemanager/file.c     if (dir == NULL)
dir              1488 src/filemanager/file.c     while ((d = mc_readdir (dir)) != NULL)
dir              1492 src/filemanager/file.c     mc_closedir (dir);
dir              1743 src/filemanager/file.c         for (i = 0; i < panel->dir.len; i++)
dir              1744 src/filemanager/file.c             if (panel->dir.list[i].f.marked)
dir              1745 src/filemanager/file.c                 return panel->dir.list[i].fname->str;
dir              1748 src/filemanager/file.c     return panel->dir.list[panel->selected].fname->str;
dir              3384 src/filemanager/file.c             for (i = 0; i < panel->dir.len; i++)
dir              3388 src/filemanager/file.c                 if (!panel->dir.list[i].f.marked)
dir              3391 src/filemanager/file.c                 source2 = panel->dir.list[i].fname->str;
dir              3392 src/filemanager/file.c                 src_stat = panel->dir.list[i].st;
dir               808 src/filemanager/filemanager.c         for (i = 0; i < panel->dir.len; i++)
dir               810 src/filemanager/filemanager.c             if (panel->dir.list[i].f.marked)
dir               811 src/filemanager/filemanager.c                 command_insert (cmdline, panel->dir.list[i].fname->str, TRUE);
dir               816 src/filemanager/filemanager.c         command_insert (cmdline, panel->dir.list[panel->selected].fname->str, TRUE);
dir               112 src/filemanager/find.c     char *dir;
dir               381 src/filemanager/find.c get_list_info (char **file, char **dir, gsize * start, gsize * end)
dir               388 src/filemanager/find.c         if (dir != NULL)
dir               389 src/filemanager/find.c             *dir = location->dir;
dir               397 src/filemanager/find.c         if (dir != NULL)
dir               398 src/filemanager/find.c             *dir = NULL;
dir               883 src/filemanager/find.c push_directory (vfs_path_t * dir)
dir               885 src/filemanager/find.c     g_queue_push_head (&dir_queue, (void *) dir);
dir               916 src/filemanager/find.c insert_file (const char *dir, const char *file, gsize start, gsize end)
dir               922 src/filemanager/find.c     while (IS_PATH_SEP (dir[0]) && IS_PATH_SEP (dir[1]))
dir               923 src/filemanager/find.c         dir++;
dir               927 src/filemanager/find.c         if (strcmp (old_dir, dir) != 0)
dir               930 src/filemanager/find.c             old_dir = g_strdup (dir);
dir               931 src/filemanager/find.c             dirname = add_to_list (dir, NULL);
dir               936 src/filemanager/find.c         old_dir = g_strdup (dir);
dir               937 src/filemanager/find.c         dirname = add_to_list (dir, NULL);
dir               942 src/filemanager/find.c     location->dir = dirname;
dir               952 src/filemanager/find.c find_add_match (const char *dir, const char *file, gsize start, gsize end)
dir               954 src/filemanager/find.c     insert_file (dir, file, start, end);
dir              1192 src/filemanager/find.c find_ignore_dir_search (const char *dir)
dir              1196 src/filemanager/find.c         const size_t dlen = strlen (dir);
dir              1197 src/filemanager/find.c         const unsigned char dabs = g_path_is_absolute (dir) ? 1 : 0;
dir              1216 src/filemanager/find.c                 if (strncmp (dir, *ignore_dir, ilen) == 0)
dir              1220 src/filemanager/find.c                     if (dir[ilen] == '\0' || IS_PATH_SEP (dir[ilen]))
dir              1228 src/filemanager/find.c                     d = strstr (dir, *ignore_dir);
dir              1440 src/filemanager/find.c find_do_view_edit (gboolean unparsed_view, gboolean edit, char *dir, char *file, off_t search_start,
dir              1458 src/filemanager/find.c     fullname_vpath = vfs_path_build_filename (dir, filename, (char *) NULL);
dir              1477 src/filemanager/find.c     if ((text == NULL) || (location == NULL) || (location->dir == NULL))
dir              1480 src/filemanager/find.c     find_do_view_edit (unparsed_view, edit, location->dir, text, location->start, location->end);
dir              1808 src/filemanager/find.c         dir_list *list = &panel->dir;
dir              1823 src/filemanager/find.c             if ((le->text == NULL) || (location == NULL) || (location->dir == NULL))
dir              1831 src/filemanager/find.c             name = mc_build_filename (location->dir, lc_filename, (char *) NULL);
dir               139 src/filemanager/info.c     st = current_panel->dir.list[current_panel->selected].st;
dir               269 src/filemanager/info.c             vpath = vfs_path_from_str (current_panel->dir.list[current_panel->selected].fname->str);
dir               296 src/filemanager/info.c             fname = current_panel->dir.list[current_panel->selected].fname->str;
dir              1194 src/filemanager/layout.c             file_name = the_other_panel->dir.list[the_other_panel->selected].fname->str;
dir              1286 src/filemanager/layout.c         panelswap (dir);
dir              1143 src/filemanager/mountlist.c                 char *host, *dir;
dir              1148 src/filemanager/mountlist.c                 dir = thisent + vmp->vmt_data[VMT_OBJECT].vmt_off;
dir              1149 src/filemanager/mountlist.c                 me->me_devname = g_strconcat (host, ":", dir, (char *) NULL);
dir              1243 src/filemanager/mountlist.c     char *tp, dev[_POSIX_NAME_MAX], dir[_POSIX_PATH_MAX];
dir              1262 src/filemanager/mountlist.c     if (!getcwd (dir, _POSIX_PATH_MAX))
dir              1265 src/filemanager/mountlist.c     fd = open (dir, O_RDONLY);
dir              1303 src/filemanager/mountlist.c     if (fsys_get_mount_dev (dir, &dev) == -1)
dir              1306 src/filemanager/mountlist.c     if (fsys_get_mount_pt (dev, &dir) == -1)
dir              1310 src/filemanager/mountlist.c     me->me_mountdir = g_strdup (dir);
dir              1320 src/filemanager/mountlist.c     fprintf (stderr, "fsys_get_mount_pt():\n\tmount point='%s'\n", dir);
dir               802 src/filemanager/panel.c     if (file_index < panel->dir.len)
dir               804 src/filemanager/panel.c         fe = &panel->dir.list[file_index];
dir              1006 src/filemanager/panel.c     if (S_ISLNK (panel->dir.list[panel->selected].st.st_mode))
dir              1013 src/filemanager/panel.c             vfs_path_append_new (panel->cwd_vpath, panel->dir.list[panel->selected].fname->str,
dir              1026 src/filemanager/panel.c     else if (DIR_IS_DOTDOT (panel->dir.list[panel->selected].fname->str))
dir              1055 src/filemanager/panel.c         if (i + panel->top_file < panel->dir.len)
dir              1057 src/filemanager/panel.c             color = 2 * (panel->dir.list[i + panel->top_file].f.marked);
dir              1318 src/filemanager/panel.c             if (S_ISREG (panel->dir.list[panel->selected].st.st_mode))
dir              1323 src/filemanager/panel.c                             size_trunc_sep (panel->dir.list[panel->selected].st.st_size,
dir              1357 src/filemanager/panel.c     panel->selected = CLAMP (panel->selected, 0, panel->dir.len - 1);
dir              1361 src/filemanager/panel.c     if (panel->dir.len <= items)
dir              1383 src/filemanager/panel.c         i = panel->dir.len - items;
dir              1503 src/filemanager/panel.c     g_free (p->dir.list);
dir              2072 src/filemanager/panel.c     for (i = 0; i < panel->dir.len; i++)
dir              2074 src/filemanager/panel.c         file_entry_t *file_entry = &panel->dir.list[i];
dir              2113 src/filemanager/panel.c     if (panel->selected + 1 == panel->dir.len)
dir              2125 src/filemanager/panel.c         if (panel->top_file > panel->dir.len - items)
dir              2126 src/filemanager/panel.c             panel->top_file = panel->dir.len - items;
dir              2133 src/filemanager/panel.c         if (panel->top_file > panel->dir.len - items)
dir              2134 src/filemanager/panel.c             panel->top_file = panel->dir.len - items;
dir              2178 src/filemanager/panel.c     if (new_pos >= panel->dir.len)
dir              2179 src/filemanager/panel.c         new_pos = panel->dir.len - 1;
dir              2271 src/filemanager/panel.c         GString *fname = panel->dir.list[panel->selected].fname;
dir              2314 src/filemanager/panel.c     if (panel->selected == panel->dir.len - 1)
dir              2319 src/filemanager/panel.c     if (panel->top_file > panel->dir.len - 2 * items)
dir              2320 src/filemanager/panel.c         items = panel->dir.len - items - panel->top_file;
dir              2324 src/filemanager/panel.c         panel->selected = panel->dir.len - 1;
dir              2418 src/filemanager/panel.c     if (panel->selected == panel->dir.len - 1)
dir              2442 src/filemanager/panel.c     panel->selected = panel->dir.len - 1;
dir              2495 src/filemanager/panel.c     lines = MIN (lines, panel->dir.len - panel->selected - 1);
dir              2572 src/filemanager/panel.c     for (i = 0; i < panel->dir.len; i++)
dir              2574 src/filemanager/panel.c         if (DIR_IS_DOTDOT (panel->dir.list[i].fname->str))
dir              2576 src/filemanager/panel.c         if (S_ISDIR (panel->dir.list[i].st.st_mode) && files_only)
dir              2580 src/filemanager/panel.c             (search, panel->dir.list[i].fname->str, 0, panel->dir.list[i].fname->len, NULL))
dir              2620 src/filemanager/panel.c     for (i = 0; i < panel->dir.len; i++)
dir              2622 src/filemanager/panel.c         file_entry_t *file = &panel->dir.list[i];
dir              2703 src/filemanager/panel.c         if (i >= panel->dir.len)
dir              2711 src/filemanager/panel.c             (search, panel->dir.list[i].fname->str, 0, panel->dir.list[i].fname->len, NULL))
dir              2746 src/filemanager/panel.c         if (panel->selected == panel->dir.len - 1)
dir              2883 src/filemanager/panel.c     const file_entry_t *entry = &panel->dir.list[panel->selected];
dir              2947 src/filemanager/panel.c     if (!S_ISLNK (panel->dir.list[panel->selected].st.st_mode))
dir              3289 src/filemanager/panel.c     if (!dir_list_load (&panel->dir, panel->cwd_vpath, panel->sort_field->sort_routine,
dir              3827 src/filemanager/panel.c     last = panel->dir.len - 1;
dir              3940 src/filemanager/panel.c                 && panel->top_file + panel_items (panel) < panel->dir.len)
dir              3961 src/filemanager/panel.c     dir_list *list = &panel->dir;
dir              4012 src/filemanager/panel.c         my_current_file = g_strndup (panel->dir.list[panel->selected].fname->str,
dir              4013 src/filemanager/panel.c                                      panel->dir.list[panel->selected].fname->len);
dir              4084 src/filemanager/panel.c     for (i = 0; i < panel->dir.len; i++)
dir              4086 src/filemanager/panel.c         if (strcmp (subdir, panel->dir.list[i].fname->str) == 0)
dir              4095 src/filemanager/panel.c     if (panel->selected >= panel->dir.len)
dir              4096 src/filemanager/panel.c         do_select (panel, panel->dir.len - 1);
dir              4138 src/filemanager/panel.c         for (i = 0; i < current_panel->dir.len; i++)
dir              4139 src/filemanager/panel.c             if (current_panel->dir.list[i].f.marked != 0)
dir              4143 src/filemanager/panel.c                     flist = g_strndup (current_panel->dir.list[i].fname->str,
dir              4144 src/filemanager/panel.c                                        current_panel->dir.list[i].fname->len);
dir              4153 src/filemanager/panel.c                         g_strconcat (flist, "\n", current_panel->dir.list[i].fname->str,
dir              4255 src/filemanager/panel.c     dir_list_free_list (&panel->dir);
dir              4317 src/filemanager/panel.c     panel->dir.size = DIR_LIST_MIN_SIZE;
dir              4318 src/filemanager/panel.c     panel->dir.list = g_new (file_entry_t, panel->dir.size);
dir              4319 src/filemanager/panel.c     panel->dir.len = 0;
dir              4320 src/filemanager/panel.c     panel->dir.callback = panel_dir_list_callback;
dir              4420 src/filemanager/panel.c     if (!dir_list_load (&panel->dir, panel->cwd_vpath, panel->sort_field->sort_routine,
dir              4460 src/filemanager/panel.c         dir_list_init (&panel->dir);
dir              4468 src/filemanager/panel.c     if (!dir_list_reload (&panel->dir, panel->cwd_vpath, panel->sort_field->sort_routine,
dir              4473 src/filemanager/panel.c     if (panel->selected >= panel->dir.len)
dir              4474 src/filemanager/panel.c         do_select (panel, panel->dir.len - 1);
dir              4561 src/filemanager/panel.c         for (i = 0; i < panel->dir.len; i++)
dir              4583 src/filemanager/panel.c     for (i = 0; i < panel->dir.len; i++)
dir              4584 src/filemanager/panel.c         if (panel->dir.list[i].f.marked)
dir              4589 src/filemanager/panel.c             panel->dir.list[i].f.marked = 0;
dir              4600 src/filemanager/panel.c     if (panel->dir.list[idx].f.marked == mark)
dir              4604 src/filemanager/panel.c     if (DIR_IS_DOTDOT (panel->dir.list[idx].fname->str))
dir              4608 src/filemanager/panel.c     if (panel->dir.list[idx].f.marked)
dir              4612 src/filemanager/panel.c         if (S_ISDIR (panel->dir.list[idx].st.st_mode))
dir              4614 src/filemanager/panel.c             if (panel->dir.list[idx].f.dir_size_computed)
dir              4615 src/filemanager/panel.c                 panel->total += (uintmax_t) panel->dir.list[idx].st.st_size;
dir              4619 src/filemanager/panel.c             panel->total += (uintmax_t) panel->dir.list[idx].st.st_size;
dir              4625 src/filemanager/panel.c         if (S_ISDIR (panel->dir.list[idx].st.st_mode))
dir              4627 src/filemanager/panel.c             if (panel->dir.list[idx].f.dir_size_computed)
dir              4628 src/filemanager/panel.c                 panel->total -= (uintmax_t) panel->dir.list[idx].st.st_size;
dir              4632 src/filemanager/panel.c             panel->total -= (uintmax_t) panel->dir.list[idx].st.st_size;
dir              4659 src/filemanager/panel.c     if (panel->dir.list[lc_index].f.marked != val)
dir              4661 src/filemanager/panel.c         panel->dir.list[lc_index].f.marked = val;
dir              4681 src/filemanager/panel.c     dir_list_sort (&panel->dir, panel->sort_field->sort_routine, &panel->sort_info);
dir              4684 src/filemanager/panel.c     for (i = panel->dir.len; i != 0; i--)
dir              4685 src/filemanager/panel.c         if (strcmp (panel->dir.list[i - 1].fname->str, filename) == 0)
dir              4712 src/filemanager/panel.c         current_file = g_strndup (panel->dir.list[panel->selected].fname->str,
dir              4713 src/filemanager/panel.c                                   panel->dir.list[panel->selected].fname->len);
dir              4823 src/filemanager/panel.c         str_close_conv (path_element->dir.converter);
dir              4824 src/filemanager/panel.c         path_element->dir.converter = INVALID_CONV;
dir                22 src/filemanager/panel.h #define selection(p) (&(p->dir.list[p->selected]))
dir               106 src/filemanager/panel.h     dir_list dir;               /* Directory contents */
dir               308 src/filemanager/panelize.c     dir_list *list = &current_panel->dir;
dir               447 src/filemanager/panelize.c     dir_list_clean (&panel->dir);
dir               453 src/filemanager/panelize.c     else if (panelized_panel.list.len > panel->dir.size)
dir               454 src/filemanager/panelize.c         dir_list_grow (&panel->dir, panelized_panel.list.len - panel->dir.size);
dir               456 src/filemanager/panelize.c     list = &panel->dir;
dir               511 src/filemanager/panelize.c     dir_list *list = &panel->dir;
dir               517 src/filemanager/panelize.c     if (panel->dir.len == 0)
dir               520 src/filemanager/panelize.c     if (panel->dir.len > panelized_panel.list.size)
dir               521 src/filemanager/panelize.c         dir_list_grow (&panelized_panel.list, panel->dir.len - panelized_panel.list.size);
dir               522 src/filemanager/panelize.c     panelized_panel.list.len = panel->dir.len;
dir               524 src/filemanager/panelize.c     for (i = 0; i < panel->dir.len; i++)
dir               559 src/filemanager/panelize.c     const dir_list *const list = &panel->dir;
dir              1310 src/filemanager/tree.c tree_chdir (WTree * tree, const vfs_path_t * dir)
dir              1314 src/filemanager/tree.c     current = tree_store_whereis (dir);
dir                27 src/filemanager/tree.h void tree_chdir (WTree * tree, const vfs_path_t * dir);
dir               168 src/usermenu.c     mode_t st_mode = panel->dir.list[panel->selected].st.st_mode;
dir               258 src/usermenu.c                     mc_search (arg, DEFAULT_CHARSET, panel->dir.list[panel->selected].fname->str,
dir               774 src/usermenu.c             fname = panel->dir.list[panel->selected].fname->str;
dir               911 src/usermenu.c             for (i = 0; i < panel->dir.len; i++)
dir               912 src/usermenu.c                 if (panel->dir.list[i].f.marked)
dir               916 src/usermenu.c                     tmp = quote_func (panel->dir.list[i].fname->str, FALSE);
dir               227 src/vfs/extfs/extfs.c extfs_find_entry_int (struct vfs_s_inode *dir, const char *name, GSList * list, int flags)
dir               239 src/vfs/extfs/extfs.c         dir = dir->super->root;
dir               242 src/vfs/extfs/extfs.c     super = EXTFS_SUPER (dir->super);
dir               243 src/vfs/extfs/extfs.c     pent = dir->ent;
dir               257 src/vfs/extfs/extfs.c             pent = pent->dir->ent;
dir               307 src/vfs/extfs/extfs.c extfs_find_entry (struct vfs_s_inode *dir, const char *name, int flags)
dir               314 src/vfs/extfs/extfs.c     res = extfs_find_entry_int (dir, name, NULL, flags);
dir               445 src/vfs/extfs/extfs.c                 entry->dir = pent->ino;
dir               451 src/vfs/extfs/extfs.c                 entry->dir = super->root;
dir               829 src/vfs/extfs/extfs.c     for (e = entry; e->dir != NULL; e = e->dir->ent)
dir               832 src/vfs/extfs/extfs.c         if (e->dir->ent->dir != NULL)
dir               859 src/vfs/extfs/extfs.c         pent = extfs_find_entry_int (entry->dir, entry->ino->linkname, looping, FL_NONE);
dir              1174 src/vfs/extfs/extfs.c     struct vfs_dirent *dir;
dir              1180 src/vfs/extfs/extfs.c     dir = vfs_dirent_init (NULL, VFS_ENTRY ((*info)->data)->name, 0);   /* FIXME: inode */
dir              1184 src/vfs/extfs/extfs.c     return dir;
dir              1551 src/vfs/extfs/extfs.c     GDir *dir;
dir              1555 src/vfs/extfs/extfs.c     dir = g_dir_open (dirname, 0, NULL);
dir              1560 src/vfs/extfs/extfs.c     if (dir == NULL)
dir              1571 src/vfs/extfs/extfs.c     while ((filename = g_dir_read_name (dir)) != NULL)
dir              1637 src/vfs/extfs/extfs.c     g_dir_close (dir);
dir               750 src/vfs/fish/fish.c fish_dir_load (struct vfs_class *me, struct vfs_s_inode *dir, char *remote_path)
dir               752 src/vfs/fish/fish.c     struct vfs_s_super *super = dir->super;
dir               768 src/vfs/fish/fish.c     dir->timestamp = g_get_real_time () + fish_directory_timeout * G_USEC_PER_SEC;
dir               775 src/vfs/fish/fish.c     ent = vfs_s_generate_entry (me, NULL, dir, 0);
dir               801 src/vfs/fish/fish.c                 vfs_s_insert_entry (me, dir, ent);
dir               802 src/vfs/fish/fish.c                 ent = vfs_s_generate_entry (me, NULL, dir, 0);
dir              1526 src/vfs/ftpfs/ftpfs.c                                     struct vfs_s_inode *dir)
dir              1532 src/vfs/ftpfs/ftpfs.c     dir->symlink_status = FTPFS_RESOLVING_SYMLINKS;
dir              1533 src/vfs/ftpfs/ftpfs.c     for (flist = dir->file_list->next; flist != dir->file_list; flist = flist->next)
dir              1549 src/vfs/ftpfs/ftpfs.c                 if ((strlen (dir->remote_path) + strlen (fel->linkname)) >= MC_MAXPATHLEN)
dir              1551 src/vfs/ftpfs/ftpfs.c                 strcpy (tmp, dir->remote_path);
dir              1599 src/vfs/ftpfs/ftpfs.c     dir->symlink_status = FTPFS_RESOLVED_SYMLINKS;
dir              1606 src/vfs/ftpfs/ftpfs.c                                  struct vfs_s_inode *dir)
dir              1616 src/vfs/ftpfs/ftpfs.c     dir->symlink_status = FTPFS_RESOLVED_SYMLINKS;
dir              1617 src/vfs/ftpfs/ftpfs.c     if (strchr (dir->remote_path, ' ') == NULL)
dir              1618 src/vfs/ftpfs/ftpfs.c         sock = ftpfs_open_data_connection (bucket, "LIST -lLa", dir->remote_path, TYPE_ASCII, 0);
dir              1621 src/vfs/ftpfs/ftpfs.c         if (ftpfs_chdir_internal (bucket, dir->remote_path) != COMPLETE)
dir              1644 src/vfs/ftpfs/ftpfs.c     flist = dir->file_list->next;
dir              1650 src/vfs/ftpfs/ftpfs.c             if (flist == dir->file_list)
dir              1712 src/vfs/ftpfs/ftpfs.c resolve_symlink (struct vfs_class *me, struct vfs_s_super *super, struct vfs_s_inode *dir)
dir              1717 src/vfs/ftpfs/ftpfs.c         resolve_symlink_without_ls_options (me, super, dir);
dir              1719 src/vfs/ftpfs/ftpfs.c         resolve_symlink_with_ls_options (me, super, dir);
dir              1726 src/vfs/ftpfs/ftpfs.c ftpfs_dir_load (struct vfs_class *me, struct vfs_s_inode *dir, char *remote_path)
dir              1728 src/vfs/ftpfs/ftpfs.c     struct vfs_s_super *super = dir->super;
dir              1755 src/vfs/ftpfs/ftpfs.c     dir->timestamp = g_get_real_time () + ftpfs_directory_timeout * G_USEC_PER_SEC;
dir              1842 src/vfs/ftpfs/ftpfs.c     entlist = ftpfs_parse_long_list (me, dir, dirlist, &err_count);
dir              1846 src/vfs/ftpfs/ftpfs.c         vfs_s_insert_entry (me, dir, VFS_ENTRY (iter->data));
dir                42 src/vfs/ftpfs/ftpfs.h GSList *ftpfs_parse_long_list (struct vfs_class *me, struct vfs_s_inode *dir, GSList * buf,
dir               559 src/vfs/ftpfs/ftpfs_parse_ls.c     gboolean dir = FALSE;
dir               596 src/vfs/ftpfs/ftpfs_parse_ls.c             dir = TRUE;
dir               600 src/vfs/ftpfs/ftpfs_parse_ls.c             dir = FALSE;
dir               641 src/vfs/ftpfs/ftpfs_parse_ls.c         s->st_mode = dir ? S_IFDIR : S_IFREG;
dir              1115 src/vfs/ftpfs/ftpfs_parse_ls.c ftpfs_parse_long_list (struct vfs_class * me, struct vfs_s_inode * dir, GSList * buf, int *err_ret)
dir              1163 src/vfs/ftpfs/ftpfs_parse_ls.c                 info = vfs_s_generate_entry (me, NULL, dir, 0);
dir              1204 src/vfs/ftpfs/ftpfs_parse_ls.c             info = vfs_s_generate_entry (me, NULL, dir, 0);
dir                90 src/vfs/local/local.c     DIR *dir = NULL;
dir               100 src/vfs/local/local.c     while (dir == NULL)
dir               102 src/vfs/local/local.c         dir = opendir (path_element->path);
dir               103 src/vfs/local/local.c         if (dir == NULL)
dir               106 src/vfs/local/local.c         if (readdir (dir) == NULL && errno == EINTR)
dir               108 src/vfs/local/local.c             closedir (dir);
dir               109 src/vfs/local/local.c             dir = NULL;
dir               112 src/vfs/local/local.c             rewinddir (dir);
dir               116 src/vfs/local/local.c     *local_info = dir;
dir                84 src/vfs/sftpfs/internal.c     int dir, ret;
dir                92 src/vfs/sftpfs/internal.c     dir = libssh2_session_block_directions (super->session);
dir                94 src/vfs/sftpfs/internal.c     if ((dir & LIBSSH2_SESSION_BLOCK_INBOUND) != 0)
dir                97 src/vfs/sftpfs/internal.c     if ((dir & LIBSSH2_SESSION_BLOCK_OUTBOUND) != 0)
dir               121 src/vfs/sftpfs/vfs_class.c         struct vfs_s_inode *dir;
dir               125 src/vfs/sftpfs/vfs_class.c         dir = vfs_s_find_inode (path_element->class, super, dirname, LINK_FOLLOW, FL_DIR);
dir               126 src/vfs/sftpfs/vfs_class.c         if (dir == NULL)
dir               132 src/vfs/sftpfs/vfs_class.c         ent = vfs_s_generate_entry (path_element->class, name, dir, 0755);
dir               134 src/vfs/sftpfs/vfs_class.c         vfs_s_insert_entry (path_element->class, dir, ent);
dir               172 src/vfs/sftpfs/vfs_subclass.c sftpfs_cb_dir_load (struct vfs_class *me, struct vfs_s_inode *dir, char *remote_path)
dir               175 src/vfs/sftpfs/vfs_subclass.c     (void) dir;
dir               195 src/viewer/actions_cmd.c     mcview_load (view, 0, panel->dir.list[panel->selected].fname->str, 0, 0, 0);
dir               274 src/viewer/actions_cmd.c         view->dir = &current_panel->dir;
dir               277 src/viewer/actions_cmd.c     else if (view->dir == NULL)
dir               287 src/viewer/actions_cmd.c         view->dir = g_new0 (dir_list, 1);
dir               291 src/viewer/actions_cmd.c             (view->dir, view->workdir_vpath, (GCompareFunc) sort_name, &sort_op, NULL))
dir               301 src/viewer/actions_cmd.c             for (i = 0; i != view->dir->len; i++)
dir               303 src/viewer/actions_cmd.c                 const file_entry_t *fe = &view->dir->list[i];
dir               314 src/viewer/actions_cmd.c             MC_PTR_FREE (view->dir);
dir               330 src/viewer/actions_cmd.c             i = view->dir->len - 1;
dir               331 src/viewer/actions_cmd.c         if (i == view->dir->len)
dir               333 src/viewer/actions_cmd.c         if (!S_ISDIR (view->dir->list[i].st.st_mode))
dir               345 src/viewer/actions_cmd.c     dir_list *dir;
dir               354 src/viewer/actions_cmd.c     dir = view->dir;
dir               356 src/viewer/actions_cmd.c     view->dir = NULL;
dir               359 src/viewer/actions_cmd.c         vfs_path_append_new (view->workdir_vpath, dir->list[*dir_idx].fname->str, (char *) NULL);
dir               366 src/viewer/actions_cmd.c     view->dir = dir;
dir               201 src/viewer/internal.h     dir_list *dir;              /* List of current directory files
dir                75 src/viewer/lib.c     dir_list *dir;
dir                84 src/viewer/lib.c     dir = view->dir;
dir                86 src/viewer/lib.c     view->dir = NULL;
dir                91 src/viewer/lib.c     view->dir = dir;
dir               246 src/viewer/lib.c     if (mc_global.mc_run_mode == MC_RUN_VIEWER && view->dir != NULL)
dir               249 src/viewer/lib.c         dir_list_free_list (view->dir);
dir               250 src/viewer/lib.c         g_free (view->dir);
dir               254 src/viewer/lib.c     view->dir = NULL;
dir               305 src/viewer/mcviewer.c             char *dir;
dir               308 src/viewer/mcviewer.c             dir = g_strndup (file, (size_t) (fname - file));
dir               309 src/viewer/mcviewer.c             view->workdir_vpath = vfs_path_from_str (dir);
dir               310 src/viewer/mcviewer.c             g_free (dir);
dir                54 tests/src/filemanager/exec_get_export_variables_ext.c     current_panel->dir.size = DIR_LIST_MIN_SIZE;
dir                55 tests/src/filemanager/exec_get_export_variables_ext.c     current_panel->dir.list = g_new0 (file_entry_t, current_panel->dir.size);
dir                56 tests/src/filemanager/exec_get_export_variables_ext.c     current_panel->dir.len = 0;
dir                78 tests/src/filemanager/exec_get_export_variables_ext.c     current_panel->dir.len = 3;
dir                79 tests/src/filemanager/exec_get_export_variables_ext.c     current_panel->dir.list[0].fname = g_string_new ("selected file.txt");
dir                80 tests/src/filemanager/exec_get_export_variables_ext.c     current_panel->dir.list[1].fname = g_string_new ("tagged file1.txt");
dir                81 tests/src/filemanager/exec_get_export_variables_ext.c     current_panel->dir.list[1].f.marked = TRUE;
dir                82 tests/src/filemanager/exec_get_export_variables_ext.c     current_panel->dir.list[2].fname = g_string_new ("tagged file2.txt");
dir                83 tests/src/filemanager/exec_get_export_variables_ext.c     current_panel->dir.list[2].f.marked = TRUE;
dir               106 tests/src/filemanager/exec_get_export_variables_ext.c     g_string_free (current_panel->dir.list[0].fname, TRUE);
dir               107 tests/src/filemanager/exec_get_export_variables_ext.c     g_string_free (current_panel->dir.list[1].fname, TRUE);
dir               108 tests/src/filemanager/exec_get_export_variables_ext.c     g_string_free (current_panel->dir.list[2].fname, TRUE);