Lines Matching refs:ret
207 int ret; in php_stream_xport_bind() local
215 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_XPORT_API, 0, ¶m); in php_stream_xport_bind()
217 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_bind()
225 return ret; in php_stream_xport_bind()
238 int ret; in php_stream_xport_connect() local
248 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_XPORT_API, 0, ¶m); in php_stream_xport_connect()
250 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_connect()
260 return ret; in php_stream_xport_connect()
268 int ret; in php_stream_xport_listen() local
275 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_XPORT_API, 0, ¶m); in php_stream_xport_listen()
277 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_listen()
285 return ret; in php_stream_xport_listen()
297 int ret; in php_stream_xport_accept() local
307 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_XPORT_API, 0, ¶m); in php_stream_xport_accept()
309 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_accept()
324 return ret; in php_stream_xport_accept()
333 int ret; in php_stream_xport_get_name() local
341 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_XPORT_API, 0, ¶m); in php_stream_xport_get_name()
343 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_get_name()
354 return ret; in php_stream_xport_get_name()
360 int ret; in php_stream_xport_crypto_setup() local
367 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_CRYPTO_API, 0, ¶m); in php_stream_xport_crypto_setup()
369 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_crypto_setup()
375 return ret; in php_stream_xport_crypto_setup()
381 int ret; in php_stream_xport_crypto_enable() local
387 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_CRYPTO_API, 0, ¶m); in php_stream_xport_crypto_enable()
389 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_crypto_enable()
395 return ret; in php_stream_xport_crypto_enable()
405 int ret = 0; in php_stream_xport_recvfrom() local
452 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_XPORT_API, 0, ¶m); in php_stream_xport_recvfrom()
454 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_recvfrom()
473 int ret = 0; in php_stream_xport_sendto() local
499 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_XPORT_API, 0, ¶m); in php_stream_xport_sendto()
501 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_sendto()
512 int ret = 0; in php_stream_xport_shutdown() local
519 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_XPORT_API, 0, ¶m); in php_stream_xport_shutdown()
521 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_shutdown()