Lines Matching refs:stream
558 php_stream *stream; in PHP_FUNCTION() local
561 php_stream_from_zval(stream, descitem); in PHP_FUNCTION()
563 if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_FD, (void **)&fd, REPORT_ERRORS)) { in PHP_FUNCTION()
633 php_stream *stream; in PHP_FUNCTION() local
652 stream = php_stream_open_wrapper(Z_STRVAL_PP(zfile), Z_STRVAL_PP(zmode), in PHP_FUNCTION()
656 if (stream == NULL || FAILURE == php_stream_cast(stream, in PHP_FUNCTION()
935 php_stream *stream = NULL; in PHP_FUNCTION() local
961 stream = php_stream_fopen_from_fd(_open_osfhandle((zend_intptr_t)descriptors[i].parentend, in PHP_FUNCTION()
964 stream = php_stream_fopen_from_fd(descriptors[i].parentend, mode_string, NULL); in PHP_FUNCTION()
970 if (stream) { in PHP_FUNCTION()
974 stream->flags |= PHP_STREAM_FLAG_NO_SEEK; in PHP_FUNCTION()
977 php_stream_to_zval(stream, retfp); in PHP_FUNCTION()