• Home
  • Raw
  • Download

Lines Matching refs:file

53   GWinHttpFile *file;  in G_DEFINE_TYPE_WITH_CODE()  local
55 file = G_WINHTTP_FILE (object); in G_DEFINE_TYPE_WITH_CODE()
57 g_free (file->url.lpszScheme); in G_DEFINE_TYPE_WITH_CODE()
58 g_free (file->url.lpszHostName); in G_DEFINE_TYPE_WITH_CODE()
59 g_free (file->url.lpszUserName); in G_DEFINE_TYPE_WITH_CODE()
60 g_free (file->url.lpszPassword); in G_DEFINE_TYPE_WITH_CODE()
61 g_free (file->url.lpszUrlPath); in G_DEFINE_TYPE_WITH_CODE()
62 g_free (file->url.lpszExtraInfo); in G_DEFINE_TYPE_WITH_CODE()
64 g_object_unref (file->vfs); in G_DEFINE_TYPE_WITH_CODE()
94 GWinHttpFile *file; in _g_winhttp_file_new() local
101 file = g_object_new (G_TYPE_WINHTTP_FILE, NULL); in _g_winhttp_file_new()
102 file->vfs = g_object_ref (vfs); in _g_winhttp_file_new()
104 memset (&file->url, 0, sizeof (file->url)); in _g_winhttp_file_new()
105 file->url.dwStructSize = sizeof (file->url); in _g_winhttp_file_new()
106 file->url.dwSchemeLength = 1; in _g_winhttp_file_new()
107 file->url.dwHostNameLength = 1; in _g_winhttp_file_new()
108 file->url.dwUserNameLength = 1; in _g_winhttp_file_new()
109 file->url.dwPasswordLength = 1; in _g_winhttp_file_new()
110 file->url.dwUrlPathLength = 1; in _g_winhttp_file_new()
111 file->url.dwExtraInfoLength = 1; in _g_winhttp_file_new()
113 if (!G_WINHTTP_VFS_GET_CLASS (vfs)->funcs->pWinHttpCrackUrl (wuri, 0, 0, &file->url)) in _g_winhttp_file_new()
119 file->url.lpszScheme = g_new (wchar_t, ++file->url.dwSchemeLength); in _g_winhttp_file_new()
120 file->url.lpszHostName = g_new (wchar_t, ++file->url.dwHostNameLength); in _g_winhttp_file_new()
121 file->url.lpszUserName = g_new (wchar_t, ++file->url.dwUserNameLength); in _g_winhttp_file_new()
122 file->url.lpszPassword = g_new (wchar_t, ++file->url.dwPasswordLength); in _g_winhttp_file_new()
123 file->url.lpszUrlPath = g_new (wchar_t, ++file->url.dwUrlPathLength); in _g_winhttp_file_new()
124 file->url.lpszExtraInfo = g_new (wchar_t, ++file->url.dwExtraInfoLength); in _g_winhttp_file_new()
126 if (!G_WINHTTP_VFS_GET_CLASS (vfs)->funcs->pWinHttpCrackUrl (wuri, 0, 0, &file->url)) in _g_winhttp_file_new()
128 g_free (file->url.lpszScheme); in _g_winhttp_file_new()
129 g_free (file->url.lpszHostName); in _g_winhttp_file_new()
130 g_free (file->url.lpszUserName); in _g_winhttp_file_new()
131 g_free (file->url.lpszPassword); in _g_winhttp_file_new()
132 g_free (file->url.lpszUrlPath); in _g_winhttp_file_new()
133 g_free (file->url.lpszExtraInfo); in _g_winhttp_file_new()
139 return G_FILE (file); in _g_winhttp_file_new()
143 g_winhttp_file_is_native (GFile *file) in g_winhttp_file_is_native() argument
149 g_winhttp_file_has_uri_scheme (GFile *file, in g_winhttp_file_has_uri_scheme() argument
157 g_winhttp_file_get_uri_scheme (GFile *file) in g_winhttp_file_get_uri_scheme() argument
159 GWinHttpFile *winhttp_file = G_WINHTTP_FILE (file); in g_winhttp_file_get_uri_scheme()
165 g_winhttp_file_get_basename (GFile *file) in g_winhttp_file_get_basename() argument
167 GWinHttpFile *winhttp_file = G_WINHTTP_FILE (file); in g_winhttp_file_get_basename()
185 g_winhttp_file_get_path (GFile *file) in g_winhttp_file_get_path() argument
191 g_winhttp_file_get_uri (GFile *file) in g_winhttp_file_get_uri() argument
193 GWinHttpFile *winhttp_file = G_WINHTTP_FILE (file); in g_winhttp_file_get_uri()
229 g_winhttp_file_get_parse_name (GFile *file) in g_winhttp_file_get_parse_name() argument
233 return g_winhttp_file_get_uri (file); in g_winhttp_file_get_parse_name()
237 g_winhttp_file_get_parent (GFile *file) in g_winhttp_file_get_parent() argument
244 winhttp_file = G_WINHTTP_FILE (file); in g_winhttp_file_get_parent()
246 uri = g_winhttp_file_get_uri (file); in g_winhttp_file_get_parent()
269 g_winhttp_file_dup (GFile *file) in g_winhttp_file_dup() argument
271 GWinHttpFile *winhttp_file = G_WINHTTP_FILE (file); in g_winhttp_file_dup()
272 char *uri = g_winhttp_file_get_uri (file); in g_winhttp_file_dup()
281 g_winhttp_file_hash (GFile *file) in g_winhttp_file_hash() argument
283 char *uri = g_winhttp_file_get_uri (file); in g_winhttp_file_hash()
366 g_winhttp_file_resolve_relative_path (GFile *file, in g_winhttp_file_resolve_relative_path() argument
369 GWinHttpFile *winhttp_file = G_WINHTTP_FILE (file); in g_winhttp_file_resolve_relative_path()
403 g_winhttp_file_get_child_for_display_name (GFile *file, in g_winhttp_file_get_child_for_display_name() argument
418 new_file = g_file_get_child (file, basename); in g_winhttp_file_get_child_for_display_name()
425 g_winhttp_file_set_display_name (GFile *file, in g_winhttp_file_set_display_name() argument
462 g_winhttp_file_query_info (GFile *file, in g_winhttp_file_query_info() argument
468 GWinHttpFile *winhttp_file = G_WINHTTP_FILE (file); in g_winhttp_file_query_info()
531 basename = g_winhttp_file_get_basename (file); in g_winhttp_file_query_info()
611 g_winhttp_file_read (GFile *file, in g_winhttp_file_read() argument
615 GWinHttpFile *winhttp_file = G_WINHTTP_FILE (file); in g_winhttp_file_read()
656 g_winhttp_file_create (GFile *file, in g_winhttp_file_create() argument
661 GWinHttpFile *winhttp_file = G_WINHTTP_FILE (file); in g_winhttp_file_create()
683 g_winhttp_file_replace (GFile *file,
697 g_winhttp_file_delete (GFile *file,
707 g_winhttp_file_make_directory (GFile *file,