Lines Matching refs:outputs

370 					xparam->outputs.returncode = (listen(sock->socket, xparam->inputs.backlog) == 0) ?  0: -1;  in php_sockop_set_option()
374 xparam->outputs.returncode = php_network_get_sock_name(sock->socket, in php_sockop_set_option()
375 xparam->want_textaddr ? &xparam->outputs.textaddr : NULL, in php_sockop_set_option()
376 xparam->want_addr ? &xparam->outputs.addr : NULL, in php_sockop_set_option()
377 xparam->want_addr ? &xparam->outputs.addrlen : NULL in php_sockop_set_option()
382 xparam->outputs.returncode = php_network_get_peer_name(sock->socket, in php_sockop_set_option()
383 xparam->want_textaddr ? &xparam->outputs.textaddr : NULL, in php_sockop_set_option()
384 xparam->want_addr ? &xparam->outputs.addr : NULL, in php_sockop_set_option()
385 xparam->want_addr ? &xparam->outputs.addrlen : NULL in php_sockop_set_option()
394 xparam->outputs.returncode = sock_sendto(sock, in php_sockop_set_option()
399 if (xparam->outputs.returncode == -1) { in php_sockop_set_option()
415 xparam->outputs.returncode = sock_recvfrom(sock, in php_sockop_set_option()
418 xparam->want_textaddr ? &xparam->outputs.textaddr : NULL, in php_sockop_set_option()
419 xparam->want_addr ? &xparam->outputs.addr : NULL, in php_sockop_set_option()
420 xparam->want_addr ? &xparam->outputs.addrlen : NULL in php_sockop_set_option()
438 xparam->outputs.returncode = shutdown(sock->socket, shutdown_how[xparam->how]); in php_sockop_set_option()
609 …>inputs.name, xparam->inputs.namelen, portno, xparam->want_errortext, &xparam->outputs.error_text); in parse_ip_address()
628 xparam->outputs.error_text = strpprintf(0, "Failed to create unix%s socket %s", in php_tcp_sockop_bind()
680 xparam->want_errortext ? &xparam->outputs.error_text : NULL, in php_tcp_sockop_bind()
709 xparam->outputs.error_text = strpprintf(0, "Failed to create unix socket"); in php_tcp_sockop_connect()
719 xparam->want_errortext ? &xparam->outputs.error_text : NULL, in php_tcp_sockop_connect()
722 xparam->outputs.error_code = err; in php_tcp_sockop_connect()
737 xparam->outputs.error_text = strpprintf(0, "local_addr context option is not a string."); in php_tcp_sockop_connect()
742 …L_P(tmpzval), Z_STRLEN_P(tmpzval), &bindport, xparam->want_errortext, &xparam->outputs.error_text); in php_tcp_sockop_connect()
763 xparam->want_errortext ? &xparam->outputs.error_text : NULL, in php_tcp_sockop_connect()
771 xparam->outputs.error_code = err; in php_tcp_sockop_connect()
797 xparam->outputs.client = NULL; in php_tcp_sockop_accept()
800 xparam->want_textaddr ? &xparam->outputs.textaddr : NULL, in php_tcp_sockop_accept()
801 xparam->want_addr ? &xparam->outputs.addr : NULL, in php_tcp_sockop_accept()
802 xparam->want_addr ? &xparam->outputs.addrlen : NULL, in php_tcp_sockop_accept()
804 xparam->want_errortext ? &xparam->outputs.error_text : NULL, in php_tcp_sockop_accept()
805 &xparam->outputs.error_code in php_tcp_sockop_accept()
820 xparam->outputs.client = php_stream_alloc_rel(stream->ops, clisockdata, NULL, "r+"); in php_tcp_sockop_accept()
821 if (xparam->outputs.client) { in php_tcp_sockop_accept()
822 xparam->outputs.client->ctx = stream->ctx; in php_tcp_sockop_accept()
830 return xparam->outputs.client == NULL ? -1 : 0; in php_tcp_sockop_accept()
845 xparam->outputs.returncode = php_tcp_sockop_connect(stream, sock, xparam); in php_tcp_sockop_set_option()
849 xparam->outputs.returncode = php_tcp_sockop_bind(stream, sock, xparam); in php_tcp_sockop_set_option()
854 xparam->outputs.returncode = php_tcp_sockop_accept(stream, sock, xparam STREAMS_CC); in php_tcp_sockop_set_option()