dir               149 lib/mcconfig/paths.c     char *dir;
dir               167 lib/mcconfig/paths.c         dir = g_build_filename (profile_root, ".config", (char *) NULL);
dir               168 lib/mcconfig/paths.c         mc_config_str = mc_config_init_one_config_path (dir, MC_USERCONF_DIR, mcerror);
dir               169 lib/mcconfig/paths.c         g_free (dir);
dir               171 lib/mcconfig/paths.c         dir = g_build_filename (profile_root, ".cache", (char *) NULL);
dir               172 lib/mcconfig/paths.c         mc_cache_str = mc_config_init_one_config_path (dir, MC_USERCONF_DIR, mcerror);
dir               173 lib/mcconfig/paths.c         g_free (dir);
dir               175 lib/mcconfig/paths.c         dir = g_build_filename (profile_root, ".local", "share", (char *) NULL);
dir               176 lib/mcconfig/paths.c         mc_data_str = mc_config_init_one_config_path (dir, MC_USERCONF_DIR, mcerror);
dir               177 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     struct vfs_dirent *dir = NULL;
dir               468 lib/vfs/direntry.c         dir = vfs_dirent_init (NULL, name, 0);
dir               474 lib/vfs/direntry.c     return 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              1330 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              1336 lib/vfs/direntry.c         ent = vfs_s_generate_entry (path_element->class, name, dir, 0755);
dir              1338 lib/vfs/direntry.c         vfs_s_insert_entry (path_element->class, dir, ent);
dir               442 lib/vfs/interface.c     path_element->dir.info = info;
dir               445 lib/vfs/interface.c     path_element->dir.converter = (path_element->encoding != NULL) ?
dir               447 lib/vfs/interface.c     if (path_element->dir.converter == INVALID_CONV)
dir               448 lib/vfs/interface.c         path_element->dir.converter = str_cnv_from_term;
dir               484 lib/vfs/interface.c         entry = vfs->readdir (vfs_path_element->dir.info);
dir               490 lib/vfs/interface.c         str_vfs_convert_from (vfs_path_element->dir.converter, entry->d_name, vfs_str_buffer);
dir               523 lib/vfs/interface.c         if (vfs_path_element->dir.converter != str_cnv_from_term)
dir               525 lib/vfs/interface.c             str_close_conv (vfs_path_element->dir.converter);
dir               526 lib/vfs/interface.c             vfs_path_element->dir.converter = INVALID_CONV;
dir               530 lib/vfs/interface.c         result = vfs->closedir ? (*vfs->closedir) (vfs_path_element->dir.info) : -1;
dir               393 lib/vfs/path.c         element->dir.converter =
dir               418 lib/vfs/path.c         element->dir.converter =
dir               493 lib/vfs/path.c         element->dir.converter =
dir               512 lib/vfs/path.c         element->dir.converter =
dir               577 lib/vfs/path.c vfs_path_strip_home (const char *dir)
dir               587 lib/vfs/path.c         if (strncmp (dir, home_dir, len) == 0 && (IS_PATH_SEP (dir[len]) || dir[len] == '\0'))
dir               588 lib/vfs/path.c             return g_strdup_printf ("~%s", dir + len);
dir               591 lib/vfs/path.c     return g_strdup (dir);
dir               683 lib/vfs/path.c             str_vfs_convert_from (element->dir.converter, element->path, recode_buffer);
dir               879 lib/vfs/path.c         new_element->dir.converter = str_crt_conv_from (new_element->encoding);
dir               881 lib/vfs/path.c         new_element->dir.converter = element->dir.converter;
dir               883 lib/vfs/path.c     new_element->dir.info = element->dir.info;
dir               912 lib/vfs/path.c         str_close_conv (element->dir.converter);
dir              1065 lib/vfs/path.c     return (element->dir.converter != str_cnv_from_term && element->dir.converter != INVALID_CONV);
dir              1091 lib/vfs/path.c         str_close_conv (path_element->dir.converter);
dir              1093 lib/vfs/path.c     path_element->dir.converter = str_crt_conv_from (path_element->encoding);
dir              1212 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               314 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               165 lib/vfs/xdirentry.h void vfs_s_insert_entry (struct vfs_class *me, struct vfs_s_inode *dir, struct vfs_s_entry *ent);
dir              1122 src/editor/editcmd.c     int dir = 0;
dir              1126 src/editor/editcmd.c         dir = query_dialog (_("Syntax file edit"),
dir              1139 src/editor/editcmd.c     if (dir == 0)
dir              1148 src/editor/editcmd.c     else if (dir == 1)
dir              1168 src/editor/editcmd.c     int dir;
dir              1172 src/editor/editcmd.c     dir = query_dialog (_("Menu edit"),
dir              1185 src/editor/editcmd.c     switch (dir)
dir              1226 src/editor/editwidget.c         char *dir;
dir              1228 src/editor/editwidget.c         dir = mc_build_filename (mc_config_get_cache_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              1232 src/editor/editwidget.c         dir = mc_build_filename (mc_config_get_path (), EDIT_HOME_DIR, (char *) NULL);
dir              1233 src/editor/editwidget.c         made_directory = (mkdir (dir, 0700) != -1 || errno == EEXIST);
dir              1234 src/editor/editwidget.c         g_free (dir);
dir              1236 src/editor/editwidget.c         dir = mc_build_filename (mc_config_get_data_path (), EDIT_HOME_DIR, (char *) NULL);
dir              1237 src/editor/editwidget.c         made_directory = (mkdir (dir, 0700) != -1 || errno == EEXIST);
dir              1238 src/editor/editwidget.c         g_free (dir);
dir               836 src/filemanager/achown.c     while (!panel->dir.list[current_file].f.marked)
dir               839 src/filemanager/achown.c     return panel->dir.list[current_file].fname;
dir              1098 src/filemanager/chattr.c     while (!panel->dir.list[current_file].f.marked)
dir              1101 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               152 src/filemanager/cmd.c         filename_vpath = vfs_path_from_str (panel->dir.list[file_idx].fname->str);
dir               243 src/filemanager/cmd.c     for (i = 0; i < panel->dir.len; i++)
dir               245 src/filemanager/cmd.c         file_entry_t *source = &panel->dir.list[i];
dir               260 src/filemanager/cmd.c         for (j = 0; j < other->dir.len; j++)
dir               264 src/filemanager/cmd.c             other_fname = other->dir.list[j].fname->str;
dir               272 src/filemanager/cmd.c         if (j >= other->dir.len)
dir               278 src/filemanager/cmd.c             file_entry_t *target = &other->dir.list[j];
dir               754 src/filemanager/cmd.c     char *dir;
dir               761 src/filemanager/cmd.c     dir =
dir               766 src/filemanager/cmd.c     if (dir != NULL && *dir != '\0')
dir               770 src/filemanager/cmd.c         if (IS_PATH_SEP (dir[0]) || dir[0] == '~')
dir               771 src/filemanager/cmd.c             absdir = vfs_path_from_str (dir);
dir               776 src/filemanager/cmd.c             char *tmpdir = dir;
dir               778 src/filemanager/cmd.c             if (dir[0] == '\\' && dir[1] == '~')
dir               779 src/filemanager/cmd.c                 tmpdir = dir + 1;
dir               790 src/filemanager/cmd.c             update_panels (UP_OPTIMIZE, dir);
dir               797 src/filemanager/cmd.c     g_free (dir);
dir               821 src/filemanager/cmd.c     int dir = 0;
dir               824 src/filemanager/cmd.c         dir = query_dialog (_("Extension file edit"),
dir               830 src/filemanager/cmd.c     if (dir == 0)
dir               839 src/filemanager/cmd.c     else if (dir == 1)
dir               862 src/filemanager/cmd.c     int dir = 0;
dir               865 src/filemanager/cmd.c     dir = query_dialog (_("Menu edit"),
dir               879 src/filemanager/cmd.c     switch (dir)
dir               920 src/filemanager/cmd.c     int dir = 0;
dir               923 src/filemanager/cmd.c         dir = query_dialog (_("Highlighting groups file edit"),
dir               930 src/filemanager/cmd.c     if (dir == 0)
dir               939 src/filemanager/cmd.c     else if (dir == 1)
dir              1242 src/filemanager/cmd.c     const file_entry_t *entry = &panel->dir.list[panel->selected];
dir              1255 src/filemanager/cmd.c     file_entry_t *entry = &panel->dir.list[panel->selected];
dir              1305 src/filemanager/cmd.c     for (i = 0; i < panel->dir.len; i++)
dir              1306 src/filemanager/cmd.c         if (S_ISDIR (panel->dir.list[i].st.st_mode)
dir              1307 src/filemanager/cmd.c             && ((panel->dirs_marked != 0 && panel->dir.list[i].f.marked)
dir              1308 src/filemanager/cmd.c                 || panel->dirs_marked == 0) && !DIR_IS_DOTDOT (panel->dir.list[i].fname->str))
dir              1316 src/filemanager/cmd.c             p = vfs_path_from_str (panel->dir.list[i].fname->str);
dir              1322 src/filemanager/cmd.c             panel->dir.list[i].st.st_size = (off_t) total;
dir              1323 src/filemanager/cmd.c             panel->dir.list[i].f.dir_size_computed = 1;
dir               648 src/filemanager/file.c     DIR *dir;
dir               654 src/filemanager/file.c     dir = mc_opendir (dirname_vpath);
dir               655 src/filemanager/file.c     if (dir == NULL)
dir               658 src/filemanager/file.c     while (ret == FILE_CONT && (dirent = mc_readdir (dir)) != NULL)
dir               694 src/filemanager/file.c     mc_closedir (dir);
dir               716 src/filemanager/file.c     for (i = 0; i < panel->dir.len; i++)
dir               718 src/filemanager/file.c         const file_entry_t *fe = &panel->dir.list[i];
dir              1435 src/filemanager/file.c try_erase_dir (file_op_context_t * ctx, const char *dir)
dir              1439 src/filemanager/file.c     while (my_rmdir (dir) != 0 && !ctx->skip_all)
dir              1441 src/filemanager/file.c         return_status = file_error (TRUE, _("Cannot remove directory \"%s\"\n%s"), dir);
dir              1526 src/filemanager/file.c     DIR *dir;
dir              1530 src/filemanager/file.c     dir = mc_opendir (vpath);
dir              1531 src/filemanager/file.c     if (dir == NULL)
dir              1534 src/filemanager/file.c     for (d = mc_readdir (dir); d != NULL; d = mc_readdir (dir))
dir              1541 src/filemanager/file.c     mc_closedir (dir);
dir              1792 src/filemanager/file.c         for (i = 0; i < panel->dir.len; i++)
dir              1793 src/filemanager/file.c             if (panel->dir.list[i].f.marked)
dir              1794 src/filemanager/file.c                 return panel->dir.list[i].fname->str;
dir              1797 src/filemanager/file.c     return panel->dir.list[panel->selected].fname->str;
dir              3464 src/filemanager/file.c             for (i = 0; i < panel->dir.len; i++)
dir              3468 src/filemanager/file.c                 if (!panel->dir.list[i].f.marked)
dir              3471 src/filemanager/file.c                 source2 = panel->dir.list[i].fname->str;
dir              3472 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               884 src/filemanager/find.c push_directory (vfs_path_t * dir)
dir               886 src/filemanager/find.c     g_queue_push_head (&dir_queue, (void *) dir);
dir               917 src/filemanager/find.c insert_file (const char *dir, const char *file, gsize start, gsize end)
dir               923 src/filemanager/find.c     while (IS_PATH_SEP (dir[0]) && IS_PATH_SEP (dir[1]))
dir               924 src/filemanager/find.c         dir++;
dir               928 src/filemanager/find.c         if (strcmp (old_dir, dir) != 0)
dir               931 src/filemanager/find.c             old_dir = g_strdup (dir);
dir               932 src/filemanager/find.c             dirname = add_to_list (dir, NULL);
dir               937 src/filemanager/find.c         old_dir = g_strdup (dir);
dir               938 src/filemanager/find.c         dirname = add_to_list (dir, NULL);
dir               943 src/filemanager/find.c     location->dir = dirname;
dir               953 src/filemanager/find.c find_add_match (const char *dir, const char *file, gsize start, gsize end)
dir               955 src/filemanager/find.c     insert_file (dir, file, start, end);
dir              1193 src/filemanager/find.c find_ignore_dir_search (const char *dir)
dir              1197 src/filemanager/find.c         const size_t dlen = strlen (dir);
dir              1198 src/filemanager/find.c         const unsigned char dabs = g_path_is_absolute (dir) ? 1 : 0;
dir              1217 src/filemanager/find.c                 if (strncmp (dir, *ignore_dir, ilen) == 0)
dir              1221 src/filemanager/find.c                     if (dir[ilen] == '\0' || IS_PATH_SEP (dir[ilen]))
dir              1229 src/filemanager/find.c                     d = strstr (dir, *ignore_dir);
dir              1441 src/filemanager/find.c find_do_view_edit (gboolean unparsed_view, gboolean edit, char *dir, char *file, off_t search_start,
dir              1459 src/filemanager/find.c     fullname_vpath = vfs_path_build_filename (dir, filename, (char *) NULL);
dir              1478 src/filemanager/find.c     if ((text == NULL) || (location == NULL) || (location->dir == NULL))
dir              1481 src/filemanager/find.c     find_do_view_edit (unparsed_view, edit, location->dir, text, location->start, location->end);
dir              1810 src/filemanager/find.c         dir_list *list = &panel->dir;
dir              1825 src/filemanager/find.c             if ((le->text == NULL) || (location == NULL) || (location->dir == NULL))
dir              1833 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              1200 src/filemanager/layout.c             file_name = the_other_panel->dir.list[the_other_panel->selected].fname->str;
dir              1292 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               811 src/filemanager/panel.c     if (file_index < panel->dir.len)
dir               813 src/filemanager/panel.c         fe = &panel->dir.list[file_index];
dir              1016 src/filemanager/panel.c     if (S_ISLNK (panel->dir.list[panel->selected].st.st_mode))
dir              1023 src/filemanager/panel.c             vfs_path_append_new (panel->cwd_vpath, panel->dir.list[panel->selected].fname->str,
dir              1036 src/filemanager/panel.c     else if (DIR_IS_DOTDOT (panel->dir.list[panel->selected].fname->str))
dir              1065 src/filemanager/panel.c         if (i + panel->top_file < panel->dir.len)
dir              1067 src/filemanager/panel.c             color = 2 * (panel->dir.list[i + panel->top_file].f.marked);
dir              1328 src/filemanager/panel.c             if (S_ISREG (panel->dir.list[panel->selected].st.st_mode))
dir              1333 src/filemanager/panel.c                             size_trunc_sep (panel->dir.list[panel->selected].st.st_size,
dir              1367 src/filemanager/panel.c     panel->selected = CLAMP (panel->selected, 0, panel->dir.len - 1);
dir              1371 src/filemanager/panel.c     if (panel->dir.len <= items)
dir              1393 src/filemanager/panel.c         i = panel->dir.len - items;
dir              1515 src/filemanager/panel.c     g_free (p->dir.list);
dir              2084 src/filemanager/panel.c     for (i = 0; i < panel->dir.len; i++)
dir              2086 src/filemanager/panel.c         file_entry_t *file_entry = &panel->dir.list[i];
dir              2125 src/filemanager/panel.c     if (panel->selected + 1 == panel->dir.len)
dir              2137 src/filemanager/panel.c         if (panel->top_file > panel->dir.len - items)
dir              2138 src/filemanager/panel.c             panel->top_file = panel->dir.len - items;
dir              2145 src/filemanager/panel.c         if (panel->top_file > panel->dir.len - items)
dir              2146 src/filemanager/panel.c             panel->top_file = panel->dir.len - items;
dir              2190 src/filemanager/panel.c     if (new_pos >= panel->dir.len)
dir              2191 src/filemanager/panel.c         new_pos = panel->dir.len - 1;
dir              2283 src/filemanager/panel.c         GString *fname = panel->dir.list[panel->selected].fname;
dir              2326 src/filemanager/panel.c     if (panel->selected == panel->dir.len - 1)
dir              2331 src/filemanager/panel.c     if (panel->top_file > panel->dir.len - 2 * items)
dir              2332 src/filemanager/panel.c         items = panel->dir.len - items - panel->top_file;
dir              2336 src/filemanager/panel.c         panel->selected = panel->dir.len - 1;
dir              2430 src/filemanager/panel.c     if (panel->selected == panel->dir.len - 1)
dir              2454 src/filemanager/panel.c     panel->selected = panel->dir.len - 1;
dir              2507 src/filemanager/panel.c     lines = MIN (lines, panel->dir.len - panel->selected - 1);
dir              2627 src/filemanager/panel.c     for (i = 0; i < panel->dir.len; i++)
dir              2629 src/filemanager/panel.c         if (DIR_IS_DOTDOT (panel->dir.list[i].fname->str))
dir              2631 src/filemanager/panel.c         if (S_ISDIR (panel->dir.list[i].st.st_mode) && files_only)
dir              2635 src/filemanager/panel.c             (search, panel->dir.list[i].fname->str, 0, panel->dir.list[i].fname->len, NULL))
dir              2667 src/filemanager/panel.c     for (i = 0; i < panel->dir.len; i++)
dir              2669 src/filemanager/panel.c         file_entry_t *file = &panel->dir.list[i];
dir              2770 src/filemanager/panel.c         if (i >= panel->dir.len)
dir              2778 src/filemanager/panel.c             (search, panel->dir.list[i].fname->str, 0, panel->dir.list[i].fname->len, NULL))
dir              2813 src/filemanager/panel.c         if (panel->selected == panel->dir.len - 1)
dir              2952 src/filemanager/panel.c     const file_entry_t *entry = &panel->dir.list[panel->selected];
dir              3016 src/filemanager/panel.c     if (!S_ISLNK (panel->dir.list[panel->selected].st.st_mode))
dir              3358 src/filemanager/panel.c     if (!dir_list_load (&panel->dir, panel->cwd_vpath, panel->sort_field->sort_routine,
dir              3921 src/filemanager/panel.c     if (y > panel->dir.len)
dir              4040 src/filemanager/panel.c                 && panel->top_file + panel_items (panel) < panel->dir.len)
dir              4061 src/filemanager/panel.c     dir_list *list = &panel->dir;
dir              4112 src/filemanager/panel.c         my_current_file = g_strndup (panel->dir.list[panel->selected].fname->str,
dir              4113 src/filemanager/panel.c                                      panel->dir.list[panel->selected].fname->len);
dir              4184 src/filemanager/panel.c     for (i = 0; i < panel->dir.len; i++)
dir              4186 src/filemanager/panel.c         if (strcmp (subdir, panel->dir.list[i].fname->str) == 0)
dir              4195 src/filemanager/panel.c     if (panel->selected >= panel->dir.len)
dir              4196 src/filemanager/panel.c         do_select (panel, panel->dir.len - 1);
dir              4238 src/filemanager/panel.c         for (i = 0; i < current_panel->dir.len; i++)
dir              4239 src/filemanager/panel.c             if (current_panel->dir.list[i].f.marked != 0)
dir              4243 src/filemanager/panel.c                     flist = g_strndup (current_panel->dir.list[i].fname->str,
dir              4244 src/filemanager/panel.c                                        current_panel->dir.list[i].fname->len);
dir              4253 src/filemanager/panel.c                         g_strconcat (flist, "\n", current_panel->dir.list[i].fname->str,
dir              4355 src/filemanager/panel.c     dir_list_free_list (&panel->dir);
dir              4418 src/filemanager/panel.c     panel->dir.size = DIR_LIST_MIN_SIZE;
dir              4419 src/filemanager/panel.c     panel->dir.list = g_new (file_entry_t, panel->dir.size);
dir              4420 src/filemanager/panel.c     panel->dir.len = 0;
dir              4421 src/filemanager/panel.c     panel->dir.callback = panel_dir_list_callback;
dir              4538 src/filemanager/panel.c     if (!dir_list_load (&panel->dir, panel->cwd_vpath, panel->sort_field->sort_routine,
dir              4578 src/filemanager/panel.c         dir_list_init (&panel->dir);
dir              4586 src/filemanager/panel.c     if (!dir_list_reload (&panel->dir, panel->cwd_vpath, panel->sort_field->sort_routine,
dir              4591 src/filemanager/panel.c     if (panel->selected >= panel->dir.len)
dir              4592 src/filemanager/panel.c         do_select (panel, panel->dir.len - 1);
dir              4695 src/filemanager/panel.c         for (i = 0; i < panel->dir.len; i++)
dir              4717 src/filemanager/panel.c     for (i = 0; i < panel->dir.len; i++)
dir              4718 src/filemanager/panel.c         if (panel->dir.list[i].f.marked)
dir              4723 src/filemanager/panel.c             panel->dir.list[i].f.marked = 0;
dir              4734 src/filemanager/panel.c     if (panel->dir.list[idx].f.marked == mark)
dir              4738 src/filemanager/panel.c     if (DIR_IS_DOTDOT (panel->dir.list[idx].fname->str))
dir              4742 src/filemanager/panel.c     if (panel->dir.list[idx].f.marked)
dir              4746 src/filemanager/panel.c         if (S_ISDIR (panel->dir.list[idx].st.st_mode))
dir              4748 src/filemanager/panel.c             if (panel->dir.list[idx].f.dir_size_computed)
dir              4749 src/filemanager/panel.c                 panel->total += (uintmax_t) panel->dir.list[idx].st.st_size;
dir              4753 src/filemanager/panel.c             panel->total += (uintmax_t) panel->dir.list[idx].st.st_size;
dir              4759 src/filemanager/panel.c         if (S_ISDIR (panel->dir.list[idx].st.st_mode))
dir              4761 src/filemanager/panel.c             if (panel->dir.list[idx].f.dir_size_computed)
dir              4762 src/filemanager/panel.c                 panel->total -= (uintmax_t) panel->dir.list[idx].st.st_size;
dir              4766 src/filemanager/panel.c             panel->total -= (uintmax_t) panel->dir.list[idx].st.st_size;
dir              4793 src/filemanager/panel.c     if (panel->dir.list[lc_index].f.marked != val)
dir              4795 src/filemanager/panel.c         panel->dir.list[lc_index].f.marked = val;
dir              4815 src/filemanager/panel.c     dir_list_sort (&panel->dir, panel->sort_field->sort_routine, &panel->sort_info);
dir              4818 src/filemanager/panel.c     for (i = panel->dir.len; i != 0; i--)
dir              4819 src/filemanager/panel.c         if (strcmp (panel->dir.list[i - 1].fname->str, filename) == 0)
dir              4846 src/filemanager/panel.c         current_file = g_strndup (panel->dir.list[panel->selected].fname->str,
dir              4847 src/filemanager/panel.c                                   panel->dir.list[panel->selected].fname->len);
dir              4957 src/filemanager/panel.c         str_close_conv (path_element->dir.converter);
dir              4958 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                97 src/filemanager/panel.h     dir_list dir;               /* Directory contents */
dir               309 src/filemanager/panelize.c     dir_list *list = &current_panel->dir;
dir               449 src/filemanager/panelize.c     dir_list_clean (&panel->dir);
dir               455 src/filemanager/panelize.c     else if (panelized_panel.list.len > panel->dir.size)
dir               456 src/filemanager/panelize.c         dir_list_grow (&panel->dir, panelized_panel.list.len - panel->dir.size);
dir               458 src/filemanager/panelize.c     list = &panel->dir;
dir               513 src/filemanager/panelize.c     dir_list *list = &panel->dir;
dir               519 src/filemanager/panelize.c     if (panel->dir.len == 0)
dir               522 src/filemanager/panelize.c     if (panel->dir.len > panelized_panel.list.size)
dir               523 src/filemanager/panelize.c         dir_list_grow (&panelized_panel.list, panel->dir.len - panelized_panel.list.size);
dir               524 src/filemanager/panelize.c     panelized_panel.list.len = panel->dir.len;
dir               526 src/filemanager/panelize.c     for (i = 0; i < panel->dir.len; i++)
dir               561 src/filemanager/panelize.c     const dir_list *const list = &panel->dir;
dir              1311 src/filemanager/tree.c tree_chdir (WTree * tree, const vfs_path_t * dir)
dir              1315 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               169 src/usermenu.c     mode_t st_mode = panel->dir.list[panel->selected].st.st_mode;
dir               259 src/usermenu.c                     mc_search (arg, DEFAULT_CHARSET, panel->dir.list[panel->selected].fname->str,
dir               775 src/usermenu.c             fname = panel->dir.list[panel->selected].fname->str;
dir               917 src/usermenu.c             for (i = 0; i < panel->dir.len; i++)
dir               918 src/usermenu.c                 if (panel->dir.list[i].f.marked)
dir               922 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               820 src/vfs/extfs/extfs.c     for (e = entry; e->dir != NULL; e = e->dir->ent)
dir               823 src/vfs/extfs/extfs.c         if (e->dir->ent->dir != NULL)
dir               850 src/vfs/extfs/extfs.c         pent = extfs_find_entry_int (entry->dir, entry->ino->linkname, looping, FL_NONE);
dir              1167 src/vfs/extfs/extfs.c     struct vfs_dirent *dir;
dir              1173 src/vfs/extfs/extfs.c     dir = vfs_dirent_init (NULL, VFS_ENTRY ((*info)->data)->name, 0);   /* FIXME: inode */
dir              1177 src/vfs/extfs/extfs.c     return dir;
dir              1544 src/vfs/extfs/extfs.c     GDir *dir;
dir              1548 src/vfs/extfs/extfs.c     dir = g_dir_open (dirname, 0, NULL);
dir              1553 src/vfs/extfs/extfs.c     if (dir == NULL)
dir              1564 src/vfs/extfs/extfs.c     while ((filename = g_dir_read_name (dir)) != NULL)
dir              1630 src/vfs/extfs/extfs.c     g_dir_close (dir);
dir               915 src/vfs/fish/fish.c fish_dir_load (struct vfs_class *me, struct vfs_s_inode *dir, const char *remote_path)
dir               917 src/vfs/fish/fish.c     struct vfs_s_super *super = dir->super;
dir               933 src/vfs/fish/fish.c     dir->timestamp = g_get_monotonic_time () + fish_directory_timeout * G_USEC_PER_SEC;
dir               940 src/vfs/fish/fish.c     ent = vfs_s_generate_entry (me, NULL, dir, 0);
dir               967 src/vfs/fish/fish.c             vfs_s_insert_entry (me, dir, ent);
dir               968 src/vfs/fish/fish.c             ent = vfs_s_generate_entry (me, NULL, dir, 0);
dir              1591 src/vfs/ftpfs/ftpfs.c                                     struct vfs_s_inode *dir)
dir              1597 src/vfs/ftpfs/ftpfs.c     dir->symlink_status = FTPFS_RESOLVING_SYMLINKS;
dir              1598 src/vfs/ftpfs/ftpfs.c     for (flist = dir->file_list->next; flist != dir->file_list; flist = flist->next)
dir              1614 src/vfs/ftpfs/ftpfs.c                 if ((strlen (dir->remote_path) + strlen (fel->linkname)) >= MC_MAXPATHLEN)
dir              1616 src/vfs/ftpfs/ftpfs.c                 strcpy (tmp, dir->remote_path);
dir              1664 src/vfs/ftpfs/ftpfs.c     dir->symlink_status = FTPFS_RESOLVED_SYMLINKS;
dir              1671 src/vfs/ftpfs/ftpfs.c                                  struct vfs_s_inode *dir)
dir              1681 src/vfs/ftpfs/ftpfs.c     dir->symlink_status = FTPFS_RESOLVED_SYMLINKS;
dir              1682 src/vfs/ftpfs/ftpfs.c     if (strchr (dir->remote_path, ' ') == NULL)
dir              1683 src/vfs/ftpfs/ftpfs.c         sock = ftpfs_open_data_connection (bucket, "LIST -lLa", dir->remote_path, TYPE_ASCII, 0);
dir              1686 src/vfs/ftpfs/ftpfs.c         if (ftpfs_chdir_internal (bucket, dir->remote_path) != COMPLETE)
dir              1709 src/vfs/ftpfs/ftpfs.c     flist = dir->file_list->next;
dir              1715 src/vfs/ftpfs/ftpfs.c             if (flist == dir->file_list)
dir              1777 src/vfs/ftpfs/ftpfs.c resolve_symlink (struct vfs_class *me, struct vfs_s_super *super, struct vfs_s_inode *dir)
dir              1782 src/vfs/ftpfs/ftpfs.c         resolve_symlink_without_ls_options (me, super, dir);
dir              1784 src/vfs/ftpfs/ftpfs.c         resolve_symlink_with_ls_options (me, super, dir);
dir              1791 src/vfs/ftpfs/ftpfs.c ftpfs_dir_load (struct vfs_class *me, struct vfs_s_inode *dir, const char *remote_path)
dir              1793 src/vfs/ftpfs/ftpfs.c     struct vfs_s_super *super = dir->super;
dir              1820 src/vfs/ftpfs/ftpfs.c     dir->timestamp = g_get_monotonic_time () + ftpfs_directory_timeout * G_USEC_PER_SEC;
dir              1907 src/vfs/ftpfs/ftpfs.c     entlist = ftpfs_parse_long_list (me, dir, dirlist, &err_count);
dir              1911 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               553 src/vfs/ftpfs/ftpfs_parse_ls.c     gboolean dir = FALSE;
dir               590 src/vfs/ftpfs/ftpfs_parse_ls.c             dir = TRUE;
dir               594 src/vfs/ftpfs/ftpfs_parse_ls.c             dir = FALSE;
dir               635 src/vfs/ftpfs/ftpfs_parse_ls.c         s->st_mode = dir ? S_IFDIR : S_IFREG;
dir              1109 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              1157 src/vfs/ftpfs/ftpfs_parse_ls.c                 info = vfs_s_generate_entry (me, NULL, dir, 0);
dir              1198 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               132 src/vfs/sftpfs/sftpfs.c         struct vfs_s_inode *dir;
dir               136 src/vfs/sftpfs/sftpfs.c         dir = vfs_s_find_inode (path_element->class, super, dirname, LINK_FOLLOW, FL_DIR);
dir               137 src/vfs/sftpfs/sftpfs.c         if (dir == NULL)
dir               143 src/vfs/sftpfs/sftpfs.c         ent = vfs_s_generate_entry (path_element->class, name, dir, 0755);
dir               145 src/vfs/sftpfs/sftpfs.c         vfs_s_insert_entry (path_element->class, dir, ent);
dir               803 src/vfs/sftpfs/sftpfs.c sftpfs_cb_dir_load (struct vfs_class *me, struct vfs_s_inode *dir, const char *remote_path)
dir               806 src/vfs/sftpfs/sftpfs.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               185 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               308 src/viewer/mcviewer.c             char *dir;
dir               311 src/viewer/mcviewer.c             dir = g_strndup (file, (size_t) (fname - file));
dir               312 src/viewer/mcviewer.c             view->workdir_vpath = vfs_path_from_str (dir);
dir               313 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);