Home
last modified time | relevance | path

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

/PHP-7.0/ext/phar/
H A Dutil.c1485 int read_size, len; in phar_verify_signature() local
1575 read_size = sizeof(buf); in phar_verify_signature()
1577 read_size = (int)read_len; in phar_verify_signature()
1582 while (read_size && (len = php_stream_read(fp, (char*)buf, read_size)) > 0) { in phar_verify_signature()
1624 read_size = sizeof(buf); in phar_verify_signature()
1626 read_size = (int)read_len; in phar_verify_signature()
1664 read_size = sizeof(buf); in phar_verify_signature()
1666 read_size = (int)read_len; in phar_verify_signature()
1712 read_size = sizeof(buf); in phar_verify_signature()
1714 read_size = (int)read_len; in phar_verify_signature()
[all …]
/PHP-7.0/ext/standard/tests/file/
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 54 milliseconds