/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg_io.c | 96 PHPDBG_API int phpdbg_consume_bytes(int sock, char *ptr, int len, int tmo) { 160 PHPDBG_API int phpdbg_send_bytes(int sock, const char *ptr, int len) { 177 PHPDBG_API int phpdbg_mixed_read(int sock, char *ptr, int len, int tmo) { 191 static int phpdbg_output_pager(int sock, const char *ptr, int len) { 221 PHPDBG_API int phpdbg_mixed_write(int sock, const char *ptr, int len) { 256 int sock = -1, rc; local 344 PHPDBG_API void phpdbg_close_socket(int sock) {
|
H A D | phpdbg_rinit_hook.c | 55 struct sockaddr_un sock; in PHP_RINIT_FUNCTION() local
|
/PHP-8.0/main/streams/ |
H A D | xp_socket.c | 59 php_netstream_data_t *sock = (php_netstream_data_t*)stream->abstract; in php_sockop_write() local 122 static void php_sock_stream_wait_for_data(php_stream *stream, php_netstream_data_t *sock) in php_sock_stream_wait_for_data() 154 php_netstream_data_t *sock = (php_netstream_data_t*)stream->abstract; in php_sockop_read() local 191 php_netstream_data_t *sock = (php_netstream_data_t*)stream->abstract; in php_sockop_close() local 311 php_netstream_data_t *sock = (php_netstream_data_t*)stream->abstract; in php_sockop_set_option() local 464 php_netstream_data_t *sock = (php_netstream_data_t*)stream->abstract; in php_sockop_cast() local 622 static inline int php_tcp_sockop_bind(php_stream *stream, php_netstream_data_t *sock, in php_tcp_sockop_bind() 701 static inline int php_tcp_sockop_connect(php_stream *stream, php_netstream_data_t *sock, in php_tcp_sockop_connect() 814 static inline int php_tcp_sockop_accept(php_stream *stream, php_netstream_data_t *sock, in php_tcp_sockop_accept() 862 php_netstream_data_t *sock = (php_netstream_data_t*)stream->abstract; in php_tcp_sockop_set_option() local [all …]
|
/PHP-8.0/sapi/fpm/fpm/ |
H A D | fpm_sockets.c | 33 int sock; member 135 static int fpm_sockets_hash_op(int sock, struct sockaddr *sa, char *key, int type, int op) /* {{{ */ in fpm_sockets_hash_op() 203 int sock; in fpm_sockets_new_listening_socket() local 259 int sock; in fpm_sockets_get_listening_socket() local 291 int sock = -1; in fpm_socket_af_inet_socket_by_addr() local 326 int sock = -1; in fpm_socket_af_inet_listening_socket() local 495 int fpm_socket_get_listening_queue(int sock, unsigned *cur_lq, unsigned *max_lq) in fpm_socket_get_listening_queue() 538 int fpm_socket_get_listening_queue(int sock, unsigned *cur_lq, unsigned *max_lq) in fpm_socket_get_listening_queue() 566 int fpm_socket_get_listening_queue(int sock, unsigned *cur_lq, unsigned *max_lq) in fpm_socket_get_listening_queue() 573 int fpm_socket_unix_test_connect(struct sockaddr_un *sock, size_t socklen) /* {{{ */ in fpm_socket_unix_test_connect()
|
/PHP-8.0/ext/sockets/ |
H A D | multicast.c | 108 php_socket *sock, unsigned int *if_index) in php_get_if_index_from_array() 121 php_socket *sock, php_sockaddr_storage *ss, socklen_t *ss_len) in php_get_address_from_array() 369 php_socket *sock, in php_mcast_join() 379 php_socket *sock, in php_mcast_leave() 390 php_socket *sock, in php_mcast_join_source() 402 php_socket *sock, in php_mcast_leave_source() 414 php_socket *sock, in php_mcast_block_source() 426 php_socket *sock, in php_mcast_unblock_source() 440 php_socket *sock, in _php_mcast_join_leave() 503 php_socket *sock, in _php_mcast_source_op()
|
H A D | conversions.c | 69 php_socket *sock; member 1356 php_socket *sock = Z_SOCKET_P(elem); in from_zval_write_fd_array_aux() local 1432 php_socket *sock = Z_SOCKET_P(&elem); in to_zval_read_fd_array() local 1451 php_socket *sock, in from_zval_run_conversions()
|
H A D | sockets.c | 226 static int php_open_listen_sock(php_socket *sock, int port, int backlog) /* {{{ */ 287 static int php_read(php_socket *sock, void *buf, size_t maxlen, int flags) 2602 PHP_SOCKET sock; local
|
/PHP-8.0/main/ |
H A D | network.c | 283 # define SET_SOCKET_BLOCKING_MODE(sock, save) \ argument 285 # define RESTORE_SOCKET_BLOCKING_MODE(sock, save) \ argument 289 # define SET_SOCKET_BLOCKING_MODE(sock, save) \ argument 292 # define RESTORE_SOCKET_BLOCKING_MODE(sock, save) \ argument 414 php_socket_t sock; local 668 PHPAPI int php_network_get_peer_name(php_socket_t sock, 688 PHPAPI int php_network_get_sock_name(php_socket_t sock, 785 php_socket_t sock; local 1084 php_netstream_data_t *sock; local
|
H A D | php_network.h | 274 #define php_connect_nonb(sock, addr, addrlen, timeout) \ argument
|
/PHP-8.0/Zend/ |
H A D | zend_portability.h | 460 #define ZEND_VALID_SOCKET(sock) (INVALID_SOCKET != (sock)) argument 462 #define ZEND_VALID_SOCKET(sock) ((sock) >= 0) argument
|
/PHP-8.0/ext/standard/ |
H A D | proc_open.c | 758 php_socket_t sock[2]; in set_proc_descriptor_to_socket() local
|
/PHP-8.0/ext/openssl/ |
H A D | xp_ssl.c | 2258 …ic inline int php_openssl_tcp_sockop_accept(php_stream *stream, php_openssl_netstream_data_t *sock, in php_openssl_tcp_sockop_accept()
|
/PHP-8.0/sapi/cli/ |
H A D | php_cli_server.c | 164 php_socket_t sock; member
|