Home
last modified time | relevance | path

Searched refs:fread (Results 1 – 25 of 225) sorted by path

123456789

/php-src/Zend/tests/
H A Dhalt02.phpt8 print fread($fp, 1000);
/php-src/Zend/
H A Dzend_stream.c30 return fread(buf, 1, len, (FILE*)handle); in zend_stream_stdio_reader()
/php-src/docs-old/
H A Dstreams.md18 Streams use a `php_stream*` parameter just as ANSI stdio (fread etc.) use a
40 names: fread, fwrite, fprintf, feof, fgetc, fgets, fclose, fflush, fseek, ftell,
/php-src/ext/bz2/tests/
H A Dbug71263.phpt2 Bug #71263: fread() does not report bzip2.decompress errors
17 // --> fread() displays empty string then garbage, no errors detected:
22 // --> fread() displays the empty string:
27 // --> fread() displays an empty string, then the correct plain text, no error detected:
36 $s = fread($r, 100);
50 Notice: fread(): bzip2 decompression failed in %s on line %d
56 Notice: fread(): bzip2 decompression failed in %s on line %d
/php-src/ext/curl/
H A Dinterface.c768 length = fread(data, size, nmemb, read_handler->fp); in curl_read()
/php-src/ext/curl/tests/
H A Dbug78775.phpt30 var_dump(fread($sock, 8));
H A Dcurl_read_callback.phpt12 $sData = fread($hReadHandle,$iMaxOut-10); # -10 to have space to add "custom:"
/php-src/ext/ftp/tests/
H A Dftp_nb_get_large.phpt28 var_dump(fread($fp, 1));
H A Dserver.inc61 $buf = fread($s, 2048);
85 if (!preg_match('/^PBSZ \d+\r\n$/', $buf = fread($s, 2048))) {
91 $buf = fread($s, 2048);
100 $buf = fread($s, 2048);
122 if (!preg_match('/^PASS (\w+)\r\n$/', $buf = fread($s, 100), $m)) {
142 while($buf = fread($s, 4098)) {
/php-src/ext/gd/
H A Dgd.c1801 while ((b = fread(buf, 1, sizeof(buf), tmp)) > 0) { in _php_image_output()
/php-src/ext/gd/libgd/
H A Dgd_io_file.c91 return fread(buf, 1, size, fctx->f); in fileGetbuf()
H A Dgdtest.c401 int got = fread (buf, 1, len, (FILE *) context); in freadWrapper()
/php-src/ext/gd/tests/
H A Dbug66590.phpt20 fread($stream, 4); // skip "RIFF"
21 $length = fread($stream, 4);
/php-src/ext/iconv/tests/
H A Diconv_stream_filter.phpt10 var_dump(bin2hex(fread($fp, 10)));
11 var_dump(bin2hex(fread($fp, 5)));
12 var_dump(bin2hex(fread($fp, 1)));
17 var_dump(bin2hex(fread($fp, 10)));
18 var_dump(bin2hex(fread($fp, 5)));
19 var_dump(bin2hex(fread($fp, 1)));
25 var_dump(bin2hex(@fread($fp, 10)) != "a4b3a4f3a4cba4c1a4cf");
26 var_dump(bin2hex(fread($fp, 5)) != "69636f6e76");
27 var_dump(bin2hex(fread($fp, 1)) != "0a");
H A Diconv_stream_filter_delimiter.phpt10 var_dump(bin2hex(fread($fp, 10)));
11 var_dump(bin2hex(fread($fp, 5)));
12 var_dump(bin2hex(fread($fp, 1)));
17 var_dump(bin2hex(fread($fp, 10)));
18 var_dump(bin2hex(fread($fp, 5)));
19 var_dump(bin2hex(fread($fp, 1)));
24 var_dump(bin2hex(fread($fp, 10)));
25 var_dump(bin2hex(fread($fp, 5)));
26 var_dump(bin2hex(fread($fp, 1)));
32 var_dump(bin2hex(fread($fp, 5)));
[all …]
/php-src/ext/opcache/jit/ir/dynasm/
H A Dminilua.c6133 *size=fread(lf->buff,1,sizeof(lf->buff),lf->f);
6807 nr=fread(p,sizeof(char),rlen,f);
/php-src/ext/openssl/tests/
H A Dbug48182.phpt26 $data = "Sending bug48182\n" . fread($client, 8192);
46 echo fread($client, 1024);
H A Dbug65538_001.phpt28 $in .= fread($client, 2048);
H A Dbug65538_003.phpt33 $in .= fread($client, 2048);
H A Dbug72333.phpt21 $result = fread($conn, $total);
26 $result = fread($conn, 100000);
H A Dbug74159.phpt36 $buffer = fread($client, 8192);
51 return strlen(fread($stream, 8192));
H A Dgh13860.phpt36 fread($fp, 2);
39 while (!($in = fread($fp, 2))) {
H A Dopenssl_x509_check_private_key_basic.phpt8 $a = fread($fp, 8192);
12 $b = fread($fp, 8192);
H A Dopenssl_x509_read_basic.phpt8 $a = fread($fp,8192);
H A Dopenssl_x509_verify.phpt8 $a = fread($fp, 8192);
12 $b = fread($fp, 8192);

Completed in 74 milliseconds

123456789