Home
last modified time | relevance | path

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

/php-src/main/streams/
H A Dxp_socket.c191 ssize_t nr_bytes = recv(sock->socket, buf, XP_SOCK_BUF_SIZE(count), recv_flags); in php_sockop_read() local
194 if (nr_bytes < 0) { in php_sockop_read()
196 nr_bytes = 0; in php_sockop_read()
200 } else if (nr_bytes == 0) { in php_sockop_read()
204 if (nr_bytes > 0) { in php_sockop_read()
205 php_stream_notify_progress_increment(PHP_STREAM_CONTEXT(stream), nr_bytes, 0); in php_sockop_read()
208 return nr_bytes; in php_sockop_read()
/php-src/ext/openssl/
H A Dxp_ssl.c240 int err = SSL_get_error(sslsock->ssl_handle, nr_bytes); in php_openssl_handle_ssl_error()
260 if (nr_bytes == 0) { in php_openssl_handle_ssl_error()
2054 int nr_bytes = 0; in php_openssl_sockop_io() local
2107 nr_bytes = 0; in php_openssl_sockop_io()
2121 if (nr_bytes <= 0) { in php_openssl_sockop_io()
2124 int err = SSL_get_error(sslsock->ssl_handle, nr_bytes ); in php_openssl_sockop_io()
2159 int err = SSL_get_error(sslsock->ssl_handle, nr_bytes); in php_openssl_sockop_io()
2182 if (nr_bytes > 0) { in php_openssl_sockop_io()
2191 return 0 > nr_bytes ? 0 : nr_bytes; in php_openssl_sockop_io()
2193 size_t nr_bytes = 0; in php_openssl_sockop_io() local
[all …]
/php-src/ext/ftp/
H A Dftp.c1509 int n, nr_bytes; in my_recv() local
1541 nr_bytes = SSL_read(handle, buf, len); in my_recv()
1542 err = SSL_get_error(handle, nr_bytes); in my_recv()
1576 nr_bytes = recv(s, buf, len, 0); in my_recv()
1580 return (nr_bytes); in my_recv()

Completed in 20 milliseconds