Lines Matching refs:type
84 uv_handle_type type) { in uv__stream_init() argument
87 uv__handle_init(loop, (uv_handle_t*)stream, type); in uv__stream_init()
414 if (stream->type == UV_TCP) { in uv__stream_open()
544 switch (client->type) { in uv_accept()
606 switch (stream->type) { in uv_listen()
741 switch (handle->type) { in uv__handle_fd()
1041 is_ipc = stream->type == UV_NAMED_PIPE && ((uv_pipe_t*) stream)->ipc; in uv__read()
1094 } else if (errno == ECONNRESET && stream->type == UV_NAMED_PIPE) { in uv__read()
1161 assert(stream->type == UV_TCP || in uv_shutdown()
1162 stream->type == UV_TTY || in uv_shutdown()
1163 stream->type == UV_NAMED_PIPE); in uv_shutdown()
1194 assert(stream->type == UV_TCP || in uv__stream_io()
1195 stream->type == UV_NAMED_PIPE || in uv__stream_io()
1196 stream->type == UV_TTY); in uv__stream_io()
1251 assert(stream->type == UV_TCP || stream->type == UV_NAMED_PIPE); in uv__stream_connect()
1299 assert((stream->type == UV_TCP || in uv__check_before_write()
1300 stream->type == UV_NAMED_PIPE || in uv__check_before_write()
1301 stream->type == UV_TTY) && in uv__check_before_write()
1311 if (stream->type != UV_NAMED_PIPE || !((uv_pipe_t*)stream)->ipc) in uv__check_before_write()
1442 assert(stream->type == UV_TCP || stream->type == UV_NAMED_PIPE || in uv__read_start()
1443 stream->type == UV_TTY); in uv__read_start()
1494 assert(handle->type == UV_TCP || in uv___stream_fd()
1495 handle->type == UV_TTY || in uv___stream_fd()
1496 handle->type == UV_NAMED_PIPE); in uv___stream_fd()