Searched refs:castas (Results 1 – 10 of 10) sorted by relevance
/PHP-8.1/main/streams/ |
H A D | cast.c | 189 PHPAPI int _php_stream_cast(php_stream *stream, int castas, void **ret, int show_err) in _php_stream_cast() argument 191 int flags = castas & PHP_STREAM_CAST_MASK; in _php_stream_cast() 192 castas &= ~PHP_STREAM_CAST_MASK; in _php_stream_cast() 195 if (ret && castas != PHP_STREAM_AS_FD_FOR_SELECT) { in _php_stream_cast() 207 if (castas == PHP_STREAM_AS_STDIO) { in _php_stream_cast() 220 stream->ops->cast(stream, castas, ret) == SUCCESS in _php_stream_cast() 261 …if (!php_stream_is_filtered(stream) && stream->ops->cast && stream->ops->cast(stream, castas, NULL… in _php_stream_cast() 262 if (FAILURE == stream->ops->cast(stream, castas, ret)) { in _php_stream_cast() 276 int retcast = php_stream_cast(newstream, castas | flags, (void **)ret, show_err); in _php_stream_cast() 300 } else if (stream->ops->cast && stream->ops->cast(stream, castas, ret) == SUCCESS) { in _php_stream_cast() [all …]
|
H A D | memory.c | 178 static int php_stream_memory_cast(php_stream *stream, int castas, void **ret) in php_stream_memory_cast() argument 450 static int php_stream_temp_cast(php_stream *stream, int castas, void **ret) in php_stream_temp_cast() argument 463 return php_stream_cast(ts->innerstream, castas, ret, 0); in php_stream_temp_cast() 471 if (ret == NULL && castas == PHP_STREAM_AS_STDIO) { in php_stream_temp_cast() 496 return php_stream_cast(ts->innerstream, castas, ret, 1); in php_stream_temp_cast()
|
H A D | xp_socket.c | 463 static int php_sockop_cast(php_stream *stream, int castas, void **ret) in php_sockop_cast() argument 471 switch(castas) { in php_sockop_cast()
|
H A D | userspace.c | 1461 static int php_userstreamop_cast(php_stream *stream, int castas, void **retptr) in php_userstreamop_cast() argument 1473 switch(castas) { in php_userstreamop_cast() 1509 ret = php_stream_cast(intstream, castas, retptr, 1); in php_userstreamop_cast()
|
H A D | plain_wrapper.c | 599 static int php_stdiop_cast(php_stream *stream, int castas, void **ret) in php_stdiop_cast() argument 609 switch (castas) { in php_stdiop_cast()
|
/PHP-8.1/ext/standard/tests/file/ |
H A D | userstreams_002.phpt | 15 function stream_cast($castas) {
|
/PHP-8.1/main/ |
H A D | php_streams.h | 125 int (*cast)(php_stream *stream, int castas, void **ret); 508 PHPAPI int _php_stream_cast(php_stream *stream, int castas, void **ret, int show_err);
|
/PHP-8.1/docs/ |
H A D | streams.md | 192 PHPAPI int php_stream_cast(php_stream * stream, int castas, void ** ret, int show_err); 198 `castas` can be one of the following values: 226 PHPAPI int php_stream_can_cast(php_stream * stream, int castas)
|
/PHP-8.1/ext/openssl/ |
H A D | xp_ssl.c | 2547 static int php_openssl_sockop_cast(php_stream *stream, int castas, void **ret) /* {{{ */ in php_openssl_sockop_cast() argument 2551 switch(castas) { in php_openssl_sockop_cast()
|
/PHP-8.1/ext/sqlite3/ |
H A D | sqlite3.c | 1207 static int php_sqlite3_stream_cast(php_stream *stream, int castas, void **ret) in php_sqlite3_stream_cast() argument
|
Completed in 41 milliseconds