Searched refs:castas (Results 1 - 8 of 8) sorted by relevance

/PHP_TRUNK/ext/openssl/
H A Dxp_ssl.c2083 static int php_openssl_sockop_cast(php_stream *stream, int castas, void **ret) argument
2087 switch(castas) {
/PHP_TRUNK/ext/sqlite3/
H A Dsqlite3.c1154 static int php_sqlite3_stream_cast(php_stream *stream, int castas, void **ret) argument
/PHP_TRUNK/main/
H A Dphp_streams.h129 int (*cast)(php_stream *stream, int castas, void **ret);
472 PHPAPI int _php_stream_cast(php_stream *stream, int castas, void **ret, int show_err);
/PHP_TRUNK/main/streams/
H A Dcast.c191 PHPAPI int _php_stream_cast(php_stream *stream, int castas, void **ret, int show_err) argument
193 int flags = castas & PHP_STREAM_CAST_MASK;
194 castas &= ~PHP_STREAM_CAST_MASK;
197 if (ret && castas != PHP_STREAM_AS_FD_FOR_SELECT) {
209 if (castas == PHP_STREAM_AS_STDIO) {
222 stream->ops->cast(stream, castas, ret) == SUCCESS
263 if (!php_stream_is_filtered(stream) && stream->ops->cast && stream->ops->cast(stream, castas, NULL) == SUCCESS) {
264 if (FAILURE == stream->ops->cast(stream, castas, ret)) {
278 int retcast = php_stream_cast(newstream, castas | flags, (void **)ret, show_err);
300 } else if (stream->ops->cast && stream->ops->cast(stream, castas, re
[all...]
H A Dmemory.c198 static int php_stream_memory_cast(php_stream *stream, int castas, void **ret) argument
469 static int php_stream_temp_cast(php_stream *stream, int castas, void **ret) argument
483 return php_stream_cast(ts->innerstream, castas, ret, 0);
491 if (ret == NULL && castas == PHP_STREAM_AS_STDIO) {
511 return php_stream_cast(ts->innerstream, castas, ret, 1);
H A Dplain_wrapper.c516 static int php_stdiop_cast(php_stream *stream, int castas, void **ret) argument
526 switch (castas) {
H A Duserspace.c200 function stream_cast($castas)
202 if ($castas == STREAM_CAST_FOR_SELECT) {
1478 static int php_userstreamop_cast(php_stream *stream, int castas, void **retptr) argument
1490 switch(castas) {
1526 ret = php_stream_cast(intstream, castas, retptr, 1);
H A Dxp_socket.c430 static int php_sockop_cast(php_stream *stream, int castas, void **ret) argument
438 switch(castas) {

Completed in 23 milliseconds