Lines Matching refs:winhttp_stream
63 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()
132 if (!G_WINHTTP_VFS_GET_CLASS (winhttp_stream->file->vfs)->funcs->pWinHttpSendRequest in g_winhttp_file_input_stream_read()
133 (winhttp_stream->request, in g_winhttp_file_input_stream_read()
144 if (!_g_winhttp_response (winhttp_stream->file->vfs, in g_winhttp_file_input_stream_read()
145 winhttp_stream->request, in g_winhttp_file_input_stream_read()
150 winhttp_stream->request_sent = TRUE; in g_winhttp_file_input_stream_read()
153 if (!G_WINHTTP_VFS_GET_CLASS (winhttp_stream->file->vfs)->funcs->pWinHttpReadData in g_winhttp_file_input_stream_read()
154 (winhttp_stream->request, buffer, count, &bytes_read)) in g_winhttp_file_input_stream_read()
169 GWinHttpFileInputStream *winhttp_stream = G_WINHTTP_FILE_INPUT_STREAM (stream); in g_winhttp_file_input_stream_close() local
171 if (winhttp_stream->connection != NULL) in g_winhttp_file_input_stream_close()
172 …G_WINHTTP_VFS_GET_CLASS (winhttp_stream->file->vfs)->funcs->pWinHttpCloseHandle (winhttp_stream->c… in g_winhttp_file_input_stream_close()
173 winhttp_stream->connection = NULL; in g_winhttp_file_input_stream_close()