Home
last modified time | relevance | path

Searched refs:h (Results 1 – 25 of 659) sorted by relevance

12345678910>>...27

/PHP-7.3/ext/spl/tests/
H A Dpqueue_003.phpt7 $h->insert(1, 1);
8 $h->insert(5, 5);
9 $h->insert(0, 0);
10 $h->insert(4, 4);
12 $h->rewind();
13 echo "count(\$h) = ".count($h)."\n";
14 echo "\$h->count() = ".$h->count()."\n";
16 $k = $h->key();
19 $h->next();
25 count($h) = 4
[all …]
H A Dheap_007.phpt5 $h = new SplMaxHeap();
7 $h->insert(1);
8 $h->insert(5);
9 $h->insert(0);
10 $h->insert(4);
12 $h->rewind();
13 echo "count(\$h) = ".count($h)."\n";
14 echo "\$h->count() = ".$h->count()."\n";
20 $h->next();
26 count($h) = 4
[all …]
H A Dheap_001.phpt5 $h = new SplMaxHeap();
9 $h->extract();
15 $h->insert(1);
16 $h->insert(2);
17 $h->insert(3);
18 $h->insert(3);
19 $h->insert(3);
21 echo $h->count()."\n";
27 echo $h->count()."\n";
32 $h->insert($b);
[all …]
H A Dheap_002.phpt5 $h = new SplMinHeap();
9 $h->extract();
15 $h->insert(1);
16 $h->insert(2);
17 $h->insert(3);
18 $h->insert(3);
19 $h->insert(3);
21 echo $h->count()."\n";
22 echo $h->extract()."\n";
27 echo $h->count()."\n";
[all …]
H A Dheap_011.phpt10 $h = new SplMinHeap2();
11 $h->insert(1);
12 $h->insert(6);
13 $h->insert(5);
14 $h->insert(2);
15 var_dump($h->top());
23 $h->insert(1);
24 $h->insert(6);
25 $h->insert(5);
26 $h->insert(2);
[all …]
/PHP-7.3/ext/standard/tests/file/
H A Dfread_fwrite_basic.phpt29 fwrite($h, $out1);
32 fwrite($h, $out2);
34 var_dump(feof($h));
36 fwrite($h, $out3);
39 fclose($h);
43 fread($h,1024);
44 var_dump(feof($h));
45 fread($h,1);
48 fwrite($h, $out);
50 fread($h,1);
[all …]
H A Dfopen_variation5.phpt67 fclose($h);
72 fpassthru($h);
73 fclose($h);
79 fclose($h);
83 fpassthru($h);
84 fclose($h);
90 fclose($h);
95 fclose($h);
104 fclose($h);
110 fclose($h);
[all …]
H A Dfopen_variation8.phpt66 fclose($h);
71 fpassthru($h);
72 fclose($h);
78 fclose($h);
82 fpassthru($h);
83 fclose($h);
89 fclose($h);
94 fclose($h);
103 fclose($h);
109 fclose($h);
[all …]
H A Dfopen_variation6.phpt17 $h = fopen($absfile, "w");
18 fwrite($h, "This is an absolute file");
19 fclose($h);
21 $h = fopen($relfile, "w");
22 fwrite($h, "This is a relative file");
23 fclose($h);
26 $h = fopen($absfile, "r", true, $ctx);
27 fpassthru($h);
28 fclose($h);
32 fpassthru($h);
[all …]
H A Dfseek_variation3.phpt17 $h = fopen($outputfile, "wb+");
19 fwrite($h, chr(0x30 + $i));
23 var_dump(fseek($h, -4, SEEK_SET));
24 echo "after -4 seek: ".bin2hex(fread($h,1))."\n";
25 var_dump(fseek($h, -1, SEEK_CUR));
27 var_dump(fseek($h, -20, SEEK_CUR));
31 var_dump(fseek($h, 16, SEEK_SET));
32 fwrite($h, "end");
33 fseek($h ,0, SEEK_SET);
34 $data = fread($h, 4096);
[all …]
/PHP-7.3/ext/spl/
H A Dconfig.w326 …pl.h spl_array.h spl_directory.h spl_engine.h spl_exceptions.h spl_functions.h spl_iterators.h spl…
H A Dconfig.m45 …pl.h spl_array.h spl_directory.h spl_engine.h spl_exceptions.h spl_functions.h spl_iterators.h spl…
/PHP-7.3/ext/zlib/tests/
H A Dgzseek_basic2.phpt12 $h = gzopen($f, 'w');
15 gzwrite($h, $str1);
16 echo "tell=".gztell($h)."\n";
19 gzseek($h, strlen($str1) + 20);
20 echo "tell=".gztell($h)."\n";
21 gzwrite($h, $str2);
22 echo "tell=".gztell($h)."\n";
23 gzclose($h);
25 $h = gzopen($f, 'r');
27 var_dump(bin2hex(gzread($h, 20)));
[all …]
H A Dgzseek_variation4.phpt12 $h = gzopen($f, 'w');
15 gzwrite($h, $str1);
16 echo "tell=".gztell($h)."\n";
20 echo "tell=".gztell($h)."\n";
21 gzwrite($h, $str2);
22 echo "tell=".gztell($h)."\n";
23 gzclose($h);
25 $h = gzopen($f, 'r');
26 echo gzread($h, strlen($str1))."\n";
27 var_dump(bin2hex(gzread($h, 20)));
[all …]
H A Dgzseek_variation5.phpt12 $h = gzopen($f, 'w');
15 gzwrite($h, $str1);
16 echo "tell=".gztell($h)."\n";
19 gzseek($h, 20, SEEK_CUR);
20 echo "tell=".gztell($h)."\n";
21 gzwrite($h, $str2);
22 echo "tell=".gztell($h)."\n";
23 gzclose($h);
25 $h = gzopen($f, 'r');
27 var_dump(bin2hex(gzread($h, 20)));
[all …]
H A Dgzread_variation1.phpt13 $h = gzopen($filename, 'w');
15 var_dump(gzread($h, 100));
16 gzwrite( $h, $str);
17 var_dump(gzread($h, 100));
18 gzrewind($h);
19 var_dump(gzread($h, 100));
20 gzclose($h);
22 $h = gzopen($filename, 'r');
23 gzpassthru($h);
24 gzclose($h);
H A Dgzopen_variation6.phpt21 $h = gzopen($absfile, "w");
23 gzclose($h);
25 $h = gzopen($relfile, "w");
26 gzwrite($h, "This is a relative file");
27 gzclose($h);
29 $h = gzopen($absfile, "r");
30 gzpassthru($h);
31 fclose($h);
34 $h = gzopen($relfile, "r");
35 gzpassthru($h);
[all …]
H A Dgzrewind_basic.phpt12 $h = gzopen($f, 'r');
14 var_dump(gzrewind($h));
15 var_dump(gztell($h));
16 echo "\nfirst 30 characters=".gzread($h, 30)."\n";
17 var_dump(gztell($h));
18 gzrewind($h);
19 var_dump(gztell($h));
20 echo "first 10 characters=".gzread($h, 10)."\n";
21 gzrewind($h);
22 echo "first 20 characters=".gzread($h, 20)."\n";
[all …]
H A Dgzseek_variation1.phpt12 $h = gzopen($f, 'w');
15 gzwrite($h, $str1);
18 gzseek($h, strlen($str1) + 20);
19 gzwrite($h, $str2);
20 gzclose($h);
21 $h = gzopen($f, 'r');
22 echo gzread($h, strlen($str1))."\n";
23 var_dump(bin2hex(gzread($h, 20)));
24 echo gzread($h, strlen($str2))."\n";
25 gzclose($h);
H A Dzlib_wrapper_fflush_basic.phpt13 $h = gzopen($filename, 'w');
16 var_dump(fflush($h));
17 gzwrite( $h, $str);
18 gzwrite( $h, $str);
19 var_dump(fflush($h));
20 gzclose($h);
22 $h = gzopen($filename, 'r');
23 gzpassthru($h);
24 gzclose($h);
/PHP-7.3/ext/hash/
H A Dconfig.w3216 if (CHECK_HEADER_ADD_INCLUDE("KeccakHash.h", "CFLAGS_HASH", PHP_HASH + ";" + sha3_dir)) {
27 PHP_INSTALL_HEADERS("ext/hash/", "php_hash.h php_hash_md.h php_hash_sha.h php_hash_ripemd.h " +
28 "php_hash_haval.h php_hash_tiger.h php_hash_gost.h php_hash_snefru.h " +
29 "php_hash_whirlpool.h php_hash_adler32.h php_hash_crc32.h php_hash_sha3.h ");
H A Dconfig.m448 EXT_HASH_HEADERS="php_hash.h php_hash_md.h php_hash_sha.h php_hash_ripemd.h \
49 php_hash_haval.h php_hash_tiger.h php_hash_gost.h php_hash_snefru.h \
50 php_hash_whirlpool.h php_hash_adler32.h php_hash_crc32.h \
51 php_hash_fnv.h php_hash_joaat.h php_hash_sha3.h"
/PHP-7.3/
H A D.gitignore37 acconfig.h
43 confdefs.h
44 config.h
47 config.h.in
79 php_version.h
82 stamp-h
85 stamp-h.in
87 main/php_config.h
89 main/build-defs.h
91 main/config.w32.h
[all …]
/PHP-7.3/ext/fileinfo/libmagic/
H A Dcdf.c187 h->h_magic = CDF_TOLE8(h->h_magic); in cdf_swap_header()
188 h->h_uuid[0] = CDF_TOLE8(h->h_uuid[0]); in cdf_swap_header()
189 h->h_uuid[1] = CDF_TOLE8(h->h_uuid[1]); in cdf_swap_header()
190 h->h_revision = CDF_TOLE2(h->h_revision); in cdf_swap_header()
191 h->h_version = CDF_TOLE2(h->h_version); in cdf_swap_header()
192 h->h_byte_order = CDF_TOLE2(h->h_byte_order); in cdf_swap_header()
193 h->h_sec_size_p2 = CDF_TOLE2(h->h_sec_size_p2); in cdf_swap_header()
194 h->h_short_sec_size_p2 = CDF_TOLE2(h->h_short_sec_size_p2); in cdf_swap_header()
297 CDF_SHORT_SEC_SIZE(h) : CDF_SEC_SIZE(h); in cdf_check_stream()
1294 h->h_ ## b, 1 << h->h_ ## b) in cdf_dump_header()
[all …]
/PHP-7.3/ext/date/
H A Dconfig0.m45 strings.h \
6 io.h
22 PHP_INSTALL_HEADERS([ext/date], [php_date.h lib/timelib.h lib/timelib_config.h])
23 AC_DEFINE([HAVE_TIMELIB_CONFIG_H], [1], [Have timelib_config.h])
25 cat > $ext_builddir/lib/timelib_config.h <<EOF
27 # include "config.w32.h"
29 # include <php_config.h>
31 #include <php_stdint.h>
34 #include "zend.h"

Completed in 33 milliseconds

12345678910>>...27