Home
last modified time | relevance | path

Searched refs:nr_bytes (Results 1 – 3 of 3) sorted by relevance

/PHP-8.0/main/streams/
H A Dxp_socket.c155 ssize_t nr_bytes = 0; in php_sockop_read() local
168nr_bytes = recv(sock->socket, buf, XP_SOCK_BUF_SIZE(count), (sock->is_blocked && sock->timeout.tv_… in php_sockop_read()
171 if (nr_bytes < 0) { in php_sockop_read()
173 nr_bytes = 0; in php_sockop_read()
177 } else if (nr_bytes == 0) { in php_sockop_read()
181 if (nr_bytes > 0) { in php_sockop_read()
182 php_stream_notify_progress_increment(PHP_STREAM_CONTEXT(stream), nr_bytes, 0); in php_sockop_read()
185 return nr_bytes; in php_sockop_read()
/PHP-8.0/ext/openssl/
H A Dxp_ssl.c207 int err = SSL_get_error(sslsock->ssl_handle, nr_bytes); in php_openssl_handle_ssl_error()
227 if (nr_bytes == 0) { in php_openssl_handle_ssl_error()
1991 int nr_bytes = 0; in php_openssl_sockop_io() local
2044 nr_bytes = 0; in php_openssl_sockop_io()
2058 if (nr_bytes <= 0) { in php_openssl_sockop_io()
2061 int err = SSL_get_error(sslsock->ssl_handle, nr_bytes ); in php_openssl_sockop_io()
2096 int err = SSL_get_error(sslsock->ssl_handle, nr_bytes); in php_openssl_sockop_io()
2119 if (nr_bytes > 0) { in php_openssl_sockop_io()
2128 return 0 > nr_bytes ? 0 : nr_bytes; in php_openssl_sockop_io()
2130 size_t nr_bytes = 0; in php_openssl_sockop_io() local
[all …]
/PHP-8.0/ext/ftp/
H A Dftp.c1468 int n, nr_bytes; in my_recv() local
1500 nr_bytes = SSL_read(handle, buf, len); in my_recv()
1501 err = SSL_get_error(handle, nr_bytes); in my_recv()
1535 nr_bytes = recv(s, buf, len, 0); in my_recv()
1539 return (nr_bytes); in my_recv()

Completed in 22 milliseconds