dir               197 lib/mcconfig/paths.c         GDir *dir;
dir               200 lib/mcconfig/paths.c         dir = g_dir_open (old_name, 0, mcerror);
dir               201 lib/mcconfig/paths.c         if (dir == NULL)
dir               206 lib/mcconfig/paths.c             g_dir_close (dir);
dir               213 lib/mcconfig/paths.c         while ((dir_name = g_dir_read_name (dir)) != NULL)
dir               281 lib/mcconfig/paths.c     char *dir;
dir               303 lib/mcconfig/paths.c         dir = g_build_filename (profile_root, ".config", (char *) NULL);
dir               304 lib/mcconfig/paths.c         mc_config_str = mc_config_init_one_config_path (dir, MC_USERCONF_DIR, mcerror);
dir               305 lib/mcconfig/paths.c         g_free (dir);
dir               307 lib/mcconfig/paths.c         dir = g_build_filename (profile_root, ".cache", (char *) NULL);
dir               308 lib/mcconfig/paths.c         mc_cache_str = mc_config_init_one_config_path (dir, MC_USERCONF_DIR, mcerror);
dir               309 lib/mcconfig/paths.c         g_free (dir);
dir               311 lib/mcconfig/paths.c         dir = g_build_filename (profile_root, ".local", "share", (char *) NULL);
dir               312 lib/mcconfig/paths.c         mc_data_str = mc_config_init_one_config_path (dir, MC_USERCONF_DIR, mcerror);
dir               313 lib/mcconfig/paths.c         g_free (dir);
dir               329 lib/mcconfig/paths.c         dir = defined_userconf_dir;
dir               333 lib/mcconfig/paths.c         dir = g_build_filename (profile_root, MC_USERCONF_DIR, (char *) NULL);
dir               336 lib/mcconfig/paths.c     mc_data_str = mc_cache_str = mc_config_str = mc_config_init_one_config_path (dir, "", mcerror);
dir               338 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                96 lib/vfs/direntry.c     struct vfs_s_inode *dir;
dir               108 lib/vfs/direntry.c vfs_s_automake (struct vfs_class *me, struct vfs_s_inode *dir, char *path, int flags)
dir               117 lib/vfs/direntry.c     res = vfs_s_generate_entry (me, path, dir, (flags & FL_MKDIR) != 0 ? (0777 | S_IFDIR) : 0777);
dir               118 lib/vfs/direntry.c     vfs_s_insert_entry (me, dir, res);
dir               154 lib/vfs/direntry.c         fullpath = vfs_s_fullpath (me, entry->dir);
dir               164 lib/vfs/direntry.c         VFS_SUBCLASS (me)->find_entry (me, entry->dir->super->root, linkname, follow - 1, FL_NONE);
dir               423 lib/vfs/direntry.c     struct vfs_s_inode *dir;
dir               427 lib/vfs/direntry.c     dir = vfs_s_inode_from_path (vpath, FL_DIR | FL_FOLLOW);
dir               428 lib/vfs/direntry.c     if (dir == NULL)
dir               433 lib/vfs/direntry.c     if (!S_ISDIR (dir->st.st_mode))
dir               439 lib/vfs/direntry.c     dir->st.st_nlink++;
dir               441 lib/vfs/direntry.c     if (dir->subdir == NULL)    /* This can actually happen if we allow empty directories */
dir               448 lib/vfs/direntry.c     info->cur = g_queue_peek_head_link (dir->subdir);
dir               449 lib/vfs/direntry.c     info->dir = dir;
dir               459 lib/vfs/direntry.c     static union vfs_dirent dir;
dir               468 lib/vfs/direntry.c         g_strlcpy (dir.dent.d_name, name, MC_MAXPATHLEN);
dir               474 lib/vfs/direntry.c     return (void *) &dir;
dir               483 lib/vfs/direntry.c     struct vfs_s_inode *dir = info->dir;
dir               485 lib/vfs/direntry.c     vfs_s_free_inode (dir->super->me, dir);
dir               966 lib/vfs/direntry.c     if (ent->dir != NULL)
dir               967 lib/vfs/direntry.c         g_queue_remove (ent->dir->subdir, ent);
dir               983 lib/vfs/direntry.c vfs_s_insert_entry (struct vfs_class *me, struct vfs_s_inode *dir, struct vfs_s_entry *ent)
dir               987 lib/vfs/direntry.c     ent->dir = dir;
dir               990 lib/vfs/direntry.c     g_queue_push_tail (dir->subdir, ent);
dir              1261 lib/vfs/direntry.c             ino = ino->ent->dir;
dir              1273 lib/vfs/direntry.c     if (ino->ent->dir == NULL || ino->ent->dir->ent == NULL)
dir              1276 lib/vfs/direntry.c     return g_strconcat (ino->ent->dir->ent->name, PATH_SEP_STR, ino->ent->name, (char *) NULL);
dir              1323 lib/vfs/direntry.c         struct vfs_s_inode *dir;
dir              1331 lib/vfs/direntry.c         dir = vfs_s_find_inode (path_element->class, super, dirname, LINK_FOLLOW, FL_DIR);
dir              1332 lib/vfs/direntry.c         if (dir == NULL)
dir              1339 lib/vfs/direntry.c         ent = vfs_s_generate_entry (path_element->class, name, dir, 0755);
dir              1341 lib/vfs/direntry.c         vfs_s_insert_entry (path_element->class, dir, ent);
dir               443 lib/vfs/interface.c     path_element->dir.info = info;
dir               446 lib/vfs/interface.c     path_element->dir.converter = (path_element->encoding != NULL) ?
dir               448 lib/vfs/interface.c     if (path_element->dir.converter == INVALID_CONV)
dir               449 lib/vfs/interface.c         path_element->dir.converter = str_cnv_from_term;
dir               500 lib/vfs/interface.c         entry = vfs->readdir (vfs_path_element->dir.info);
dir               506 lib/vfs/interface.c         str_vfs_convert_from (vfs_path_element->dir.converter, entry->d_name, vfs_str_buffer);
dir               539 lib/vfs/interface.c         if (vfs_path_element->dir.converter != str_cnv_from_term)
dir               541 lib/vfs/interface.c             str_close_conv (vfs_path_element->dir.converter);
dir               542 lib/vfs/interface.c             vfs_path_element->dir.converter = INVALID_CONV;
dir               546 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              1037 lib/vfs/path.c     return (element->dir.converter != str_cnv_from_term && element->dir.converter != INVALID_CONV);
dir              1063 lib/vfs/path.c         str_close_conv (path_element->dir.converter);
dir              1065 lib/vfs/path.c     path_element->dir.converter = str_crt_conv_from (path_element->encoding);
dir              1184 lib/vfs/path.c         element->dir.converter =
dir                53 lib/vfs/path.h     } dir;
dir               250 lib/vfs/utilvfs.c         char *dir = pcopy;
dir               253 lib/vfs/utilvfs.c         while (!IS_PATH_SEP (*dir) && *dir != '\0')
dir               254 lib/vfs/utilvfs.c             dir++;
dir               255 lib/vfs/utilvfs.c         if (*dir == '\0')
dir               259 lib/vfs/utilvfs.c             path_element->path = g_strndup (dir, pcopy_len - (size_t) (dir - pcopy));
dir               260 lib/vfs/utilvfs.c             *dir = '\0';
dir               346 lib/vfs/utilvfs.c     path_element->dir.converter = INVALID_CONV;
dir               313 lib/vfs/vfs.h  int mc_closedir (DIR * dir);
dir                78 lib/vfs/xdirentry.h     struct vfs_s_inode *dir;    /* Directory we are in, i.e. our parent */
dir               163 lib/vfs/xdirentry.h void vfs_s_insert_entry (struct vfs_class *me, struct vfs_s_inode *dir, struct vfs_s_entry *ent);
dir              2127 src/editor/editcmd.c     int dir = 0;
dir              2131 src/editor/editcmd.c         dir = query_dialog (_("Syntax file edit"),
dir              2144 src/editor/editcmd.c     if (dir == 0)
dir              2153 src/editor/editcmd.c     else if (dir == 1)
dir              2173 src/editor/editcmd.c     int dir;
dir              2177 src/editor/editcmd.c     dir = query_dialog (_("Menu edit"),
dir              2190 src/editor/editcmd.c     switch (dir)
dir              1218 src/editor/editwidget.c         char *dir;
dir              1220 src/editor/editwidget.c         dir = mc_build_filename (mc_config_get_cache_path (), EDIT_HOME_DIR, (char *) NULL);
dir              1221 src/editor/editwidget.c         made_directory = (mkdir (dir, 0700) != -1 || errno == EEXIST);
dir              1222 src/editor/editwidget.c         g_free (dir);
dir              1224 src/editor/editwidget.c         dir = mc_build_filename (mc_config_get_path (), EDIT_HOME_DIR, (char *) NULL);
dir              1225 src/editor/editwidget.c         made_directory = (mkdir (dir, 0700) != -1 || errno == EEXIST);
dir              1226 src/editor/editwidget.c         g_free (dir);
dir              1228 src/editor/editwidget.c         dir = mc_build_filename (mc_config_get_data_path (), EDIT_HOME_DIR, (char *) NULL);
dir              1229 src/editor/editwidget.c         made_directory = (mkdir (dir, 0700) != -1 || errno == EEXIST);
dir              1230 src/editor/editwidget.c         g_free (dir);
dir               836 src/filemanager/achown.c     while (!current_panel->dir.list[current_file].f.marked)
dir               839 src/filemanager/achown.c     return current_panel->dir.list[current_file].fname;
dir              1080 src/filemanager/chattr.c     while (!current_panel->dir.list[current_file].f.marked)
dir              1083 src/filemanager/chattr.c     return current_panel->dir.list[current_file].fname;
dir               418 src/filemanager/chmod.c     while (!current_panel->dir.list[current_file].f.marked)
dir               421 src/filemanager/chmod.c     return current_panel->dir.list[current_file].fname;
dir               290 src/filemanager/chown.c     while (!current_panel->dir.list[current_file].f.marked)
dir               293 src/filemanager/chown.c     return current_panel->dir.list[current_file].fname;
dir               153 src/filemanager/cmd.c         filename_vpath = vfs_path_from_str (current_panel->dir.list[file_idx].fname);
dir               278 src/filemanager/cmd.c     for (i = 0; i < panel->dir.len; i++)
dir               280 src/filemanager/cmd.c         file_entry_t *source = &panel->dir.list[i];
dir               290 src/filemanager/cmd.c         for (j = 0; j < other->dir.len; j++)
dir               291 src/filemanager/cmd.c             if (strcmp (source->fname, other->dir.list[j].fname) == 0)
dir               294 src/filemanager/cmd.c         if (j >= other->dir.len)
dir               300 src/filemanager/cmd.c             file_entry_t *target = &other->dir.list[j];
dir               834 src/filemanager/cmd.c     char *dir;
dir               841 src/filemanager/cmd.c     dir =
dir               846 src/filemanager/cmd.c     if (dir != NULL && *dir != '\0')
dir               850 src/filemanager/cmd.c         if (IS_PATH_SEP (dir[0]) || dir[0] == '~')
dir               851 src/filemanager/cmd.c             absdir = vfs_path_from_str (dir);
dir               856 src/filemanager/cmd.c             char *tmpdir = dir;
dir               858 src/filemanager/cmd.c             if (dir[0] == '\\' && dir[1] == '~')
dir               859 src/filemanager/cmd.c                 tmpdir = dir + 1;
dir               870 src/filemanager/cmd.c             update_panels (UP_OPTIMIZE, dir);
dir               877 src/filemanager/cmd.c     g_free (dir);
dir               945 src/filemanager/cmd.c     int dir = 0;
dir               948 src/filemanager/cmd.c         dir = query_dialog (_("Extension file edit"),
dir               954 src/filemanager/cmd.c     if (dir == 0)
dir               963 src/filemanager/cmd.c     else if (dir == 1)
dir               986 src/filemanager/cmd.c     int dir = 0;
dir               989 src/filemanager/cmd.c     dir = query_dialog (_("Menu edit"),
dir              1003 src/filemanager/cmd.c     switch (dir)
dir              1044 src/filemanager/cmd.c     int dir = 0;
dir              1047 src/filemanager/cmd.c         dir = query_dialog (_("Highlighting groups file edit"),
dir              1054 src/filemanager/cmd.c     if (dir == 0)
dir              1063 src/filemanager/cmd.c     else if (dir == 1)
dir              1388 src/filemanager/cmd.c     entry = &(panel->dir.list[panel->selected]);
dir              1403 src/filemanager/cmd.c     entry = &(panel->dir.list[panel->selected]);
dir              1453 src/filemanager/cmd.c     for (i = 0; i < panel->dir.len; i++)
dir              1454 src/filemanager/cmd.c         if (S_ISDIR (panel->dir.list[i].st.st_mode)
dir              1455 src/filemanager/cmd.c             && ((panel->dirs_marked != 0 && panel->dir.list[i].f.marked)
dir              1456 src/filemanager/cmd.c                 || panel->dirs_marked == 0) && !DIR_IS_DOTDOT (panel->dir.list[i].fname))
dir              1464 src/filemanager/cmd.c             p = vfs_path_from_str (panel->dir.list[i].fname);
dir              1470 src/filemanager/cmd.c             panel->dir.list[i].st.st_size = (off_t) total;
dir              1471 src/filemanager/cmd.c             panel->dir.list[i].f.dir_size_computed = 1;
dir               626 src/filemanager/file.c     DIR *dir;
dir               632 src/filemanager/file.c     dir = mc_opendir (dirname_vpath);
dir               633 src/filemanager/file.c     if (dir == NULL)
dir               636 src/filemanager/file.c     while (ret == FILE_CONT && (dirent = mc_readdir (dir)) != NULL)
dir               672 src/filemanager/file.c     mc_closedir (dir);
dir               694 src/filemanager/file.c     for (i = 0; i < panel->dir.len; i++)
dir               696 src/filemanager/file.c         const file_entry_t *fe = &panel->dir.list[i];
dir              1379 src/filemanager/file.c try_erase_dir (file_op_context_t * ctx, const char *dir)
dir              1383 src/filemanager/file.c     while (my_rmdir (dir) != 0 && !ctx->skip_all)
dir              1385 src/filemanager/file.c         return_status = file_error (TRUE, _("Cannot remove directory \"%s\"\n%s"), dir);
dir              1460 src/filemanager/file.c     DIR *dir;
dir              1464 src/filemanager/file.c     dir = mc_opendir (vpath);
dir              1465 src/filemanager/file.c     if (dir == NULL)
dir              1468 src/filemanager/file.c     for (d = mc_readdir (dir); d != NULL; d = mc_readdir (dir))
dir              1475 src/filemanager/file.c     mc_closedir (dir);
dir              1728 src/filemanager/file.c         for (i = 0; i < panel->dir.len; i++)
dir              1729 src/filemanager/file.c             if (panel->dir.list[i].f.marked)
dir              1730 src/filemanager/file.c                 return panel->dir.list[i].fname;
dir              1733 src/filemanager/file.c     return panel->dir.list[panel->selected].fname;
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;
dir              3392 src/filemanager/file.c                 src_stat = panel->dir.list[i].st;
dir               113 src/filemanager/find.c     char *dir;
dir               377 src/filemanager/find.c get_list_info (char **file, char **dir, gsize * start, gsize * end)
dir               384 src/filemanager/find.c         if (dir != NULL)
dir               385 src/filemanager/find.c             *dir = location->dir;
dir               393 src/filemanager/find.c         if (dir != NULL)
dir               394 src/filemanager/find.c             *dir = NULL;
dir               873 src/filemanager/find.c push_directory (vfs_path_t * dir)
dir               875 src/filemanager/find.c     g_queue_push_head (&dir_queue, (void *) dir);
dir               898 src/filemanager/find.c insert_file (const char *dir, const char *file, gsize start, gsize end)
dir               904 src/filemanager/find.c     while (IS_PATH_SEP (dir[0]) && IS_PATH_SEP (dir[1]))
dir               905 src/filemanager/find.c         dir++;
dir               909 src/filemanager/find.c         if (strcmp (old_dir, dir) != 0)
dir               912 src/filemanager/find.c             old_dir = g_strdup (dir);
dir               913 src/filemanager/find.c             dirname = add_to_list (dir, NULL);
dir               918 src/filemanager/find.c         old_dir = g_strdup (dir);
dir               919 src/filemanager/find.c         dirname = add_to_list (dir, NULL);
dir               924 src/filemanager/find.c     location->dir = dirname;
dir               934 src/filemanager/find.c find_add_match (const char *dir, const char *file, gsize start, gsize end)
dir               936 src/filemanager/find.c     insert_file (dir, file, start, end);
dir              1188 src/filemanager/find.c find_ignore_dir_search (const char *dir)
dir              1192 src/filemanager/find.c         const size_t dlen = strlen (dir);
dir              1193 src/filemanager/find.c         const unsigned char dabs = g_path_is_absolute (dir) ? 1 : 0;
dir              1212 src/filemanager/find.c                 if (strncmp (dir, *ignore_dir, ilen) == 0)
dir              1216 src/filemanager/find.c                     if (dir[ilen] == '\0' || IS_PATH_SEP (dir[ilen]))
dir              1224 src/filemanager/find.c                     d = strstr (dir, *ignore_dir);
dir              1430 src/filemanager/find.c find_do_view_edit (gboolean unparsed_view, gboolean edit, char *dir, char *file, off_t search_start,
dir              1448 src/filemanager/find.c     fullname_vpath = vfs_path_build_filename (dir, filename, (char *) NULL);
dir              1467 src/filemanager/find.c     if ((text == NULL) || (location == NULL) || (location->dir == NULL))
dir              1470 src/filemanager/find.c     find_do_view_edit (unparsed_view, edit, location->dir, text, location->start, location->end);
dir              1796 src/filemanager/find.c         dir_list *list = &current_panel->dir;
dir              1811 src/filemanager/find.c             if ((le->text == NULL) || (location == NULL) || (location->dir == NULL))
dir              1819 src/filemanager/find.c             name = mc_build_filename (location->dir, lc_filename, (char *) NULL);
dir               143 src/filemanager/info.c     st = current_panel->dir.list[current_panel->selected].st;
dir               273 src/filemanager/info.c             vpath = vfs_path_from_str (current_panel->dir.list[current_panel->selected].fname);
dir               300 src/filemanager/info.c             fname = current_panel->dir.list[current_panel->selected].fname;
dir              1175 src/filemanager/layout.c             file_name = the_other_panel->dir.list[the_other_panel->selected].fname;
dir              1267 src/filemanager/layout.c         panelswap (dir);
dir               817 src/filemanager/midnight.c         for (i = 0; i < panel->dir.len; i++)
dir               819 src/filemanager/midnight.c             if (panel->dir.list[i].f.marked)
dir               820 src/filemanager/midnight.c                 command_insert (cmdline, panel->dir.list[i].fname, TRUE);
dir               825 src/filemanager/midnight.c         command_insert (cmdline, panel->dir.list[panel->selected].fname, TRUE);
dir              1134 src/filemanager/mountlist.c                 char *host, *dir;
dir              1139 src/filemanager/mountlist.c                 dir = thisent + vmp->vmt_data[VMT_OBJECT].vmt_off;
dir              1140 src/filemanager/mountlist.c                 me->me_devname = g_strconcat (host, ":", dir, (char *) NULL);
dir              1234 src/filemanager/mountlist.c     char *tp, dev[_POSIX_NAME_MAX], dir[_POSIX_PATH_MAX];
dir              1253 src/filemanager/mountlist.c     if (!getcwd (dir, _POSIX_PATH_MAX))
dir              1256 src/filemanager/mountlist.c     fd = open (dir, O_RDONLY);
dir              1294 src/filemanager/mountlist.c     if (fsys_get_mount_dev (dir, &dev) == -1)
dir              1297 src/filemanager/mountlist.c     if (fsys_get_mount_pt (dev, &dir) == -1)
dir              1301 src/filemanager/mountlist.c     me->me_mountdir = g_strdup (dir);
dir              1311 src/filemanager/mountlist.c     fprintf (stderr, "fsys_get_mount_pt():\n\tmount point='%s'\n", dir);
dir               800 src/filemanager/panel.c     if (file_index < panel->dir.len)
dir               802 src/filemanager/panel.c         fe = &panel->dir.list[file_index];
dir              1004 src/filemanager/panel.c     if (S_ISLNK (panel->dir.list[panel->selected].st.st_mode))
dir              1011 src/filemanager/panel.c             vfs_path_append_new (panel->cwd_vpath, panel->dir.list[panel->selected].fname,
dir              1024 src/filemanager/panel.c     else if (DIR_IS_DOTDOT (panel->dir.list[panel->selected].fname))
dir              1053 src/filemanager/panel.c         if (i + panel->top_file < panel->dir.len)
dir              1055 src/filemanager/panel.c             color = 2 * (panel->dir.list[i + panel->top_file].f.marked);
dir              1316 src/filemanager/panel.c             if (S_ISREG (panel->dir.list[panel->selected].st.st_mode))
dir              1321 src/filemanager/panel.c                             size_trunc_sep (panel->dir.list[panel->selected].st.st_size,
dir              1355 src/filemanager/panel.c     panel->selected = CLAMP (panel->selected, 0, panel->dir.len - 1);
dir              1359 src/filemanager/panel.c     if (panel->dir.len <= items)
dir              1381 src/filemanager/panel.c         i = panel->dir.len - items;
dir              1501 src/filemanager/panel.c     g_free (p->dir.list);
dir              2068 src/filemanager/panel.c     for (i = 0; i < current_panel->dir.len; i++)
dir              2070 src/filemanager/panel.c         file_entry_t *file_entry = &current_panel->dir.list[i];
dir              2109 src/filemanager/panel.c     if (panel->selected + 1 == panel->dir.len)
dir              2121 src/filemanager/panel.c         if (panel->top_file > panel->dir.len - items)
dir              2122 src/filemanager/panel.c             panel->top_file = panel->dir.len - items;
dir              2129 src/filemanager/panel.c         if (panel->top_file > panel->dir.len - items)
dir              2130 src/filemanager/panel.c             panel->top_file = panel->dir.len - items;
dir              2174 src/filemanager/panel.c     if (new_pos >= panel->dir.len)
dir              2175 src/filemanager/panel.c         new_pos = panel->dir.len - 1;
dir              2267 src/filemanager/panel.c         char *fname = panel->dir.list[panel->selected].fname;
dir              2306 src/filemanager/panel.c     if (panel->selected == panel->dir.len - 1)
dir              2311 src/filemanager/panel.c     if (panel->top_file > panel->dir.len - 2 * items)
dir              2312 src/filemanager/panel.c         items = panel->dir.len - items - panel->top_file;
dir              2316 src/filemanager/panel.c         panel->selected = panel->dir.len - 1;
dir              2410 src/filemanager/panel.c     if (panel->selected == panel->dir.len - 1)
dir              2434 src/filemanager/panel.c     panel->selected = panel->dir.len - 1;
dir              2487 src/filemanager/panel.c     lines = MIN (lines, panel->dir.len - panel->selected - 1);
dir              2564 src/filemanager/panel.c     for (i = 0; i < panel->dir.len; i++)
dir              2566 src/filemanager/panel.c         if (DIR_IS_DOTDOT (panel->dir.list[i].fname))
dir              2568 src/filemanager/panel.c         if (S_ISDIR (panel->dir.list[i].st.st_mode) && files_only)
dir              2571 src/filemanager/panel.c         if (mc_search_run (search, panel->dir.list[i].fname, 0, panel->dir.list[i].fnamelen, NULL))
dir              2611 src/filemanager/panel.c     for (i = 0; i < panel->dir.len; i++)
dir              2613 src/filemanager/panel.c         file_entry_t *file = &panel->dir.list[i];
dir              2700 src/filemanager/panel.c         if (i >= panel->dir.len)
dir              2707 src/filemanager/panel.c         if (mc_search_run (search, panel->dir.list[i].fname, 0, panel->dir.list[i].fnamelen, NULL))
dir              2742 src/filemanager/panel.c         if (panel->selected == panel->dir.len - 1)
dir              2880 src/filemanager/panel.c     const file_entry_t *entry = &panel->dir.list[panel->selected];
dir              2942 src/filemanager/panel.c     if (!S_ISLNK (panel->dir.list[panel->selected].st.st_mode))
dir              3284 src/filemanager/panel.c     if (!dir_list_load (&panel->dir, panel->cwd_vpath, panel->sort_field->sort_routine,
dir              3822 src/filemanager/panel.c     last = panel->dir.len - 1;
dir              3935 src/filemanager/panel.c                 && panel->top_file + panel_items (panel) < panel->dir.len)
dir              3956 src/filemanager/panel.c     dir_list *list = &panel->dir;
dir              4007 src/filemanager/panel.c         my_current_file = g_strdup (panel->dir.list[panel->selected].fname);
dir              4078 src/filemanager/panel.c     for (i = 0; i < panel->dir.len; i++)
dir              4080 src/filemanager/panel.c         if (strcmp (subdir, panel->dir.list[i].fname) == 0)
dir              4089 src/filemanager/panel.c     if (panel->selected >= panel->dir.len)
dir              4090 src/filemanager/panel.c         do_select (panel, panel->dir.len - 1);
dir              4132 src/filemanager/panel.c         for (i = 0; i < current_panel->dir.len; i++)
dir              4133 src/filemanager/panel.c             if (current_panel->dir.list[i].f.marked != 0)
dir              4137 src/filemanager/panel.c                     flist = g_strdup (current_panel->dir.list[i].fname);
dir              4146 src/filemanager/panel.c                         g_strconcat (flist, "\n", current_panel->dir.list[i].fname, (char *) NULL);
dir              4244 src/filemanager/panel.c     dir_list_free_list (&panel->dir);
dir              4306 src/filemanager/panel.c     panel->dir.size = DIR_LIST_MIN_SIZE;
dir              4307 src/filemanager/panel.c     panel->dir.list = g_new (file_entry_t, panel->dir.size);
dir              4308 src/filemanager/panel.c     panel->dir.len = 0;
dir              4309 src/filemanager/panel.c     panel->dir.callback = panel_dir_list_callback;
dir              4406 src/filemanager/panel.c     if (!dir_list_load (&panel->dir, panel->cwd_vpath, panel->sort_field->sort_routine,
dir              4446 src/filemanager/panel.c         dir_list_init (&panel->dir);
dir              4454 src/filemanager/panel.c     if (!dir_list_reload (&panel->dir, panel->cwd_vpath, panel->sort_field->sort_routine,
dir              4459 src/filemanager/panel.c     if (panel->selected >= panel->dir.len)
dir              4460 src/filemanager/panel.c         do_select (panel, panel->dir.len - 1);
dir              4547 src/filemanager/panel.c         for (i = 0; i < panel->dir.len; i++)
dir              4569 src/filemanager/panel.c     for (i = 0; i < panel->dir.len; i++)
dir              4570 src/filemanager/panel.c         if (panel->dir.list[i].f.marked)
dir              4575 src/filemanager/panel.c             panel->dir.list[i].f.marked = 0;
dir              4586 src/filemanager/panel.c     if (panel->dir.list[idx].f.marked == mark)
dir              4590 src/filemanager/panel.c     if (DIR_IS_DOTDOT (panel->dir.list[idx].fname))
dir              4594 src/filemanager/panel.c     if (panel->dir.list[idx].f.marked)
dir              4598 src/filemanager/panel.c         if (S_ISDIR (panel->dir.list[idx].st.st_mode))
dir              4600 src/filemanager/panel.c             if (panel->dir.list[idx].f.dir_size_computed)
dir              4601 src/filemanager/panel.c                 panel->total += (uintmax_t) panel->dir.list[idx].st.st_size;
dir              4605 src/filemanager/panel.c             panel->total += (uintmax_t) panel->dir.list[idx].st.st_size;
dir              4611 src/filemanager/panel.c         if (S_ISDIR (panel->dir.list[idx].st.st_mode))
dir              4613 src/filemanager/panel.c             if (panel->dir.list[idx].f.dir_size_computed)
dir              4614 src/filemanager/panel.c                 panel->total -= (uintmax_t) panel->dir.list[idx].st.st_size;
dir              4618 src/filemanager/panel.c             panel->total -= (uintmax_t) panel->dir.list[idx].st.st_size;
dir              4645 src/filemanager/panel.c     if (panel->dir.list[lc_index].f.marked != val)
dir              4647 src/filemanager/panel.c         panel->dir.list[lc_index].f.marked = val;
dir              4665 src/filemanager/panel.c     dir_list_sort (&panel->dir, panel->sort_field->sort_routine, &panel->sort_info);
dir              4668 src/filemanager/panel.c     for (i = panel->dir.len; i != 0; i--)
dir              4669 src/filemanager/panel.c         if (strcmp (panel->dir.list[i - 1].fname, filename) == 0)
dir              4696 src/filemanager/panel.c         current_file = g_strdup (panel->dir.list[panel->selected].fname);
dir              4806 src/filemanager/panel.c         str_close_conv (path_element->dir.converter);
dir              4807 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                93 src/filemanager/panel.h     dir_list dir;               /* Directory contents */
dir               308 src/filemanager/panelize.c     dir_list *list = &current_panel->dir;
dir               383 src/filemanager/panelize.c     dir_list_clean (&panel->dir);
dir               389 src/filemanager/panelize.c     else if (panelized_panel.list.len > panel->dir.size)
dir               390 src/filemanager/panelize.c         dir_list_grow (&panel->dir, panelized_panel.list.len - panel->dir.size);
dir               392 src/filemanager/panelize.c     list = &panel->dir;
dir               454 src/filemanager/panelize.c     dir_list *list = &panel->dir;
dir               460 src/filemanager/panelize.c     if (panel->dir.len == 0)
dir               463 src/filemanager/panelize.c     if (panel->dir.len > panelized_panel.list.size)
dir               464 src/filemanager/panelize.c         dir_list_grow (&panelized_panel.list, panel->dir.len - panelized_panel.list.size);
dir               465 src/filemanager/panelize.c     panelized_panel.list.len = panel->dir.len;
dir               467 src/filemanager/panelize.c     for (i = 0; i < panel->dir.len; i++)
dir               504 src/filemanager/panelize.c     const dir_list *const list = &panel->dir;
dir              1315 src/filemanager/tree.c tree_chdir (WTree * tree, const vfs_path_t * dir)
dir              1319 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,
dir               760 src/usermenu.c             fname = panel->dir.list[panel->selected].fname;
dir               897 src/usermenu.c             for (i = 0; i < panel->dir.len; i++)
dir               898 src/usermenu.c                 if (panel->dir.list[i].f.marked)
dir               902 src/usermenu.c                     tmp = quote_func (panel->dir.list[i].fname, FALSE);
dir               228 src/vfs/extfs/extfs.c extfs_find_entry_int (struct vfs_s_inode *dir, const char *name, GSList * list, int flags)
dir               240 src/vfs/extfs/extfs.c         dir = dir->super->root;
dir               243 src/vfs/extfs/extfs.c     super = EXTFS_SUPER (dir->super);
dir               244 src/vfs/extfs/extfs.c     pent = dir->ent;
dir               258 src/vfs/extfs/extfs.c             pent = pent->dir->ent;
dir               308 src/vfs/extfs/extfs.c extfs_find_entry (struct vfs_s_inode *dir, const char *name, int flags)
dir               315 src/vfs/extfs/extfs.c     res = extfs_find_entry_int (dir, name, NULL, flags);
dir               519 src/vfs/extfs/extfs.c                     entry->dir = pent->ino;
dir               525 src/vfs/extfs/extfs.c                     entry->dir = super->root;
dir               708 src/vfs/extfs/extfs.c     for (e = entry; e->dir != NULL; e = e->dir->ent)
dir               711 src/vfs/extfs/extfs.c         if (e->dir->ent->dir != NULL)
dir               738 src/vfs/extfs/extfs.c         pent = extfs_find_entry_int (entry->dir, entry->ino->linkname, looping, FL_NONE);
dir              1029 src/vfs/extfs/extfs.c     static union vfs_dirent dir;
dir              1035 src/vfs/extfs/extfs.c     g_strlcpy (dir.dent.d_name, VFS_ENTRY ((*info)->data)->name, MC_MAXPATHLEN);
dir              1039 src/vfs/extfs/extfs.c     return (void *) &dir;
dir              1406 src/vfs/extfs/extfs.c     GDir *dir;
dir              1410 src/vfs/extfs/extfs.c     dir = g_dir_open (dirname, 0, NULL);
dir              1415 src/vfs/extfs/extfs.c     if (dir == NULL)
dir              1426 src/vfs/extfs/extfs.c     while ((filename = g_dir_read_name (dir)) != NULL)
dir              1494 src/vfs/extfs/extfs.c     g_dir_close (dir);
dir               751 src/vfs/fish/fish.c fish_dir_load (struct vfs_class *me, struct vfs_s_inode *dir, char *remote_path)
dir               753 src/vfs/fish/fish.c     struct vfs_s_super *super = dir->super;
dir               769 src/vfs/fish/fish.c     dir->timestamp = mc_timer_elapsed (mc_global.timer) + fish_directory_timeout * G_USEC_PER_SEC;
dir               776 src/vfs/fish/fish.c     ent = vfs_s_generate_entry (me, NULL, dir, 0);
dir               802 src/vfs/fish/fish.c                 vfs_s_insert_entry (me, dir, ent);
dir               803 src/vfs/fish/fish.c                 ent = vfs_s_generate_entry (me, NULL, dir, 0);
dir              1527 src/vfs/ftpfs/ftpfs.c                                     struct vfs_s_inode *dir)
dir              1533 src/vfs/ftpfs/ftpfs.c     dir->symlink_status = FTPFS_RESOLVING_SYMLINKS;
dir              1534 src/vfs/ftpfs/ftpfs.c     for (flist = dir->file_list->next; flist != dir->file_list; flist = flist->next)
dir              1550 src/vfs/ftpfs/ftpfs.c                 if ((strlen (dir->remote_path) + strlen (fel->linkname)) >= MC_MAXPATHLEN)
dir              1552 src/vfs/ftpfs/ftpfs.c                 strcpy (tmp, dir->remote_path);
dir              1600 src/vfs/ftpfs/ftpfs.c     dir->symlink_status = FTPFS_RESOLVED_SYMLINKS;
dir              1607 src/vfs/ftpfs/ftpfs.c                                  struct vfs_s_inode *dir)
dir              1617 src/vfs/ftpfs/ftpfs.c     dir->symlink_status = FTPFS_RESOLVED_SYMLINKS;
dir              1618 src/vfs/ftpfs/ftpfs.c     if (strchr (dir->remote_path, ' ') == NULL)
dir              1619 src/vfs/ftpfs/ftpfs.c         sock = ftpfs_open_data_connection (bucket, "LIST -lLa", dir->remote_path, TYPE_ASCII, 0);
dir              1622 src/vfs/ftpfs/ftpfs.c         if (ftpfs_chdir_internal (bucket, dir->remote_path) != COMPLETE)
dir              1645 src/vfs/ftpfs/ftpfs.c     flist = dir->file_list->next;
dir              1651 src/vfs/ftpfs/ftpfs.c             if (flist == dir->file_list)
dir              1713 src/vfs/ftpfs/ftpfs.c resolve_symlink (struct vfs_class *me, struct vfs_s_super *super, struct vfs_s_inode *dir)
dir              1718 src/vfs/ftpfs/ftpfs.c         resolve_symlink_without_ls_options (me, super, dir);
dir              1720 src/vfs/ftpfs/ftpfs.c         resolve_symlink_with_ls_options (me, super, dir);
dir              1727 src/vfs/ftpfs/ftpfs.c ftpfs_dir_load (struct vfs_class *me, struct vfs_s_inode *dir, char *remote_path)
dir              1730 src/vfs/ftpfs/ftpfs.c     struct vfs_s_super *super = dir->super;
dir              1751 src/vfs/ftpfs/ftpfs.c     dir->timestamp = mc_timer_elapsed (mc_global.timer) + ftpfs_directory_timeout * G_USEC_PER_SEC;
dir              1817 src/vfs/ftpfs/ftpfs.c         ent = vfs_s_generate_entry (me, NULL, dir, 0);
dir              1828 src/vfs/ftpfs/ftpfs.c             vfs_s_insert_entry (me, dir, ent);
dir              1854 src/vfs/ftpfs/ftpfs.c     vfs_s_normalize_filename_leading_spaces (dir, vfs_parse_ls_lga_get_final_spaces ());
dir                90 src/vfs/local/local.c     DIR *dir;
dir                94 src/vfs/local/local.c     dir = opendir (path_element->path);
dir                95 src/vfs/local/local.c     if (dir == NULL)
dir                99 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               125 src/vfs/smbfs/helpers/include/proto.h BOOL reduce_name (char *s, char *dir, BOOL widelinks);
dir               693 src/vfs/smbfs/helpers/lib/util.c reduce_name (char *s, char *dir, BOOL widelinks)
dir               723 src/vfs/smbfs/helpers/lib/util.c     DEBUG (3, ("reduce_name [%s] [%s]\n", s, dir));
dir               736 src/vfs/smbfs/helpers/lib/util.c         DEBUG (0, ("couldn't getwd for %s %s\n", s, dir));
dir               740 src/vfs/smbfs/helpers/lib/util.c     if (dos_ChDir (dir) != 0)
dir               742 src/vfs/smbfs/helpers/lib/util.c         DEBUG (0, ("couldn't chdir to %s\n", dir));
dir               748 src/vfs/smbfs/helpers/lib/util.c         DEBUG (0, ("couldn't getwd for %s\n", dir));
dir               765 src/vfs/smbfs/helpers/lib/util.c         DEBUG (3, ("couldn't chdir for %s %s basename=%s\n", s, dir, base_name));
dir               214 src/viewer/actions_cmd.c     mcview_load (view, 0, panel->dir.list[panel->selected].fname, 0, 0, 0);
dir               293 src/viewer/actions_cmd.c         view->dir = &current_panel->dir;
dir               296 src/viewer/actions_cmd.c     else if (view->dir == NULL)
dir               306 src/viewer/actions_cmd.c         view->dir = g_new0 (dir_list, 1);
dir               310 src/viewer/actions_cmd.c             (view->dir, view->workdir_vpath, (GCompareFunc) sort_name, &sort_op, NULL))
dir               320 src/viewer/actions_cmd.c             for (i = 0; i != view->dir->len; i++)
dir               322 src/viewer/actions_cmd.c                 const file_entry_t *fe = &view->dir->list[i];
dir               333 src/viewer/actions_cmd.c             MC_PTR_FREE (view->dir);
dir               349 src/viewer/actions_cmd.c             i = view->dir->len - 1;
dir               350 src/viewer/actions_cmd.c         if (i == view->dir->len)
dir               352 src/viewer/actions_cmd.c         if (!S_ISDIR (view->dir->list[i].st.st_mode))
dir               364 src/viewer/actions_cmd.c     dir_list *dir;
dir               373 src/viewer/actions_cmd.c     dir = view->dir;
dir               375 src/viewer/actions_cmd.c     view->dir = NULL;
dir               377 src/viewer/actions_cmd.c     vfile = vfs_path_append_new (view->workdir_vpath, dir->list[*dir_idx].fname, (char *) NULL);
dir               384 src/viewer/actions_cmd.c     view->dir = dir;
dir               197 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               247 src/viewer/lib.c     if (mc_global.mc_run_mode == MC_RUN_VIEWER && view->dir != NULL)
dir               250 src/viewer/lib.c         dir_list_free_list (view->dir);
dir               251 src/viewer/lib.c         g_free (view->dir);
dir               255 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                55 tests/src/filemanager/exec_get_export_variables_ext.c     current_panel->dir.size = DIR_LIST_MIN_SIZE;
dir                56 tests/src/filemanager/exec_get_export_variables_ext.c     current_panel->dir.list = g_new0 (file_entry_t, current_panel->dir.size);
dir                57 tests/src/filemanager/exec_get_export_variables_ext.c     current_panel->dir.len = 0;
dir                80 tests/src/filemanager/exec_get_export_variables_ext.c     current_panel->dir.len = 3;
dir                81 tests/src/filemanager/exec_get_export_variables_ext.c     current_panel->dir.list[0].fname = (char *) "selected file.txt";
dir                82 tests/src/filemanager/exec_get_export_variables_ext.c     current_panel->dir.list[1].fname = (char *) "tagged file1.txt";
dir                83 tests/src/filemanager/exec_get_export_variables_ext.c     current_panel->dir.list[1].f.marked = TRUE;
dir                84 tests/src/filemanager/exec_get_export_variables_ext.c     current_panel->dir.list[2].fname = (char *) "tagged file2.txt";
dir                85 tests/src/filemanager/exec_get_export_variables_ext.c     current_panel->dir.list[2].f.marked = TRUE;