element          1237 lib/utilunix.c     const char *element = first_element;
element          1241 lib/utilunix.c     if (element == NULL)
element          1250 lib/utilunix.c         if (*element == '\0')
element          1251 lib/utilunix.c             element = va_arg (args, char *);
element          1258 lib/utilunix.c             tmp_element = g_strdup (element);
element          1260 lib/utilunix.c             element = va_arg (args, char *);
element          1267 lib/utilunix.c             if (!IS_PATH_SEP (tmp_element[len - 1]) && element != NULL)
element          1273 lib/utilunix.c     while (element != NULL);
element           376 lib/vfs/path.c     vfs_path_element_t *element;
element           385 lib/vfs/path.c         element = g_new0 (vfs_path_element_t, 1);
element           386 lib/vfs/path.c         element->class = class;
element           389 lib/vfs/path.c         element->path = vfs_translate_path_n (local);
element           392 lib/vfs/path.c         element->encoding = vfs_get_encoding (local, -1);
element           393 lib/vfs/path.c         element->dir.converter =
element           394 lib/vfs/path.c             (element->encoding != NULL) ? str_crt_conv_from (element->encoding) : INVALID_CONV;
element           402 lib/vfs/path.c             vfs_path_url_split (element, url_params);
element           406 lib/vfs/path.c             element->vfs_prefix = g_strdup (op);
element           408 lib/vfs/path.c         g_array_prepend_val (vpath->path, element);
element           412 lib/vfs/path.c         element = g_new0 (vfs_path_element_t, 1);
element           413 lib/vfs/path.c         element->class = g_ptr_array_index (vfs__classes_list, 0);
element           414 lib/vfs/path.c         element->path = vfs_translate_path_n (path);
element           417 lib/vfs/path.c         element->encoding = vfs_get_encoding (path, -1);
element           418 lib/vfs/path.c         element->dir.converter =
element           419 lib/vfs/path.c             (element->encoding != NULL) ? str_crt_conv_from (element->encoding) : INVALID_CONV;
element           421 lib/vfs/path.c         g_array_prepend_val (vpath->path, element);
element           440 lib/vfs/path.c     vfs_path_element_t *element;
element           460 lib/vfs/path.c         element = g_new0 (vfs_path_element_t, 1);
element           461 lib/vfs/path.c         element->class = vfs_prefix_to_class (vfs_prefix_start);
element           462 lib/vfs/path.c         element->vfs_prefix = g_strdup (vfs_prefix_start);
element           466 lib/vfs/path.c         if (element->class != NULL && (element->class->flags & VFSF_REMOTE) != 0)
element           473 lib/vfs/path.c                 element->path = g_strdup ("");
element           477 lib/vfs/path.c                 element->path = vfs_translate_path_n (slash_pointer + 1);
element           479 lib/vfs/path.c                 element->encoding = vfs_get_encoding (slash_pointer, -1);
element           483 lib/vfs/path.c             vfs_path_url_split (element, url_delimiter);
element           487 lib/vfs/path.c             element->path = vfs_translate_path_n (url_delimiter);
element           489 lib/vfs/path.c             element->encoding = vfs_get_encoding (url_delimiter, -1);
element           493 lib/vfs/path.c         element->dir.converter =
element           494 lib/vfs/path.c             (element->encoding != NULL) ? str_crt_conv_from (element->encoding) : INVALID_CONV;
element           496 lib/vfs/path.c         g_array_prepend_val (vpath->path, element);
element           507 lib/vfs/path.c         element = g_new0 (vfs_path_element_t, 1);
element           508 lib/vfs/path.c         element->class = g_ptr_array_index (vfs__classes_list, 0);
element           509 lib/vfs/path.c         element->path = vfs_translate_path_n (path);
element           511 lib/vfs/path.c         element->encoding = vfs_get_encoding (path, -1);
element           512 lib/vfs/path.c         element->dir.converter =
element           513 lib/vfs/path.c             (element->encoding != NULL) ? str_crt_conv_from (element->encoding) : INVALID_CONV;
element           515 lib/vfs/path.c         g_array_prepend_val (vpath->path, element);
element           532 lib/vfs/path.c vfs_path_tokens_add_class_info (const vfs_path_element_t * element, GString * ret_tokens,
element           535 lib/vfs/path.c     if (((element->class->flags & VFSF_LOCAL) == 0 || ret_tokens->len > 0)
element           543 lib/vfs/path.c         g_string_append (ret_tokens, element->vfs_prefix);
element           546 lib/vfs/path.c         url_str = vfs_path_build_url_params_str (element, TRUE);
element           557 lib/vfs/path.c     if (element->encoding != NULL)
element           562 lib/vfs/path.c         g_string_append (ret_tokens, element->encoding);
element           601 lib/vfs/path.c         (element->class->flags & VFSF_LOCAL) != 0) \
element           648 lib/vfs/path.c         const vfs_path_element_t *element;
element           651 lib/vfs/path.c         element = vfs_path_get_by_index (vpath, element_index);
element           652 lib/vfs/path.c         if (element->vfs_prefix != NULL)
element           658 lib/vfs/path.c             g_string_append (buffer, element->vfs_prefix);
element           661 lib/vfs/path.c             url_str = vfs_path_build_url_params_str (element, !(flags & VPF_STRIP_PASSWORD));
element           673 lib/vfs/path.c         if ((flags & VPF_RECODE) == 0 && vfs_path_element_need_cleanup_converter (element))
element           681 lib/vfs/path.c                 g_string_append (buffer, element->encoding);
element           683 lib/vfs/path.c             str_vfs_convert_from (element->dir.converter, element->path, recode_buffer);
element           690 lib/vfs/path.c             vfs_append_from_path (element->path, is_relative);
element           864 lib/vfs/path.c vfs_path_element_clone (const vfs_path_element_t * element)
element           868 lib/vfs/path.c     new_element->user = g_strdup (element->user);
element           869 lib/vfs/path.c     new_element->password = g_strdup (element->password);
element           870 lib/vfs/path.c     new_element->host = g_strdup (element->host);
element           871 lib/vfs/path.c     new_element->ipv6 = element->ipv6;
element           872 lib/vfs/path.c     new_element->port = element->port;
element           873 lib/vfs/path.c     new_element->path = g_strdup (element->path);
element           874 lib/vfs/path.c     new_element->class = element->class;
element           875 lib/vfs/path.c     new_element->vfs_prefix = g_strdup (element->vfs_prefix);
element           877 lib/vfs/path.c     new_element->encoding = g_strdup (element->encoding);
element           878 lib/vfs/path.c     if (vfs_path_element_need_cleanup_converter (element) && new_element->encoding != NULL)
element           881 lib/vfs/path.c         new_element->dir.converter = element->dir.converter;
element           883 lib/vfs/path.c     new_element->dir.info = element->dir.info;
element           897 lib/vfs/path.c vfs_path_element_free (vfs_path_element_t * element)
element           899 lib/vfs/path.c     if (element == NULL)
element           902 lib/vfs/path.c     g_free (element->user);
element           903 lib/vfs/path.c     g_free (element->password);
element           904 lib/vfs/path.c     g_free (element->host);
element           905 lib/vfs/path.c     g_free (element->path);
element           906 lib/vfs/path.c     g_free (element->vfs_prefix);
element           909 lib/vfs/path.c     g_free (element->encoding);
element           911 lib/vfs/path.c     if (vfs_path_element_need_cleanup_converter (element))
element           912 lib/vfs/path.c         str_close_conv (element->dir.converter);
element           915 lib/vfs/path.c     g_free (element);
element          1007 lib/vfs/path.c     vfs_path_element_t *element;
element          1015 lib/vfs/path.c     element = (vfs_path_element_t *) vfs_path_get_by_index (vpath, element_index);
element          1017 lib/vfs/path.c     vfs_path_element_free (element);
element          1063 lib/vfs/path.c vfs_path_element_need_cleanup_converter (const vfs_path_element_t * element)
element          1065 lib/vfs/path.c     return (element->dir.converter != str_cnv_from_term && element->dir.converter != INVALID_CONV);
element          1133 lib/vfs/path.c         const vfs_path_element_t *element;
element          1136 lib/vfs/path.c         element = vfs_path_get_by_index (vpath, element_index);
element          1139 lib/vfs/path.c         mc_config_set_string_raw (cpath, groupname, "path", element->path);
element          1140 lib/vfs/path.c         mc_config_set_string_raw (cpath, groupname, "class-name", element->class->name);
element          1142 lib/vfs/path.c         mc_config_set_string_raw (cpath, groupname, "encoding", element->encoding);
element          1144 lib/vfs/path.c         mc_config_set_string_raw (cpath, groupname, "vfs_prefix", element->vfs_prefix);
element          1146 lib/vfs/path.c         mc_config_set_string_raw (cpath, groupname, "user", element->user);
element          1147 lib/vfs/path.c         mc_config_set_string_raw (cpath, groupname, "password", element->password);
element          1148 lib/vfs/path.c         mc_config_set_string_raw (cpath, groupname, "host", element->host);
element          1149 lib/vfs/path.c         if (element->port != 0)
element          1150 lib/vfs/path.c             mc_config_set_int (cpath, groupname, "port", element->port);
element          1186 lib/vfs/path.c         vfs_path_element_t *element;
element          1206 lib/vfs/path.c         element = g_new0 (vfs_path_element_t, 1);
element          1207 lib/vfs/path.c         element->class = eclass;
element          1208 lib/vfs/path.c         element->path = mc_config_get_string_raw (cpath, groupname, "path", NULL);
element          1211 lib/vfs/path.c         element->encoding = mc_config_get_string_raw (cpath, groupname, "encoding", NULL);
element          1212 lib/vfs/path.c         element->dir.converter =
element          1213 lib/vfs/path.c             (element->encoding != NULL) ? str_crt_conv_from (element->encoding) : INVALID_CONV;
element          1216 lib/vfs/path.c         element->vfs_prefix = mc_config_get_string_raw (cpath, groupname, "vfs_prefix", NULL);
element          1218 lib/vfs/path.c         element->user = mc_config_get_string_raw (cpath, groupname, "user", NULL);
element          1219 lib/vfs/path.c         element->password = mc_config_get_string_raw (cpath, groupname, "password", NULL);
element          1220 lib/vfs/path.c         element->host = mc_config_get_string_raw (cpath, groupname, "host", NULL);
element          1221 lib/vfs/path.c         element->port = mc_config_get_int (cpath, groupname, "port", 0);
element          1223 lib/vfs/path.c         vpath->path = g_array_append_val (vpath->path, element);
element          1366 lib/vfs/path.c         const vfs_path_element_t *element;
element          1369 lib/vfs/path.c         element = vfs_path_get_by_index (vpath, element_index);
element          1371 lib/vfs/path.c         for (prev_token = element->path; (token = strchr (prev_token, PATH_SEP)) != NULL;
element          1432 lib/vfs/path.c         const vfs_path_element_t *element;
element          1436 lib/vfs/path.c         element = vfs_path_get_by_index (vpath, element_index);
element          1437 lib/vfs/path.c         path_tokens = g_strsplit (element->path, PATH_SEP_STR, -1);
element          1447 lib/vfs/path.c                         vfs_path_tokens_add_class_info (element, ret_tokens, element_tokens);
element          1462 lib/vfs/path.c         vfs_path_tokens_add_class_info (element, ret_tokens, element_tokens);
element          1508 lib/vfs/path.c vfs_path_build_url_params_str (const vfs_path_element_t * element, gboolean keep_password)
element          1512 lib/vfs/path.c     if (element == NULL)
element          1517 lib/vfs/path.c     if (element->user != NULL)
element          1518 lib/vfs/path.c         g_string_append (buffer, element->user);
element          1520 lib/vfs/path.c     if (element->password != NULL && keep_password)
element          1523 lib/vfs/path.c         g_string_append (buffer, element->password);
element          1526 lib/vfs/path.c     if (element->host != NULL)
element          1528 lib/vfs/path.c         if ((element->user != NULL) || (element->password != NULL))
element          1530 lib/vfs/path.c         if (element->ipv6)
element          1532 lib/vfs/path.c         g_string_append (buffer, element->host);
element          1533 lib/vfs/path.c         if (element->ipv6)
element          1537 lib/vfs/path.c     if ((element->port) != 0 && (element->host != NULL))
element          1540 lib/vfs/path.c         g_string_append_printf (buffer, "%d", element->port);
element          1556 lib/vfs/path.c vfs_path_element_build_pretty_path_str (const vfs_path_element_t * element)
element          1561 lib/vfs/path.c     pretty_path = g_string_new (element->class->prefix);
element          1564 lib/vfs/path.c     url_params = vfs_path_build_url_params_str (element, FALSE);
element          1568 lib/vfs/path.c     if (!IS_PATH_SEP (*element->path))
element          1571 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          3327 src/filemanager/panel.c         const vfs_path_element_t *element;
element          3329 src/filemanager/panel.c         element = vfs_path_get_by_index (new_dir_vpath, 0);
element          3330 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);