/php-src/ext/hash/ |
H A D | hash_murmur.c | 53 ctx->h = 0; in PHP_MURMUR3AInit() 56 ctx->h = 0; in PHP_MURMUR3AInit() 80 copy_context->h = orig_context->h; in PHP_MURMUR3ACopy() 116 memset(&ctx->h, 0, sizeof ctx->h); in PHP_MURMUR3CInit() 119 memset(&ctx->h, 0, sizeof ctx->h); in PHP_MURMUR3CInit() 122 memset(&ctx->h, 0, sizeof ctx->h); in PHP_MURMUR3CInit() 159 memcpy(©_context->h, &orig_context->h, sizeof orig_context->h); in PHP_MURMUR3CCopy() 193 memset(&ctx->h, 0, sizeof ctx->h); in PHP_MURMUR3FInit() 196 memset(&ctx->h, 0, sizeof ctx->h); in PHP_MURMUR3FInit() 199 memset(&ctx->h, 0, sizeof ctx->h); in PHP_MURMUR3FInit() [all …]
|
H A D | config.w32 | 25 if (!CHECK_HEADER_ADD_INCLUDE('KeccakHash.h', 'CFLAGS_HASH', hash_sha3_dir)) { 34 PHP_INSTALL_HEADERS('ext/hash', 'php_hash.h php_hash_md.h php_hash_sha.h ' + 35 'php_hash_ripemd.h php_hash_haval.h php_hash_tiger.h ' + 36 'php_hash_gost.h php_hash_snefru.h php_hash_whirlpool.h ' + 37 'php_hash_adler32.h php_hash_crc32.h php_hash_sha3.h ' + 38 'php_hash_murmur.h php_hash_xxhash.h php_hash_fnv.h ' + 39 'php_hash_joaat.h xxhash/xxhash.h');
|
/php-src/ext/spl/tests/ |
H A D | heap_007.phpt | 5 $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(); 24 count($h) = 4 [all …]
|
H A D | pqueue_003.phpt | 7 $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(); 23 count($h) = 4 [all …]
|
H A D | heap_001.phpt | 5 $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 D | heap_002.phpt | 5 $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 D | heap_011.phpt | 10 $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-src/ext/standard/tests/file/ |
H A D | fread_fwrite_basic.phpt | 19 fwrite($h, $out1); 22 fwrite($h, $out2); 24 var_dump(feof($h)); 26 fwrite($h, $out3); 29 fclose($h); 33 fread($h,1024); 34 var_dump(feof($h)); 35 fread($h,1); 38 fwrite($h, $out); 40 fread($h,1); [all …]
|
H A D | fopen_variation5.phpt | 58 fclose($h); 63 fpassthru($h); 64 fclose($h); 70 fclose($h); 74 fpassthru($h); 75 fclose($h); 81 fclose($h); 86 fclose($h); 95 fclose($h); 101 fclose($h); [all …]
|
H A D | fopen_variation8.phpt | 57 fclose($h); 62 fpassthru($h); 63 fclose($h); 69 fclose($h); 73 fpassthru($h); 74 fclose($h); 80 fclose($h); 85 fclose($h); 94 fclose($h); 100 fclose($h); [all …]
|
H A D | fopen_variation6.phpt | 11 $h = fopen($absfile, "w"); 12 fwrite($h, "This is an absolute file"); 13 fclose($h); 15 $h = fopen($relfile, "w"); 16 fwrite($h, "This is a relative file"); 17 fclose($h); 20 $h = fopen($absfile, "r", true, $ctx); 21 fpassthru($h); 22 fclose($h); 26 fpassthru($h); [all …]
|
/php-src/Zend/asm/ |
H A D | jump_i386_ms_pe_masm.asm | 10 ; | 0h | 04h | 08h | 0ch | 010h | 014h | 018h | 01ch | 17 ; | 020h | 024h | 028h | 02ch | 030h | 034h | 038h | 03ch | 35 fnstcw [esp+04h] 40 mov edx, fs:[018h] 43 mov eax, [edx+010h] 44 mov [esp+08h], eax 49 mov eax, [edx+08h] 52 mov eax, [edx+04h] 76 fldcw [esp+04h] 81 mov edx, fs:[018h] [all …]
|
H A D | jump_x86_64_ms_pe_masm.asm | 91 lea rsp, [rsp-0118h] 112 mov r10, gs:[030h] 114 mov rax, [r10+020h] 120 mov rax, [r10+010h] 123 mov rax, [r10+08h] 162 mov r10, gs:[030h] 165 mov [r10+020h], rax 171 mov [r10+010h], rax 174 mov [r10+08h], rax 188 lea rsp, [rsp+0118h] [all …]
|
/php-src/.github/ |
H A D | labeler.yml | 396 - 'TSRM/*.h' 397 - 'Zend/*.h' 411 - 'ext/dom/dom_ce.h' 416 - 'ext/gd/libgd/*.h' 417 - 'ext/gd/php_gd.h' 460 - 'ext/mysqlnd/*.h' 490 - 'ext/standard/*.h' 493 - 'main/*.h' 494 - 'main/streams/*.h' 495 - 'sapi/cli/cli.h' [all …]
|
/php-src/ext/spl/ |
H A D | config.w32 | 5 …"php_spl.h spl_array.h spl_directory.h spl_exceptions.h spl_functions.h spl_iterators.h spl_observ…
|
H A D | config.m4 | 16 php_spl.h 17 spl_array.h 18 spl_directory.h 19 spl_dllist.h 20 spl_exceptions.h 21 spl_fixedarray.h 22 spl_functions.h 23 spl_heap.h 24 spl_iterators.h 25 spl_observer.h
|
/php-src/ext/zlib/tests/ |
H A D | gzopen_variation6.phpt | 11 $h = gzopen($absfile, "w"); 13 gzclose($h); 15 $h = gzopen($relfile, "w"); 16 gzwrite($h, "This is a relative file"); 17 gzclose($h); 19 $h = gzopen($absfile, "r"); 20 gzpassthru($h); 21 fclose($h); 24 $h = gzopen($relfile, "r"); 25 gzpassthru($h); [all …]
|
H A D | gzseek_basic2.phpt | 8 $h = gzopen($f, 'w'); 11 gzwrite($h, $str1); 12 echo "tell=".gztell($h)."\n"; 15 gzseek($h, strlen($str1) + 20); 16 echo "tell=".gztell($h)."\n"; 17 gzwrite($h, $str2); 18 echo "tell=".gztell($h)."\n"; 19 gzclose($h); 21 $h = gzopen($f, 'r'); 23 var_dump(bin2hex(gzread($h, 20))); [all …]
|
H A D | gzseek_variation4.phpt | 8 $h = gzopen($f, 'w'); 11 gzwrite($h, $str1); 12 echo "tell=".gztell($h)."\n"; 16 echo "tell=".gztell($h)."\n"; 17 gzwrite($h, $str2); 18 echo "tell=".gztell($h)."\n"; 19 gzclose($h); 21 $h = gzopen($f, 'r'); 22 echo gzread($h, strlen($str1))."\n"; 23 var_dump(bin2hex(gzread($h, 20))); [all …]
|
H A D | gzseek_variation5.phpt | 8 $h = gzopen($f, 'w'); 11 gzwrite($h, $str1); 12 echo "tell=".gztell($h)."\n"; 15 gzseek($h, 20, SEEK_CUR); 16 echo "tell=".gztell($h)."\n"; 17 gzwrite($h, $str2); 18 echo "tell=".gztell($h)."\n"; 19 gzclose($h); 21 $h = gzopen($f, 'r'); 23 var_dump(bin2hex(gzread($h, 20))); [all …]
|
H A D | gzread_variation1.phpt | 9 $h = gzopen($filename, 'w'); 11 var_dump(gzread($h, 100)); 12 gzwrite( $h, $str); 13 var_dump(gzread($h, 100)); 14 gzrewind($h); 15 var_dump(gzread($h, 100)); 16 gzclose($h); 18 $h = gzopen($filename, 'r'); 19 gzpassthru($h); 20 gzclose($h);
|
H A D | gzopen_variation4.phpt | 36 gzclose($h); 41 if ($h) { 43 gzclose($h); 50 gzclose($h); 54 if ($h) { 56 gzclose($h); 63 gzclose($h); 67 if ($h) { 78 if ($h) { 87 gzclose($h); [all …]
|
H A D | gzrewind_basic.phpt | 8 $h = gzopen($f, 'r'); 10 var_dump(gzrewind($h)); 11 var_dump(gztell($h)); 12 echo "\nfirst 30 characters=".gzread($h, 30)."\n"; 13 var_dump(gztell($h)); 14 gzrewind($h); 15 var_dump(gztell($h)); 16 echo "first 10 characters=".gzread($h, 10)."\n"; 17 gzrewind($h); 18 echo "first 20 characters=".gzread($h, 20)."\n"; [all …]
|
/php-src/Zend/ |
H A D | Makefile.frag | 5 $(builddir)/zend_language_scanner.lo: $(srcdir)/zend_language_parser.h 6 $(builddir)/zend_ini_scanner.lo: $(srcdir)/zend_ini_parser.h 8 $(srcdir)/zend_language_scanner.c $(srcdir)/zend_language_scanner_defs.h: $(srcdir)/zend_language_s… 11 $(srcdir)/zend_language_parser.h: $(srcdir)/zend_language_parser.c 20 @$(SED) -e 's,^int zendparse\(.*\),ZEND_API int zendparse\1,g' < $(srcdir)/zend_language_parser.h \ 21 > $(srcdir)/zend_language_parser.h.tmp && \ 22 mv $(srcdir)/zend_language_parser.h.tmp $(srcdir)/zend_language_parser.h 24 $(srcdir)/zend_ini_parser.h: $(srcdir)/zend_ini_parser.c 35 $(srcdir)/zend_vm_execute.h $(srcdir)/zend_vm_opcodes.c: vm.gen.intermediate ; 42 $(builddir)/zend_highlight.lo $(builddir)/zend_compile.lo: $(srcdir)/zend_language_parser.h [all …]
|
/php-src/ext/opcache/jit/ |
H A D | Makefile.frag.w32 | 6 @if exist ext\opcache\jit\ir\ir_emit_x86.h del ext\opcache\jit\ir\ir_emit_x86.h 13 …xt\opcache\jit\ir\ir_fold_hash.h: $(BUILD_DIR)\\gen_ir_fold_hash.exe ext\opcache\jit\ir\ir_fold.h … 14 @if exist ext\opcache\jit\ir\ir_fold_hash.h del ext\opcache\jit\ir\ir_fold_hash.h 18 ext\opcache\jit\ir\ir.h \ 20 ext\opcache\jit\ir\ir_x86.h 23 ext\opcache\jit\ir\ir.h \ 25 ext\opcache\jit\ir\ir_x86.h \ 29 ext\opcache\jit\ir\ir.h \ 31 ext\opcache\jit\ir\ir_fold.h \ 37 ext\opcache\jit\ir\ir.h \ [all …]
|