Home
last modified time | relevance | path

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

/PHP-8.0/ext/phar/
H A Dutil.c1478 size_t read_size, len; in phar_verify_signature() local
1568 read_size = sizeof(buf); in phar_verify_signature()
1570 read_size = (size_t)read_len; in phar_verify_signature()
1575 while (read_size && (len = php_stream_read(fp, (char*)buf, read_size)) > 0) { in phar_verify_signature()
1579 if (read_len < read_size) { in phar_verify_signature()
1618 read_size = sizeof(buf); in phar_verify_signature()
1620 read_size = (size_t)read_len; in phar_verify_signature()
1658 read_size = sizeof(buf); in phar_verify_signature()
1660 read_size = (size_t)read_len; in phar_verify_signature()
1698 read_size = sizeof(buf); in phar_verify_signature()
[all …]
/PHP-8.0/ext/standard/tests/file/
H A Dfread_variation3-win32-mb.phpt14 /* Function : function check_read(resource $file_handle, int $read_size, int $expect_size)
15 Description : Read data from file of size $read_size and verifies that $expected_size no. of
18 $read_size : No. of bytes to be read.
22 function check_read($file_handle, $read_size, $expect_size) {
27 // read the data of size $read_size
28 echo "Reading $read_size bytes from file, expecting $expect_size bytes ... ";
29 $data_from_file = fread($file_handle, $read_size);
H A Dfread_variation3-win32.phpt14 /* Function : function check_read(resource $file_handle, int $read_size, int $expect_size)
15 Description : Read data from file of size $read_size and verifies that $expected_size no. of
18 $read_size : No. of bytes to be read.
22 function check_read($file_handle, $read_size, $expect_size) {
27 // read the data of size $read_size
28 echo "Reading $read_size bytes from file, expecting $expect_size bytes ... ";
29 $data_from_file = fread($file_handle, $read_size);
H A Dfread_variation3.phpt14 /* Function : function check_read(resource $file_handle, int $read_size, int $expect_size)
15 Description : Read data from file of size $read_size and verifies that $expected_size no. of
18 $read_size : No. of bytes to be read.
22 function check_read($file_handle, $read_size, $expect_size) {
27 // read the data of size $read_size
28 echo "Reading $read_size bytes from file, expecting $expect_size bytes ... ";
29 $data_from_file = fread($file_handle, $read_size);
H A Dfread_variation1.phpt12 /* Function : function check_read(resource $file_handle, int $read_size, int $expect_size)
13 Description : Read data from file of size $read_size and verifies that $expected_size no. of
16 $read_size : No. of bytes to be read.
20 function check_read($file_handle, $read_size, $expect_size) {
25 // read the data of size $read_size
26 echo "Reading $read_size bytes from file, expecting $expect_size bytes ... ";
27 $data_from_file = fread($file_handle, $read_size);
H A Dfread_variation4.phpt8 /* Function : function check_read(resource $file_handle, int $read_size, int $expect_size)
9 Description : Read data from file of size $read_size and verifies that $expected_size no. of
12 $read_size : No. of bytes to be read.
16 function check_read($file_handle, $read_size, $expect_size) {
21 // read the data of size $read_size
22 echo "Reading $read_size bytes from file, expecting $expect_size bytes ... ";
23 $data_from_file = fread($file_handle, $read_size);
H A Dfread_variation2.phpt10 /* Function : function check_read(resource $file_handle, int $read_size, int $expect_size)
11 Description : Read data from file of size $read_size and verifies that $expected_size no. of
14 $read_size : No. of bytes to be read.
18 function check_read($file_handle, $read_size, $expect_size) {
23 // read the data of size $read_size
24 echo "Reading $read_size bytes from file, expecting $expect_size bytes ... ";
25 $data_from_file = fread($file_handle, $read_size);

Completed in 47 milliseconds