Home
last modified time | relevance | path

Searched refs:php_stream_cast (Results 1 – 21 of 21) sorted by relevance

/php-src/main/streams/
H A Dcast.c274 int retcast = php_stream_cast(newstream, castas | flags, (void **)ret, show_err); in _php_stream_cast()
354 …if (php_stream_cast(stream, PHP_STREAM_AS_STDIO|PHP_STREAM_CAST_TRY_HARD|PHP_STREAM_CAST_RELEASE, … in _php_stream_open_wrapper_as_file()
H A Dmemory.c466 return php_stream_cast(ts->innerstream, castas, ret, 0); in php_stream_temp_cast()
499 return php_stream_cast(ts->innerstream, castas, ret, 1); in php_stream_temp_cast()
H A Dstreams.c1629 if (php_stream_cast(src, PHP_STREAM_AS_FD, (void*)&src_fd, 0) == SUCCESS && in _php_stream_copy_to_stream_ex()
1630 php_stream_cast(dest, PHP_STREAM_AS_FD, (void*)&dest_fd, 0) == SUCCESS && in _php_stream_copy_to_stream_ex()
H A Duserspace.c1436 ret = php_stream_cast(intstream, castas, retptr, 1); in php_userstreamop_cast()
H A Dplain_wrapper.c555 if (php_stream_cast(stream, PHP_STREAM_AS_STDIO, (void**)&fp, REPORT_ERRORS) == FAILURE) { in php_stdiop_sync()
/php-src/ext/zlib/
H A Dzlib_fopen_wrapper.c133 if (SUCCESS == php_stream_cast(innerstream, PHP_STREAM_AS_FD, (void **) &fd, REPORT_ERRORS)) { in php_stream_gzopen()
/php-src/ext/standard/
H A Dstreamsfuncs.c649 …if (SUCCESS == php_stream_cast(stream, PHP_STREAM_AS_FD_FOR_SELECT | PHP_STREAM_CAST_INTERNAL, (vo… in stream_array_to_fd_set()
689 …if (SUCCESS == php_stream_cast(stream, PHP_STREAM_AS_FD_FOR_SELECT | PHP_STREAM_CAST_INTERNAL, (vo… in stream_array_from_fd_set()
1693php_stream_cast(stream, PHP_STREAM_AS_FD_FOR_SELECT | PHP_STREAM_CAST_INTERNAL, (void*)&fileno, 0); in PHP_FUNCTION()
1695 php_stream_cast(stream, PHP_STREAM_AS_FD | PHP_STREAM_CAST_INTERNAL, (void*)&fileno, 0); in PHP_FUNCTION()
1738php_stream_cast(stream, PHP_STREAM_AS_FD_FOR_SELECT | PHP_STREAM_CAST_INTERNAL, (void*)&fileno, 0); in PHP_FUNCTION()
1740 php_stream_cast(stream, PHP_STREAM_AS_FD | PHP_STREAM_CAST_INTERNAL, (void*)&fileno, 0); in PHP_FUNCTION()
H A Dproc_open.c910 if (php_stream_cast(stream, PHP_STREAM_CAST_RELEASE|PHP_STREAM_AS_FD, (void **)&fd, in set_proc_descriptor_to_file()
1057 zend_result status = php_stream_cast(stream, PHP_STREAM_AS_FD, (void **)&fd, REPORT_ERRORS); in set_proc_descriptor_from_resource()
/php-src/ext/bz2/
H A Dbz2.c226 if (SUCCESS == php_stream_cast(stream, PHP_STREAM_AS_FD, (void **) &fd, REPORT_ERRORS)) { in _php_stream_bz2open()
399 if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_FD, (void *) &fd, REPORT_ERRORS)) { in PHP_FUNCTION()
/php-src/ext/posix/
H A Dposix.c434 php_stream_cast(stream, PHP_STREAM_AS_FD_FOR_SELECT | PHP_STREAM_CAST_INTERNAL, (void*)fd, 0); in php_posix_stream_get_fd()
436 php_stream_cast(stream, PHP_STREAM_AS_FD | PHP_STREAM_CAST_INTERNAL, (void*)fd, 0); in php_posix_stream_get_fd()
/php-src/docs-old/
H A Dstreams.md184 if (php_stream_cast(stream, PHP_STREAM_AS_STDIO, (void*)&fp, REPORT_ERRORS) == FAILURE) {
192 PHPAPI int php_stream_cast(php_stream * stream, int castas, void ** ret, int show_err);
/php-src/main/
H A Dphp_streams.h526 #define php_stream_cast(stream, as, ret, show_err) _php_stream_cast((stream), (as), (ret), (show_er… macro
/php-src/ext/fileinfo/libmagic/
H A Dfuncs.c336 int _ret = php_stream_cast(stream, PHP_STREAM_AS_FD, (void **)&_fd, 0); in file_buffer()
/php-src/ext/dba/
H A Ddba.c835 if (SUCCESS != php_stream_cast(info->fp, PHP_STREAM_AS_FD, (void*)&info->fd, 1)) { in php_dba_open()
/php-src/ext/mysqlnd/
H A Dmysqlnd_connection.c2143 …SUCCESS == php_stream_cast(stream, PHP_STREAM_AS_FD_FOR_SELECT | PHP_STREAM_CAST_INTERNAL, (void*)…
2175 …if (stream != NULL && SUCCESS == php_stream_cast(stream, PHP_STREAM_AS_FD_FOR_SELECT | PHP_STREAM_…
/php-src/ext/sockets/
H A Dconversions.c1401 if (php_stream_cast(stream, PHP_STREAM_AS_FD, (void **)&iarr[i - 1], REPORT_ERRORS) == FAILURE) { in from_zval_write_fd_array_aux()
H A Dsockets.c2202 if (php_stream_cast(stream, PHP_STREAM_AS_SOCKETD, (void**)&socket, 1)) {
/php-src/ext/gd/
H A Dgd.c1529 if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_STDIO, (void**)&fp, REPORT_ERRORS)) { in _php_image_create_from()
1566 …if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_STDIO | PHP_STREAM_CAST_TRY_HARD, (void **) &… in _php_image_create_from()
/php-src/ext/curl/
H A Dinterface.c1915 if (FAILURE == php_stream_cast(what, PHP_STREAM_AS_STDIO, (void *) &fp, REPORT_ERRORS)) { in _php_curl_setopt()
/php-src/ext/pgsql/
H A Dpgsql.c2202 if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_STDIO, (void**)&fp, REPORT_ERRORS)) { in PHP_FUNCTION()
/php-src/ext/fileinfo/
H A Dlibmagic.patch1988 + int _ret = php_stream_cast(stream, PHP_STREAM_AS_FD, (void **)&_fd, 0);

Completed in 171 milliseconds