Lines Matching refs:outputs
348 xparam->outputs.returncode = (listen(sock->socket, xparam->inputs.backlog) == 0) ? 0: -1; in php_sockop_set_option()
352 xparam->outputs.returncode = php_network_get_sock_name(sock->socket, in php_sockop_set_option()
353 xparam->want_textaddr ? &xparam->outputs.textaddr : NULL, in php_sockop_set_option()
354 xparam->want_textaddr ? &xparam->outputs.textaddrlen : NULL, in php_sockop_set_option()
355 xparam->want_addr ? &xparam->outputs.addr : NULL, in php_sockop_set_option()
356 xparam->want_addr ? &xparam->outputs.addrlen : NULL in php_sockop_set_option()
361 xparam->outputs.returncode = php_network_get_peer_name(sock->socket, in php_sockop_set_option()
362 xparam->want_textaddr ? &xparam->outputs.textaddr : NULL, in php_sockop_set_option()
363 xparam->want_textaddr ? &xparam->outputs.textaddrlen : NULL, in php_sockop_set_option()
364 xparam->want_addr ? &xparam->outputs.addr : NULL, in php_sockop_set_option()
365 xparam->want_addr ? &xparam->outputs.addrlen : NULL in php_sockop_set_option()
374 xparam->outputs.returncode = sock_sendto(sock, in php_sockop_set_option()
379 if (xparam->outputs.returncode == -1) { in php_sockop_set_option()
395 xparam->outputs.returncode = sock_recvfrom(sock, in php_sockop_set_option()
398 xparam->want_textaddr ? &xparam->outputs.textaddr : NULL, in php_sockop_set_option()
399 xparam->want_textaddr ? &xparam->outputs.textaddrlen : NULL, in php_sockop_set_option()
400 xparam->want_addr ? &xparam->outputs.addr : NULL, in php_sockop_set_option()
401 xparam->want_addr ? &xparam->outputs.addrlen : NULL in php_sockop_set_option()
419 xparam->outputs.returncode = shutdown(sock->socket, shutdown_how[xparam->how]); in php_sockop_set_option()
586 …s.name, xparam->inputs.namelen, portno, xparam->want_errortext, &xparam->outputs.error_text TSRMLS… in parse_ip_address()
603 spprintf(&xparam->outputs.error_text, 0, "Failed to create unix%s socket %s", in php_tcp_sockop_bind()
625 xparam->want_errortext ? &xparam->outputs.error_text : NULL, in php_tcp_sockop_bind()
653 spprintf(&xparam->outputs.error_text, 0, "Failed to create unix socket"); in php_tcp_sockop_connect()
663 xparam->want_errortext ? &xparam->outputs.error_text : NULL, in php_tcp_sockop_connect()
666 xparam->outputs.error_code = err; in php_tcp_sockop_connect()
681 spprintf(&xparam->outputs.error_text, 0, "local_addr context option is not a string."); in php_tcp_sockop_connect()
686 …zval), Z_STRLEN_PP(tmpzval), &bindport, xparam->want_errortext, &xparam->outputs.error_text TSRMLS… in php_tcp_sockop_connect()
697 xparam->want_errortext ? &xparam->outputs.error_text : NULL, in php_tcp_sockop_connect()
704 xparam->outputs.error_code = err; in php_tcp_sockop_connect()
730 xparam->outputs.client = NULL; in php_tcp_sockop_accept()
733 xparam->want_textaddr ? &xparam->outputs.textaddr : NULL, in php_tcp_sockop_accept()
734 xparam->want_textaddr ? &xparam->outputs.textaddrlen : NULL, in php_tcp_sockop_accept()
735 xparam->want_addr ? &xparam->outputs.addr : NULL, in php_tcp_sockop_accept()
736 xparam->want_addr ? &xparam->outputs.addrlen : NULL, in php_tcp_sockop_accept()
738 xparam->want_errortext ? &xparam->outputs.error_text : NULL, in php_tcp_sockop_accept()
739 &xparam->outputs.error_code in php_tcp_sockop_accept()
754 xparam->outputs.client = php_stream_alloc_rel(stream->ops, clisockdata, NULL, "r+"); in php_tcp_sockop_accept()
755 if (xparam->outputs.client) { in php_tcp_sockop_accept()
756 xparam->outputs.client->context = stream->context; in php_tcp_sockop_accept()
764 return xparam->outputs.client == NULL ? -1 : 0; in php_tcp_sockop_accept()
779 xparam->outputs.returncode = php_tcp_sockop_connect(stream, sock, xparam TSRMLS_CC); in php_tcp_sockop_set_option()
783 xparam->outputs.returncode = php_tcp_sockop_bind(stream, sock, xparam TSRMLS_CC); in php_tcp_sockop_set_option()
788 xparam->outputs.returncode = php_tcp_sockop_accept(stream, sock, xparam STREAMS_CC TSRMLS_CC); in php_tcp_sockop_set_option()