dir               202 lib/mcconfig/paths.c         GDir *dir;
dir               205 lib/mcconfig/paths.c         dir = g_dir_open (old_name, 0, mcerror);
dir               206 lib/mcconfig/paths.c         if (dir == NULL)
dir               211 lib/mcconfig/paths.c             g_dir_close (dir);
dir               218 lib/mcconfig/paths.c         while ((dir_name = g_dir_read_name (dir)) != NULL)
dir               286 lib/mcconfig/paths.c     char *dir;
dir               308 lib/mcconfig/paths.c         dir = g_build_filename (profile_root, ".config", (char *) NULL);
dir               309 lib/mcconfig/paths.c         mc_config_str = mc_config_init_one_config_path (dir, MC_USERCONF_DIR, mcerror);
dir               310 lib/mcconfig/paths.c         g_free (dir);
dir               312 lib/mcconfig/paths.c         dir = g_build_filename (profile_root, ".cache", (char *) NULL);
dir               313 lib/mcconfig/paths.c         mc_cache_str = mc_config_init_one_config_path (dir, MC_USERCONF_DIR, mcerror);
dir               314 lib/mcconfig/paths.c         g_free (dir);
dir               316 lib/mcconfig/paths.c         dir = g_build_filename (profile_root, ".local", "share", (char *) NULL);
dir               317 lib/mcconfig/paths.c         mc_data_str = mc_config_init_one_config_path (dir, MC_USERCONF_DIR, mcerror);
dir               318 lib/mcconfig/paths.c         g_free (dir);
dir               334 lib/mcconfig/paths.c         dir = defined_userconf_dir;
dir               338 lib/mcconfig/paths.c         dir = g_build_filename (profile_root, MC_USERCONF_DIR, (char *) NULL);
dir               341 lib/mcconfig/paths.c     mc_data_str = mc_cache_str = mc_config_str = mc_config_init_one_config_path (dir, "", mcerror);
dir               343 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                92 lib/vfs/direntry.c     struct vfs_s_inode *dir;
dir               104 lib/vfs/direntry.c vfs_s_automake (struct vfs_class *me, struct vfs_s_inode *dir, char *path, int flags)
dir               113 lib/vfs/direntry.c     res = vfs_s_generate_entry (me, path, dir, (flags & FL_MKDIR) != 0 ? (0777 | S_IFDIR) : 0777);
dir               114 lib/vfs/direntry.c     vfs_s_insert_entry (me, dir, res);
dir               150 lib/vfs/direntry.c         fullpath = vfs_s_fullpath (me, entry->dir);
dir               160 lib/vfs/direntry.c         VFS_SUBCLASS (me)->find_entry (me, entry->dir->super->root, linkname, follow - 1, FL_NONE);
dir               419 lib/vfs/direntry.c     struct vfs_s_inode *dir;
dir               423 lib/vfs/direntry.c     dir = vfs_s_inode_from_path (vpath, FL_DIR | FL_FOLLOW);
dir               424 lib/vfs/direntry.c     if (dir == NULL)
dir               429 lib/vfs/direntry.c     if (!S_ISDIR (dir->st.st_mode))
dir               435 lib/vfs/direntry.c     dir->st.st_nlink++;
dir               437 lib/vfs/direntry.c     if (dir->subdir == NULL)    /* This can actually happen if we allow empty directories */
dir               444 lib/vfs/direntry.c     info->cur = dir->subdir;
dir               445 lib/vfs/direntry.c     info->dir = dir;
dir               455 lib/vfs/direntry.c     static union vfs_dirent dir;
dir               464 lib/vfs/direntry.c         g_strlcpy (dir.dent.d_name, name, MC_MAXPATHLEN);
dir               470 lib/vfs/direntry.c     return (void *) &dir;
dir               479 lib/vfs/direntry.c     struct vfs_s_inode *dir = info->dir;
dir               481 lib/vfs/direntry.c     vfs_s_free_inode (dir->super->me, dir);
dir               953 lib/vfs/direntry.c     if (ent->dir != NULL)
dir               954 lib/vfs/direntry.c         ent->dir->subdir = g_list_remove (ent->dir->subdir, ent);
dir               970 lib/vfs/direntry.c vfs_s_insert_entry (struct vfs_class *me, struct vfs_s_inode *dir, struct vfs_s_entry *ent)
dir               974 lib/vfs/direntry.c     ent->dir = dir;
dir               977 lib/vfs/direntry.c     dir->subdir = g_list_append (dir->subdir, ent);
dir              1248 lib/vfs/direntry.c             ino = ino->ent->dir;
dir              1260 lib/vfs/direntry.c     if (ino->ent->dir == NULL || ino->ent->dir->ent == NULL)
dir              1263 lib/vfs/direntry.c     return g_strconcat (ino->ent->dir->ent->name, PATH_SEP_STR, ino->ent->name, (char *) NULL);
dir              1310 lib/vfs/direntry.c         struct vfs_s_inode *dir;
dir              1318 lib/vfs/direntry.c         dir = vfs_s_find_inode (path_element->class, super, dirname, LINK_FOLLOW, FL_DIR);
dir              1319 lib/vfs/direntry.c         if (dir == NULL)
dir              1326 lib/vfs/direntry.c         ent = vfs_s_generate_entry (path_element->class, name, dir, 0755);
dir              1328 lib/vfs/direntry.c         vfs_s_insert_entry (path_element->class, dir, ent);
dir               446 lib/vfs/interface.c     path_element->dir.info = info;
dir               449 lib/vfs/interface.c     path_element->dir.converter = (path_element->encoding != NULL) ?
dir               451 lib/vfs/interface.c     if (path_element->dir.converter == INVALID_CONV)
dir               452 lib/vfs/interface.c         path_element->dir.converter = str_cnv_from_term;
dir               502 lib/vfs/interface.c         entry = (*vfs->readdir) (vfs_path_element->dir.info);
dir               508 lib/vfs/interface.c         str_vfs_convert_from (vfs_path_element->dir.converter, entry->d_name, vfs_str_buffer);
dir               541 lib/vfs/interface.c         if (vfs_path_element->dir.converter != str_cnv_from_term)
dir               543 lib/vfs/interface.c             str_close_conv (vfs_path_element->dir.converter);
dir               544 lib/vfs/interface.c             vfs_path_element->dir.converter = INVALID_CONV;
dir               548 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               680 lib/vfs/path.c             str_vfs_convert_from (element->dir.converter, element->path, recode_buffer);
dir               863 lib/vfs/path.c         new_element->dir.converter = str_crt_conv_from (new_element->encoding);
dir               865 lib/vfs/path.c         new_element->dir.converter = element->dir.converter;
dir               867 lib/vfs/path.c     new_element->dir.info = element->dir.info;
dir               896 lib/vfs/path.c         str_close_conv (element->dir.converter);
dir              1036 lib/vfs/path.c     return (element->dir.converter != str_cnv_from_term && element->dir.converter != INVALID_CONV);
dir              1062 lib/vfs/path.c         str_close_conv (path_element->dir.converter);
dir              1064 lib/vfs/path.c     path_element->dir.converter = str_crt_conv_from (path_element->encoding);
dir              1183 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              2149 src/editor/editcmd.c     int dir = 0;
dir              2153 src/editor/editcmd.c         dir = query_dialog (_("Syntax file edit"),
dir              2166 src/editor/editcmd.c     if (dir == 0)
dir              2175 src/editor/editcmd.c     else if (dir == 1)
dir              2195 src/editor/editcmd.c     int dir;
dir              2199 src/editor/editcmd.c     dir = query_dialog (_("Menu edit"),
dir              2212 src/editor/editcmd.c     switch (dir)
dir              1197 src/editor/editwidget.c         char *dir;
dir              1199 src/editor/editwidget.c         dir = mc_build_filename (mc_config_get_cache_path (), EDIT_DIR, (char *) NULL);
dir              1200 src/editor/editwidget.c         made_directory = (mkdir (dir, 0700) != -1 || errno == EEXIST);
dir              1201 src/editor/editwidget.c         g_free (dir);
dir              1203 src/editor/editwidget.c         dir = mc_build_filename (mc_config_get_path (), EDIT_DIR, (char *) NULL);
dir              1204 src/editor/editwidget.c         made_directory = (mkdir (dir, 0700) != -1 || errno == EEXIST);
dir              1205 src/editor/editwidget.c         g_free (dir);
dir              1207 src/editor/editwidget.c         dir = mc_build_filename (mc_config_get_data_path (), EDIT_DIR, (char *) NULL);
dir              1208 src/editor/editwidget.c         made_directory = (mkdir (dir, 0700) != -1 || errno == EEXIST);
dir              1209 src/editor/editwidget.c         g_free (dir);
dir               823 src/filemanager/achown.c     while (!current_panel->dir.list[current_file].f.marked)
dir               826 src/filemanager/achown.c     return current_panel->dir.list[current_file].fname;
dir               389 src/filemanager/chmod.c     while (!current_panel->dir.list[current_file].f.marked)
dir               392 src/filemanager/chmod.c     return current_panel->dir.list[current_file].fname;
dir               288 src/filemanager/chown.c     while (!current_panel->dir.list[current_file].f.marked)
dir               291 src/filemanager/chown.c     return current_panel->dir.list[current_file].fname;
dir               154 src/filemanager/cmd.c         filename_vpath = vfs_path_from_str (current_panel->dir.list[file_idx].fname);
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 (strcmp (source->fname, other->dir.list[j].fname) == 0)
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               835 src/filemanager/cmd.c     char *dir;
dir               842 src/filemanager/cmd.c     dir =
dir               847 src/filemanager/cmd.c     if (dir != NULL && *dir != '\0')
dir               851 src/filemanager/cmd.c         if (IS_PATH_SEP (dir[0]) || dir[0] == '~')
dir               852 src/filemanager/cmd.c             absdir = vfs_path_from_str (dir);
dir               857 src/filemanager/cmd.c             char *tmpdir = dir;
dir               859 src/filemanager/cmd.c             if (dir[0] == '\\' && dir[1] == '~')
dir               860 src/filemanager/cmd.c                 tmpdir = dir + 1;
dir               871 src/filemanager/cmd.c             update_panels (UP_OPTIMIZE, dir);
dir               878 src/filemanager/cmd.c     g_free (dir);
dir               954 src/filemanager/cmd.c     int dir = 0;
dir               957 src/filemanager/cmd.c         dir = query_dialog (_("Extension file edit"),
dir               963 src/filemanager/cmd.c     if (dir == 0)
dir               972 src/filemanager/cmd.c     else if (dir == 1)
dir               995 src/filemanager/cmd.c     int dir = 0;
dir               998 src/filemanager/cmd.c     dir = query_dialog (_("Menu edit"),
dir              1012 src/filemanager/cmd.c     switch (dir)
dir              1053 src/filemanager/cmd.c     int dir = 0;
dir              1056 src/filemanager/cmd.c         dir = query_dialog (_("Highlighting groups file edit"),
dir              1063 src/filemanager/cmd.c     if (dir == 0)
dir              1072 src/filemanager/cmd.c     else if (dir == 1)
dir              1397 src/filemanager/cmd.c     entry = &(panel->dir.list[panel->selected]);
dir              1412 src/filemanager/cmd.c     entry = &(panel->dir.list[panel->selected]);
dir              1462 src/filemanager/cmd.c     for (i = 0; i < panel->dir.len; i++)
dir              1463 src/filemanager/cmd.c         if (S_ISDIR (panel->dir.list[i].st.st_mode)
dir              1464 src/filemanager/cmd.c             && ((panel->dirs_marked != 0 && panel->dir.list[i].f.marked)
dir              1465 src/filemanager/cmd.c                 || panel->dirs_marked == 0) && !DIR_IS_DOTDOT (panel->dir.list[i].fname))
dir              1473 src/filemanager/cmd.c             p = vfs_path_from_str (panel->dir.list[i].fname);
dir              1479 src/filemanager/cmd.c             panel->dir.list[i].st.st_size = (off_t) total;
dir              1480 src/filemanager/cmd.c             panel->dir.list[i].f.dir_size_computed = 1;
dir               626 src/filemanager/file.c     DIR *dir;
dir               647 src/filemanager/file.c     dir = mc_opendir (dirname_vpath);
dir               648 src/filemanager/file.c     if (dir == NULL)
dir               651 src/filemanager/file.c     while (ret == FILE_CONT && (dirent = mc_readdir (dir)) != NULL)
dir               687 src/filemanager/file.c     mc_closedir (dir);
dir               708 src/filemanager/file.c     for (i = 0; i < panel->dir.len; i++)
dir               712 src/filemanager/file.c         if (!panel->dir.list[i].f.marked)
dir               715 src/filemanager/file.c         s = &panel->dir.list[i].st;
dir               722 src/filemanager/file.c             p = vfs_path_append_new (panel->cwd_vpath, panel->dir.list[i].fname, (char *) NULL);
dir              1388 src/filemanager/file.c try_erase_dir (file_op_context_t * ctx, const char *dir)
dir              1392 src/filemanager/file.c     while (my_rmdir (dir) != 0 && !ctx->skip_all)
dir              1394 src/filemanager/file.c         return_status = file_error (TRUE, _("Cannot remove directory \"%s\"\n%s"), dir);
dir              1469 src/filemanager/file.c     DIR *dir;
dir              1473 src/filemanager/file.c     dir = mc_opendir (vpath);
dir              1474 src/filemanager/file.c     if (dir == NULL)
dir              1477 src/filemanager/file.c     for (d = mc_readdir (dir); d != NULL; d = mc_readdir (dir))
dir              1484 src/filemanager/file.c     mc_closedir (dir);
dir              1723 src/filemanager/file.c         for (i = 0; i < panel->dir.len; i++)
dir              1724 src/filemanager/file.c             if (panel->dir.list[i].f.marked)
dir              1725 src/filemanager/file.c                 return panel->dir.list[i].fname;
dir              1728 src/filemanager/file.c     return panel->dir.list[panel->selected].fname;
dir              3377 src/filemanager/file.c             for (i = 0; i < panel->dir.len; i++)
dir              3381 src/filemanager/file.c                 if (!panel->dir.list[i].f.marked)
dir              3384 src/filemanager/file.c                 source2 = panel->dir.list[i].fname;
dir              3385 src/filemanager/file.c                 src_stat = panel->dir.list[i].st;
dir               115 src/filemanager/find.c     char *dir;
dir               382 src/filemanager/find.c get_list_info (char **file, char **dir, gsize * start, gsize * end)
dir               389 src/filemanager/find.c         if (dir != NULL)
dir               390 src/filemanager/find.c             *dir = location->dir;
dir               398 src/filemanager/find.c         if (dir != NULL)
dir               399 src/filemanager/find.c             *dir = NULL;
dir               874 src/filemanager/find.c push_directory (vfs_path_t * dir)
dir               876 src/filemanager/find.c     g_queue_push_head (&dir_queue, (void *) dir);
dir               899 src/filemanager/find.c insert_file (const char *dir, const char *file, gsize start, gsize end)
dir               905 src/filemanager/find.c     while (IS_PATH_SEP (dir[0]) && IS_PATH_SEP (dir[1]))
dir               906 src/filemanager/find.c         dir++;
dir               910 src/filemanager/find.c         if (strcmp (old_dir, dir) != 0)
dir               913 src/filemanager/find.c             old_dir = g_strdup (dir);
dir               914 src/filemanager/find.c             dirname = add_to_list (dir, NULL);
dir               919 src/filemanager/find.c         old_dir = g_strdup (dir);
dir               920 src/filemanager/find.c         dirname = add_to_list (dir, NULL);
dir               925 src/filemanager/find.c     location->dir = dirname;
dir               935 src/filemanager/find.c find_add_match (const char *dir, const char *file, gsize start, gsize end)
dir               937 src/filemanager/find.c     insert_file (dir, file, start, end);
dir              1189 src/filemanager/find.c find_ignore_dir_search (const char *dir)
dir              1193 src/filemanager/find.c         const size_t dlen = strlen (dir);
dir              1194 src/filemanager/find.c         const unsigned char dabs = g_path_is_absolute (dir) ? 1 : 0;
dir              1213 src/filemanager/find.c                 if (strncmp (dir, *ignore_dir, ilen) == 0)
dir              1217 src/filemanager/find.c                     if (dir[ilen] == '\0' || IS_PATH_SEP (dir[ilen]))
dir              1225 src/filemanager/find.c                     d = strstr (dir, *ignore_dir);
dir              1429 src/filemanager/find.c find_do_view_edit (gboolean unparsed_view, gboolean edit, char *dir, char *file, off_t search_start,
dir              1447 src/filemanager/find.c     fullname_vpath = vfs_path_build_filename (dir, filename, (char *) NULL);
dir              1466 src/filemanager/find.c     if ((text == NULL) || (location == NULL) || (location->dir == NULL))
dir              1469 src/filemanager/find.c     find_do_view_edit (unparsed_view, edit, location->dir, text, location->start, location->end);
dir              1779 src/filemanager/find.c         dir_list *list = &current_panel->dir;
dir              1794 src/filemanager/find.c             if ((le->text == NULL) || (location == NULL) || (location->dir == NULL))
dir              1802 src/filemanager/find.c             name = mc_build_filename (location->dir, lc_filename, (char *) NULL);
dir               136 src/filemanager/info.c     st = current_panel->dir.list[current_panel->selected].st;
dir               270 src/filemanager/info.c             fname = current_panel->dir.list[current_panel->selected].fname;
dir              1094 src/filemanager/layout.c             file_name = the_other_panel->dir.list[the_other_panel->selected].fname;
dir              1186 src/filemanager/layout.c         panelswap (dir);
dir               813 src/filemanager/midnight.c         for (i = 0; i < panel->dir.len; i++)
dir               815 src/filemanager/midnight.c             if (panel->dir.list[i].f.marked)
dir               816 src/filemanager/midnight.c                 command_insert (cmdline, panel->dir.list[i].fname, TRUE);
dir               821 src/filemanager/midnight.c         command_insert (cmdline, panel->dir.list[panel->selected].fname, TRUE);
dir              1129 src/filemanager/mountlist.c                 char *host, *dir;
dir              1134 src/filemanager/mountlist.c                 dir = thisent + vmp->vmt_data[VMT_OBJECT].vmt_off;
dir              1135 src/filemanager/mountlist.c                 me->me_devname = g_strconcat (host, ":", dir, (char *) NULL);
dir              1229 src/filemanager/mountlist.c     char *tp, dev[_POSIX_NAME_MAX], dir[_POSIX_PATH_MAX];
dir              1248 src/filemanager/mountlist.c     if (!getcwd (dir, _POSIX_PATH_MAX))
dir              1251 src/filemanager/mountlist.c     fd = open (dir, O_RDONLY);
dir              1289 src/filemanager/mountlist.c     if (fsys_get_mount_dev (dir, &dev) == -1)
dir              1292 src/filemanager/mountlist.c     if (fsys_get_mount_pt (dev, &dir) == -1)
dir              1296 src/filemanager/mountlist.c     me->me_mountdir = g_strdup (dir);
dir              1306 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              1317 src/filemanager/panel.c             if (S_ISREG (panel->dir.list[panel->selected].st.st_mode))
dir              1322 src/filemanager/panel.c                             size_trunc_sep (panel->dir.list[panel->selected].st.st_size,
dir              1356 src/filemanager/panel.c     panel->selected = CLAMP (panel->selected, 0, panel->dir.len - 1);
dir              1360 src/filemanager/panel.c     if (panel->dir.len <= items)
dir              1382 src/filemanager/panel.c         i = panel->dir.len - items;
dir              1502 src/filemanager/panel.c     g_free (p->dir.list);
dir              2066 src/filemanager/panel.c     for (i = 0; i < current_panel->dir.len; i++)
dir              2068 src/filemanager/panel.c         file_entry_t *file_entry = &current_panel->dir.list[i];
dir              2107 src/filemanager/panel.c     if (panel->selected + 1 == panel->dir.len)
dir              2119 src/filemanager/panel.c         if (panel->top_file > panel->dir.len - items)
dir              2120 src/filemanager/panel.c             panel->top_file = panel->dir.len - items;
dir              2127 src/filemanager/panel.c         if (panel->top_file > panel->dir.len - items)
dir              2128 src/filemanager/panel.c             panel->top_file = panel->dir.len - items;
dir              2172 src/filemanager/panel.c     if (new_pos >= panel->dir.len)
dir              2173 src/filemanager/panel.c         new_pos = panel->dir.len - 1;
dir              2265 src/filemanager/panel.c         char *fname = panel->dir.list[panel->selected].fname;
dir              2304 src/filemanager/panel.c     if (panel->selected == panel->dir.len - 1)
dir              2309 src/filemanager/panel.c     if (panel->top_file > panel->dir.len - 2 * items)
dir              2310 src/filemanager/panel.c         items = panel->dir.len - items - panel->top_file;
dir              2314 src/filemanager/panel.c         panel->selected = panel->dir.len - 1;
dir              2406 src/filemanager/panel.c     if (panel->selected == panel->dir.len - 1)
dir              2430 src/filemanager/panel.c     panel->selected = panel->dir.len - 1;
dir              2482 src/filemanager/panel.c     lines = MIN (lines, panel->dir.len - panel->selected - 1);
dir              2559 src/filemanager/panel.c     for (i = 0; i < panel->dir.len; i++)
dir              2561 src/filemanager/panel.c         if (DIR_IS_DOTDOT (panel->dir.list[i].fname))
dir              2563 src/filemanager/panel.c         if (S_ISDIR (panel->dir.list[i].st.st_mode) && files_only)
dir              2566 src/filemanager/panel.c         if (mc_search_run (search, panel->dir.list[i].fname, 0, panel->dir.list[i].fnamelen, NULL))
dir              2606 src/filemanager/panel.c     for (i = 0; i < panel->dir.len; i++)
dir              2608 src/filemanager/panel.c         file_entry_t *file = &panel->dir.list[i];
dir              2695 src/filemanager/panel.c         if (i >= panel->dir.len)
dir              2702 src/filemanager/panel.c         if (mc_search_run (search, panel->dir.list[i].fname, 0, panel->dir.list[i].fnamelen, NULL))
dir              2737 src/filemanager/panel.c         if (panel->selected + 1 == panel->dir.len)
dir              2875 src/filemanager/panel.c     const file_entry_t *entry = &panel->dir.list[panel->selected];
dir              2937 src/filemanager/panel.c     if (!S_ISLNK (panel->dir.list[panel->selected].st.st_mode))
dir              3280 src/filemanager/panel.c     if (!dir_list_load (&panel->dir, panel->cwd_vpath, panel->sort_field->sort_routine,
dir              3863 src/filemanager/panel.c             last = panel->dir.len - 1;
dir              3930 src/filemanager/panel.c                 && panel->top_file + panel_items (panel) < panel->dir.len)
dir              3951 src/filemanager/panel.c     dir_list *list = &panel->dir;
dir              4002 src/filemanager/panel.c         my_current_file = g_strdup (panel->dir.list[panel->selected].fname);
dir              4073 src/filemanager/panel.c     for (i = 0; i < panel->dir.len; i++)
dir              4075 src/filemanager/panel.c         if (strcmp (subdir, panel->dir.list[i].fname) == 0)
dir              4084 src/filemanager/panel.c     if (panel->selected >= panel->dir.len)
dir              4085 src/filemanager/panel.c         do_select (panel, panel->dir.len - 1);
dir              4127 src/filemanager/panel.c         for (i = 0; i < current_panel->dir.len; i++)
dir              4128 src/filemanager/panel.c             if (current_panel->dir.list[i].f.marked != 0)
dir              4132 src/filemanager/panel.c                     flist = g_strdup (current_panel->dir.list[i].fname);
dir              4141 src/filemanager/panel.c                         g_strconcat (flist, "\n", current_panel->dir.list[i].fname, (char *) NULL);
dir              4239 src/filemanager/panel.c     dir_list_free_list (&panel->dir);
dir              4300 src/filemanager/panel.c     panel->dir.size = DIR_LIST_MIN_SIZE;
dir              4301 src/filemanager/panel.c     panel->dir.list = g_new (file_entry_t, panel->dir.size);
dir              4302 src/filemanager/panel.c     panel->dir.len = 0;
dir              4303 src/filemanager/panel.c     panel->dir.callback = panel_dir_list_callback;
dir              4400 src/filemanager/panel.c     if (!dir_list_load (&panel->dir, panel->cwd_vpath, panel->sort_field->sort_routine,
dir              4440 src/filemanager/panel.c         dir_list_init (&panel->dir);
dir              4448 src/filemanager/panel.c     if (!dir_list_reload (&panel->dir, panel->cwd_vpath, panel->sort_field->sort_routine,
dir              4453 src/filemanager/panel.c     if (panel->selected >= panel->dir.len)
dir              4454 src/filemanager/panel.c         do_select (panel, panel->dir.len - 1);
dir              4542 src/filemanager/panel.c     for (i = 0; i < panel->dir.len; i++)
dir              4563 src/filemanager/panel.c     for (i = 0; i < panel->dir.len; i++)
dir              4564 src/filemanager/panel.c         if (panel->dir.list[i].f.marked)
dir              4569 src/filemanager/panel.c             panel->dir.list[i].f.marked = 0;
dir              4580 src/filemanager/panel.c     if (panel->dir.list[idx].f.marked == mark)
dir              4584 src/filemanager/panel.c     if (DIR_IS_DOTDOT (panel->dir.list[idx].fname))
dir              4588 src/filemanager/panel.c     if (panel->dir.list[idx].f.marked)
dir              4592 src/filemanager/panel.c         if (S_ISDIR (panel->dir.list[idx].st.st_mode))
dir              4594 src/filemanager/panel.c             if (panel->dir.list[idx].f.dir_size_computed)
dir              4595 src/filemanager/panel.c                 panel->total += (uintmax_t) panel->dir.list[idx].st.st_size;
dir              4599 src/filemanager/panel.c             panel->total += (uintmax_t) panel->dir.list[idx].st.st_size;
dir              4605 src/filemanager/panel.c         if (S_ISDIR (panel->dir.list[idx].st.st_mode))
dir              4607 src/filemanager/panel.c             if (panel->dir.list[idx].f.dir_size_computed)
dir              4608 src/filemanager/panel.c                 panel->total -= (uintmax_t) panel->dir.list[idx].st.st_size;
dir              4612 src/filemanager/panel.c             panel->total -= (uintmax_t) panel->dir.list[idx].st.st_size;
dir              4639 src/filemanager/panel.c     if (panel->dir.list[lc_index].f.marked != val)
dir              4641 src/filemanager/panel.c         panel->dir.list[lc_index].f.marked = val;
dir              4659 src/filemanager/panel.c     dir_list_sort (&panel->dir, panel->sort_field->sort_routine, &panel->sort_info);
dir              4662 src/filemanager/panel.c     for (i = panel->dir.len; i != 0; i--)
dir              4663 src/filemanager/panel.c         if (strcmp (panel->dir.list[i - 1].fname, filename) == 0)
dir              4690 src/filemanager/panel.c         current_file = g_strdup (panel->dir.list[panel->selected].fname);
dir              4800 src/filemanager/panel.c         str_close_conv (path_element->dir.converter);
dir              4801 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               302 src/filemanager/panelize.c     dir_list *list = &current_panel->dir;
dir               377 src/filemanager/panelize.c     dir_list_clean (&panel->dir);
dir               383 src/filemanager/panelize.c     else if (panelized_panel.list.len > panel->dir.size)
dir               384 src/filemanager/panelize.c         dir_list_grow (&panel->dir, panelized_panel.list.len - panel->dir.size);
dir               386 src/filemanager/panelize.c     list = &panel->dir;
dir               448 src/filemanager/panelize.c     dir_list *list = &panel->dir;
dir               454 src/filemanager/panelize.c     if (panel->dir.len == 0)
dir               457 src/filemanager/panelize.c     if (panel->dir.len > panelized_panel.list.size)
dir               458 src/filemanager/panelize.c         dir_list_grow (&panelized_panel.list, panel->dir.len - panelized_panel.list.size);
dir               459 src/filemanager/panelize.c     panelized_panel.list.len = panel->dir.len;
dir               461 src/filemanager/panelize.c     for (i = 0; i < panel->dir.len; i++)
dir               498 src/filemanager/panelize.c     const dir_list *const list = &panel->dir;
dir              1303 src/filemanager/tree.c tree_chdir (WTree * tree, const vfs_path_t * dir)
dir              1307 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               303 src/vfs/extfs/extfs.c extfs_find_entry (struct vfs_s_inode *dir, const char *name, int flags)
dir               310 src/vfs/extfs/extfs.c     res = extfs_find_entry_int (dir, name, NULL, flags);
dir               514 src/vfs/extfs/extfs.c                     entry->dir = pent->ino;
dir               520 src/vfs/extfs/extfs.c                     entry->dir = super->root;
dir               706 src/vfs/extfs/extfs.c     for (e = entry; e->dir != NULL; e = e->dir->ent)
dir               709 src/vfs/extfs/extfs.c         if (e->dir->ent->dir != NULL)
dir               736 src/vfs/extfs/extfs.c         pent = extfs_find_entry_int (entry->dir, entry->ino->linkname, looping, FL_NONE);
dir              1027 src/vfs/extfs/extfs.c     static union vfs_dirent dir;
dir              1033 src/vfs/extfs/extfs.c     g_strlcpy (dir.dent.d_name, VFS_ENTRY ((*info)->data)->name, MC_MAXPATHLEN);
dir              1037 src/vfs/extfs/extfs.c     return (void *) &dir;
dir              1404 src/vfs/extfs/extfs.c     GDir *dir;
dir              1408 src/vfs/extfs/extfs.c     dir = g_dir_open (dirname, 0, NULL);
dir              1413 src/vfs/extfs/extfs.c     if (dir == NULL)
dir              1424 src/vfs/extfs/extfs.c     while ((filename = g_dir_read_name (dir)) != NULL)
dir              1492 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     gettimeofday (&dir->timestamp, NULL);
dir               770 src/vfs/fish/fish.c     dir->timestamp.tv_sec += fish_directory_timeout;
dir               777 src/vfs/fish/fish.c     ent = vfs_s_generate_entry (me, NULL, dir, 0);
dir               803 src/vfs/fish/fish.c                 vfs_s_insert_entry (me, dir, ent);
dir               804 src/vfs/fish/fish.c                 ent = vfs_s_generate_entry (me, NULL, dir, 0);
dir              1524 src/vfs/ftpfs/ftpfs.c                                     struct vfs_s_inode *dir)
dir              1530 src/vfs/ftpfs/ftpfs.c     dir->symlink_status = FTPFS_RESOLVING_SYMLINKS;
dir              1531 src/vfs/ftpfs/ftpfs.c     for (flist = dir->file_list->next; flist != dir->file_list; flist = flist->next)
dir              1547 src/vfs/ftpfs/ftpfs.c                 if ((strlen (dir->remote_path) + strlen (fel->linkname)) >= MC_MAXPATHLEN)
dir              1549 src/vfs/ftpfs/ftpfs.c                 strcpy (tmp, dir->remote_path);
dir              1597 src/vfs/ftpfs/ftpfs.c     dir->symlink_status = FTPFS_RESOLVED_SYMLINKS;
dir              1604 src/vfs/ftpfs/ftpfs.c                                  struct vfs_s_inode *dir)
dir              1614 src/vfs/ftpfs/ftpfs.c     dir->symlink_status = FTPFS_RESOLVED_SYMLINKS;
dir              1615 src/vfs/ftpfs/ftpfs.c     if (strchr (dir->remote_path, ' ') == NULL)
dir              1616 src/vfs/ftpfs/ftpfs.c         sock = ftpfs_open_data_connection (bucket, "LIST -lLa", dir->remote_path, TYPE_ASCII, 0);
dir              1619 src/vfs/ftpfs/ftpfs.c         if (ftpfs_chdir_internal (bucket, dir->remote_path) != COMPLETE)
dir              1642 src/vfs/ftpfs/ftpfs.c     flist = dir->file_list->next;
dir              1648 src/vfs/ftpfs/ftpfs.c             if (flist == dir->file_list)
dir              1710 src/vfs/ftpfs/ftpfs.c resolve_symlink (struct vfs_class *me, struct vfs_s_super *super, struct vfs_s_inode *dir)
dir              1715 src/vfs/ftpfs/ftpfs.c         resolve_symlink_without_ls_options (me, super, dir);
dir              1717 src/vfs/ftpfs/ftpfs.c         resolve_symlink_with_ls_options (me, super, dir);
dir              1724 src/vfs/ftpfs/ftpfs.c ftpfs_dir_load (struct vfs_class *me, struct vfs_s_inode *dir, char *remote_path)
dir              1727 src/vfs/ftpfs/ftpfs.c     struct vfs_s_super *super = dir->super;
dir              1748 src/vfs/ftpfs/ftpfs.c     gettimeofday (&dir->timestamp, NULL);
dir              1749 src/vfs/ftpfs/ftpfs.c     dir->timestamp.tv_sec += ftpfs_directory_timeout;
dir              1803 src/vfs/ftpfs/ftpfs.c         ent = vfs_s_generate_entry (me, NULL, dir, 0);
dir              1814 src/vfs/ftpfs/ftpfs.c             vfs_s_insert_entry (me, dir, ent);
dir              1840 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                76 src/vfs/sftpfs/internal.c     int dir, ret;
dir                84 src/vfs/sftpfs/internal.c     dir = libssh2_session_block_directions (super->session);
dir                86 src/vfs/sftpfs/internal.c     if ((dir & LIBSSH2_SESSION_BLOCK_INBOUND) != 0)
dir                89 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               196 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               300 src/viewer/mcviewer.c             char *dir;
dir               303 src/viewer/mcviewer.c             dir = g_strndup (file, (size_t) (fname - file));
dir               304 src/viewer/mcviewer.c             view->workdir_vpath = vfs_path_from_str (dir);
dir               305 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 = (char *) "selected file.txt";
dir                80 tests/src/filemanager/exec_get_export_variables_ext.c     current_panel->dir.list[1].fname = (char *) "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 = (char *) "tagged file2.txt";
dir                83 tests/src/filemanager/exec_get_export_variables_ext.c     current_panel->dir.list[2].f.marked = TRUE;