Lines Matching refs:outputs
374 xparam->outputs.returncode = (listen(sock->socket, xparam->inputs.backlog) == 0) ? 0: -1; in php_sockop_set_option()
378 xparam->outputs.returncode = php_network_get_sock_name(sock->socket, in php_sockop_set_option()
379 xparam->want_textaddr ? &xparam->outputs.textaddr : NULL, in php_sockop_set_option()
380 xparam->want_addr ? &xparam->outputs.addr : NULL, in php_sockop_set_option()
381 xparam->want_addr ? &xparam->outputs.addrlen : NULL in php_sockop_set_option()
386 xparam->outputs.returncode = php_network_get_peer_name(sock->socket, in php_sockop_set_option()
387 xparam->want_textaddr ? &xparam->outputs.textaddr : NULL, in php_sockop_set_option()
388 xparam->want_addr ? &xparam->outputs.addr : NULL, in php_sockop_set_option()
389 xparam->want_addr ? &xparam->outputs.addrlen : NULL in php_sockop_set_option()
398 xparam->outputs.returncode = sock_sendto(sock, in php_sockop_set_option()
403 if (xparam->outputs.returncode == -1) { in php_sockop_set_option()
419 xparam->outputs.returncode = sock_recvfrom(sock, in php_sockop_set_option()
422 xparam->want_textaddr ? &xparam->outputs.textaddr : NULL, in php_sockop_set_option()
423 xparam->want_addr ? &xparam->outputs.addr : NULL, in php_sockop_set_option()
424 xparam->want_addr ? &xparam->outputs.addrlen : NULL in php_sockop_set_option()
442 xparam->outputs.returncode = shutdown(sock->socket, shutdown_how[xparam->how]); in php_sockop_set_option()
613 …>inputs.name, xparam->inputs.namelen, portno, xparam->want_errortext, &xparam->outputs.error_text); in parse_ip_address()
632 xparam->outputs.error_text = strpprintf(0, "Failed to create unix%s socket %s", in php_tcp_sockop_bind()
684 xparam->want_errortext ? &xparam->outputs.error_text : NULL, in php_tcp_sockop_bind()
713 xparam->outputs.error_text = strpprintf(0, "Failed to create unix socket"); in php_tcp_sockop_connect()
723 xparam->want_errortext ? &xparam->outputs.error_text : NULL, in php_tcp_sockop_connect()
726 xparam->outputs.error_code = err; in php_tcp_sockop_connect()
741 xparam->outputs.error_text = strpprintf(0, "local_addr context option is not a string."); in php_tcp_sockop_connect()
746 …L_P(tmpzval), Z_STRLEN_P(tmpzval), &bindport, xparam->want_errortext, &xparam->outputs.error_text); in php_tcp_sockop_connect()
779 xparam->want_errortext ? &xparam->outputs.error_text : NULL, in php_tcp_sockop_connect()
787 xparam->outputs.error_code = err; in php_tcp_sockop_connect()
815 xparam->outputs.client = NULL; in php_tcp_sockop_accept()
824 xparam->want_textaddr ? &xparam->outputs.textaddr : NULL, in php_tcp_sockop_accept()
825 xparam->want_addr ? &xparam->outputs.addr : NULL, in php_tcp_sockop_accept()
826 xparam->want_addr ? &xparam->outputs.addrlen : NULL, in php_tcp_sockop_accept()
828 xparam->want_errortext ? &xparam->outputs.error_text : NULL, in php_tcp_sockop_accept()
829 &xparam->outputs.error_code, in php_tcp_sockop_accept()
838 xparam->outputs.client = php_stream_alloc_rel(stream->ops, clisockdata, NULL, "r+"); in php_tcp_sockop_accept()
839 if (xparam->outputs.client) { in php_tcp_sockop_accept()
840 xparam->outputs.client->ctx = stream->ctx; in php_tcp_sockop_accept()
847 return xparam->outputs.client == NULL ? -1 : 0; in php_tcp_sockop_accept()
862 xparam->outputs.returncode = php_tcp_sockop_connect(stream, sock, xparam); in php_tcp_sockop_set_option()
866 xparam->outputs.returncode = php_tcp_sockop_bind(stream, sock, xparam); in php_tcp_sockop_set_option()
871 xparam->outputs.returncode = php_tcp_sockop_accept(stream, sock, xparam STREAMS_CC); in php_tcp_sockop_set_option()