Home
last modified time | relevance | path

Searched refs:h (Results 51 – 75 of 681) sorted by relevance

12345678910>>...28

/php-src/ext/opcache/jit/ir/
H A Dir_strtab.c12 uint32_t h; member
22 uint32_t h = 5381; in ir_str_hash() local
25 h = ((h << 5) + h) + *str; in ir_str_hash()
28 return h | 0x10000000; in ir_str_hash()
65 uint32_t h = p->h | strtab->mask; in ir_strtab_resize() local
117 uint32_t h = ir_str_hash(str, len); in ir_strtab_find() local
124 if (p->h == h in ir_strtab_find()
143 if (p->h == h in ir_strtab_lookup()
173 p->h = h; in ir_strtab_lookup()
176 h |= strtab->mask; in ir_strtab_lookup()
[all …]
/php-src/ext/zlib/tests/
H A Dgzclose_basic.phpt11 $h = gzopen($f, 'r');
12 gzread($h, 20);
13 var_dump(gzclose($h));
17 gzread($h, 20);
22 $h = gzopen($f, 'r');
23 gzread($h, 20);
24 var_dump(fclose($h));
28 gzread($h, 20);
H A Dgzread_error2.phpt8 $h = gzopen($f, 'r');
9 var_dump(gzread($h, 10));
11 var_dump(gzread($h, 0));
15 var_dump(gzread($h, 5));
17 var_dump(gzread($h, -1));
21 var_dump(gzread($h, 8));
22 gzclose($h);
H A Dgzopen_variation5.phpt27 $h = gzopen($tmpfile, "w", true);
28 fwrite($h, "This is the test file");
29 fclose($h);
32 $h = @gzopen($tmpfile, "r");
33 if ($h === false) {
38 gzclose($h);
42 $h = @gzopen('dir1/'.$tmpfile, "r");
43 if ($h === false) {
48 gzclose($h);
H A Dgzopen_basic2.phpt17 $h = gzopen($filename, $mode);
18 if ($h !== false) {
19 gzwrite($h, $data);
20 gzclose($h);
21 $h = gzopen($filename, 'r');
22 gzpassthru($h);
23 gzclose($h);
28 var_dump($h);
H A Dgzopen_variation8.phpt16 $h = fopen($file, 'w');
17 fwrite($h, $data);
18 fclose($h);
20 $h = gzopen($file, 'r');
21 gzpassthru($h);
22 gzclose($h);
H A Dzlib_scheme_copy_basic.phpt14 $h = gzopen($inputFileName, 'r');
15 $org_data = gzread($h, 4096);
16 gzclose($h);
18 $h = gzopen($outputFileName, 'r');
19 $copied_data = gzread($h, 4096);
20 gzclose($h);
H A Dzlib_scheme_copy_variation1.phpt14 $h = gzopen($inputFileName, 'r');
15 $org_data = gzread($h, 4096);
16 gzclose($h);
19 $h = fopen($outputFileName, 'r');
20 $copied_data = fread($h, 4096);
21 gzclose($h);
H A Dzlib_wrapper_ftruncate_basic.phpt11 $h = gzopen($f2, "r");
12 ftruncate($h, 20);
13 fclose($h);
16 $h = gzopen($f2, "w");
17 ftruncate($h, 20);
18 fclose($h);
H A Dgzfile_variation15.phpt28 $h = gzopen($secondFile, "w");
29 gzwrite($h, "This is a file in dir2");
30 gzclose($h);
37 $h = gzopen($firstFile, "w");
38 gzwrite($h, "This is a file in dir1");
39 gzclose($h);
46 $h = gzopen($filename, "w");
48 gzclose($h);
62 $h = gzopen($scriptFile, "w");
63 gzwrite($h, "This is a file in script dir");
[all …]
H A Dreadgzfile_variation15.phpt28 $h = gzopen($secondFile, "w");
29 gzwrite($h, "This is a file in dir2");
30 gzclose($h);
38 $h = gzopen($firstFile, "w");
39 gzwrite($h, "This is a file in dir1");
40 gzclose($h);
48 $h = gzopen($filename, "w");
50 gzclose($h);
66 $h = gzopen($scriptFile, "w");
67 gzwrite($h, "This is a file in script dir");
[all …]
/php-src/ext/spl/tests/
H A Dheap_004.phpt11 $h = new myHeap;
14 $h->insert(1);
16 $h->insert(2);
18 $h->insert(3);
25 $h->insert(4);
32 var_dump($h->extract());
37 var_dump($h->extract());
43 $h->recoverFromCorruption();
46 var_dump($h->extract());
51 var_dump($h->extract());
H A Dpqueue_002.phpt11 $h = new myPQueue;
14 $h->insert(1, 1);
16 $h->insert(2, 1);
18 $h->insert(3, 1);
25 $h->insert(4, 1);
32 var_dump($h->extract());
37 var_dump($h->extract());
43 $h->recoverFromCorruption();
46 var_dump($h->extract());
51 var_dump($h->extract());
H A Dspl_heap_isempty.phpt8 $h = new SplMaxHeap();
10 var_dump($h->isEmpty())."\n";
11 $h->insert(2);
13 var_dump($h->isEmpty())."\n";
14 $h->extract();
16 var_dump($h->isEmpty())."\n";
H A Dspl_heap_iteration_error.phpt17 $h = new ext_heap();
18 $h->insert(array('foobar'));
19 $h->insert(array('foobar1'));
20 $h->insert(array('foobar2'));
23 $h->fail=true;
24 foreach ($h as $value) {};
30 var_dump($h);
/php-src/ext/standard/tests/file/
H A Dfopen_variation19.phpt24 fwrite($h, "Hello World");
25 fclose($h);
65 $h = fopen($file, 'r');
66 fpassthru($h);
67 fclose($h);
73 fwrite($h, ' again!');
74 fseek($h, 0);
75 fpassthru($h);
76 fclose($h);
81 $h = fopen($file, 'w');
[all …]
H A Dfopen_variation7.phpt27 $h = fopen($tmpfile, "w", true);
28 fwrite($h, "This is the test file");
29 fclose($h);
32 $h = @fopen($tmpfile, "r");
33 if ($h === false) {
38 fclose($h);
42 $h = @fopen($dir1.'/'.$tmpfile, "r");
43 if ($h === false) {
48 fclose($h);
H A Dfopen_variation9.phpt27 $h = fopen($tmpfile, "w", true);
28 fwrite($h, "This is the test file");
29 fclose($h);
32 $h = @fopen($tmpfile, "r");
33 if ($h === false) {
38 fclose($h);
42 $h = @fopen('dir1/'.$tmpfile, "r");
43 if ($h === false) {
48 fclose($h);
H A Dfopen_variation16.phpt35 $h = fopen($tmpfile, "w+", true);
36 fwrite($h, "This is the test file");
37 fclose($h);
39 $h = @fopen($dir1.'/'.$tmpfile, "r");
40 if ($h === false) {
45 fclose($h);
48 $h = fopen($tmpfile, "r", true);
49 if ($h === false) {
54 fclose($h);
H A Dfopen_variation17.phpt34 $h = fopen($tmpfile, "w+", true);
35 fwrite($h, "This is the test file");
36 fclose($h);
38 $h = @fopen($dir1.'/'.$tmpfile, "r");
39 if ($h === false) {
44 fclose($h);
47 $h = fopen($tmpfile, "r", true);
48 if ($h === false) {
53 fclose($h);
/php-src/ext/mbstring/
H A Dconfig.m433 #include <stdint.h>
34 #include <oniguruma.h>
52 PHP_INSTALL_HEADERS([ext/mbstring], [php_mbregex.h php_onig_compat.h])
106 libmbfl/config.h
107 libmbfl/mbfl/eaw_table.h
111 libmbfl/mbfl/mbfilter.h
112 libmbfl/mbfl/mbfl_consts.h
113 libmbfl/mbfl/mbfl_convert.h
114 libmbfl/mbfl/mbfl_defs.h
119 libmbfl/mbfl/mbfl_string.h
[all …]
/php-src/ext/reflection/tests/
H A Dbug52057.phpt18 var_dump($h = $reflection->getMethod('__invoke')); // true
19 var_dump($h->class.'::'.$h->getName());
22 var_dump($h = $reflection->getMethod('__invoke')); // true
23 var_dump($h->class.'::'.$h->getName());
26 var_dump($h = $reflection->getMethod('__invoke')); // true
27 var_dump($h->class.'::'.$h->getName());
/php-src/ext/date/
H A Dconfig.w329 var tl_config = FSO.CreateTextFile("ext/date/lib/timelib_config.h", true);
10 tl_config.WriteLine("#include \"config.w32.h\"");
11 tl_config.WriteLine("#include <inttypes.h>");
12 tl_config.WriteLine("#include <stdint.h>");
13 tl_config.WriteLine("#include \"zend.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, 'Define to 1 if you have the <timelib_config.h> header file.'…
/php-src/ext/random/
H A Dconfig.m49 AC_CHECK_HEADERS([CommonCrypto/CommonRandom.h],,, [dnl
10 #include <sys/types.h>
11 #include <Availability.h>
12 #include <CommonCrypto/CommonCryptoError.h>
38 php_random_csprng.h
39 php_random_uint128.h
40 php_random.h
/php-src/ext/xmlreader/tests/
H A DfromStream_legit_usage.phpt7 $h = fopen("php://memory", "w+");
8 fwrite($h, "<root><!--my comment--><child/></root>");
9 fseek($h, 0);
11 $reader = XMLReader::fromStream($h, encoding: "UTF-8");
26 var_dump(ftell($h));
28 fclose($h);

Completed in 27 milliseconds

12345678910>>...28