path 125 lib/lock.c elpath = vfs_path_get_by_index (fname_vpath, 0)->path; path 212 lib/lock.c elpath = vfs_path_get_by_index (fname_vpath, 0)->path; path 287 lib/lock.c elpath = vfs_path_get_by_index (fname_vpath, 0)->path; path 70 lib/shell.c mc_shell->path = g_strdup ("/bin/bash"); path 72 lib/shell.c mc_shell->path = g_strdup ("/bin/ash"); path 74 lib/shell.c mc_shell->path = g_strdup ("/bin/dash"); path 76 lib/shell.c mc_shell->path = g_strdup ("/bin/busybox"); path 78 lib/shell.c mc_shell->path = g_strdup ("/bin/zsh"); path 80 lib/shell.c mc_shell->path = g_strdup ("/bin/tcsh"); path 82 lib/shell.c mc_shell->path = g_strdup ("/bin/csh"); path 92 lib/shell.c mc_shell->path = g_strdup ("/bin/sh"); path 136 lib/shell.c mc_shell->path = shell_name; path 147 lib/shell.c if (strstr (mc_shell->path, "/zsh") != NULL || strstr (mc_shell->real_path, "/zsh") != NULL path 154 lib/shell.c else if (strstr (mc_shell->path, "/tcsh") != NULL path 161 lib/shell.c else if (strstr (mc_shell->path, "/csh") != NULL path 167 lib/shell.c else if (strstr (mc_shell->path, "/fish") != NULL path 173 lib/shell.c else if (strstr (mc_shell->path, "/dash") != NULL path 190 lib/shell.c mc_shell->name = mc_shell->path; path 202 lib/shell.c if (strstr (mc_shell->path, "/bash") != NULL || getenv ("BASH") != NULL) path 207 lib/shell.c else if (strstr (mc_shell->path, "/sh") != NULL || getenv ("SH") != NULL) path 212 lib/shell.c else if (strstr (mc_shell->path, "/ash") != NULL || getenv ("ASH") != NULL) path 235 lib/shell.c mc_shell->real_path = mc_realpath (mc_shell->path, rp_shell); path 259 lib/shell.c g_free (mc_global.shell->path); path 30 lib/shell.h char *path; path 332 lib/util.c path_trunc (const char *path, size_t trunc_len) path 337 lib/util.c vpath = vfs_path_from_str_flags (path, VPF_STRIP_PASSWORD); path 155 lib/util.h const char *path_trunc (const char *path, size_t trunc_len); path 233 lib/util.h void canonicalize_pathname_custom (char *path, canon_path_flags_t flags); path 235 lib/util.h char *mc_realpath (const char *path, char *resolved_path); path 308 lib/util.h canonicalize_pathname (char *path) path 310 lib/util.h canonicalize_pathname_custom (path, CANON_PATH_ALL); path 817 lib/utilunix.c canonicalize_pathname_custom (char *path, canon_path_flags_t flags) path 820 lib/utilunix.c char *lpath = path; /* path without leading UNC part */ path 824 lib/utilunix.c if ((flags & CANON_PATH_GUARDUNC) != 0 && IS_PATH_SEP (path[0]) && IS_PATH_SEP (path[1])) path 826 lib/utilunix.c for (p = path + 2; p[0] != '\0' && !IS_PATH_SEP (p[0]); p++) path 828 lib/utilunix.c if (IS_PATH_SEP (p[0]) && p > path + 2) path 1062 lib/utilunix.c mc_realpath (const char *path, char *resolved_path) path 1065 lib/utilunix.c const char *p = path; path 1084 lib/utilunix.c path = p; path 1090 lib/utilunix.c return realpath (path, resolved_path); path 1104 lib/utilunix.c if (strlen (path) >= PATH_MAX - 2) path 1110 lib/utilunix.c strcpy (copy_path, path); path 1111 lib/utilunix.c path = copy_path; path 1114 lib/utilunix.c if (!IS_PATH_SEP (*path)) path 1133 lib/utilunix.c path++; path 1136 lib/utilunix.c while (*path != '\0') path 1139 lib/utilunix.c if (IS_PATH_SEP (*path)) path 1141 lib/utilunix.c path++; path 1144 lib/utilunix.c if (*path == '.') path 1147 lib/utilunix.c if (path[1] == '\0' || IS_PATH_SEP (path[1])) path 1149 lib/utilunix.c path++; path 1152 lib/utilunix.c if (path[1] == '.') path 1154 lib/utilunix.c if (path[2] == '\0' || IS_PATH_SEP (path[2])) path 1156 lib/utilunix.c path += 2; path 1168 lib/utilunix.c while (*path != '\0' && !IS_PATH_SEP (*path)) path 1170 lib/utilunix.c if (path > max_path) path 1175 lib/utilunix.c *new_path++ = *path++; path 1210 lib/utilunix.c if (strlen (path) + n >= PATH_MAX - 2) path 1216 lib/utilunix.c strcat (link_path, path); path 1218 lib/utilunix.c path = copy_path; path 1296 lib/utilunix.c GString *path; path 1304 lib/utilunix.c path = g_string_new (absolute ? PATH_SEP_STR : ""); path 1322 lib/utilunix.c g_string_append (path, start); path 1323 lib/utilunix.c if (!IS_PATH_SEP (path->str[path->len - 1]) && element != NULL) path 1324 lib/utilunix.c g_string_append_c (path, PATH_SEP); path 1331 lib/utilunix.c ret = g_string_free (path, FALSE); path 110 lib/vfs/direntry.c vfs_s_automake (struct vfs_class *me, struct vfs_s_inode *dir, char *path, int flags) path 115 lib/vfs/direntry.c sep = strchr (path, PATH_SEP); path 119 lib/vfs/direntry.c res = vfs_s_generate_entry (me, path, dir, (flags & FL_MKDIR) != 0 ? (0777 | S_IFDIR) : 0777); path 184 lib/vfs/direntry.c char *path = pathref; path 187 lib/vfs/direntry.c canonicalize_pathname_custom (path, CANON_PATH_ALL & (~CANON_PATH_REMDOUBLEDOTS)); path 193 lib/vfs/direntry.c while (IS_PATH_SEP (*path)) /* Strip leading '/' */ path 194 lib/vfs/direntry.c path++; path 196 lib/vfs/direntry.c if (path[0] == '\0') path 202 lib/vfs/direntry.c for (pseg = 0; path[pseg] != '\0' && !IS_PATH_SEP (path[pseg]); pseg++) path 208 lib/vfs/direntry.c if (strlen (ent->name) == pseg && strncmp (ent->name, path, pseg) == 0) path 216 lib/vfs/direntry.c ent = vfs_s_automake (me, root, path, flags); path 223 lib/vfs/direntry.c path += pseg; path 227 lib/vfs/direntry.c strchr (path, PATH_SEP) != NULL ? LINK_FOLLOW : follow); path 244 lib/vfs/direntry.c char *const path = g_strdup (a_path); path 251 lib/vfs/direntry.c canonicalize_pathname_custom (path, CANON_PATH_ALL & (~CANON_PATH_REMDOUBLEDOTS)); path 258 lib/vfs/direntry.c dirname = g_path_get_dirname (path); path 259 lib/vfs/direntry.c name = g_path_get_basename (path); path 264 lib/vfs/direntry.c g_free (path); path 268 lib/vfs/direntry.c iter = g_queue_find_custom (root->subdir, path, (GCompareFunc) vfs_s_entry_compare); path 274 lib/vfs/direntry.c vfs_print_message (_("Directory cache expired for %s"), path); path 285 lib/vfs/direntry.c ent = vfs_s_new_entry (me, path, ino); path 286 lib/vfs/direntry.c if (VFS_SUBCLASS (me)->dir_load (me, ino, path) == -1) path 289 lib/vfs/direntry.c g_free (path); path 295 lib/vfs/direntry.c iter = g_queue_find_custom (root->subdir, path, (GCompareFunc) vfs_s_entry_compare); path 304 lib/vfs/direntry.c g_free (path); path 308 lib/vfs/direntry.c g_free (path); path 1088 lib/vfs/direntry.c const char *path, int follow, int flags) path 1092 lib/vfs/direntry.c if (((me->flags & VFSF_REMOTE) == 0) && (*path == '\0')) path 1095 lib/vfs/direntry.c ent = VFS_SUBCLASS (me)->find_entry (me, super->root, path, follow, flags); path 1177 lib/vfs/direntry.c if (path_element->path != NULL) path 1178 lib/vfs/direntry.c retval = path_element->path; path 1247 lib/vfs/direntry.c char *path; path 1249 lib/vfs/direntry.c path = g_strdup (ino->ent->name); path 1259 lib/vfs/direntry.c newpath = g_strconcat (ino->ent->name, PATH_SEP_STR, path, (char *) NULL); path 1260 lib/vfs/direntry.c g_free (path); path 1261 lib/vfs/direntry.c path = newpath; path 1263 lib/vfs/direntry.c return path; path 667 lib/vfs/interface.c if (*path_element->path != '\0') path 671 lib/vfs/interface.c p = strchr (path_element->path, 0) - 1; path 672 lib/vfs/interface.c if (IS_PATH_SEP (*p) && p > path_element->path) path 683 lib/vfs/interface.c g_free (super->path_element->path); path 684 lib/vfs/interface.c super->path_element->path = g_strdup (path_element->path); path 66 lib/vfs/path.c path_magic (const char *path) path 70 lib/vfs/path.c return (stat (path, &buf) != 0); path 88 lib/vfs/path.c _vfs_split_with_semi_skip_count (char *path, const char **inpath, const char **op, path 95 lib/vfs/path.c if (path == NULL) path 98 lib/vfs/path.c semi = strrstr_skip_count (path, "#", skip_count); path 100 lib/vfs/path.c if ((semi == NULL) || (!path_magic (path))) path 129 lib/vfs/path.c ret = _vfs_split_with_semi_skip_count (path, inpath, op, skip_count + 1); path 141 lib/vfs/path.c vfs_canon (const char *path) path 145 lib/vfs/path.c if (path == NULL) path 148 lib/vfs/path.c if (!IS_PATH_SEP (*path)) path 155 lib/vfs/path.c if (g_str_has_prefix (path, VFS_ENCODING_PREFIX)) path 161 lib/vfs/path.c local = mc_build_filename (PATH_SEP_STR, path, (char *) NULL); path 169 lib/vfs/path.c local = mc_build_filename (curr_dir, path, (char *) NULL); path 178 lib/vfs/path.c result = g_strdup (path); path 207 lib/vfs/path.c vfs_path_url_split (vfs_path_element_t *path_element, const char *path) path 214 lib/vfs/path.c pcopy = g_strdup (path); path 342 lib/vfs/path.c vfs_path_from_str_deprecated_parser (char *path) path 351 lib/vfs/path.c while ((class = _vfs_split_with_semi_skip_count (path, &local, &op, 0)) != NULL) path 358 lib/vfs/path.c element->path = vfs_translate_path_n (local); path 377 lib/vfs/path.c g_array_prepend_val (vpath->path, element); path 379 lib/vfs/path.c if (path[0] != '\0') path 383 lib/vfs/path.c element->path = vfs_translate_path_n (path); path 386 lib/vfs/path.c element->encoding = vfs_get_encoding (path, -1); path 390 lib/vfs/path.c g_array_prepend_val (vpath->path, element); path 406 lib/vfs/path.c vfs_path_from_str_uri_parser (char *path) path 413 lib/vfs/path.c if (path == NULL) path 416 lib/vfs/path.c path_is_absolute = IS_PATH_SEP (*path); path 418 lib/vfs/path.c path_is_absolute = path_is_absolute || g_str_has_prefix (path, VFS_ENCODING_PREFIX); path 423 lib/vfs/path.c while ((url_delimiter = g_strrstr (path, VFS_PATH_URL_DELIMITER)) != NULL) path 428 lib/vfs/path.c while (real_vfs_prefix_start > path && !IS_PATH_SEP (*real_vfs_prefix_start)) path 449 lib/vfs/path.c element->path = g_strdup (""); path 452 lib/vfs/path.c element->path = vfs_translate_path_n (slash_pointer + 1); path 462 lib/vfs/path.c element->path = vfs_translate_path_n (url_delimiter); path 471 lib/vfs/path.c g_array_prepend_val (vpath->path, element); path 473 lib/vfs/path.c if ((real_vfs_prefix_start > path && IS_PATH_SEP (*real_vfs_prefix_start)) || path 474 lib/vfs/path.c (real_vfs_prefix_start == path && !IS_PATH_SEP (*real_vfs_prefix_start))) path 480 lib/vfs/path.c if (path[0] != '\0') path 484 lib/vfs/path.c element->path = vfs_translate_path_n (path); path 486 lib/vfs/path.c element->encoding = vfs_get_encoding (path, -1); path 490 lib/vfs/path.c g_array_prepend_val (vpath->path, element); path 663 lib/vfs/path.c str_vfs_convert_from (element->dir.converter, element->path, recode_buffer); path 669 lib/vfs/path.c vfs_append_from_path (element->path, is_relative); path 713 lib/vfs/path.c char *path; path 719 lib/vfs/path.c path = vfs_canon (path_str); path 721 lib/vfs/path.c path = g_strdup (path_str); path 723 lib/vfs/path.c if (path == NULL) path 726 lib/vfs/path.c if ((flags & VPF_USE_DEPRECATED_PARSER) != 0 && vfs_path_is_str_path_deprecated (path)) path 727 lib/vfs/path.c vpath = vfs_path_from_str_deprecated_parser (path); path 729 lib/vfs/path.c vpath = vfs_path_from_str_uri_parser (path); path 732 lib/vfs/path.c g_free (path); path 765 lib/vfs/path.c vpath->path = g_array_new (FALSE, TRUE, sizeof (vfs_path_element_t *)); path 783 lib/vfs/path.c return (vpath != NULL && vpath->path != NULL) ? vpath->path->len : 0; path 796 lib/vfs/path.c g_array_append_val (vpath->path, path_element); path 836 lib/vfs/path.c return g_array_index (vpath->path, vfs_path_element_t *, element_index); path 858 lib/vfs/path.c new_element->path = g_strdup (element->path); path 890 lib/vfs/path.c g_free (element->path); path 929 lib/vfs/path.c g_array_append_val (new_vpath->path, path_element); path 964 lib/vfs/path.c g_array_free (vpath->path, TRUE); path 1000 lib/vfs/path.c vpath->path = g_array_remove_index (vpath->path, element_index); path 1047 lib/vfs/path.c vfs_get_encoding (const char *path, ssize_t len) path 1052 lib/vfs/path.c semi = g_strrstr_len (path, len, VFS_ENCODING_PREFIX); path 1056 lib/vfs/path.c if (semi == path || IS_PATH_SEP (semi[-1])) path 1067 lib/vfs/path.c return vfs_get_encoding (path, semi - path); path 1156 lib/vfs/path.c mc_config_set_string_raw (cpath, groupname, "path", element->path); path 1225 lib/vfs/path.c element->path = mc_config_get_string_raw (cpath, groupname, "path", NULL); path 1240 lib/vfs/path.c vpath->path = g_array_append_val (vpath->path, element); path 1350 lib/vfs/path.c g_array_append_val (ret_vpath->path, path_element); path 1388 lib/vfs/path.c for (prev_token = element->path; (token = strchr (prev_token, PATH_SEP)) != NULL; path 1454 lib/vfs/path.c path_tokens = g_strsplit (element->path, PATH_SEP_STR, -1); path 1588 lib/vfs/path.c if (!IS_PATH_SEP (*element->path)) path 1591 lib/vfs/path.c return g_string_append (pretty_path, element->path); path 29 lib/vfs/path.h GArray *path; path 40 lib/vfs/path.h char *path; path 63 lib/vfs/path.h char *vfs_path_free (vfs_path_t * path, gboolean free_str); path 64 lib/vfs/path.h int vfs_path_elements_count (const vfs_path_t * path); path 66 lib/vfs/path.h char *vfs_path_to_str_elements_count (const vfs_path_t * path, int elements_count); path 78 lib/vfs/path.h const vfs_path_element_t *vfs_path_get_by_index (const vfs_path_t * path, int element_index); path 85 lib/vfs/path.h char *vfs_get_encoding(const char *path, ssize_t len); path 119 lib/vfs/path.h return (element != NULL) ? element->path : NULL; path 241 lib/vfs/utilvfs.c vfs_url_split (const char *path, int default_port, vfs_url_flags_t flags) path 253 lib/vfs/utilvfs.c pcopy_len = strlen (path); path 254 lib/vfs/utilvfs.c pcopy = g_strndup (path, pcopy_len); path 265 lib/vfs/utilvfs.c path_element->path = g_strdup (PATH_SEP_STR); path 268 lib/vfs/utilvfs.c path_element->path = g_strndup (dir, pcopy_len - (size_t) (dir - pcopy)); path 381 lib/vfs/utilvfs.c vfs_utime (const char *path, mc_timesbuf_t *times) path 384 lib/vfs/utilvfs.c return utimensat (AT_FDCWD, path, *times, AT_SYMLINK_NOFOLLOW); path 386 lib/vfs/utilvfs.c return utime (path, times); path 42 lib/vfs/utilvfs.h vfs_path_element_t *vfs_url_split (const char *path, int default_port, vfs_url_flags_t flags); path 63 lib/vfs/utilvfs.h int vfs_utime (const char *path, mc_timesbuf_t *times); path 121 lib/vfs/vfs.c _vfs_translate_path (const char *path, int size, GIConv defcnv, GString *buffer) path 130 lib/vfs/vfs.c size = (size > 0) ? size : (signed int) strlen (path); path 133 lib/vfs/vfs.c semi = g_strrstr_len (path, size, VFS_ENCODING_PREFIX); path 134 lib/vfs/vfs.c if (semi != NULL && (semi == path || IS_PATH_SEP (semi[-1]))) path 142 lib/vfs/vfs.c ms = semi - path; path 144 lib/vfs/vfs.c state = _vfs_translate_path (path, ms, defcnv, buffer); path 153 lib/vfs/vfs.c if (slash - path >= size) path 159 lib/vfs/vfs.c if (semi + ms > path + size) path 160 lib/vfs/vfs.c ms = path + size - semi; path 170 lib/vfs/vfs.c state = str_vfs_convert_to (coder, slash + 1, path + size - slash - 1, buffer); path 181 lib/vfs/vfs.c state = str_vfs_convert_to (defcnv, path, size, buffer); path 187 lib/vfs/vfs.c g_string_assign (buffer, path); path 363 lib/vfs/vfs.c vfs_translate_path (const char *path) path 368 lib/vfs/vfs.c state = _vfs_translate_path (path, -1, str_cnv_from_term, vfs_str_buffer); path 375 lib/vfs/vfs.c vfs_translate_path_n (const char *path) path 379 lib/vfs/vfs.c result = vfs_translate_path (path); path 161 lib/vfs/vfs.h int (*which) (struct vfs_class * me, const char *path); path 276 lib/vfs/vfs.h const char *vfs_translate_path (const char *path); path 278 lib/vfs/vfs.h char *vfs_translate_path_n (const char *path); path 280 lib/vfs/vfs.h void vfs_stamp_path (const vfs_path_t * path); path 143 lib/vfs/xdirentry.h const char *path, int follow, int flags); path 144 lib/vfs/xdirentry.h int (*dir_load) (struct vfs_class * me, struct vfs_s_inode * ino, const char *path); path 146 lib/vfs/xdirentry.h int (*file_store) (struct vfs_class * me, vfs_file_handler_t * fh, char *path, char *localname); path 174 lib/vfs/xdirentry.h const char *path, int follow, int flags); path 544 lib/widget/input_complete.c static char *path = NULL; path 582 lib/widget/input_complete.c if (path == NULL) path 584 lib/widget/input_complete.c path = g_strdup (getenv ("PATH")); path 585 lib/widget/input_complete.c if (path != NULL) path 587 lib/widget/input_complete.c p = path; path 633 lib/widget/input_complete.c if (path == NULL) path 635 lib/widget/input_complete.c cur_path = path; path 663 lib/widget/input_complete.c MC_PTR_FREE (path); path 89 src/clipboard.c my_system (EXECUTE_AS_SHELL, mc_global.shell->path, cmd); path 2733 src/diffviewer/ydiff.c char *path; path 2745 src/diffviewer/ydiff.c path = vfs_path_to_str_flags (vpath, 0, VPF_STRIP_HOME | VPF_STRIP_PASSWORD); path 2747 src/diffviewer/ydiff.c buf = str_term_trim (path, filename_width); path 2754 src/diffviewer/ydiff.c g_free (path); path 458 src/editor/edit.c && *(vfs_path_get_by_index (edit->filename_vpath, 0)->path) != '\0') path 490 src/editor/edit.c || *(vfs_path_get_by_index (edit->filename_vpath, 0)->path) == '\0') path 524 src/editor/edit.c || *(vfs_path_get_by_index (edit->filename_vpath, 0)->path) == '\0') path 146 src/editor/editcmd.c start_filename = vpath_element->path; path 341 src/editor/editcmd.c tmp_store_filename = last_vpath_element->path; path 342 src/editor/editcmd.c last_vpath_element->path = path 415 src/editor/etags.c char *path = NULL; path 430 src/editor/etags.c path = g_strconcat (ptr, PATH_SEP_STR, (char *) NULL); path 436 src/editor/etags.c ptr = g_path_get_dirname (path); path 437 src/editor/etags.c g_free (path); path 438 src/editor/etags.c path = ptr; path 440 src/editor/etags.c tagfile = mc_build_filename (path, TAGS_NAME, (char *) NULL); path 444 src/editor/etags.c while (strcmp (path, PATH_SEP_STR) != 0); path 448 src/editor/etags.c def_hash = etags_set_definition_hash (tagfile, path, match_expr->str); path 451 src/editor/etags.c g_free (path); path 438 src/execute.c do_execute (mc_global.shell->path, cmd != NULL ? cmd : command, path 445 src/execute.c do_execute (mc_global.shell->path, cmd != NULL ? cmd : command, flags | EXECUTE_AS_SHELL); path 510 src/execute.c my_system (EXECUTE_INTERNAL, mc_global.shell->path, NULL); path 89 src/filemanager/cd.c char *path_tilde, *path; path 93 src/filemanager/cd.c path = str_shell_unescape (_path); path 94 src/filemanager/cd.c path_tilde = tilde_expand (path); path 95 src/filemanager/cd.c g_free (path); path 173 src/filemanager/cd.c handle_cdpath (const char *path) path 178 src/filemanager/cd.c if (!IS_PATH_SEP (*path)) path 200 src/filemanager/cd.c r_vpath = vfs_path_build_filename (p, path, (char *) NULL); path 223 src/filemanager/cd.c cd_to (const char *path) path 233 src/filemanager/cd.c p = g_strstrip (g_strdup (path)); path 247 src/filemanager/cd.c strlen (vfs_path_get_by_index (current_panel->cwd_vpath, 0)->path) > 1) path 304 src/filemanager/cd.c cd_error_message (const char *path) path 306 src/filemanager/cd.c message (D_ERROR, MSG_ERROR, _("Cannot change directory to\n%s\n%s"), path, path 18 src/filemanager/cd.h void cd_to (const char *path); path 19 src/filemanager/cd.h void cd_error_message (const char *path); path 1351 src/filemanager/cmd.c const char *path; path 1354 src/filemanager/cmd.c path = vfs_path_as_str (vpath); path 1357 src/filemanager/cmd.c message (D_NORMAL, _("Setup"), _("Setup saved to %s"), path); path 1359 src/filemanager/cmd.c message (D_ERROR, _("Setup"), _("Unable to save setup to %s"), path); path 205 src/filemanager/dir.c const char *path; path 207 src/filemanager/dir.c path = vfs_path_get_by_index (vpath, 0)->path; path 208 src/filemanager/dir.c if (path != NULL && *path != '\0') path 596 src/filemanager/dir.c handle_path (const char *path, struct stat *buf1, gboolean *link_to_dir, gboolean *stale_link) path 600 src/filemanager/dir.c if (DIR_IS_DOT (path) || DIR_IS_DOTDOT (path)) path 603 src/filemanager/dir.c vpath = vfs_path_from_str (path); path 611 src/filemanager/dir.c tree_store_mark_checked (path); path 759 src/filemanager/dir.c tmp_path = vfs_path_get_by_index (vpath, 0)->path; path 89 src/filemanager/dir.h gboolean handle_path (const char *path, struct stat *buf1, gboolean * link_to_dir, path 3186 src/filemanager/file.c char *path; path 3196 src/filemanager/file.c path = mc_build_filename (s, next->d_name, (char *) NULL); path 3197 src/filemanager/file.c tmp_vpath = vfs_path_from_str (path); path 3212 src/filemanager/file.c copy_dir_dir (tctx, ctx, path, mdpath, FALSE, FALSE, do_delete, parent_dirs); path 3219 src/filemanager/file.c dest_file = mc_build_filename (d, x_basename (path), (char *) NULL); path 3220 src/filemanager/file.c return_status = copy_file_file (tctx, ctx, path, dest_file); path 3224 src/filemanager/file.c g_free (path); path 42 src/filemanager/file.h gboolean file_is_symlink_to_dir (const vfs_path_t * path, struct stat *st, gboolean * stale_link); path 435 src/filemanager/filemanager.c char *path; path 441 src/filemanager/filemanager.c title_path_prepare (&path, &login); path 443 src/filemanager/filemanager.c p = g_strdup_printf ("%s [%s]:%s", _("Panels:"), login, path); path 444 src/filemanager/filemanager.c g_free (path); path 446 src/filemanager/filemanager.c path = g_strdup (str_trunc (p, len - 4)); path 449 src/filemanager/filemanager.c return path; path 110 src/filemanager/filenot.c my_rmdir (const char *path) path 115 src/filemanager/filenot.c vpath = vfs_path_from_str_flags (path, VPF_NO_CANON); path 22 src/filemanager/filenot.h int my_rmdir (const char *path); path 317 src/filemanager/hotlist.c add_name_to_list (const char *path) path 319 src/filemanager/hotlist.c listbox_add_item (l_hotlist, LISTBOX_APPEND_AT_END, 0, path, NULL, FALSE); path 1535 src/filemanager/layout.c title_path_prepare (char **path, char **login) path 1541 src/filemanager/layout.c *path = path 1566 src/filemanager/layout.c char *path; path 1569 src/filemanager/layout.c title_path_prepare (&path, &login); path 1571 src/filemanager/layout.c p = g_strdup_printf ("mc [%s]:%s", login, path); path 1573 src/filemanager/layout.c g_free (path); path 1593 src/filemanager/layout.c char *path, *path_uri; path 1596 src/filemanager/layout.c path = vfs_path_to_str_flags (current_panel->cwd_vpath, 0, VPF_NONE); path 1597 src/filemanager/layout.c path_uri = g_uri_escape_string (path, "/", FALSE); path 1603 src/filemanager/layout.c g_free (path); path 95 src/filemanager/layout.h void title_path_prepare (char **path, char **login); path 1494 src/filemanager/mountlist.c my_statfs (struct my_statfs *myfs_stats, const char *path) path 1509 src/filemanager/mountlist.c if (i > len && (strncmp (path, me->me_mountdir, i) == 0) && path 1510 src/filemanager/mountlist.c (entry == NULL || IS_PATH_SEP (path[i]) || path[i] == '\0')) path 39 src/filemanager/mountlist.h void my_statfs (struct my_statfs *myfs_stats, const char *path); path 1269 src/filemanager/panel.c archive_name = strrchr (prev_path_element->path, PATH_SEP); path 1274 src/filemanager/panel.c last_vpath = vfs_path_from_str_flags (prev_path_element->path, VPF_NO_CANON); path 3474 src/filemanager/panel.c if (strcmp (element->path, "-") == 0) path 5158 src/filemanager/panel.c str_vfs_convert_from (converter, path_element->path, tmp_conv); path 5160 src/filemanager/panel.c g_free (path_element->path); path 5161 src/filemanager/panel.c path_element->path = g_strndup (tmp_conv->str, tmp_conv->len); path 424 src/subshell/common.c execl (mc_global.shell->path, mc_global.shell->path, "-rcfile", init_file, (char *) NULL); path 430 src/subshell/common.c execl (mc_global.shell->path, mc_global.shell->path, "-Z", "-g", (char *) NULL); path 434 src/subshell/common.c execl (mc_global.shell->path, mc_global.shell->path, path 441 src/subshell/common.c execl (mc_global.shell->path, mc_global.shell->path, (char *) NULL); path 629 src/usermenu.c menu_file_own (char *path) path 633 src/usermenu.c if (stat (path, &st) == 0 && (st.st_uid == 0 || (st.st_uid == geteuid ()) != 0) path 640 src/usermenu.c "Using it may compromise your security"), path); path 93 src/vfs/extfs/extfs.c char *path; path 549 src/vfs/extfs/extfs.c cmd = g_strconcat (info->path, info->prefix, " list ", path 702 src/vfs/extfs/extfs.c extfs_which (struct vfs_class *me, const char *path) path 709 src/vfs/extfs/extfs.c path_len = strlen (path); path 717 src/vfs/extfs/extfs.c if ((strncmp (path, info->prefix, path_len) == 0) path 816 src/vfs/extfs/extfs.c return path_element->path; path 908 src/vfs/extfs/extfs.c const char *path; path 911 src/vfs/extfs/extfs.c path = vfs_path_get_last_path_str (vpath); path 912 src/vfs/extfs/extfs.c ret_str = g_strdup (path); path 960 src/vfs/extfs/extfs.c cmd = g_strconcat (info->path, info->prefix, str_extfs_cmd, quoted_archive_name, " ", path 967 src/vfs/extfs/extfs.c cmd = g_strconcat (info->path, info->prefix, str_extfs_cmd, quoted_archive_name, " ", path 1030 src/vfs/extfs/extfs.c g_strconcat (info->path, info->prefix, " run ", quoted_archive_name, " ", q, (char *) NULL); path 1627 src/vfs/extfs/extfs.c info.path = g_strconcat (dirname, PATH_SEP_STR, (char *) NULL); path 1642 src/vfs/extfs/extfs.c found = strcmp (info.path, p->path) != 0 path 1648 src/vfs/extfs/extfs.c g_free (info.path); path 1703 src/vfs/extfs/extfs.c g_free (info->path); path 1826 src/vfs/ftpfs/ftpfs.c char *path; path 1829 src/vfs/ftpfs/ftpfs.c path = g_strconcat (remote_path, PATH_SEP_STR ".", (char *) NULL); path 1830 src/vfs/ftpfs/ftpfs.c sock = ftpfs_open_data_connection (me, super, "LIST -la", path, TYPE_ASCII, 0); path 1831 src/vfs/ftpfs/ftpfs.c g_free (path); path 2232 src/vfs/ftpfs/ftpfs.c ftpfs_is_same_dir (struct vfs_class *me, struct vfs_s_super *super, const char *path) path 2237 src/vfs/ftpfs/ftpfs.c && strcmp (path, FTP_SUPER (super)->current_dir) == 0); path 68 src/vfs/local/local.c const char *path; path 70 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 71 src/vfs/local/local.c fd = open (path, NO_LINEAR (flags), mode); path 88 src/vfs/local/local.c const char *path; path 90 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 99 src/vfs/local/local.c dir = opendir (path); path 147 src/vfs/local/local.c const char *path; path 149 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 150 src/vfs/local/local.c return stat (path, buf); path 158 src/vfs/local/local.c const char *path; path 160 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 162 src/vfs/local/local.c return lstat (path, buf); path 164 src/vfs/local/local.c return statlstat (path, buf); path 173 src/vfs/local/local.c const char *path; path 175 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 176 src/vfs/local/local.c return chmod (path, mode); path 184 src/vfs/local/local.c const char *path; path 186 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 187 src/vfs/local/local.c return chown (path, owner, group); path 197 src/vfs/local/local.c const char *path; path 199 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 200 src/vfs/local/local.c return fgetflags (path, flags); path 208 src/vfs/local/local.c const char *path; path 210 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 211 src/vfs/local/local.c return fsetflags (path, flags); path 229 src/vfs/local/local.c const char *path; path 231 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 232 src/vfs/local/local.c return readlink (path, buf, size); path 240 src/vfs/local/local.c const char *path; path 242 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 243 src/vfs/local/local.c return unlink (path); path 304 src/vfs/local/local.c const char *path; path 306 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 307 src/vfs/local/local.c return chdir (path); path 315 src/vfs/local/local.c const char *path; path 317 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 318 src/vfs/local/local.c return mknod (path, mode, dev); path 338 src/vfs/local/local.c const char *path; path 340 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 341 src/vfs/local/local.c return mkdir (path, mode); path 349 src/vfs/local/local.c const char *path; path 351 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 352 src/vfs/local/local.c return rmdir (path); path 378 src/vfs/local/local.c local_which (struct vfs_class *me, const char *path) path 381 src/vfs/local/local.c (void) path; path 196 src/vfs/sfs/sfs.c ptr = path_element->path; path 545 src/vfs/sfs/sfs.c sfs_which (struct vfs_class *me, const char *path) path 554 src/vfs/sfs/sfs.c if (strcmp (path, sfs_info[i].prefix) == 0) path 557 src/vfs/sfs/sfs.c else if (strncmp (path, sfs_info[i].prefix, strlen (sfs_info[i].prefix)) == 0) path 77 src/vfs/sftpfs/dir.c fixfname = sftpfs_fix_filename (path_element->path); path 177 src/vfs/sftpfs/dir.c fixfname = sftpfs_fix_filename (path_element->path); path 214 src/vfs/sftpfs/dir.c fixfname = sftpfs_fix_filename (path_element->path); path 128 src/vfs/sftpfs/internal.c fixfname = sftpfs_fix_filename ((*path_element)->path); path 354 src/vfs/sftpfs/internal.c fixfname = sftpfs_fix_filename (path_element->path); path 397 src/vfs/sftpfs/internal.c ctmp_path = sftpfs_fix_filename (path_element2->path); path 452 src/vfs/sftpfs/internal.c fixfname = sftpfs_fix_filename (path_element->path); path 505 src/vfs/sftpfs/internal.c fixfname = sftpfs_fix_filename (path_element->path); path 552 src/vfs/sftpfs/internal.c fixfname = sftpfs_fix_filename (path_element->path); path 593 src/vfs/sftpfs/internal.c ctmp_path = sftpfs_fix_filename (path_element2->path); path 421 src/vfs/shell/shell.c shell_pipeopen (struct vfs_s_super *super, const char *path, const char *argv[]) path 452 src/vfs/shell/shell.c my_execvp (path, (char **) argv); path 1709 src/vfs/shell/shell.c PATH_SEP_STR, super->path_element->path, (char *) NULL); path 609 src/vfs/undelfs/undelfs.c undelfs_getindex (char *path) path 611 src/vfs/undelfs/undelfs.c ext2_ino_t inode = atol (path); path 113 tests/lib/vfs/path_len.c char *path; path 117 tests/lib/vfs/path_len.c path = vpath != NULL ? vfs_path_get_by_index (vpath, 0)->path : NULL; path 121 tests/lib/vfs/path_len.c actual_length_element_encoding = path != NULL ? strlen (path) : 0; path 54 tests/lib/vfs/vfs_get_encoding.c const char *path; path 130 tests/lib/vfs/vfs_get_encoding.c actual_encoding = vfs_get_encoding (data->path, -1); path 188 tests/lib/vfs/vfs_path_string_convert.c mctest_assert_str_eq (path_element->path, data->expected_element_path); path 301 tests/lib/vfs/vfs_path_string_convert.c mctest_assert_str_eq (element->path, ""); path 41 tests/lib/vfs/vfs_prefix_to_class.c test_which (struct vfs_class *me, const char *path) path 45 tests/lib/vfs/vfs_prefix_to_class.c if ((strcmp (path, "test_1:") == 0) || path 46 tests/lib/vfs/vfs_prefix_to_class.c (strcmp (path, "test_2:") == 0) || path 47 tests/lib/vfs/vfs_prefix_to_class.c (strcmp (path, "test_3:") == 0) || (strcmp (path, "test_4:") == 0)) path 67 tests/lib/vfs/vfs_s_get_path.c const char *path; path 73 tests/lib/vfs/vfs_s_get_path.c path = vfs_path_get_last_path_str (vpath); path 74 tests/lib/vfs/vfs_s_get_path.c return (strcmp (ARCH_NAME, path) != 0 ? 0 : 1); path 171 tests/lib/vfs/vfs_split.c char *path; path 173 tests/lib/vfs/vfs_split.c path = g_strdup (data->input_string); path 176 tests/lib/vfs/vfs_split.c actual_result = _vfs_split_with_semi_skip_count (path, &local, &op, 0); path 180 tests/lib/vfs/vfs_split.c mctest_assert_str_eq (path, data->expected_path); path 183 tests/lib/vfs/vfs_split.c g_free (path);