/php-src/ext/phar/tests/ |
H A D | 022.phpt | 26 echo 'fseek($fp, 1, SEEK_CUR)';var_dump(fseek($fp, 1, SEEK_CUR)); 28 echo 'fseek($fp, -1, SEEK_CUR)';var_dump(fseek($fp, -1, SEEK_CUR)); 51 echo 'fseek($fp, -5, SEEK_CUR)';var_dump(fseek($fp, -5, SEEK_CUR)); 55 echo 'fseek($fp, 5, SEEK_CUR)';var_dump(fseek($fp, 5, SEEK_CUR)); 59 echo 'fseek($fp, -4, SEEK_CUR)';var_dump(fseek($fp, -4, SEEK_CUR)); 63 echo 'fseek($fp, 3, SEEK_CUR)';var_dump(fseek($fp, 3, SEEK_CUR)); 76 fseek($fp, 1, SEEK_CUR)int(0) 78 fseek($fp, -1, SEEK_CUR)int(0) 103 fseek($fp, 5, SEEK_CUR)int(-1) 106 fseek($fp, -4, SEEK_CUR)int(0) [all …]
|
/php-src/ext/standard/tests/file/ |
H A D | fseek_ftell_rewind_basic1.phpt | 14 $whence_set = array(SEEK_SET,SEEK_CUR,SEEK_END); 64 -- Testing fseek() with whence = SEEK_CUR -- 80 -- Testing fseek() with whence = SEEK_CUR -- 96 -- Testing fseek() with whence = SEEK_CUR -- 112 -- Testing fseek() with whence = SEEK_CUR -- 128 -- Testing fseek() with whence = SEEK_CUR -- 144 -- Testing fseek() with whence = SEEK_CUR -- 160 -- Testing fseek() with whence = SEEK_CUR -- 176 -- Testing fseek() with whence = SEEK_CUR -- 192 -- Testing fseek() with whence = SEEK_CUR -- [all …]
|
H A D | fseek_ftell_rewind_basic2-win32-mb.phpt | 21 $whence_set = array(SEEK_SET,SEEK_CUR,SEEK_END); 74 -- Testing fseek() with whence = SEEK_CUR -- 90 -- Testing fseek() with whence = SEEK_CUR -- 106 -- Testing fseek() with whence = SEEK_CUR -- 122 -- Testing fseek() with whence = SEEK_CUR -- 138 -- Testing fseek() with whence = SEEK_CUR -- 154 -- Testing fseek() with whence = SEEK_CUR -- 170 -- Testing fseek() with whence = SEEK_CUR -- 186 -- Testing fseek() with whence = SEEK_CUR -- 202 -- Testing fseek() with whence = SEEK_CUR -- [all …]
|
H A D | fseek_ftell_rewind_basic2-win32.phpt | 21 $whence_set = array(SEEK_SET,SEEK_CUR,SEEK_END); 74 -- Testing fseek() with whence = SEEK_CUR -- 90 -- Testing fseek() with whence = SEEK_CUR -- 106 -- Testing fseek() with whence = SEEK_CUR -- 122 -- Testing fseek() with whence = SEEK_CUR -- 138 -- Testing fseek() with whence = SEEK_CUR -- 154 -- Testing fseek() with whence = SEEK_CUR -- 170 -- Testing fseek() with whence = SEEK_CUR -- 186 -- Testing fseek() with whence = SEEK_CUR -- 202 -- Testing fseek() with whence = SEEK_CUR -- [all …]
|
H A D | fseek_ftell_rewind_basic2.phpt | 21 $whence_set = array(SEEK_SET,SEEK_CUR,SEEK_END); 74 -- Testing fseek() with whence = SEEK_CUR -- 90 -- Testing fseek() with whence = SEEK_CUR -- 106 -- Testing fseek() with whence = SEEK_CUR -- 122 -- Testing fseek() with whence = SEEK_CUR -- 138 -- Testing fseek() with whence = SEEK_CUR -- 154 -- Testing fseek() with whence = SEEK_CUR -- 170 -- Testing fseek() with whence = SEEK_CUR -- 186 -- Testing fseek() with whence = SEEK_CUR -- 202 -- Testing fseek() with whence = SEEK_CUR -- [all …]
|
H A D | stream_rfc2397_007.phpt | 46 var_dump(fseek($fp, 1, SEEK_CUR)); 50 var_dump(fseek($fp, -2, SEEK_CUR)); 54 var_dump(fseek($fp, -10, SEEK_CUR)); 62 var_dump(fseek($fp, 10, SEEK_CUR));
|
H A D | userstreams.phpt | 137 case SEEK_CUR: 191 array(SEEK_CUR, 8450, 8450), 192 array(SEEK_CUR, -7904, 546), 193 array(SEEK_CUR, 12456, 13002), 201 SEEK_CUR, 206 SEEK_CUR => "SEEK_CUR", 224 case SEEK_CUR: 252 (int)fseek($tf, - strlen($rline), SEEK_CUR); 258 (int)fseek($fp, - strlen($uline), SEEK_CUR);
|
H A D | fseek_variation3.phpt | 19 var_dump(fseek($h, -1, SEEK_CUR)); 21 var_dump(fseek($h, -20, SEEK_CUR));
|
H A D | fread_fwrite_basic.phpt | 25 fseek($h, -4, SEEK_CUR); 42 fseek($h, -strlen($out) + 1, SEEK_CUR);
|
H A D | fseek_ftell_rewind_variation5.phpt | 2 Test fseek(), ftell() & rewind() functions : usage variations - all r & a modes, SEEK_CUR 10 2. Testing fseek() with whence = SEEK_CUR 12 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_CUR & all r and a modes ***\n"; 37 var_dump( fseek($file_handle,$count,SEEK_CUR) ); 53 *** Testing fseek(), ftell(), rewind() : whence = SEEK_CUR & all r and a modes ***
|
H A D | fseek_ftell_rewind_variation6-win32.phpt | 2 Test fseek(), ftell() & rewind() functions : usage variations - all w & x modes, SEEK_CUR 15 2. Testing fseek() with whence = SEEK_CUR 17 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_CUR & all w and x modes ***\n"; 44 var_dump( fseek($file_handle,$count,SEEK_CUR) ); 60 *** Testing fseek(), ftell(), rewind() : whence = SEEK_CUR & all w and x modes ***
|
H A D | fseek_ftell_rewind_variation6.phpt | 2 Test fseek(), ftell() & rewind() functions : usage variations - all w & x modes, SEEK_CUR 15 2. Testing fseek() with whence = SEEK_CUR 17 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_CUR & all w and x modes ***\n"; 44 var_dump( fseek($file_handle,$count,SEEK_CUR) ); 60 *** Testing fseek(), ftell(), rewind() : whence = SEEK_CUR & all w and x modes ***
|
H A D | include_userstream_001.phpt | 50 case SEEK_CUR:
|
H A D | bug52335.phpt | 33 var_dump(fseek($fprw, 16, SEEK_CUR));
|
/php-src/ext/zlib/tests/ |
H A D | gzseek_variation3.phpt | 2 Test function gzseek() by calling it with SEEK_CUR when reading 11 var_dump(gzseek( $h, 50, SEEK_CUR ) ); 17 var_dump(gzseek( $h, 34, SEEK_CUR ) ); 23 var_dump(gzseek( $h, -27, SEEK_CUR ) );
|
H A D | gzseek_variation5.phpt | 2 Test function gzseek() by calling it with SEEK_CUR when writing 15 gzseek($h, 20, SEEK_CUR);
|
/php-src/ext/bz2/tests/ |
H A D | bug51997.phpt | 2 Bug #51997 (SEEK_CUR with 0 value, returns a warning) 17 fseek($bz, 0, SEEK_CUR);
|
/php-src/tests/basic/ |
H A D | enable_post_data_reading_07.phpt | 17 fseek($f1, 3, SEEK_CUR); 19 fseek($f1, -3, SEEK_CUR);
|
/php-src/Zend/tests/ |
H A D | bug24699.phpt | 5 class TEST { const FOO = SEEK_CUR; };
|
/php-src/ext/standard/tests/streams/ |
H A D | gh15980.phpt | 7 $seekres = fseek($s, PHP_INT_MAX, SEEK_CUR);
|
/php-src/ext/standard/ |
H A D | image.c | 74 if (php_stream_seek(stream, 3, SEEK_CUR)) in php_handle_gif() 96 if (php_stream_seek(stream, 11, SEEK_CUR)) in php_handle_psd() 117 if (php_stream_seek(stream, 11, SEEK_CUR)) in php_handle_bmp() 173 if (php_stream_seek(stream, 5, SEEK_CUR)) { in php_handle_swc() 248 if (php_stream_seek(stream, 5, SEEK_CUR)) in php_handle_swf() 281 if (php_stream_seek(stream, 8, SEEK_CUR)) in php_handle_png() 392 php_stream_seek(stream, (zend_long)length, SEEK_CUR); in php_skip_variable() 612 if (php_stream_seek(stream, 24, SEEK_CUR)) { in php_handle_jpc() 678 php_stream_seek(stream, 3, SEEK_CUR); in php_handle_jp2() 783 if (php_stream_seek(stream, ifd_addr-8, SEEK_CUR)) in php_handle_tiff() [all …]
|
H A D | file.stub.php | 16 const SEEK_CUR = UNKNOWN; define
|
/php-src/main/streams/ |
H A D | mmap.c | 48 if (php_stream_seek(stream, readden, SEEK_CUR) != 0) { in _php_stream_mmap_unmap_ex()
|
/php-src/ext/standard/tests/filters/ |
H A D | gh13264.phpt | 16 fseek($stream, -1, SEEK_CUR);
|
/php-src/ext/exif/tests/ |
H A D | gh10834.phpt | 36 case SEEK_CUR:
|