/PHP-7.0/sapi/phpdbg/ |
H A D | phpdbg_io.c | 98 PHPDBG_API int phpdbg_consume_bytes(int sock, char *ptr, int len, int tmo) { 162 PHPDBG_API int phpdbg_send_bytes(int sock, const char *ptr, int len) { 179 PHPDBG_API int phpdbg_mixed_read(int sock, char *ptr, int len, int tmo) { 193 static int phpdbg_output_pager(int sock, const char *ptr, int len) { 223 PHPDBG_API int phpdbg_mixed_write(int sock, const char *ptr, int len) { 258 int sock = -1, rc; local 351 PHPDBG_API void phpdbg_close_socket(int sock) {
|
H A D | phpdbg_rinit_hook.c | 57 struct sockaddr_un sock; in PHP_RINIT_FUNCTION() local
|
/PHP-7.0/main/streams/ |
H A D | xp_socket.c | 63 php_netstream_data_t *sock = (php_netstream_data_t*)stream->abstract; in php_sockop_write() local 121 static void php_sock_stream_wait_for_data(php_stream *stream, php_netstream_data_t *sock) in php_sock_stream_wait_for_data() 153 php_netstream_data_t *sock = (php_netstream_data_t*)stream->abstract; in php_sockop_read() local 186 php_netstream_data_t *sock = (php_netstream_data_t*)stream->abstract; in php_sockop_close() local 300 php_netstream_data_t *sock = (php_netstream_data_t*)stream->abstract; in php_sockop_set_option() local 454 php_netstream_data_t *sock = (php_netstream_data_t*)stream->abstract; in php_sockop_cast() local 612 static inline int php_tcp_sockop_bind(php_stream *stream, php_netstream_data_t *sock, in php_tcp_sockop_bind() 691 static inline int php_tcp_sockop_connect(php_stream *stream, php_netstream_data_t *sock, in php_tcp_sockop_connect() 792 static inline int php_tcp_sockop_accept(php_stream *stream, php_netstream_data_t *sock, in php_tcp_sockop_accept() 835 php_netstream_data_t *sock = (php_netstream_data_t*)stream->abstract; in php_tcp_sockop_set_option() local [all …]
|
/PHP-7.0/sapi/fpm/fpm/ |
H A D | fpm_sockets.c | 35 int sock; member 98 static int fpm_sockets_hash_op(int sock, struct sockaddr *sa, char *key, int type, int op) /* {{{ */ in fpm_sockets_hash_op() 166 int sock; in fpm_sockets_new_listening_socket() local 222 int sock; in fpm_sockets_get_listening_socket() local 258 int sock = -1; in fpm_socket_af_inet_listening_socket() local 414 int fpm_socket_get_listening_queue(int sock, unsigned *cur_lq, unsigned *max_lq) in fpm_socket_get_listening_queue() 457 int fpm_socket_get_listening_queue(int sock, unsigned *cur_lq, unsigned *max_lq) in fpm_socket_get_listening_queue() 485 int fpm_socket_get_listening_queue(int sock, unsigned *cur_lq, unsigned *max_lq) in fpm_socket_get_listening_queue() 492 int fpm_socket_unix_test_connect(struct sockaddr_un *sock, size_t socklen) /* {{{ */ in fpm_socket_unix_test_connect()
|
/PHP-7.0/ext/sockets/ |
H A D | multicast.c | 117 php_socket *sock, unsigned int *if_index) in php_get_if_index_from_array() 130 php_socket *sock, php_sockaddr_storage *ss, socklen_t *ss_len) in php_get_address_from_array() 382 php_socket *sock, in php_mcast_join() 392 php_socket *sock, in php_mcast_leave() 403 php_socket *sock, in php_mcast_join_source() 415 php_socket *sock, in php_mcast_leave_source() 427 php_socket *sock, in php_mcast_block_source() 439 php_socket *sock, in php_mcast_unblock_source() 453 php_socket *sock, in _php_mcast_join_leave() 515 php_socket *sock, in _php_mcast_source_op()
|
H A D | conversions.c | 76 php_socket *sock; member 1353 php_socket *sock; in from_zval_write_fd_array_aux() local 1424 php_socket *sock = socket_import_file_descriptor(fd); in to_zval_read_fd_array() local 1442 php_socket *sock, in from_zval_run_conversions()
|
H A D | sockets.c | 429 php_socket *sock = php_create_socket(); local 498 static int php_read(php_socket *sock, void *buf, size_t maxlen, int flags)
|
/PHP-7.0/main/ |
H A D | network.c | 290 # define SET_SOCKET_BLOCKING_MODE(sock, save) \ argument 292 # define RESTORE_SOCKET_BLOCKING_MODE(sock, save) \ argument 296 # define SET_SOCKET_BLOCKING_MODE(sock, save) \ argument 299 # define RESTORE_SOCKET_BLOCKING_MODE(sock, save) \ argument 429 php_socket_t sock; local 674 PHPAPI int php_network_get_peer_name(php_socket_t sock, 694 PHPAPI int php_network_get_sock_name(php_socket_t sock, 786 php_socket_t sock; local 1100 php_netstream_data_t *sock; local
|
H A D | php_network.h | 259 #define php_connect_nonb(sock, addr, addrlen, timeout) \ argument
|
/PHP-7.0/Zend/ |
H A D | zend_portability.h | 453 #define ZEND_VALID_SOCKET(sock) (INVALID_SOCKET != (sock)) argument 455 #define ZEND_VALID_SOCKET(sock) ((sock) >= 0) argument
|
/PHP-7.0/ext/openssl/ |
H A D | xp_ssl.c | 2237 …ic inline int php_openssl_tcp_sockop_accept(php_stream *stream, php_openssl_netstream_data_t *sock, in php_openssl_tcp_sockop_accept()
|
/PHP-7.0/sapi/cli/ |
H A D | php_cli_server.c | 164 php_socket_t sock; member
|