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 338 lib/util.c vpath = vfs_path_from_str (path); path 145 lib/util.h const char *path_trunc (const char *path, size_t trunc_len); path 216 lib/util.h void canonicalize_pathname_custom (char *path, canon_path_flags_t flags); path 218 lib/util.h char *mc_realpath (const char *path, char *resolved_path); path 291 lib/util.h canonicalize_pathname (char *path) path 293 lib/util.h canonicalize_pathname_custom (path, CANON_PATH_ALL); path 769 lib/utilunix.c canonicalize_pathname_custom (char *path, canon_path_flags_t flags) path 772 lib/utilunix.c char *lpath = path; /* path without leading UNC part */ path 776 lib/utilunix.c if ((flags & CANON_PATH_GUARDUNC) != 0 && IS_PATH_SEP (path[0]) && IS_PATH_SEP (path[1])) path 778 lib/utilunix.c for (p = path + 2; p[0] != '\0' && !IS_PATH_SEP (p[0]); p++) path 780 lib/utilunix.c if (IS_PATH_SEP (p[0]) && p > path + 2) path 992 lib/utilunix.c mc_realpath (const char *path, char *resolved_path) path 995 lib/utilunix.c const char *p = path; path 1014 lib/utilunix.c path = p; path 1020 lib/utilunix.c return realpath (path, resolved_path); path 1034 lib/utilunix.c if (strlen (path) >= PATH_MAX - 2) path 1040 lib/utilunix.c strcpy (copy_path, path); path 1041 lib/utilunix.c path = copy_path; path 1044 lib/utilunix.c if (!IS_PATH_SEP (*path)) path 1063 lib/utilunix.c path++; path 1066 lib/utilunix.c while (*path != '\0') path 1069 lib/utilunix.c if (IS_PATH_SEP (*path)) path 1071 lib/utilunix.c path++; path 1074 lib/utilunix.c if (*path == '.') path 1077 lib/utilunix.c if (path[1] == '\0' || IS_PATH_SEP (path[1])) path 1079 lib/utilunix.c path++; path 1082 lib/utilunix.c if (path[1] == '.') path 1084 lib/utilunix.c if (path[2] == '\0' || IS_PATH_SEP (path[2])) path 1086 lib/utilunix.c path += 2; path 1098 lib/utilunix.c while (*path != '\0' && !IS_PATH_SEP (*path)) path 1100 lib/utilunix.c if (path > max_path) path 1105 lib/utilunix.c *new_path++ = *path++; path 1140 lib/utilunix.c if (strlen (path) + n >= PATH_MAX - 2) path 1146 lib/utilunix.c strcat (link_path, path); path 1148 lib/utilunix.c path = copy_path; path 1226 lib/utilunix.c GString *path; path 1232 lib/utilunix.c path = g_string_new (""); path 1254 lib/utilunix.c g_string_append (path, start); path 1256 lib/utilunix.c g_string_append_c (path, PATH_SEP); path 1264 lib/utilunix.c g_string_prepend_c (path, PATH_SEP); path 1266 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 1096 lib/vfs/direntry.c const char *path, int follow, int flags) path 1100 lib/vfs/direntry.c if (((me->flags & VFSF_REMOTE) == 0) && (*path == '\0')) path 1103 lib/vfs/direntry.c ent = VFS_SUBCLASS (me)->find_entry (me, super->root, path, follow, flags); path 1185 lib/vfs/direntry.c if (path_element->path != NULL) path 1186 lib/vfs/direntry.c retval = path_element->path; path 1255 lib/vfs/direntry.c char *path; path 1257 lib/vfs/direntry.c path = g_strdup (ino->ent->name); path 1267 lib/vfs/direntry.c newpath = g_strconcat (ino->ent->name, PATH_SEP_STR, path, (char *) NULL); path 1268 lib/vfs/direntry.c g_free (path); path 1269 lib/vfs/direntry.c path = newpath; path 1271 lib/vfs/direntry.c return path; path 665 lib/vfs/interface.c if (*path_element->path != '\0') path 669 lib/vfs/interface.c p = strchr (path_element->path, 0) - 1; path 670 lib/vfs/interface.c if (IS_PATH_SEP (*p) && p > path_element->path) path 681 lib/vfs/interface.c g_free (super->path_element->path); path 682 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 154 lib/vfs/path.c if (g_str_has_prefix (path, VFS_ENCODING_PREFIX)) path 160 lib/vfs/path.c local = mc_build_filename (PATH_SEP_STR, path, (char *) NULL); path 167 lib/vfs/path.c local = mc_build_filename (curr_dir, path, (char *) NULL); path 176 lib/vfs/path.c result = g_strdup (path); path 195 lib/vfs/path.c vfs_get_encoding (const char *path, ssize_t len) path 200 lib/vfs/path.c semi = g_strrstr_len (path, len, VFS_ENCODING_PREFIX); path 204 lib/vfs/path.c if (semi == path || IS_PATH_SEP (semi[-1])) path 215 lib/vfs/path.c return vfs_get_encoding (path, semi - path); path 241 lib/vfs/path.c vfs_path_url_split (vfs_path_element_t * path_element, const char *path) path 248 lib/vfs/path.c pcopy = g_strdup (path); path 376 lib/vfs/path.c vfs_path_from_str_deprecated_parser (char *path) path 385 lib/vfs/path.c while ((class = _vfs_split_with_semi_skip_count (path, &local, &op, 0)) != NULL) path 392 lib/vfs/path.c element->path = vfs_translate_path_n (local); path 411 lib/vfs/path.c g_array_prepend_val (vpath->path, element); path 413 lib/vfs/path.c if (path[0] != '\0') path 417 lib/vfs/path.c element->path = vfs_translate_path_n (path); path 420 lib/vfs/path.c element->encoding = vfs_get_encoding (path, -1); path 424 lib/vfs/path.c g_array_prepend_val (vpath->path, element); path 440 lib/vfs/path.c vfs_path_from_str_uri_parser (char *path) path 446 lib/vfs/path.c vpath = vfs_path_new (path != NULL && !IS_PATH_SEP (*path)); path 448 lib/vfs/path.c while ((url_delimiter = g_strrstr (path, VFS_PATH_URL_DELIMITER)) != NULL) path 453 lib/vfs/path.c while (real_vfs_prefix_start > path && !IS_PATH_SEP (*real_vfs_prefix_start)) path 475 lib/vfs/path.c element->path = g_strdup (""); path 479 lib/vfs/path.c element->path = vfs_translate_path_n (slash_pointer + 1); path 489 lib/vfs/path.c element->path = vfs_translate_path_n (url_delimiter); path 498 lib/vfs/path.c g_array_prepend_val (vpath->path, element); path 500 lib/vfs/path.c if ((real_vfs_prefix_start > path && IS_PATH_SEP (*real_vfs_prefix_start)) || path 501 lib/vfs/path.c (real_vfs_prefix_start == path && !IS_PATH_SEP (*real_vfs_prefix_start))) path 507 lib/vfs/path.c if (path[0] != '\0') path 511 lib/vfs/path.c element->path = vfs_translate_path_n (path); path 513 lib/vfs/path.c element->encoding = vfs_get_encoding (path, -1); path 517 lib/vfs/path.c g_array_prepend_val (vpath->path, element); path 690 lib/vfs/path.c str_vfs_convert_from (element->dir.converter, element->path, recode_buffer); path 696 lib/vfs/path.c vfs_append_from_path (element->path, is_relative); path 740 lib/vfs/path.c char *path; path 746 lib/vfs/path.c path = vfs_canon (path_str); path 748 lib/vfs/path.c path = g_strdup (path_str); path 750 lib/vfs/path.c if (path == NULL) path 753 lib/vfs/path.c if ((flags & VPF_USE_DEPRECATED_PARSER) != 0 && vfs_path_is_str_path_deprecated (path)) path 754 lib/vfs/path.c vpath = vfs_path_from_str_deprecated_parser (path); path 756 lib/vfs/path.c vpath = vfs_path_from_str_uri_parser (path); path 759 lib/vfs/path.c g_free (path); path 792 lib/vfs/path.c vpath->path = g_array_new (FALSE, TRUE, sizeof (vfs_path_element_t *)); path 810 lib/vfs/path.c return (vpath != NULL && vpath->path != NULL) ? vpath->path->len : 0; path 823 lib/vfs/path.c g_array_append_val (vpath->path, path_element); path 863 lib/vfs/path.c return g_array_index (vpath->path, vfs_path_element_t *, element_index); path 885 lib/vfs/path.c new_element->path = g_strdup (element->path); path 917 lib/vfs/path.c g_free (element->path); path 956 lib/vfs/path.c g_array_append_val (new_vpath->path, path_element); path 991 lib/vfs/path.c g_array_free (vpath->path, TRUE); path 1027 lib/vfs/path.c vpath->path = g_array_remove_index (vpath->path, element_index); path 1150 lib/vfs/path.c mc_config_set_string_raw (cpath, groupname, "path", element->path); path 1219 lib/vfs/path.c element->path = mc_config_get_string_raw (cpath, groupname, "path", NULL); path 1234 lib/vfs/path.c vpath->path = g_array_append_val (vpath->path, element); path 1344 lib/vfs/path.c g_array_append_val (ret_vpath->path, path_element); path 1382 lib/vfs/path.c for (prev_token = element->path; (token = strchr (prev_token, PATH_SEP)) != NULL; path 1448 lib/vfs/path.c path_tokens = g_strsplit (element->path, PATH_SEP_STR, -1); path 1585 lib/vfs/path.c if (!IS_PATH_SEP (*element->path)) path 1588 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 117 lib/vfs/path.h return (element != NULL) ? element->path : NULL; path 237 lib/vfs/utilvfs.c vfs_url_split (const char *path, int default_port, vfs_url_flags_t flags) path 249 lib/vfs/utilvfs.c pcopy_len = strlen (path); path 250 lib/vfs/utilvfs.c pcopy = g_strndup (path, pcopy_len); path 261 lib/vfs/utilvfs.c path_element->path = g_strdup (PATH_SEP_STR); path 264 lib/vfs/utilvfs.c path_element->path = g_strndup (dir, pcopy_len - (size_t) (dir - pcopy)); 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 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 367 lib/vfs/vfs.c vfs_translate_path (const char *path) path 372 lib/vfs/vfs.c state = _vfs_translate_path (path, -1, str_cnv_from_term, vfs_str_buffer); path 379 lib/vfs/vfs.c vfs_translate_path_n (const char *path) path 383 lib/vfs/vfs.c result = vfs_translate_path (path); path 155 lib/vfs/vfs.h int (*which) (struct vfs_class * me, const char *path); path 269 lib/vfs/vfs.h const char *vfs_translate_path (const char *path); path 271 lib/vfs/vfs.h char *vfs_translate_path_n (const char *path); path 273 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 564 lib/widget/input_complete.c static char *path = NULL; path 602 lib/widget/input_complete.c if (path == NULL) path 604 lib/widget/input_complete.c path = g_strdup (getenv ("PATH")); path 605 lib/widget/input_complete.c if (path != NULL) path 607 lib/widget/input_complete.c p = path; path 653 lib/widget/input_complete.c if (path == NULL) path 655 lib/widget/input_complete.c cur_path = path; path 683 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 2749 src/diffviewer/ydiff.c char *path; path 2761 src/diffviewer/ydiff.c path = vfs_path_to_str_flags (vpath, 0, VPF_STRIP_HOME | VPF_STRIP_PASSWORD); path 2763 src/diffviewer/ydiff.c buf = str_term_trim (path, filename_width); path 2770 src/diffviewer/ydiff.c g_free (path); path 459 src/editor/edit.c && *(vfs_path_get_by_index (edit->filename_vpath, 0)->path) != '\0') path 491 src/editor/edit.c || *(vfs_path_get_by_index (edit->filename_vpath, 0)->path) == '\0') path 525 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 420 src/editor/etags.c char *path = NULL; path 435 src/editor/etags.c path = g_strconcat (ptr, PATH_SEP_STR, (char *) NULL); path 441 src/editor/etags.c ptr = g_path_get_dirname (path); path 442 src/editor/etags.c g_free (path); path 443 src/editor/etags.c path = ptr; path 445 src/editor/etags.c tagfile = mc_build_filename (path, TAGS_NAME, (char *) NULL); path 449 src/editor/etags.c while (strcmp (path, PATH_SEP_STR) != 0); path 453 src/editor/etags.c def_hash = etags_set_definition_hash (tagfile, path, match_expr->str); path 456 src/editor/etags.c g_free (path); path 438 src/execute.c do_execute (mc_global.shell->path, cmd ? cmd : command, flags | EXECUTE_AS_SHELL); path 444 src/execute.c do_execute (mc_global.shell->path, cmd ? cmd : command, flags | EXECUTE_AS_SHELL); path 509 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 = strutils_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 1354 src/filemanager/cmd.c const char *path; path 1357 src/filemanager/cmd.c path = vfs_path_as_str (vpath); path 1360 src/filemanager/cmd.c message (D_NORMAL, _("Setup"), _("Setup saved to %s"), path); path 1362 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 3167 src/filemanager/file.c char *path; path 3177 src/filemanager/file.c path = mc_build_filename (s, next->d_name, (char *) NULL); path 3178 src/filemanager/file.c tmp_vpath = vfs_path_from_str (path); path 3193 src/filemanager/file.c copy_dir_dir (tctx, ctx, path, mdpath, FALSE, FALSE, do_delete, parent_dirs); path 3200 src/filemanager/file.c dest_file = mc_build_filename (d, x_basename (path), (char *) NULL); path 3201 src/filemanager/file.c return_status = copy_file_file (tctx, ctx, path, dest_file); path 3205 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 37 src/filemanager/filegui.h gboolean file_progress_show_deleting (file_op_context_t * ctx, const char *path, size_t * count); path 431 src/filemanager/filemanager.c char *path; path 437 src/filemanager/filemanager.c title_path_prepare (&path, &login); path 439 src/filemanager/filemanager.c p = g_strdup_printf ("%s [%s]:%s", _("Panels:"), login, path); path 440 src/filemanager/filemanager.c g_free (path); path 442 src/filemanager/filemanager.c path = g_strdup (str_trunc (p, len - 4)); path 445 src/filemanager/filemanager.c return path; path 69 src/filemanager/filenot.c if (IS_PATH_SEP (*vfs_path_get_by_index (vpath, 0)->path)) path 131 src/filemanager/filenot.c my_rmdir (const char *path) path 136 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 324 src/filemanager/hotlist.c add_name_to_list (const char *path) path 326 src/filemanager/hotlist.c listbox_add_item (l_hotlist, LISTBOX_APPEND_AT_END, 0, path, NULL, FALSE); path 1531 src/filemanager/layout.c title_path_prepare (char **path, char **login) path 1537 src/filemanager/layout.c *path = path 1562 src/filemanager/layout.c char *path; path 1565 src/filemanager/layout.c title_path_prepare (&path, &login); path 1567 src/filemanager/layout.c p = g_strdup_printf ("mc [%s]:%s", login, path); path 1569 src/filemanager/layout.c g_free (path); path 1589 src/filemanager/layout.c char *path, *path_uri; path 1592 src/filemanager/layout.c path = vfs_path_to_str_flags (current_panel->cwd_vpath, 0, VPF_NONE); path 1593 src/filemanager/layout.c path_uri = g_uri_escape_string (path, "/", FALSE); path 1599 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 1264 src/filemanager/panel.c archive_name = strrchr (prev_path_element->path, PATH_SEP); path 1269 src/filemanager/panel.c last_vpath = vfs_path_from_str_flags (prev_path_element->path, VPF_NO_CANON); path 3407 src/filemanager/panel.c if (strcmp (element->path, "-") == 0) path 5020 src/filemanager/panel.c str_vfs_convert_from (converter, path_element->path, tmp_conv); path 5022 src/filemanager/panel.c g_free (path_element->path); path 5023 src/filemanager/panel.c path_element->path = g_strndup (tmp_conv->str, tmp_conv->len); path 421 src/subshell/common.c execl (mc_global.shell->path, "bash", "-rcfile", init_file, (char *) NULL); path 427 src/subshell/common.c execl (mc_global.shell->path, "zsh", "-Z", "-g", (char *) NULL); path 434 src/subshell/common.c execl (mc_global.shell->path, mc_global.shell->path, (char *) NULL); path 615 src/usermenu.c menu_file_own (char *path) path 619 src/usermenu.c if (stat (path, &st) == 0 && (st.st_uid == 0 || (st.st_uid == geteuid ()) != 0) path 626 src/usermenu.c "Using it may compromise your security"), path); path 93 src/vfs/extfs/extfs.c char *path; path 546 src/vfs/extfs/extfs.c cmd = g_strconcat (info->path, info->prefix, " list ", path 699 src/vfs/extfs/extfs.c extfs_which (struct vfs_class *me, const char *path) path 706 src/vfs/extfs/extfs.c path_len = strlen (path); path 714 src/vfs/extfs/extfs.c if ((strncmp (path, info->prefix, path_len) == 0) path 808 src/vfs/extfs/extfs.c return path_element->path; path 900 src/vfs/extfs/extfs.c const char *path; path 903 src/vfs/extfs/extfs.c path = vfs_path_get_last_path_str (vpath); path 904 src/vfs/extfs/extfs.c ret_str = g_strdup (path); path 952 src/vfs/extfs/extfs.c cmd = g_strconcat (info->path, info->prefix, str_extfs_cmd, quoted_archive_name, " ", path 959 src/vfs/extfs/extfs.c cmd = g_strconcat (info->path, info->prefix, str_extfs_cmd, quoted_archive_name, " ", path 1022 src/vfs/extfs/extfs.c g_strconcat (info->path, info->prefix, " run ", quoted_archive_name, " ", q, (char *) NULL); path 1612 src/vfs/extfs/extfs.c info.path = g_strconcat (dirname, PATH_SEP_STR, (char *) NULL); path 1627 src/vfs/extfs/extfs.c found = strcmp (info.path, p->path) != 0 path 1633 src/vfs/extfs/extfs.c g_free (info.path); path 1688 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 67 src/vfs/local/local.c const char *path; path 69 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 70 src/vfs/local/local.c fd = open (path, NO_LINEAR (flags), mode); path 87 src/vfs/local/local.c const char *path; path 89 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 98 src/vfs/local/local.c dir = opendir (path); path 146 src/vfs/local/local.c const char *path; path 148 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 149 src/vfs/local/local.c return stat (path, buf); path 157 src/vfs/local/local.c const char *path; path 159 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 161 src/vfs/local/local.c return lstat (path, buf); path 163 src/vfs/local/local.c return statlstat (path, buf); path 172 src/vfs/local/local.c const char *path; path 174 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 175 src/vfs/local/local.c return chmod (path, mode); path 183 src/vfs/local/local.c const char *path; path 185 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 186 src/vfs/local/local.c return chown (path, owner, group); path 196 src/vfs/local/local.c const char *path; path 198 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 199 src/vfs/local/local.c return fgetflags (path, flags); path 207 src/vfs/local/local.c const char *path; path 209 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 210 src/vfs/local/local.c return fsetflags (path, flags); path 221 src/vfs/local/local.c const char *path; path 223 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 225 src/vfs/local/local.c ret = utimensat (AT_FDCWD, path, *times, AT_SYMLINK_NOFOLLOW); path 227 src/vfs/local/local.c ret = utime (path, times); path 237 src/vfs/local/local.c const char *path; path 239 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 240 src/vfs/local/local.c return readlink (path, buf, size); path 248 src/vfs/local/local.c const char *path; path 250 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 251 src/vfs/local/local.c return unlink (path); path 312 src/vfs/local/local.c const char *path; path 314 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 315 src/vfs/local/local.c return chdir (path); path 323 src/vfs/local/local.c const char *path; path 325 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 326 src/vfs/local/local.c return mknod (path, mode, dev); path 346 src/vfs/local/local.c const char *path; path 348 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 349 src/vfs/local/local.c return mkdir (path, mode); path 357 src/vfs/local/local.c const char *path; path 359 src/vfs/local/local.c path = vfs_path_get_last_path_str (vpath); path 360 src/vfs/local/local.c return rmdir (path); path 386 src/vfs/local/local.c local_which (struct vfs_class *me, const char *path) path 389 src/vfs/local/local.c (void) path; path 198 src/vfs/sfs/sfs.c ptr = path_element->path; path 551 src/vfs/sfs/sfs.c sfs_which (struct vfs_class *me, const char *path) path 560 src/vfs/sfs/sfs.c if (strcmp (path, sfs_info[i].prefix) == 0) path 563 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 127 src/vfs/sftpfs/internal.c fixfname = sftpfs_fix_filename ((*path_element)->path); path 355 src/vfs/sftpfs/internal.c fixfname = sftpfs_fix_filename (path_element->path); path 398 src/vfs/sftpfs/internal.c ctmp_path = sftpfs_fix_filename (path_element2->path); path 453 src/vfs/sftpfs/internal.c fixfname = sftpfs_fix_filename (path_element->path); path 506 src/vfs/sftpfs/internal.c fixfname = sftpfs_fix_filename (path_element->path); path 553 src/vfs/sftpfs/internal.c fixfname = sftpfs_fix_filename (path_element->path); path 594 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 execvp (path, (char **) argv); path 1741 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 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);