/PHP-8.0/main/streams/ |
H A D | cast.c | 276 int retcast = php_stream_cast(newstream, castas | flags, (void **)ret, show_err); in _php_stream_cast() 356 …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 D | memory.c | 494 return php_stream_cast(ts->innerstream, castas, ret, 0); in php_stream_temp_cast() 527 return php_stream_cast(ts->innerstream, castas, ret, 1); in php_stream_temp_cast()
|
H A D | userspace.c | 1509 ret = php_stream_cast(intstream, castas, retptr, 1); in php_userstreamop_cast()
|
/PHP-8.0/ext/zlib/ |
H A D | zlib_fopen_wrapper.c | 131 if (SUCCESS == php_stream_cast(innerstream, PHP_STREAM_AS_FD, (void **) &fd, REPORT_ERRORS)) { in php_stream_gzopen()
|
/PHP-8.0/ext/standard/ |
H A D | streamsfuncs.c | 638 …if (SUCCESS == php_stream_cast(stream, PHP_STREAM_AS_FD_FOR_SELECT | PHP_STREAM_CAST_INTERNAL, (vo… in stream_array_to_fd_set() 678 …if (SUCCESS == php_stream_cast(stream, PHP_STREAM_AS_FD_FOR_SELECT | PHP_STREAM_CAST_INTERNAL, (vo… in stream_array_from_fd_set() 1629 php_stream_cast(stream, PHP_STREAM_AS_FD_FOR_SELECT, (void*)&fileno, 0); in PHP_FUNCTION() 1631 php_stream_cast(stream, PHP_STREAM_AS_FD, (void*)&fileno, 0); in PHP_FUNCTION() 1670 php_stream_cast(stream, PHP_STREAM_AS_FD_FOR_SELECT, (void*)&fileno, 0); in PHP_FUNCTION() 1673 php_stream_cast(stream, PHP_STREAM_AS_FD, (void*)&fileno, 0); in PHP_FUNCTION()
|
H A D | proc_open.c | 789 if (php_stream_cast(stream, PHP_STREAM_CAST_RELEASE|PHP_STREAM_AS_FD, (void **)&fd, in set_proc_descriptor_to_file() 935 int status = php_stream_cast(stream, PHP_STREAM_AS_FD, (void **)&fd, REPORT_ERRORS); in set_proc_descriptor_from_resource()
|
/PHP-8.0/ext/bz2/ |
H A D | bz2.c | 226 if (SUCCESS == php_stream_cast(stream, PHP_STREAM_AS_FD, (void **) &fd, REPORT_ERRORS)) { in _php_stream_bz2open() 401 if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_FD, (void *) &fd, REPORT_ERRORS)) { in PHP_FUNCTION()
|
/PHP-8.0/ext/posix/ |
H A D | posix.c | 497 php_stream_cast(stream, PHP_STREAM_AS_FD_FOR_SELECT, (void*)fd, 0); in php_posix_stream_get_fd() 499 php_stream_cast(stream, PHP_STREAM_AS_FD, (void*)fd, 0); in php_posix_stream_get_fd()
|
/PHP-8.0/docs/ |
H A D | streams.md | 184 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.0/ext/fileinfo/libmagic/ |
H A D | funcs.c | 298 int _ret = php_stream_cast(stream, PHP_STREAM_AS_FD, (void **)&_fd, 0); in file_buffer()
|
/PHP-8.0/main/ |
H A D | php_streams.h | 499 #define php_stream_cast(stream, as, ret, show_err) _php_stream_cast((stream), (as), (ret), (show_er… macro
|
/PHP-8.0/ext/dba/ |
H A D | dba.c | 852 if (SUCCESS != php_stream_cast(info->fp, PHP_STREAM_AS_FD, (void*)&info->fd, 1)) { in php_dba_open()
|
/PHP-8.0/ext/mysqlnd/ |
H A D | mysqlnd_connection.c | 2513 …SUCCESS == php_stream_cast(stream, PHP_STREAM_AS_FD_FOR_SELECT | PHP_STREAM_CAST_INTERNAL, (void*)… 2545 …if (stream != NULL && SUCCESS == php_stream_cast(stream, PHP_STREAM_AS_FD_FOR_SELECT | PHP_STREAM_…
|
/PHP-8.0/ext/sockets/ |
H A D | conversions.c | 1375 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 D | sockets.c | 2166 if (php_stream_cast(stream, PHP_STREAM_AS_SOCKETD, (void**)&socket, 1)) {
|
/PHP-8.0/ext/gd/ |
H A D | gd.c | 1613 if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_STDIO, (void**)&fp, REPORT_ERRORS)) { in _php_image_create_from() 1650 …if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_STDIO | PHP_STREAM_CAST_TRY_HARD, (void **) &… in _php_image_create_from()
|
/PHP-8.0/ext/curl/ |
H A D | interface.c | 2536 if (FAILURE == php_stream_cast(what, PHP_STREAM_AS_STDIO, (void *) &fp, REPORT_ERRORS)) { in _php_curl_setopt()
|
/PHP-8.0/ext/pgsql/ |
H A D | pgsql.c | 2257 if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_STDIO, (void**)&fp, REPORT_ERRORS)) { in PHP_FUNCTION()
|
/PHP-8.0/ext/fileinfo/ |
H A D | libmagic.patch | 2459 + int _ret = php_stream_cast(stream, PHP_STREAM_AS_FD, (void **)&_fd, 0);
|