Lines Matching refs:stream
31 #include "stream-inl.h"
589 assert(handle->stream.conn.write_reqs_pending == 0);
1113 handle->stream.serv.connection_cb = cb;
1134 handle->stream.serv.connection_cb = cb;
1548 handle->stream.conn.write_reqs_pending++;
1554 if (handle->stream.conn.write_reqs_pending == 0) {
1596 handle->stream.conn.write_reqs_pending++;
1629 handle->stream.conn.write_reqs_pending++;
2064 handle->stream.conn.write_reqs_pending--;
2068 assert(handle->stream.conn.write_reqs_pending > 0);
2072 if (handle->stream.conn.write_reqs_pending == 0)
2074 uv__pipe_shutdown(loop, handle, handle->stream.conn.shutdown_req);
2098 if (handle->stream.serv.connection_cb) {
2099 handle->stream.serv.connection_cb((uv_stream_t*)handle, 0);
2151 handle->stream.conn.shutdown_req = NULL;
2310 * just query the access flags and set the stream flags accordingly.