Lines Matching refs:ret
196 int ret; in php_stream_xport_bind() local
204 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_XPORT_API, 0, ¶m); in php_stream_xport_bind()
206 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_bind()
214 return ret; in php_stream_xport_bind()
227 int ret; in php_stream_xport_connect() local
237 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_XPORT_API, 0, ¶m); in php_stream_xport_connect()
239 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_connect()
249 return ret; in php_stream_xport_connect()
257 int ret; in php_stream_xport_listen() local
264 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_XPORT_API, 0, ¶m); in php_stream_xport_listen()
266 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_listen()
274 return ret; in php_stream_xport_listen()
286 int ret; in php_stream_xport_accept() local
296 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_XPORT_API, 0, ¶m); in php_stream_xport_accept()
298 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_accept()
313 return ret; in php_stream_xport_accept()
322 int ret; in php_stream_xport_get_name() local
330 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_XPORT_API, 0, ¶m); in php_stream_xport_get_name()
332 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_get_name()
343 return ret; in php_stream_xport_get_name()
349 int ret; in php_stream_xport_crypto_setup() local
356 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_CRYPTO_API, 0, ¶m); in php_stream_xport_crypto_setup()
358 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_crypto_setup()
364 return ret; in php_stream_xport_crypto_setup()
370 int ret; in php_stream_xport_crypto_enable() local
376 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_CRYPTO_API, 0, ¶m); in php_stream_xport_crypto_enable()
378 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_crypto_enable()
384 return ret; in php_stream_xport_crypto_enable()
394 int ret = 0; in php_stream_xport_recvfrom() local
441 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_XPORT_API, 0, ¶m); in php_stream_xport_recvfrom()
443 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_recvfrom()
462 int ret = 0; in php_stream_xport_sendto() local
488 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_XPORT_API, 0, ¶m); in php_stream_xport_sendto()
490 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_sendto()
501 int ret = 0; in php_stream_xport_shutdown() local
508 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_XPORT_API, 0, ¶m); in php_stream_xport_shutdown()
510 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_shutdown()