Home
last modified time | relevance | path

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

/PHP-7.0/main/streams/
H A Dxp_socket.c154 ssize_t nr_bytes = 0; in php_sockop_read() local
167nr_bytes = recv(sock->socket, buf, XP_SOCK_BUF_SIZE(count), (sock->is_blocked && sock->timeout.tv_… in php_sockop_read()
170 stream->eof = (nr_bytes == 0 || (nr_bytes == -1 && err != EWOULDBLOCK && err != EAGAIN)); in php_sockop_read()
172 if (nr_bytes > 0) { in php_sockop_read()
173 php_stream_notify_progress_increment(PHP_STREAM_CONTEXT(stream), nr_bytes, 0); in php_sockop_read()
176 if (nr_bytes < 0) { in php_sockop_read()
177 nr_bytes = 0; in php_sockop_read()
180 return nr_bytes; in php_sockop_read()
/PHP-7.0/ext/openssl/
H A Dxp_ssl.c190 int err = SSL_get_error(sslsock->ssl_handle, nr_bytes); in handle_ssl_error()
210 if (nr_bytes == 0) { in handle_ssl_error()
1969 int nr_bytes = 0; in php_openssl_sockop_io() local
2021 nr_bytes = 0; in php_openssl_sockop_io()
2035 if (nr_bytes <= 0) { in php_openssl_sockop_io()
2039 retry = handle_ssl_error(stream, nr_bytes, 0); in php_openssl_sockop_io()
2073 int err = SSL_get_error(sslsock->ssl_handle, nr_bytes); in php_openssl_sockop_io()
2096 if (nr_bytes > 0) { in php_openssl_sockop_io()
2105 return 0 > nr_bytes ? 0 : nr_bytes; in php_openssl_sockop_io()
2107 size_t nr_bytes = 0; in php_openssl_sockop_io() local
[all …]
/PHP-7.0/ext/ftp/
H A Dftp.c1361 int n, nr_bytes; in my_recv() local
1394 nr_bytes = SSL_read(handle, buf, len); in my_recv()
1395 err = SSL_get_error(handle, nr_bytes); in my_recv()
1429 nr_bytes = recv(s, buf, len, 0); in my_recv()
1433 return (nr_bytes); in my_recv()

Completed in 17 milliseconds