Lines Matching refs:ret
70 int ret; in stream_cookie_reader() local
72 ret = php_stream_read((php_stream*)cookie, buffer, size); in stream_cookie_reader()
73 return ret; in stream_cookie_reader()
100 ssize_t ret; in stream_cookie_reader() local
102 ret = php_stream_read(((php_stream *)cookie), buffer, size); in stream_cookie_reader()
103 return ret; in stream_cookie_reader()
194 PHPAPI int _php_stream_cast(php_stream *stream, int castas, void **ret, int show_err) in _php_stream_cast() argument
200 if (ret && castas != PHP_STREAM_AS_FD_FOR_SELECT) { in _php_stream_cast()
214 if (ret) { in _php_stream_cast()
215 *(FILE**)ret = stream->stdiocast; in _php_stream_cast()
225 stream->ops->cast(stream, castas, ret) == SUCCESS in _php_stream_cast()
232 if (ret == NULL) { in _php_stream_cast()
239 *(FILE**)ret = fopencookie(stream, fixed_mode, PHP_STREAM_COOKIE_FUNCTIONS); in _php_stream_cast()
242 if (*ret != NULL) { in _php_stream_cast()
251 zend_fseek(*ret, pos, SEEK_SET); 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()
284 rewind(*(FILE**)ret); in _php_stream_cast()
305 } else if (stream->ops->cast && stream->ops->cast(stream, castas, ret) == SUCCESS) { in _php_stream_cast()
336 if (castas == PHP_STREAM_AS_STDIO && ret) { in _php_stream_cast()
337 stream->stdiocast = *(FILE**)ret; in _php_stream_cast()