Home
last modified time | relevance | path

Searched refs:read_size (Results 1 – 8 of 8) sorted by relevance

/PHP-7.3/ext/phar/
H A Dutil.c1476 size_t read_size, len; in phar_verify_signature() local
1566 read_size = sizeof(buf); in phar_verify_signature()
1568 read_size = (size_t)read_len; in phar_verify_signature()
1573 while (read_size && (len = php_stream_read(fp, (char*)buf, read_size)) > 0) { in phar_verify_signature()
1577 if (read_len < read_size) { in phar_verify_signature()
1615 read_size = sizeof(buf); in phar_verify_signature()
1617 read_size = (size_t)read_len; in phar_verify_signature()
1655 read_size = sizeof(buf); in phar_verify_signature()
1657 read_size = (size_t)read_len; in phar_verify_signature()
1703 read_size = sizeof(buf); in phar_verify_signature()
[all …]
/PHP-7.3/ext/standard/tests/file/
H A Dfread_variation3-win32-mb.phpt22 /* Function : function check_read(resource $file_handle, int $read_size, int $expect_size)
23 Description : Read data from file of size $read_size and verifies that $expected_size no. of
26 $read_size : No. of bytes to be read.
30 function check_read($file_handle, $read_size, $expect_size) {
35 // read the data of size $read_size
36 echo "Reading $read_size bytes from file, expecting $expect_size bytes ... ";
37 $data_from_file = fread($file_handle, $read_size);
H A Dfread_variation3-win32.phpt22 /* Function : function check_read(resource $file_handle, int $read_size, int $expect_size)
23 Description : Read data from file of size $read_size and verifies that $expected_size no. of
26 $read_size : No. of bytes to be read.
30 function check_read($file_handle, $read_size, $expect_size) {
35 // read the data of size $read_size
36 echo "Reading $read_size bytes from file, expecting $expect_size bytes ... ";
37 $data_from_file = fread($file_handle, $read_size);
H A Dfread_variation3.phpt22 /* Function : function check_read(resource $file_handle, int $read_size, int $expect_size)
23 Description : Read data from file of size $read_size and verifies that $expected_size no. of
26 $read_size : No. of bytes to be read.
30 function check_read($file_handle, $read_size, $expect_size) {
35 // read the data of size $read_size
36 echo "Reading $read_size bytes from file, expecting $expect_size bytes ... ";
37 $data_from_file = fread($file_handle, $read_size);
H A Dfread_variation4-win32.phpt22 /* Function : function check_read(resource $file_handle, int $read_size, int $expect_size)
23 Description : Read data from file of size $read_size and verifies that $expected_size no. of
26 $read_size : No. of bytes to be read.
30 function check_read($file_handle, $read_size, $expect_size) {
35 // read the data of size $read_size
36 echo "Reading $read_size bytes from file, expecting $expect_size bytes ... ";
37 $data_from_file = fread($file_handle, $read_size);
H A Dfread_variation4.phpt22 /* Function : function check_read(resource $file_handle, int $read_size, int $expect_size)
23 Description : Read data from file of size $read_size and verifies that $expected_size no. of
26 $read_size : No. of bytes to be read.
30 function check_read($file_handle, $read_size, $expect_size) {
35 // read the data of size $read_size
36 echo "Reading $read_size bytes from file, expecting $expect_size bytes ... ";
37 $data_from_file = fread($file_handle, $read_size);
H A Dfread_variation2.phpt18 /* Function : function check_read(resource $file_handle, int $read_size, int $expect_size)
19 Description : Read data from file of size $read_size and verifies that $expected_size no. of
22 $read_size : No. of bytes to be read.
26 function check_read($file_handle, $read_size, $expect_size) {
31 // read the data of size $read_size
32 echo "Reading $read_size bytes from file, expecting $expect_size bytes ... ";
33 $data_from_file = fread($file_handle, $read_size);
H A Dfread_variation1.phpt20 /* Function : function check_read(resource $file_handle, int $read_size, int $expect_size)
21 Description : Read data from file of size $read_size and verifies that $expected_size no. of
24 $read_size : No. of bytes to be read.
28 function check_read($file_handle, $read_size, $expect_size) {
33 // read the data of size $read_size
34 echo "Reading $read_size bytes from file, expecting $expect_size bytes ... ";
35 $data_from_file = fread($file_handle, $read_size);

Completed in 32 milliseconds