Searched refs:seek (Results 1 – 25 of 78) sorted by last modified time
1234
/PHP-5.5/main/streams/ |
H A D | streams.c | 1121 …if (stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0 && stream->readpos != stre… in _php_stream_write_buffer() 1124 stream->ops->seek(stream, stream->position, SEEK_SET, &stream->position TSRMLS_CC); in _php_stream_write_buffer() 1143 if (stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0) { in _php_stream_write_buffer() 1304 if (stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0) { in _php_stream_seek() 1317 ret = stream->ops->seek(stream, offset, whence, &stream->position TSRMLS_CC); in _php_stream_seek() 2134 …if (stream && stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0 && strchr(mode, … 2138 if (0 == stream->ops->seek(stream, 0, SEEK_CUR, &newpos TSRMLS_CC)) {
|
H A D | cast.c | 208 if (stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0) { in _php_stream_cast() 211 stream->ops->seek(stream, stream->position, SEEK_SET, &dummy TSRMLS_CC); in _php_stream_cast() 384 if (((flags & PHP_STREAM_FORCE_CONVERSION) == 0) && origstream->ops->seek != NULL) { in _php_stream_make_seekable()
|
/PHP-5.5/main/ |
H A D | php_streams.h | 126 int (*seek)(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC); member
|
/PHP-5.5/ext/zlib/tests/ |
H A D | gzseek_basic2.phpt | 18 //seek forwards 20 bytes.
|
H A D | gzseek_variation1.phpt | 17 //seek forwards 20 bytes.
|
H A D | gzseek_variation4.phpt | 18 //seek forwards 20 bytes.
|
H A D | gzseek_variation5.phpt | 18 //seek forwards 20 bytes.
|
H A D | gzseek_variation7.phpt | 19 //seek to the end which is not sensible of course.
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | userstreams.phpt | 8 * user streams and also gives the seek/gets/buffer 58 * to seek around... */ 192 /* end up at BOF so that randomly generated seek offsets 208 /* generate some random seek offsets */
|
H A D | fseek_variation3.phpt | 24 echo "after -4 seek: ".bin2hex(fread($h,1))."\n"; 26 echo "after seek back 1: ".bin2hex(fread($h,1))."\n"; 28 echo "after seek back 20: ".bin2hex(fread($h,1))."\n"; 46 after -4 seek: 48 after seek back 1: 39 50 after seek back 20:
|
H A D | fpassthru_basic.phpt | 25 echo "\n-- Before seek operation --\n"; 68 -- Before seek operation --
|
H A D | fgets_variation6-win32.phpt | 45 // seek to end of the file and try fgets()
|
H A D | fgets_variation6.phpt | 45 // seek to end of the file and try fgets()
|
H A D | fgets_variation4-win32.phpt | 2 Test fgets() function : usage variations - seek n read
|
H A D | fgets_variation4.phpt | 2 Test fgets() function : usage variations - seek n read
|
H A D | feof_basic.phpt | 53 echo "*** testing feof after a seek to near the beginning ***\n"; 57 echo "*** testing feof after a seek to end ***\n"; 61 echo "*** testing feof after a seek passed the end ***\n"; 92 *** testing feof after a seek to near the beginning *** 94 *** testing feof after a seek to end *** 96 *** testing feof after a seek passed the end ***
|
H A D | fgetc_variation1.phpt | 32 // seek to end of the file and try fgetc()
|
/PHP-5.5/ext/standard/ |
H A D | streamsfuncs.c | 535 …add_assoc_bool(return_value, "seekable", (stream->ops->seek) && (stream->flags & PHP_STREAM_FLAG_N… in PHP_FUNCTION()
|
/PHP-5.5/ext/spl/tests/ |
H A D | limititerator_seek.phpt | 2 SPL: LimitIterator seek() arguments 12 $lt->seek(1,1); // Should throw a warning as seek expects only 1 argument 17 Warning: LimitIterator::seek() expects exactly 1 parameter, 2 given in %s on line %d
|
H A D | iterator_001.phpt | 57 public function seek($index) 123 SeekableNumericArrayIterator::seek(1) 149 SeekableNumericArrayIterator::seek(1)
|
H A D | iterator_004.phpt | 51 public function seek($index) 78 $l->seek($i); 109 SeekableNumericArrayIterator::seek(1) 127 SeekableNumericArrayIterator::seek(1) 132 SeekableNumericArrayIterator::seek(2) 137 SeekableNumericArrayIterator::seek(3)
|
H A D | iterator_032.phpt | 16 $it->seek(0); 23 $it->seek(2); 28 $it->seek(3); 46 Cannot seek to 0 which is below the offset 1 48 Cannot seek to 3 which is behind offset 1 plus count 2
|
H A D | iterator_039.phpt | 58 $it->seek(2);
|
H A D | fileobject_001.phpt | 2 SPL: SplFileObject::seek'ing 22 $o->seek(4);
|
H A D | dit_006.phpt | 2 SPL: DirectoryIterator and seek 6 $di->seek(2); 14 echo "With seek(2) we get $n\n"; 15 $di->seek(0); 22 echo "With seek(0) we get $m\n"; 31 echo "Without seek we get $o\n"; 34 $di->seek($o+1); 44 With seek(2) we get %d 45 With seek(0) we get %d 46 Without seek we get %d
|
Completed in 70 milliseconds
1234