Home
last modified time | relevance | path

Searched refs:SEEK_CUR (Results 1 – 25 of 51) sorted by relevance

123

/php-src/ext/phar/tests/
H A D022.phpt26 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 Dfseek_ftell_rewind_basic1.phpt14 $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 Dfseek_ftell_rewind_basic2-win32-mb.phpt21 $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 Dfseek_ftell_rewind_basic2-win32.phpt21 $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 Dfseek_ftell_rewind_basic2.phpt21 $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 Dstream_rfc2397_007.phpt46 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 Duserstreams.phpt137 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 Dfseek_variation3.phpt19 var_dump(fseek($h, -1, SEEK_CUR));
21 var_dump(fseek($h, -20, SEEK_CUR));
H A Dfread_fwrite_basic.phpt25 fseek($h, -4, SEEK_CUR);
42 fseek($h, -strlen($out) + 1, SEEK_CUR);
H A Dfseek_ftell_rewind_variation5.phpt2 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 Dfseek_ftell_rewind_variation6-win32.phpt2 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 Dfseek_ftell_rewind_variation6.phpt2 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 Dinclude_userstream_001.phpt50 case SEEK_CUR:
H A Dbug52335.phpt33 var_dump(fseek($fprw, 16, SEEK_CUR));
H A Dbug38450.phpt61 case SEEK_CUR:
/php-src/ext/zlib/tests/
H A Dgzseek_variation3.phpt2 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 Dgzseek_variation5.phpt2 Test function gzseek() by calling it with SEEK_CUR when writing
15 gzseek($h, 20, SEEK_CUR);
/php-src/ext/bz2/tests/
H A Dbug51997.phpt2 Bug #51997 (SEEK_CUR with 0 value, returns a warning)
17 fseek($bz, 0, SEEK_CUR);
/php-src/tests/basic/
H A Denable_post_data_reading_07.phpt17 fseek($f1, 3, SEEK_CUR);
19 fseek($f1, -3, SEEK_CUR);
/php-src/Zend/tests/
H A Dbug24699.phpt5 class TEST { const FOO = SEEK_CUR; };
/php-src/ext/standard/
H A Dimage.c74 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 Dfile.stub.php16 const SEEK_CUR = UNKNOWN; define
/php-src/main/streams/
H A Dmmap.c48 if (php_stream_seek(stream, readden, SEEK_CUR) != 0) { in _php_stream_mmap_unmap_ex()
/php-src/ext/standard/tests/filters/
H A Dgh13264.phpt16 fseek($stream, -1, SEEK_CUR);
/php-src/ext/exif/tests/
H A Dgh10834.phpt36 case SEEK_CUR:

Completed in 39 milliseconds

123