/php-src/ext/hash/murmur/ |
H A D | PMurHash.c | 208 uint32_t PMurHash32_Result(uint32_t h, uint32_t carry, uint32_t total_length) in PMurHash32_Result() argument 214 k1 *= kC1; k1 = ROTL32(k1,15); k1 *= kC2; h ^= k1; in PMurHash32_Result() 216 h ^= total_length; in PMurHash32_Result() 219 h ^= h >> 16; in PMurHash32_Result() 220 h *= 0x85ebca6b; in PMurHash32_Result() 221 h ^= h >> 13; in PMurHash32_Result() 222 h *= 0xc2b2ae35; in PMurHash32_Result() 223 h ^= h >> 16; in PMurHash32_Result() 225 return h; in PMurHash32_Result()
|
/php-src/ext/xmlreader/tests/ |
H A D | fromStream_custom_constructor_error.phpt | 13 $h = fopen("php://memory", "w+"); 14 fwrite($h, "<root/>"); 15 fseek($h, 0); 18 CustomXMLReader::fromStream($h, encoding: "UTF-8"); 23 fclose($h);
|
H A D | fromStream_broken_stream.phpt | 7 $h = fopen("php://memory", "w+"); 8 fwrite($h, "<root><!--my comment-->"); 9 fseek($h, 0); 11 $reader = XMLReader::fromStream($h, encoding: "UTF-8"); 25 fwrite($h, "<child/></root>"); 26 fclose($h);
|
/php-src/ext/standard/ |
H A D | config.m4 | 7 #include <stdio.h> 8 #include <stdlib.h> 10 #include <unistd.h> 12 #include <string.h> 110 #include <unistd.h> 114 #include <crypt.h> 117 #include <stdlib.h> 135 #include <crypt.h> 156 #include <crypt.h> 187 #include <crypt.h> [all …]
|
/php-src/ext/zlib/tests/ |
H A D | gzwrite_variation1.phpt | 9 $h = gzopen($filename, 'r'); 12 var_dump(gzwrite( $h, $str ) ); 13 var_dump(gzread($h, 10)); 14 var_dump(gzwrite( $h, $str, $length ) ); 15 gzclose($h);
|
H A D | gztell_basic.phpt | 8 $h = gzopen($f, 'r'); 12 var_dump(gztell($h)); 14 gzread($h, $interval); 15 var_dump(gztell($h)); 18 gzclose($h);
|
H A D | zlib_wrapper_meta_data_basic.phpt | 9 $h = gzopen($f,'r'); 10 var_dump(stream_get_meta_data($h)); 11 gzclose($h); 14 $h = fopen($f,'r'); 15 var_dump(stream_get_meta_data($h)); 16 gzclose($h);
|
H A D | gztell_basic2.phpt | 8 $h = gzopen($f, 'w'); 12 var_dump(gztell($h)); 14 echo "bytes written=".gzwrite($h, str_repeat('1', $size))."\n"; 15 echo "tell=".gztell($h)."\n"; 18 gzclose($h);
|
/php-src/ext/dom/lexbor/patches/ |
H A D | 0001-Expose-line-and-column-information-for-use-in-PHP.patch | 17 diff --git a/source/lexbor/dom/interfaces/node.h b/source/lexbor/dom/interfaces/node.h 19 --- a/source/lexbor/dom/interfaces/node.h 20 +++ b/source/lexbor/dom/interfaces/node.h 30 diff --git a/source/lexbor/html/token.h b/source/lexbor/html/token.h 32 --- a/source/lexbor/html/token.h 33 +++ b/source/lexbor/html/token.h 92 diff --git a/source/lexbor/html/tokenizer.h b/source/lexbor/html/tokenizer.h 94 --- a/source/lexbor/html/tokenizer.h 95 +++ b/source/lexbor/html/tokenizer.h 105 diff --git a/source/lexbor/html/tokenizer/state.h b/source/lexbor/html/tokenizer/state.h [all …]
|
/php-src/ext/date/lib/ |
H A D | interval.c | 52 …e)->y == (*two)->y && (*one)->m == (*two)->m && (*one)->d == (*two)->d && (*one)->h > (*two)->h) || in sort_old_to_new() 91 rt->h = two->h - one->h; in timelib_diff_with_tzid() 101 rt->h = flipped / SECS_PER_HOUR; in timelib_diff_with_tzid() 113 rt->h -= dst_h_corr; in timelib_diff_with_tzid() 127 rt->h -= dst_h_corr; in timelib_diff_with_tzid() 138 rt->h = 24; in timelib_diff_with_tzid() 162 rt->h = two->h - one->h; in timelib_diff() 164 rt->h = rt->h + one->dst; in timelib_diff() 167 rt->h = rt->h - two->dst; in timelib_diff() 226 t->relative.h = interval->h * bias; in timelib_add() [all …]
|
/php-src/ext/standard/tests/file/ |
H A D | pathinfo_basic1-win32.phpt | 326 string(1) "h" 334 string(1) "h" 341 string(1) "h" 349 string(1) "h" 421 string(1) "h" 429 string(1) "h" 449 string(1) "h" 457 string(1) "h" 509 string(1) "h" 517 string(1) "h" [all …]
|
H A D | pathinfo_basic1.phpt | 326 string(1) "h" 334 string(1) "h" 341 string(1) "h" 349 string(1) "h" 421 string(1) "h" 429 string(1) "h" 449 string(1) "h" 457 string(1) "h" 509 string(1) "h" 517 string(1) "h" [all …]
|
H A D | fopen_variation13.phpt | 26 $h = fopen($absFile, "w", true); 27 fwrite($h, "This is the test file"); 28 fclose($h); 31 $h = fopen($absFile, "r"); 32 if ($h === false) { 37 fclose($h);
|
H A D | fopen_variation10-win32.phpt | 46 $h = fopen($firstfile, 'w'); 47 fwrite($h, "file in $rootdir"); 48 fclose($h); 50 $h = fopen($secondfile, 'w'); 52 fclose($h); 54 $h = fopen($thirdfile, 'w'); 55 fwrite($h, "file in root"); 56 fclose($h); 62 if ($h === false) { 66 fpassthru($h); [all …]
|
H A D | fopen_variation11-win32.phpt | 45 $h = fopen($firstfile, 'w'); 46 fwrite($h, "file in $rootdir"); 47 fclose($h); 49 $h = fopen($secondfile, 'w'); 51 fclose($h); 53 $h = fopen($thirdfile, 'w'); 54 fwrite($h, "file in root"); 55 fclose($h); 61 if ($h === false) { 65 fpassthru($h); [all …]
|
/php-src/ext/opcache/jit/ |
H A D | Makefile.frag | 4 $(builddir)/jit/ir/ir_emit_$(DASM_ARCH).h: $(srcdir)/jit/ir/ir_$(DASM_ARCH).dasc $(srcdir)/jit/ir/d… 8 $(srcdir)/jit/ir/ir_emit.c $(builddir)/jit/ir/ir_emit_$(DASM_ARCH).h 13 $(builddir)/jit/ir/ir_fold_hash.h: $(builddir)/jit/ir/gen_ir_fold_hash $(srcdir)/jit/ir/ir_fold.h $… 14 …(builddir)/jit/ir/gen_ir_fold_hash < $(srcdir)/jit/ir/ir_fold.h > $(builddir)/jit/ir/ir_fold_hash.h 17 $(builddir)/jit/ir/ir_fold_hash.h
|
/php-src/Zend/tests/ |
H A D | div_by_zero_compound_refcounted.phpt | 5 $h = "1"; 6 $h .= "2"; 8 $h /= 0; 12 var_dump($h);
|
H A D | dereference_009.phpt | 14 var_dump($h =& a()); 15 $h[] = 1; 18 $h[] = array($h);
|
/php-src/main/ |
H A D | internal_functions.c.in | 18 #include "php.h" 19 #include "php_main.h" 20 #include "zend_modules.h" 21 #include "zend_compile.h" 22 #include <stdarg.h> 23 #include <stdlib.h> 24 #include <stdio.h>
|
/php-src/ext/dba/ |
H A D | config.m4 | 267 THIS_INCLUDE=$i/include/tcadb.h 424 if test -f "$i/db5/db.h"; then 426 THIS_INCLUDE=$i/db5/db.h 430 THIS_INCLUDE=$i/db4/db.h 474 THIS_INCLUDE=$i/include/db.h 516 if test -f "$i/db3/db.h"; then 534 THIS_INCLUDE=$i/include/db.h 555 THIS_INCLUDE=$i/db2/db.h 602 db$THIS_VERSION/db_185.h \ 604 include/db/db_185.h \ [all …]
|
/php-src/ext/spl/tests/ |
H A D | pqueue_compare_basic.phpt | 8 $h = new SplPriorityQueue(); 9 var_dump($h->compare(4, 5) < 0); 10 var_dump($h->compare(5, 5) == 0); 11 var_dump($h->compare(5, 4) > 0);
|
/php-src/ext/pdo_odbc/ |
H A D | config.m4 | 103 PHP_PDO_ODBC_CHECK_HEADER([cli0cli.h]) 106 PHP_PDO_ODBC_CHECK_HEADER([cli0env.h]) 107 PHP_PDO_ODBC_CHECK_HEADER([cli0ext.h]) 108 PHP_PDO_ODBC_CHECK_HEADER([iodbc.h]) 109 PHP_PDO_ODBC_CHECK_HEADER([isql.h]) 110 PHP_PDO_ODBC_CHECK_HEADER([isqlext.h]) 112 PHP_PDO_ODBC_CHECK_HEADER([odbc.h]) 113 PHP_PDO_ODBC_CHECK_HEADER([sql.h]) 114 PHP_PDO_ODBC_CHECK_HEADER([sqlcli1.h]) 115 PHP_PDO_ODBC_CHECK_HEADER([sqlext.h]) [all …]
|
/php-src/ext/reflection/tests/ |
H A D | bug46064.phpt | 15 var_dump($h = new reflectionproperty($o, 'z')); 16 var_dump($h->isDefault()); 17 var_dump($h->isPublic()); 18 var_dump($h->isStatic()); 19 var_dump($h->getName()); 20 var_dump(Reflection::getModifierNames($h->getModifiers())); 21 var_dump($h->getValue($o));
|
/php-src/ext/standard/tests/file/windows_mb_path/ |
H A D | test_big5_1.phpt | 26 $item = "���զh�r�`���|"; // BIG5 string 49 getting basename of %s���զh�r�`���|5\���զh�r�`���|4 50 string(%d) "���զh�r�`���|4" 52 string(%d) "%s���զh�r�`���|5\���զh�r�`���|4"
|
/php-src/ext/sockets/ |
H A D | config.m4 | 8 AC_CHECK_HEADERS([sys/sockio.h linux/filter.h]) 14 [#include <sys/socket.h>]) 21 #include <sys/socket.h> 24 AC_CHECK_TYPES([struct cmsgcred],,, [#include <sys/socket.h>]) 35 PHP_INSTALL_HEADERS([ext/sockets], [php_sockets.h])
|