Home
last modified time | relevance | path

Searched refs:whence (Results 26 – 50 of 74) sorted by relevance

123

/PHP-7.2/ext/standard/tests/file/
H A Dinclude_userstream_003.phpt53 function stream_seek($offset, $whence)
56 return fseek($this->stream, $offset, $whence);
58 switch($whence) {
H A Dfseek_ftell_rewind_variation3.phpt5 /* Prototype: int fseek ( resource $handle, int $offset [, int $whence] );
20 2. Testing fseek() with whence = SEEK_SET
23 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_SET & all r and a modes ***\n";
34 echo "*** Testing fseek() with whence = SEEK_SET ***\n";
64 *** Testing fseek(), ftell(), rewind() : whence = SEEK_SET & all r and a modes ***
65 *** Testing fseek() with whence = SEEK_SET ***
H A Dbug38450_2.phpt48 function stream_seek($offset, $whence)
50 switch ($whence) {
H A Dbug38450_3.phpt48 function stream_seek($offset, $whence)
50 switch ($whence) {
H A Dinclude_streams.phpt67 function stream_seek($offset, $whence)
69 switch($whence) {
H A Dfseek_ftell_rewind_variation5.phpt5 /* Prototype: int fseek ( resource $handle, int $offset [, int $whence] );
20 2. Testing fseek() with whence = SEEK_CUR
22 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_CUR & all r and a modes ***\n";
63 *** Testing fseek(), ftell(), rewind() : whence = SEEK_CUR & all r and a modes ***
H A Dfseek_ftell_rewind_variation4-win32.phpt10 /* Prototype: int fseek ( resource $handle, int $offset [, int $whence] );
25 2. Testing fseek() with whence = SEEK_SET
27 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_SET & all w and x modes ***\n";
70 *** Testing fseek(), ftell(), rewind() : whence = SEEK_SET & all w and x modes ***
H A Dfseek_ftell_rewind_variation4.phpt10 /* Prototype: int fseek ( resource $handle, int $offset [, int $whence] );
25 2. Testing fseek() with whence = SEEK_SET
27 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_SET & all w and x modes ***\n";
70 *** Testing fseek(), ftell(), rewind() : whence = SEEK_SET & all w and x modes ***
H A Dfseek_ftell_rewind_variation6-win32.phpt10 /* Prototype: int fseek ( resource $handle, int $offset [, int $whence] );
25 2. Testing fseek() with whence = SEEK_CUR
27 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_CUR & all w and x modes ***\n";
70 *** Testing fseek(), ftell(), rewind() : whence = SEEK_CUR & all w and x modes ***
H A Dfseek_ftell_rewind_variation6.phpt10 /* Prototype: int fseek ( resource $handle, int $offset [, int $whence] );
25 2. Testing fseek() with whence = SEEK_CUR
27 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_CUR & all w and x modes ***\n";
70 *** Testing fseek(), ftell(), rewind() : whence = SEEK_CUR & all w and x modes ***
H A Dfseek_ftell_rewind_variation8-win32.phpt10 /* Prototype: int fseek ( resource $handle, int $offset [, int $whence] );
25 2. Testing fseek() with whence = SEEK_END
27 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_END & all r and a modes ***\n";
71 *** Testing fseek(), ftell(), rewind() : whence = SEEK_END & all r and a modes ***
H A Dfseek_ftell_rewind_variation8.phpt10 /* Prototype: int fseek ( resource $handle, int $offset [, int $whence] );
25 2. Testing fseek() with whence = SEEK_END
27 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_END & all r and a modes ***\n";
71 *** Testing fseek(), ftell(), rewind() : whence = SEEK_END & all r and a modes ***
H A Dfseek_ftell_rewind_variation7.phpt5 /* Prototype: int fseek ( resource $handle, int $offset [, int $whence] );
20 2. Testing fseek() with whence = SEEK_END
23 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_END & all r and a modes ***\n";
64 *** Testing fseek(), ftell(), rewind() : whence = SEEK_END & all r and a modes ***
H A Dfseek_variation3.phpt7 /* Prototype : proto int fseek(resource fp, int offset [, int whence])
H A Dfseek_ftell_rewind_error2.phpt6 /* Prototype: int fseek ( resource $handle, int $offset [, int $whence] );
H A Dfseek_ftell_rewind_error3.phpt6 /* Prototype: int fseek ( resource $handle, int $offset [, int $whence] );
/PHP-7.2/ext/phar/
H A Dstream.h37 static int phar_stream_seek( php_stream *stream, zend_off_t offset, int whence, zend_off_t *newo…
H A Ddirstream.c61 static int phar_dir_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset) … in phar_dir_seek() argument
69 if (whence == SEEK_END) { in phar_dir_seek()
70 whence = SEEK_SET; in phar_dir_seek()
74 if (whence == SEEK_SET) { in phar_dir_seek()
/PHP-7.2/ext/com_dotnet/
H A Dcom_persist.c141 int whence; in stm_seek() local
146 case STREAM_SEEK_SET: whence = SEEK_SET; break; in stm_seek()
147 case STREAM_SEEK_CUR: whence = SEEK_CUR; break; in stm_seek()
148 case STREAM_SEEK_END: whence = SEEK_END; break; in stm_seek()
160 ret = php_stream_seek(stm->stream, offset, whence); in stm_seek()
/PHP-7.2/ext/spl/internal/
H A Dsplfileobject.inc142 * @param whence seek method (SEEK_SET, SEEK_CUR, SEEK_END)
146 function fseek($pos, $whence = SEEK_SET)
148 return fseek($this->fp, $pos, $whence);
/PHP-7.2/main/
H A Dphp_streams.h128 int (*seek)(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset);
303 PHPAPI int _php_stream_seek(php_stream *stream, zend_off_t offset, int whence);
305 #define php_stream_seek(stream, offset, whence) _php_stream_seek((stream), (offset), (whence)) argument
/PHP-7.2/main/streams/
H A Dmemory.c130 static int php_stream_memory_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *ne… in php_stream_memory_seek() argument
135 switch(whence) { in php_stream_memory_seek()
441 static int php_stream_temp_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newo… in php_stream_temp_seek() argument
452 ret = php_stream_seek(ts->innerstream, offset, whence); in php_stream_temp_seek()
/PHP-7.2/ext/standard/
H A Dphp_fopen_wrapper.c125 static int php_stream_input_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *new… in php_stream_input_seek() argument
130 int sought = php_stream_seek(input->body, offset, whence); in php_stream_input_seek()
/PHP-7.2/ext/zip/lib/
H A Dzip_source_crc.c185 …if (zip_source_seek(src, args->offset, args->whence) < 0 || (new_position = zip_source_tell(src)) … in crc_read()
/PHP-7.2/ext/oci8/tests/
H A Dreflection2.phpt100 Parameter #1 [ <optional> $whence ]

Completed in 64 milliseconds

123