/PHP-5.5/ext/standard/tests/file/ |
H A D | bug38450_2.phpt | 48 function stream_seek($offset, $whence) 50 switch ($whence) {
|
H A D | fseek_ftell_rewind_variation5.phpt | 5 /* 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 D | fseek_ftell_rewind_variation4-win32.phpt | 10 /* 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 D | fseek_ftell_rewind_variation4.phpt | 10 /* 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 D | fseek_ftell_rewind_variation6-win32.phpt | 10 /* 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 D | fseek_ftell_rewind_variation6.phpt | 10 /* 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 D | fseek_ftell_rewind_variation7.phpt | 5 /* 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 D | fseek_ftell_rewind_variation8-win32.phpt | 10 /* 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 D | fseek_ftell_rewind_variation8.phpt | 10 /* 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 D | fseek_variation3.phpt | 7 /* Prototype : proto int fseek(resource fp, int offset [, int whence])
|
H A D | fseek_ftell_rewind_error2.phpt | 6 /* Prototype: int fseek ( resource $handle, int $offset [, int $whence] );
|
H A D | fseek_ftell_rewind_error3.phpt | 6 /* Prototype: int fseek ( resource $handle, int $offset [, int $whence] );
|
H A D | fseek_ftell_rewind_error1.phpt | 6 /* Prototype: int fseek ( resource $handle, int $offset [, int $whence] );
|
/PHP-5.5/ext/phar/ |
H A D | stream.h | 37 static int phar_stream_seek( php_stream *stream, off_t offset, int whence, off_t *newoffset TSRM…
|
H A D | dirstream.c | 61 static int phar_dir_seek(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC) … 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-5.5/ext/com_dotnet/ |
H A D | com_persist.c | 142 int whence; in stm_seek() local 147 case STREAM_SEEK_SET: whence = SEEK_SET; break; in stm_seek() 148 case STREAM_SEEK_CUR: whence = SEEK_CUR; break; in stm_seek() 149 case STREAM_SEEK_END: whence = SEEK_END; break; in stm_seek() 161 ret = php_stream_seek(stm->stream, offset, whence); in stm_seek()
|
/PHP-5.5/ext/spl/internal/ |
H A D | splfileobject.inc | 142 * @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-5.5/main/streams/ |
H A D | memory.c | 134 static int php_stream_memory_seek(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRM… in php_stream_memory_seek() argument 139 switch(whence) { in php_stream_memory_seek() 450 static int php_stream_temp_seek(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRMLS… in php_stream_temp_seek() argument 461 ret = php_stream_seek(ts->innerstream, offset, whence); in php_stream_temp_seek()
|
H A D | glob_wrapper.c | 183 static int php_glob_stream_rewind(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRM… in php_glob_stream_rewind() argument
|
H A D | plain_wrapper.c | 483 static int php_stdiop_seek(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC) in php_stdiop_seek() argument 498 result = lseek(data->fd, offset, whence); in php_stdiop_seek() 506 ret = fseek(data->file, offset, whence); in php_stdiop_seek() 869 static int php_plain_files_dirstream_rewind(php_stream *stream, off_t offset, int whence, off_t *ne… in php_plain_files_dirstream_rewind() argument
|
H A D | streams.c | 1273 PHPAPI int _php_stream_seek(php_stream *stream, off_t offset, int whence TSRMLS_DC) in _php_stream_seek() 1282 switch(whence) { in _php_stream_seek() 1311 switch(whence) { in _php_stream_seek() 1314 whence = SEEK_SET; in _php_stream_seek() 1317 ret = stream->ops->seek(stream, offset, whence, &stream->position TSRMLS_CC); in _php_stream_seek() 1334 if (whence == SEEK_CUR && offset >= 0) { in _php_stream_seek()
|
H A D | userspace.c | 808 static int php_userstreamop_seek(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRML… in php_userstreamop_seek() argument 826 ZVAL_LONG(zwhence, whence); in php_userstreamop_seek() 1579 static int php_userstreamop_rewinddir(php_stream *stream, off_t offset, int whence, off_t *newoffs … in php_userstreamop_rewinddir() argument
|
/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); 286 PHPAPI int _php_stream_seek(php_stream *stream, off_t offset, int whence TSRMLS_DC); 288 #define php_stream_seek(stream, offset, whence) _php_stream_seek((stream), (offset), (whence) TSRML… argument
|
/PHP-5.5/ext/oci8/tests/ |
H A D | reflection2.phpt | 100 Parameter #1 [ <optional> $whence ]
|
/PHP-5.5/ext/oci8/ |
H A D | oci8_interface.c | 441 long offset, whence = PHP_OCI_SEEK_SET; local 445 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|l", &offset, &whence) == FAILURE) { 450 …M_ARGS() TSRMLS_CC, "Ol|l", &z_descriptor, oci_lob_class_entry_ptr, &offset, &whence) == FAILURE) { 466 switch(whence) {
|