Lines Matching refs:ret
202 int ret; in php_stream_xport_bind() local
210 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_XPORT_API, 0, ¶m); in php_stream_xport_bind()
212 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_bind()
220 return ret; in php_stream_xport_bind()
233 int ret; in php_stream_xport_connect() local
243 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_XPORT_API, 0, ¶m); in php_stream_xport_connect()
245 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_connect()
255 return ret; in php_stream_xport_connect()
263 int ret; in php_stream_xport_listen() local
270 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_XPORT_API, 0, ¶m); in php_stream_xport_listen()
272 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_listen()
280 return ret; in php_stream_xport_listen()
292 int ret; in php_stream_xport_accept() local
302 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_XPORT_API, 0, ¶m); in php_stream_xport_accept()
304 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_accept()
320 return ret; in php_stream_xport_accept()
329 int ret; in php_stream_xport_get_name() local
337 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_XPORT_API, 0, ¶m); in php_stream_xport_get_name()
339 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_get_name()
351 return ret; in php_stream_xport_get_name()
357 int ret; in php_stream_xport_crypto_setup() local
364 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_CRYPTO_API, 0, ¶m); in php_stream_xport_crypto_setup()
366 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_crypto_setup()
372 return ret; in php_stream_xport_crypto_setup()
378 int ret; in php_stream_xport_crypto_enable() local
384 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_CRYPTO_API, 0, ¶m); in php_stream_xport_crypto_enable()
386 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_crypto_enable()
392 return ret; in php_stream_xport_crypto_enable()
402 int ret = 0; in php_stream_xport_recvfrom() local
449 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_XPORT_API, 0, ¶m); in php_stream_xport_recvfrom()
451 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_recvfrom()
471 int ret = 0; in php_stream_xport_sendto() local
497 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_XPORT_API, 0, ¶m); in php_stream_xport_sendto()
499 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_sendto()
510 int ret = 0; in php_stream_xport_shutdown() local
517 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_XPORT_API, 0, ¶m); in php_stream_xport_shutdown()
519 if (ret == PHP_STREAM_OPTION_RETURN_OK) { in php_stream_xport_shutdown()