Home
last modified time | relevance | path

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

/PHP-8.3/main/streams/
H A Dcast.c281 int retcast = php_stream_cast(newstream, castas | flags, (void **)ret, show_err); in _php_stream_cast()
361 …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.c468 return php_stream_cast(ts->innerstream, castas, ret, 0); in php_stream_temp_cast()
501 return php_stream_cast(ts->innerstream, castas, ret, 1); in php_stream_temp_cast()
H A Dstreams.c1634 if (php_stream_cast(src, PHP_STREAM_AS_FD, (void*)&src_fd, 0) == SUCCESS && in _php_stream_copy_to_stream_ex()
1635 php_stream_cast(dest, PHP_STREAM_AS_FD, (void*)&dest_fd, 0) == SUCCESS && in _php_stream_copy_to_stream_ex()
H A Dplain_wrapper.c555 if (php_stream_cast(stream, PHP_STREAM_AS_STDIO, (void**)&fp, REPORT_ERRORS) == FAILURE) { in php_stdiop_sync()
H A Duserspace.c1436 ret = php_stream_cast(intstream, castas, retptr, 1); in php_userstreamop_cast()
/PHP-8.3/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-8.3/ext/standard/
H A Dstreamsfuncs.c653 …if (SUCCESS == php_stream_cast(stream, PHP_STREAM_AS_FD_FOR_SELECT | PHP_STREAM_CAST_INTERNAL, (vo… in stream_array_to_fd_set()
693 …if (SUCCESS == php_stream_cast(stream, PHP_STREAM_AS_FD_FOR_SELECT | PHP_STREAM_CAST_INTERNAL, (vo… in stream_array_from_fd_set()
1677php_stream_cast(stream, PHP_STREAM_AS_FD_FOR_SELECT | PHP_STREAM_CAST_INTERNAL, (void*)&fileno, 0); in PHP_FUNCTION()
1679 php_stream_cast(stream, PHP_STREAM_AS_FD | PHP_STREAM_CAST_INTERNAL, (void*)&fileno, 0); in PHP_FUNCTION()
1722php_stream_cast(stream, PHP_STREAM_AS_FD_FOR_SELECT | PHP_STREAM_CAST_INTERNAL, (void*)&fileno, 0); in PHP_FUNCTION()
1724 php_stream_cast(stream, PHP_STREAM_AS_FD | PHP_STREAM_CAST_INTERNAL, (void*)&fileno, 0); in PHP_FUNCTION()
H A Dproc_open.c903 if (php_stream_cast(stream, PHP_STREAM_CAST_RELEASE|PHP_STREAM_AS_FD, (void **)&fd, in set_proc_descriptor_to_file()
1050 zend_result status = php_stream_cast(stream, PHP_STREAM_AS_FD, (void **)&fd, REPORT_ERRORS); in set_proc_descriptor_from_resource()
/PHP-8.3/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-8.3/ext/posix/
H A Dposix.c435 php_stream_cast(stream, PHP_STREAM_AS_FD_FOR_SELECT | PHP_STREAM_CAST_INTERNAL, (void*)fd, 0); in php_posix_stream_get_fd()
437 php_stream_cast(stream, PHP_STREAM_AS_FD | PHP_STREAM_CAST_INTERNAL, (void*)fd, 0); in php_posix_stream_get_fd()
/PHP-8.3/docs/
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-8.3/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-8.3/ext/fileinfo/libmagic/
H A Dfuncs.c336 int _ret = php_stream_cast(stream, PHP_STREAM_AS_FD, (void **)&_fd, 0); in file_buffer()
/PHP-8.3/ext/dba/
H A Ddba.c838 if (SUCCESS != php_stream_cast(info->fp, PHP_STREAM_AS_FD, (void*)&info->fd, 1)) { in php_dba_open()
/PHP-8.3/ext/zend_test/
H A Dtest.c765 if (php_stream_cast(stream, PHP_STREAM_AS_STDIO, (void *) &fp, REPORT_ERRORS) == FAILURE) { in ZEND_FUNCTION()
/PHP-8.3/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-8.3/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.c2238 if (php_stream_cast(stream, PHP_STREAM_AS_SOCKETD, (void**)&socket, 1)) {
/PHP-8.3/ext/gd/
H A Dgd.c1534 if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_STDIO, (void**)&fp, REPORT_ERRORS)) { in _php_image_create_from()
1571 …if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_STDIO | PHP_STREAM_CAST_TRY_HARD, (void **) &… in _php_image_create_from()
/PHP-8.3/ext/curl/
H A Dinterface.c2060 if (FAILURE == php_stream_cast(what, PHP_STREAM_AS_STDIO, (void *) &fp, REPORT_ERRORS)) { in _php_curl_setopt()
/PHP-8.3/ext/pgsql/
H A Dpgsql.c2180 if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_STDIO, (void**)&fp, REPORT_ERRORS)) { in PHP_FUNCTION()
/PHP-8.3/ext/fileinfo/
H A Dlibmagic.patch1956 + int _ret = php_stream_cast(stream, PHP_STREAM_AS_FD, (void **)&_fd, 0);

Completed in 125 milliseconds