Lines Matching refs:unix_stream
174 GUnixOutputStream *unix_stream;
176 unix_stream = G_UNIX_OUTPUT_STREAM (object);
181 unix_stream->priv->fd = g_value_get_int (value);
184 unix_stream->priv->close_fd = g_value_get_boolean (value);
198 GUnixOutputStream *unix_stream;
200 unix_stream = G_UNIX_OUTPUT_STREAM (object);
205 g_value_set_int (value, unix_stream->priv->fd);
208 g_value_set_boolean (value, unix_stream->priv->close_fd);
216 g_unix_output_stream_init (GUnixOutputStream *unix_stream)
218 unix_stream->priv = G_TYPE_INSTANCE_GET_PRIVATE (unix_stream,
222 unix_stream->priv->fd = -1;
223 unix_stream->priv->close_fd = TRUE;
322 GUnixOutputStream *unix_stream;
327 unix_stream = G_UNIX_OUTPUT_STREAM (stream);
331 poll_fds[0].fd = unix_stream->priv->fd;
355 res = write (unix_stream->priv->fd, buffer, count);
380 GUnixOutputStream *unix_stream;
383 unix_stream = G_UNIX_OUTPUT_STREAM (stream);
385 if (!unix_stream->priv->close_fd)
391 res = close (unix_stream->priv->fd);
479 GUnixOutputStream *unix_stream;
482 unix_stream = G_UNIX_OUTPUT_STREAM (stream);
490 data->stream = unix_stream;
492 source = _g_fd_source_new (unix_stream->priv->fd,
526 GUnixOutputStream *unix_stream;
532 unix_stream = G_UNIX_OUTPUT_STREAM (data->stream);
534 if (!unix_stream->priv->close_fd)
542 res = close (unix_stream->priv->fd);