Home
last modified time | relevance | path

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

/PHP-5.6/ext/phar/
H A Dutil.c1522 int read_size, len; local
1615 read_size = sizeof(buf);
1617 read_size = (int)read_len;
1622 while (read_size && (len = php_stream_read(fp, (char*)buf, read_size)) > 0) {
1664 read_size = sizeof(buf);
1666 read_size = (int)read_len;
1704 read_size = sizeof(buf);
1706 read_size = (int)read_len;
1752 read_size = sizeof(buf);
1754 read_size = (int)read_len;
[all …]
/PHP-5.6/ext/standard/tests/file/
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_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_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);
/PHP-5.6/sapi/thttpd/
H A Dthttpd_patch436 + munmap(hc->read_buf, hc->read_size);
438 + hc->read_size = 0;
439 + httpd_realloc_str( &hc->read_buf, &hc->read_size, 500 );
496 hc->read_size = 0;
497 httpd_realloc_str( &hc->read_buf, &hc->read_size, 500 );
515 + munmap(hc->read_buf, hc->read_size);
517 + hc->read_size = 0;
682 + munmap( hc->read_buf, hc->read_size );
1000 int read_size, read_idx, checked_idx;
1817 + hc->read_size = sz;
[all …]

Completed in 33 milliseconds