Home
last modified time | relevance | path

Searched refs:castas (Results 1 – 10 of 10) sorted by relevance

/PHP-8.3/main/streams/
H A Dcast.c194 PHPAPI int _php_stream_cast(php_stream *stream, int castas, void **ret, int show_err) in _php_stream_cast() argument
196 int flags = castas & PHP_STREAM_CAST_MASK; in _php_stream_cast()
197 castas &= ~PHP_STREAM_CAST_MASK; in _php_stream_cast()
200 if (ret && castas != PHP_STREAM_AS_FD_FOR_SELECT) { in _php_stream_cast()
212 if (castas == PHP_STREAM_AS_STDIO) { in _php_stream_cast()
225 stream->ops->cast(stream, castas, ret) == SUCCESS in _php_stream_cast()
266 …if (!php_stream_is_filtered(stream) && stream->ops->cast && stream->ops->cast(stream, castas, NULL… in _php_stream_cast()
267 if (FAILURE == stream->ops->cast(stream, castas, ret)) { in _php_stream_cast()
281 int retcast = php_stream_cast(newstream, castas | flags, (void **)ret, show_err); in _php_stream_cast()
305 } else if (stream->ops->cast && stream->ops->cast(stream, castas, ret) == SUCCESS) { in _php_stream_cast()
[all …]
H A Dmemory.c182 static int php_stream_memory_cast(php_stream *stream, int castas, void **ret) in php_stream_memory_cast() argument
455 static int php_stream_temp_cast(php_stream *stream, int castas, void **ret) in php_stream_temp_cast() argument
468 return php_stream_cast(ts->innerstream, castas, ret, 0); in php_stream_temp_cast()
476 if (ret == NULL && castas == PHP_STREAM_AS_STDIO) { in php_stream_temp_cast()
501 return php_stream_cast(ts->innerstream, castas, ret, 1); in php_stream_temp_cast()
H A Dxp_socket.c493 static int php_sockop_cast(php_stream *stream, int castas, void **ret) in php_sockop_cast() argument
501 switch(castas) { in php_sockop_cast()
H A Duserspace.c1384 static int php_userstreamop_cast(php_stream *stream, int castas, void **retptr) in php_userstreamop_cast() argument
1398 switch(castas) { in php_userstreamop_cast()
1436 ret = php_stream_cast(intstream, castas, retptr, 1); in php_userstreamop_cast()
H A Dplain_wrapper.c599 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.3/ext/standard/tests/file/
H A Duserstreams_002.phpt16 function stream_cast($castas) {
/PHP-8.3/main/
H A Dphp_streams.h130 int (*cast)(php_stream *stream, int castas, void **ret);
522 PHPAPI int _php_stream_cast(php_stream *stream, int castas, void **ret, int show_err);
/PHP-8.3/docs/
H A Dstreams.md192 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.3/ext/openssl/
H A Dxp_ssl.c2656 static int php_openssl_sockop_cast(php_stream *stream, int castas, void **ret) /* {{{ */ in php_openssl_sockop_cast() argument
2660 switch(castas) { in php_openssl_sockop_cast()
/PHP-8.3/ext/sqlite3/
H A Dsqlite3.c1216 static int php_sqlite3_stream_cast(php_stream *stream, int castas, void **ret) in php_sqlite3_stream_cast() argument

Completed in 74 milliseconds