element          1307 lib/utilunix.c     const char *element = first_element;
element          1311 lib/utilunix.c     if (element == NULL)
element          1320 lib/utilunix.c         if (*element == '\0')
element          1321 lib/utilunix.c             element = va_arg (args, char *);
element          1328 lib/utilunix.c             tmp_element = g_strdup (element);
element          1330 lib/utilunix.c             element = va_arg (args, char *);
element          1337 lib/utilunix.c             if (!IS_PATH_SEP (tmp_element[len - 1]) && element != NULL)
element          1343 lib/utilunix.c     while (element != NULL);
element           374 lib/vfs/path.c     vfs_path_element_t *element;
element           383 lib/vfs/path.c         element = g_new0 (vfs_path_element_t, 1);
element           384 lib/vfs/path.c         element->class = class;
element           387 lib/vfs/path.c         element->path = vfs_translate_path_n (local);
element           390 lib/vfs/path.c         element->encoding = vfs_get_encoding (local, -1);
element           391 lib/vfs/path.c         element->dir.converter =
element           392 lib/vfs/path.c             (element->encoding != NULL) ? str_crt_conv_from (element->encoding) : INVALID_CONV;
element           400 lib/vfs/path.c             vfs_path_url_split (element, url_params);
element           404 lib/vfs/path.c             element->vfs_prefix = g_strdup (op);
element           406 lib/vfs/path.c         g_array_prepend_val (vpath->path, element);
element           410 lib/vfs/path.c         element = g_new0 (vfs_path_element_t, 1);
element           411 lib/vfs/path.c         element->class = g_ptr_array_index (vfs__classes_list, 0);
element           412 lib/vfs/path.c         element->path = vfs_translate_path_n (path);
element           415 lib/vfs/path.c         element->encoding = vfs_get_encoding (path, -1);
element           416 lib/vfs/path.c         element->dir.converter =
element           417 lib/vfs/path.c             (element->encoding != NULL) ? str_crt_conv_from (element->encoding) : INVALID_CONV;
element           419 lib/vfs/path.c         g_array_prepend_val (vpath->path, element);
element           438 lib/vfs/path.c     vfs_path_element_t *element;
element           458 lib/vfs/path.c         element = g_new0 (vfs_path_element_t, 1);
element           459 lib/vfs/path.c         element->class = vfs_prefix_to_class (vfs_prefix_start);
element           460 lib/vfs/path.c         element->vfs_prefix = g_strdup (vfs_prefix_start);
element           464 lib/vfs/path.c         if (element->class != NULL && (element->class->flags & VFS_REMOTE) != 0)
element           471 lib/vfs/path.c                 element->path = g_strdup ("");
element           475 lib/vfs/path.c                 element->path = vfs_translate_path_n (slash_pointer + 1);
element           477 lib/vfs/path.c                 element->encoding = vfs_get_encoding (slash_pointer, -1);
element           481 lib/vfs/path.c             vfs_path_url_split (element, url_delimiter);
element           485 lib/vfs/path.c             element->path = vfs_translate_path_n (url_delimiter);
element           487 lib/vfs/path.c             element->encoding = vfs_get_encoding (url_delimiter, -1);
element           491 lib/vfs/path.c         element->dir.converter =
element           492 lib/vfs/path.c             (element->encoding != NULL) ? str_crt_conv_from (element->encoding) : INVALID_CONV;
element           494 lib/vfs/path.c         g_array_prepend_val (vpath->path, element);
element           505 lib/vfs/path.c         element = g_new0 (vfs_path_element_t, 1);
element           506 lib/vfs/path.c         element->class = g_ptr_array_index (vfs__classes_list, 0);
element           507 lib/vfs/path.c         element->path = vfs_translate_path_n (path);
element           509 lib/vfs/path.c         element->encoding = vfs_get_encoding (path, -1);
element           510 lib/vfs/path.c         element->dir.converter =
element           511 lib/vfs/path.c             (element->encoding != NULL) ? str_crt_conv_from (element->encoding) : INVALID_CONV;
element           513 lib/vfs/path.c         g_array_prepend_val (vpath->path, element);
element           530 lib/vfs/path.c vfs_path_tokens_add_class_info (const vfs_path_element_t * element, GString * ret_tokens,
element           533 lib/vfs/path.c     if (((element->class->flags & VFS_LOCAL) == 0 || ret_tokens->len > 0)
element           541 lib/vfs/path.c         g_string_append (ret_tokens, element->vfs_prefix);
element           544 lib/vfs/path.c         url_str = vfs_path_build_url_params_str (element, TRUE);
element           555 lib/vfs/path.c     if (element->encoding != NULL)
element           560 lib/vfs/path.c         g_string_append (ret_tokens, element->encoding);
element           598 lib/vfs/path.c     if ((flags & VPF_STRIP_HOME) && element_index == 0 && (element->class->flags & VFS_LOCAL) != 0) \
element           645 lib/vfs/path.c         const vfs_path_element_t *element;
element           648 lib/vfs/path.c         element = vfs_path_get_by_index (vpath, element_index);
element           649 lib/vfs/path.c         if (element->vfs_prefix != NULL)
element           655 lib/vfs/path.c             g_string_append (buffer, element->vfs_prefix);
element           658 lib/vfs/path.c             url_str = vfs_path_build_url_params_str (element, !(flags & VPF_STRIP_PASSWORD));
element           670 lib/vfs/path.c         if ((flags & VPF_RECODE) == 0 && vfs_path_element_need_cleanup_converter (element))
element           678 lib/vfs/path.c                 g_string_append (buffer, element->encoding);
element           680 lib/vfs/path.c             str_vfs_convert_from (element->dir.converter, element->path, recode_buffer);
element           687 lib/vfs/path.c             vfs_append_from_path (element->path, is_relative);
element           848 lib/vfs/path.c vfs_path_element_clone (const vfs_path_element_t * element)
element           852 lib/vfs/path.c     new_element->user = g_strdup (element->user);
element           853 lib/vfs/path.c     new_element->password = g_strdup (element->password);
element           854 lib/vfs/path.c     new_element->host = g_strdup (element->host);
element           855 lib/vfs/path.c     new_element->ipv6 = element->ipv6;
element           856 lib/vfs/path.c     new_element->port = element->port;
element           857 lib/vfs/path.c     new_element->path = g_strdup (element->path);
element           858 lib/vfs/path.c     new_element->class = element->class;
element           859 lib/vfs/path.c     new_element->vfs_prefix = g_strdup (element->vfs_prefix);
element           861 lib/vfs/path.c     new_element->encoding = g_strdup (element->encoding);
element           862 lib/vfs/path.c     if (vfs_path_element_need_cleanup_converter (element) && new_element->encoding != NULL)
element           865 lib/vfs/path.c         new_element->dir.converter = element->dir.converter;
element           867 lib/vfs/path.c     new_element->dir.info = element->dir.info;
element           881 lib/vfs/path.c vfs_path_element_free (vfs_path_element_t * element)
element           883 lib/vfs/path.c     if (element == NULL)
element           886 lib/vfs/path.c     g_free (element->user);
element           887 lib/vfs/path.c     g_free (element->password);
element           888 lib/vfs/path.c     g_free (element->host);
element           889 lib/vfs/path.c     g_free (element->path);
element           890 lib/vfs/path.c     g_free (element->vfs_prefix);
element           893 lib/vfs/path.c     g_free (element->encoding);
element           895 lib/vfs/path.c     if (vfs_path_element_need_cleanup_converter (element))
element           896 lib/vfs/path.c         str_close_conv (element->dir.converter);
element           899 lib/vfs/path.c     g_free (element);
element           978 lib/vfs/path.c     vfs_path_element_t *element;
element           986 lib/vfs/path.c     element = (vfs_path_element_t *) vfs_path_get_by_index (vpath, element_index);
element           988 lib/vfs/path.c     vfs_path_element_free (element);
element          1034 lib/vfs/path.c vfs_path_element_need_cleanup_converter (const vfs_path_element_t * element)
element          1036 lib/vfs/path.c     return (element->dir.converter != str_cnv_from_term && element->dir.converter != INVALID_CONV);
element          1104 lib/vfs/path.c         const vfs_path_element_t *element;
element          1107 lib/vfs/path.c         element = vfs_path_get_by_index (vpath, element_index);
element          1110 lib/vfs/path.c         mc_config_set_string_raw (cpath, groupname, "path", element->path);
element          1111 lib/vfs/path.c         mc_config_set_string_raw (cpath, groupname, "class-name", element->class->name);
element          1113 lib/vfs/path.c         mc_config_set_string_raw (cpath, groupname, "encoding", element->encoding);
element          1115 lib/vfs/path.c         mc_config_set_string_raw (cpath, groupname, "vfs_prefix", element->vfs_prefix);
element          1117 lib/vfs/path.c         mc_config_set_string_raw (cpath, groupname, "user", element->user);
element          1118 lib/vfs/path.c         mc_config_set_string_raw (cpath, groupname, "password", element->password);
element          1119 lib/vfs/path.c         mc_config_set_string_raw (cpath, groupname, "host", element->host);
element          1120 lib/vfs/path.c         if (element->port != 0)
element          1121 lib/vfs/path.c             mc_config_set_int (cpath, groupname, "port", element->port);
element          1157 lib/vfs/path.c         vfs_path_element_t *element;
element          1177 lib/vfs/path.c         element = g_new0 (vfs_path_element_t, 1);
element          1178 lib/vfs/path.c         element->class = eclass;
element          1179 lib/vfs/path.c         element->path = mc_config_get_string_raw (cpath, groupname, "path", NULL);
element          1182 lib/vfs/path.c         element->encoding = mc_config_get_string_raw (cpath, groupname, "encoding", NULL);
element          1183 lib/vfs/path.c         element->dir.converter =
element          1184 lib/vfs/path.c             (element->encoding != NULL) ? str_crt_conv_from (element->encoding) : INVALID_CONV;
element          1187 lib/vfs/path.c         element->vfs_prefix = mc_config_get_string_raw (cpath, groupname, "vfs_prefix", NULL);
element          1189 lib/vfs/path.c         element->user = mc_config_get_string_raw (cpath, groupname, "user", NULL);
element          1190 lib/vfs/path.c         element->password = mc_config_get_string_raw (cpath, groupname, "password", NULL);
element          1191 lib/vfs/path.c         element->host = mc_config_get_string_raw (cpath, groupname, "host", NULL);
element          1192 lib/vfs/path.c         element->port = mc_config_get_int (cpath, groupname, "port", 0);
element          1194 lib/vfs/path.c         vpath->path = g_array_append_val (vpath->path, element);
element          1337 lib/vfs/path.c         const vfs_path_element_t *element;
element          1340 lib/vfs/path.c         element = vfs_path_get_by_index (vpath, element_index);
element          1342 lib/vfs/path.c         for (prev_token = element->path; (token = strchr (prev_token, PATH_SEP)) != NULL;
element          1403 lib/vfs/path.c         const vfs_path_element_t *element;
element          1407 lib/vfs/path.c         element = vfs_path_get_by_index (vpath, element_index);
element          1408 lib/vfs/path.c         path_tokens = g_strsplit (element->path, PATH_SEP_STR, -1);
element          1418 lib/vfs/path.c                         vfs_path_tokens_add_class_info (element, ret_tokens, element_tokens);
element          1433 lib/vfs/path.c         vfs_path_tokens_add_class_info (element, ret_tokens, element_tokens);
element          1479 lib/vfs/path.c vfs_path_build_url_params_str (const vfs_path_element_t * element, gboolean keep_password)
element          1483 lib/vfs/path.c     if (element == NULL)
element          1488 lib/vfs/path.c     if (element->user != NULL)
element          1489 lib/vfs/path.c         g_string_append (buffer, element->user);
element          1491 lib/vfs/path.c     if (element->password != NULL && keep_password)
element          1494 lib/vfs/path.c         g_string_append (buffer, element->password);
element          1497 lib/vfs/path.c     if (element->host != NULL)
element          1499 lib/vfs/path.c         if ((element->user != NULL) || (element->password != NULL))
element          1501 lib/vfs/path.c         if (element->ipv6)
element          1503 lib/vfs/path.c         g_string_append (buffer, element->host);
element          1504 lib/vfs/path.c         if (element->ipv6)
element          1508 lib/vfs/path.c     if ((element->port) != 0 && (element->host != NULL))
element          1511 lib/vfs/path.c         g_string_append_printf (buffer, "%d", element->port);
element          1527 lib/vfs/path.c vfs_path_element_build_pretty_path_str (const vfs_path_element_t * element)
element          1532 lib/vfs/path.c     pretty_path = g_string_new (element->class->prefix);
element          1535 lib/vfs/path.c     url_params = vfs_path_build_url_params_str (element, FALSE);
element          1539 lib/vfs/path.c     if (!IS_PATH_SEP (*element->path))
element          1542 lib/vfs/path.c     g_string_append (pretty_path, element->path);
element            79 lib/vfs/path.h vfs_path_element_t *vfs_path_element_clone (const vfs_path_element_t * element);
element            80 lib/vfs/path.h void vfs_path_element_free (vfs_path_element_t * element);
element            85 lib/vfs/path.h gboolean vfs_path_element_need_cleanup_converter (const vfs_path_element_t * element);
element            92 lib/vfs/path.h char *vfs_path_build_url_params_str (const vfs_path_element_t * element, gboolean keep_password);
element            93 lib/vfs/path.h char *vfs_path_element_build_pretty_path_str (const vfs_path_element_t * element);
element           103 lib/vfs/path.h vfs_path_element_valid (const vfs_path_element_t * element)
element           105 lib/vfs/path.h     return (element != NULL && element->class != NULL);
element           113 lib/vfs/path.h     const vfs_path_element_t *element;
element           116 lib/vfs/path.h     element = vfs_path_get_by_index (vpath, -1);
element           117 lib/vfs/path.h     return (element != NULL) ? element->path : NULL;
element           125 lib/vfs/path.h     const vfs_path_element_t *element;
element           128 lib/vfs/path.h     element = vfs_path_get_by_index (vpath, -1);
element           129 lib/vfs/path.h     return (element != NULL) ? element->class : NULL;
element          3254 src/filemanager/panel.c         const vfs_path_element_t *element;
element          3256 src/filemanager/panel.c         element = vfs_path_get_by_index (new_dir_vpath, 0);
element          3257 src/filemanager/panel.c         if (strcmp (element->path, "-") == 0)
element           142 tests/lib/vfs/path_recode.c     const vfs_path_element_t *element;
element           149 tests/lib/vfs/path_recode.c     element = vfs_path_get_by_index (vpath, -1);
element           154 tests/lib/vfs/path_recode.c     mctest_assert_str_eq (element->path, data->expected_element_path);
element           147 tests/lib/vfs/relative_cd.c         const vfs_path_element_t *element;
element           150 tests/lib/vfs/relative_cd.c         element = vfs_path_get_by_index (vpath, -1);
element           151 tests/lib/vfs/relative_cd.c         mctest_assert_str_eq (element->path, data->expected_element_path);
element           291 tests/lib/vfs/vfs_path_string_convert.c     const vfs_path_element_t *element;
element           298 tests/lib/vfs/vfs_path_string_convert.c     element = vfs_path_get_by_index (vpath, -1);
element           301 tests/lib/vfs/vfs_path_string_convert.c     mctest_assert_str_eq (element->path, "");
element           302 tests/lib/vfs/vfs_path_string_convert.c     mctest_assert_not_null (element->encoding);