Home
last modified time | relevance | path

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

123

/PHP-5.5/ext/standard/tests/file/
H A Dbug38450_2.phpt48 function stream_seek($offset, $whence)
50 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_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_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_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] );
H A Dfseek_ftell_rewind_error1.phpt6 /* Prototype: int fseek ( resource $handle, int $offset [, int $whence] );
/PHP-5.5/ext/phar/
H A Dstream.h37 static int phar_stream_seek( php_stream *stream, off_t offset, int whence, off_t *newoffset TSRM…
H A Ddirstream.c61 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 Dcom_persist.c142 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 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-5.5/main/streams/
H A Dmemory.c134 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 Dglob_wrapper.c183 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 Dplain_wrapper.c483 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 Dstreams.c1273 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 Duserspace.c808 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 Dphp_streams.h126 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 Dreflection2.phpt100 Parameter #1 [ <optional> $whence ]
/PHP-5.5/ext/oci8/
H A Doci8_interface.c441 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) {

Completed in 83 milliseconds

123