Lines Matching refs:stream

423 	php_stream *stream;  local
432 if ((stream = (php_stream *) zend_fetch_resource_ex(ptr, NULL, php_file_le_stream()))) {
434stream->wrapper && !strcmp((char *)stream->wrapper->wops->label, "PHP") && (!stream->orig_path || …
440 …if (php_stream_cast(stream, PHP_STREAM_AS_FD_FOR_SELECT | PHP_STREAM_CAST_INTERNAL, (void*)&fd, 1)…
441 if (stream->wrapper && !strcmp((char *)stream->wrapper->wops->label, "plainfile")) {
476 php_stream *stream; local
482 if ((stream = (php_stream *) zend_fetch_resource_ex(ptr, NULL, php_file_le_stream()))) {
483 …if (php_stream_cast(stream, PHP_STREAM_AS_FD | PHP_STREAM_CAST_INTERNAL, (void *) &fd, 1) != SUCCE…
2306 zval_ptr_dtor(&stdio->stream);
2623 *table = &stdio->stream;
2678 ZVAL_UNDEF(&stdio->stream);
2960 ZEND_ARG_INFO(0, stream)
2965 ZEND_ARG_INFO(0, stream)
3798 r = uv_write(&w->req, &uv->uv.stream, &w->buf, 1, php_uv_write_cb);
3831 r = uv_write2(&w->req, &uv->uv.stream, &w->buf, 1, &send->uv.stream, php_uv_write_cb);
3876 r = uv_accept(&server->uv.stream, &client->uv.stream);
3909 r = uv_shutdown(shutdown, &uv->uv.stream, (uv_shutdown_cb)php_uv_shutdown_cb);
3972 r = uv_read_start(&uv->uv.stream, php_uv_read_alloc, php_uv_read_cb);
3994 uv_read_stop(&uv->uv.stream);
4063 r = uv_listen(&uv->uv.stream, backlog, php_uv_listen_cb);
4653 RETURN_BOOL(uv_is_readable(&uv->uv.stream));
4667 RETURN_BOOL(uv_is_writable(&uv->uv.stream));
4858 php_stream *stream; local
4875 if ((stream = (php_stream *) zend_fetch_resource_ex(handle, NULL, php_file_le_stream()))) {
4876 …if (php_stream_cast(stream, PHP_STREAM_AS_FD | PHP_STREAM_CAST_INTERNAL, (void *) &fd, 1) != SUCCE…
4921 ZVAL_COPY(&stdio->stream, handle);
5173 php_uv_t *uv_pipe = (php_uv_t *) Z_OBJ(stdio_tmp->stream);
5174 stdio[x].data.stream = &uv_pipe->uv.stream;