Home
last modified time | relevance | path

Searched refs:winhttp_stream (Results 1 – 2 of 2) sorted by relevance

/third_party/glib/gio/win32/
Dgwinhttpfileinputstream.c63 GWinHttpFileInputStream *winhttp_stream; in g_winhttp_file_input_stream_finalize() local
65 winhttp_stream = G_WINHTTP_FILE_INPUT_STREAM (object); in g_winhttp_file_input_stream_finalize()
67 if (winhttp_stream->request != NULL) in g_winhttp_file_input_stream_finalize()
68 …G_WINHTTP_VFS_GET_CLASS (winhttp_stream->file->vfs)->funcs->pWinHttpCloseHandle (winhttp_stream->r… in g_winhttp_file_input_stream_finalize()
69 if (winhttp_stream->connection != NULL) in g_winhttp_file_input_stream_finalize()
70 …G_WINHTTP_VFS_GET_CLASS (winhttp_stream->file->vfs)->funcs->pWinHttpCloseHandle (winhttp_stream->c… in g_winhttp_file_input_stream_finalize()
72 g_object_unref (winhttp_stream->file); in g_winhttp_file_input_stream_finalize()
73 winhttp_stream->file = NULL; in g_winhttp_file_input_stream_finalize()
127 GWinHttpFileInputStream *winhttp_stream = G_WINHTTP_FILE_INPUT_STREAM (stream); in g_winhttp_file_input_stream_read() local
130 if (!winhttp_stream->request_sent) in g_winhttp_file_input_stream_read()
[all …]
Dgwinhttpfileoutputstream.c58 GWinHttpFileOutputStream *winhttp_stream; in g_winhttp_file_output_stream_finalize() local
60 winhttp_stream = G_WINHTTP_FILE_OUTPUT_STREAM (object); in g_winhttp_file_output_stream_finalize()
62 if (winhttp_stream->connection != NULL) in g_winhttp_file_output_stream_finalize()
63 …G_WINHTTP_VFS_GET_CLASS (winhttp_stream->file->vfs)->funcs->pWinHttpCloseHandle (winhttp_stream->c… in g_winhttp_file_output_stream_finalize()
114 GWinHttpFileOutputStream *winhttp_stream = G_WINHTTP_FILE_OUTPUT_STREAM (stream); in g_winhttp_file_output_stream_write() local
120 request = G_WINHTTP_VFS_GET_CLASS (winhttp_stream->file->vfs)->funcs->pWinHttpOpenRequest in g_winhttp_file_output_stream_write()
121 (winhttp_stream->connection, in g_winhttp_file_output_stream_write()
123 winhttp_stream->file->url.lpszUrlPath, in g_winhttp_file_output_stream_write()
127 winhttp_stream->file->url.nScheme == INTERNET_SCHEME_HTTPS ? WINHTTP_FLAG_SECURE : 0); in g_winhttp_file_output_stream_write()
137 winhttp_stream->offset, winhttp_stream->offset + count); in g_winhttp_file_output_stream_write()
[all …]