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 & VFSF_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 & VFSF_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           599 lib/vfs/path.c         (element->class->flags & VFSF_LOCAL) != 0) \
element           646 lib/vfs/path.c         const vfs_path_element_t *element;
element           649 lib/vfs/path.c         element = vfs_path_get_by_index (vpath, element_index);
element           650 lib/vfs/path.c         if (element->vfs_prefix != NULL)
element           656 lib/vfs/path.c             g_string_append (buffer, element->vfs_prefix);
element           659 lib/vfs/path.c             url_str = vfs_path_build_url_params_str (element, !(flags & VPF_STRIP_PASSWORD));
element           671 lib/vfs/path.c         if ((flags & VPF_RECODE) == 0 && vfs_path_element_need_cleanup_converter (element))
element           679 lib/vfs/path.c                 g_string_append (buffer, element->encoding);
element           681 lib/vfs/path.c             str_vfs_convert_from (element->dir.converter, element->path, recode_buffer);
element           688 lib/vfs/path.c             vfs_append_from_path (element->path, is_relative);
element           849 lib/vfs/path.c vfs_path_element_clone (const vfs_path_element_t * element)
element           853 lib/vfs/path.c     new_element->user = g_strdup (element->user);
element           854 lib/vfs/path.c     new_element->password = g_strdup (element->password);
element           855 lib/vfs/path.c     new_element->host = g_strdup (element->host);
element           856 lib/vfs/path.c     new_element->ipv6 = element->ipv6;
element           857 lib/vfs/path.c     new_element->port = element->port;
element           858 lib/vfs/path.c     new_element->path = g_strdup (element->path);
element           859 lib/vfs/path.c     new_element->class = element->class;
element           860 lib/vfs/path.c     new_element->vfs_prefix = g_strdup (element->vfs_prefix);
element           862 lib/vfs/path.c     new_element->encoding = g_strdup (element->encoding);
element           863 lib/vfs/path.c     if (vfs_path_element_need_cleanup_converter (element) && new_element->encoding != NULL)
element           866 lib/vfs/path.c         new_element->dir.converter = element->dir.converter;
element           868 lib/vfs/path.c     new_element->dir.info = element->dir.info;
element           882 lib/vfs/path.c vfs_path_element_free (vfs_path_element_t * element)
element           884 lib/vfs/path.c     if (element == NULL)
element           887 lib/vfs/path.c     g_free (element->user);
element           888 lib/vfs/path.c     g_free (element->password);
element           889 lib/vfs/path.c     g_free (element->host);
element           890 lib/vfs/path.c     g_free (element->path);
element           891 lib/vfs/path.c     g_free (element->vfs_prefix);
element           894 lib/vfs/path.c     g_free (element->encoding);
element           896 lib/vfs/path.c     if (vfs_path_element_need_cleanup_converter (element))
element           897 lib/vfs/path.c         str_close_conv (element->dir.converter);
element           900 lib/vfs/path.c     g_free (element);
element           979 lib/vfs/path.c     vfs_path_element_t *element;
element           987 lib/vfs/path.c     element = (vfs_path_element_t *) vfs_path_get_by_index (vpath, element_index);
element           989 lib/vfs/path.c     vfs_path_element_free (element);
element          1035 lib/vfs/path.c vfs_path_element_need_cleanup_converter (const vfs_path_element_t * element)
element          1037 lib/vfs/path.c     return (element->dir.converter != str_cnv_from_term && element->dir.converter != INVALID_CONV);
element          1105 lib/vfs/path.c         const vfs_path_element_t *element;
element          1108 lib/vfs/path.c         element = vfs_path_get_by_index (vpath, element_index);
element          1111 lib/vfs/path.c         mc_config_set_string_raw (cpath, groupname, "path", element->path);
element          1112 lib/vfs/path.c         mc_config_set_string_raw (cpath, groupname, "class-name", element->class->name);
element          1114 lib/vfs/path.c         mc_config_set_string_raw (cpath, groupname, "encoding", element->encoding);
element          1116 lib/vfs/path.c         mc_config_set_string_raw (cpath, groupname, "vfs_prefix", element->vfs_prefix);
element          1118 lib/vfs/path.c         mc_config_set_string_raw (cpath, groupname, "user", element->user);
element          1119 lib/vfs/path.c         mc_config_set_string_raw (cpath, groupname, "password", element->password);
element          1120 lib/vfs/path.c         mc_config_set_string_raw (cpath, groupname, "host", element->host);
element          1121 lib/vfs/path.c         if (element->port != 0)
element          1122 lib/vfs/path.c             mc_config_set_int (cpath, groupname, "port", element->port);
element          1158 lib/vfs/path.c         vfs_path_element_t *element;
element          1178 lib/vfs/path.c         element = g_new0 (vfs_path_element_t, 1);
element          1179 lib/vfs/path.c         element->class = eclass;
element          1180 lib/vfs/path.c         element->path = mc_config_get_string_raw (cpath, groupname, "path", NULL);
element          1183 lib/vfs/path.c         element->encoding = mc_config_get_string_raw (cpath, groupname, "encoding", NULL);
element          1184 lib/vfs/path.c         element->dir.converter =
element          1185 lib/vfs/path.c             (element->encoding != NULL) ? str_crt_conv_from (element->encoding) : INVALID_CONV;
element          1188 lib/vfs/path.c         element->vfs_prefix = mc_config_get_string_raw (cpath, groupname, "vfs_prefix", NULL);
element          1190 lib/vfs/path.c         element->user = mc_config_get_string_raw (cpath, groupname, "user", NULL);
element          1191 lib/vfs/path.c         element->password = mc_config_get_string_raw (cpath, groupname, "password", NULL);
element          1192 lib/vfs/path.c         element->host = mc_config_get_string_raw (cpath, groupname, "host", NULL);
element          1193 lib/vfs/path.c         element->port = mc_config_get_int (cpath, groupname, "port", 0);
element          1195 lib/vfs/path.c         vpath->path = g_array_append_val (vpath->path, element);
element          1338 lib/vfs/path.c         const vfs_path_element_t *element;
element          1341 lib/vfs/path.c         element = vfs_path_get_by_index (vpath, element_index);
element          1343 lib/vfs/path.c         for (prev_token = element->path; (token = strchr (prev_token, PATH_SEP)) != NULL;
element          1404 lib/vfs/path.c         const vfs_path_element_t *element;
element          1408 lib/vfs/path.c         element = vfs_path_get_by_index (vpath, element_index);
element          1409 lib/vfs/path.c         path_tokens = g_strsplit (element->path, PATH_SEP_STR, -1);
element          1419 lib/vfs/path.c                         vfs_path_tokens_add_class_info (element, ret_tokens, element_tokens);
element          1434 lib/vfs/path.c         vfs_path_tokens_add_class_info (element, ret_tokens, element_tokens);
element          1480 lib/vfs/path.c vfs_path_build_url_params_str (const vfs_path_element_t * element, gboolean keep_password)
element          1484 lib/vfs/path.c     if (element == NULL)
element          1489 lib/vfs/path.c     if (element->user != NULL)
element          1490 lib/vfs/path.c         g_string_append (buffer, element->user);
element          1492 lib/vfs/path.c     if (element->password != NULL && keep_password)
element          1495 lib/vfs/path.c         g_string_append (buffer, element->password);
element          1498 lib/vfs/path.c     if (element->host != NULL)
element          1500 lib/vfs/path.c         if ((element->user != NULL) || (element->password != NULL))
element          1502 lib/vfs/path.c         if (element->ipv6)
element          1504 lib/vfs/path.c         g_string_append (buffer, element->host);
element          1505 lib/vfs/path.c         if (element->ipv6)
element          1509 lib/vfs/path.c     if ((element->port) != 0 && (element->host != NULL))
element          1512 lib/vfs/path.c         g_string_append_printf (buffer, "%d", element->port);
element          1528 lib/vfs/path.c vfs_path_element_build_pretty_path_str (const vfs_path_element_t * element)
element          1533 lib/vfs/path.c     pretty_path = g_string_new (element->class->prefix);
element          1536 lib/vfs/path.c     url_params = vfs_path_build_url_params_str (element, FALSE);
element          1540 lib/vfs/path.c     if (!IS_PATH_SEP (*element->path))
element          1543 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);