Home
last modified time | relevance | path

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

123

/PHP-8.2/ext/standard/tests/file/
H A Dfseek_ftell_rewind_variation3.phpt10 2. Testing fseek() with whence = SEEK_SET
13 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_SET & all r and a modes ***\n";
24 echo "*** Testing fseek() with whence = SEEK_SET ***\n";
54 *** Testing fseek(), ftell(), rewind() : whence = SEEK_SET & all r and a modes ***
55 *** Testing fseek() with whence = SEEK_SET ***
H A Dfseek_ftell_rewind_variation4.phpt15 2. Testing fseek() with whence = SEEK_SET
17 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_SET & all w and x modes ***\n";
60 *** Testing fseek(), ftell(), rewind() : whence = SEEK_SET & all w and x modes ***
H A Dfseek_ftell_rewind_variation5.phpt10 2. Testing fseek() with whence = SEEK_CUR
12 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_CUR & all r and a modes ***\n";
53 *** Testing fseek(), ftell(), rewind() : whence = SEEK_CUR & all r and a modes ***
H A Dfseek_ftell_rewind_variation6-win32.phpt15 2. Testing fseek() with whence = SEEK_CUR
17 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_CUR & all w and x modes ***\n";
60 *** Testing fseek(), ftell(), rewind() : whence = SEEK_CUR & all w and x modes ***
H A Dfseek_ftell_rewind_variation4-win32.phpt15 2. Testing fseek() with whence = SEEK_SET
17 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_SET & all w and x modes ***\n";
60 *** Testing fseek(), ftell(), rewind() : whence = SEEK_SET & all w and x modes ***
H A Dfseek_ftell_rewind_variation6.phpt15 2. Testing fseek() with whence = SEEK_CUR
17 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_CUR & all w and x modes ***\n";
60 *** Testing fseek(), ftell(), rewind() : whence = SEEK_CUR & all w and x modes ***
H A Dfseek_ftell_rewind_variation7.phpt10 2. Testing fseek() with whence = SEEK_END
13 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_END & all r and a modes ***\n";
54 *** Testing fseek(), ftell(), rewind() : whence = SEEK_END & all r and a modes ***
H A Dfseek_ftell_rewind_variation8-win32.phpt15 2. Testing fseek() with whence = SEEK_END
17 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_END & all r and a modes ***\n";
61 *** Testing fseek(), ftell(), rewind() : whence = SEEK_END & all r and a modes ***
H A Dfseek_ftell_rewind_variation8.phpt15 2. Testing fseek() with whence = SEEK_END
17 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_END & all r and a modes ***\n";
61 *** Testing fseek(), ftell(), rewind() : whence = SEEK_END & all r and a modes ***
/PHP-8.2/ext/com_dotnet/
H A Dcom_persist.c138 int whence; in stm_seek() local
143 case STREAM_SEEK_SET: whence = SEEK_SET; break; in stm_seek()
144 case STREAM_SEEK_CUR: whence = SEEK_CUR; break; in stm_seek()
145 case STREAM_SEEK_END: whence = SEEK_END; break; in stm_seek()
157 ret = php_stream_seek(stm->stream, offset, whence); in stm_seek()
/PHP-8.2/Zend/tests/
H A Dgh10072.phpt41 public function stream_seek(int $offset, int $whence = SEEK_SET): bool
/PHP-8.2/ext/phar/
H A Ddirstream.c58 static int phar_dir_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset) … in phar_dir_seek() argument
66 if (whence == SEEK_END) { in phar_dir_seek()
67 whence = SEEK_SET; in phar_dir_seek()
71 if (whence == SEEK_SET) { in phar_dir_seek()
/PHP-8.2/ext/zip/
H A Dzip_stream.c202 static int php_zip_ops_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffse… in php_zip_ops_seek() argument
208 ret = zip_fseek(self->zf, offset, whence); in php_zip_ops_seek()
/PHP-8.2/main/
H A Dphp_streams.h124 int (*seek)(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset);
309 PHPAPI int _php_stream_seek(php_stream *stream, zend_off_t offset, int whence);
311 #define php_stream_seek(stream, offset, whence) _php_stream_seek((stream), (offset), (whence)) argument
/PHP-8.2/main/streams/
H A Dmemory.c117 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
122 switch(whence) { in php_stream_memory_seek()
434 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
445 ret = php_stream_seek(ts->innerstream, offset, whence); in php_stream_temp_seek()
H A Dglob_wrapper.c188 static int php_glob_stream_rewind(php_stream *stream, zend_off_t offset, int whence, zend_off_t *ne… in php_glob_stream_rewind() argument
H A Dplain_wrapper.c570 static int php_stdiop_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset) in php_stdiop_seek() argument
585 result = zend_lseek(data->fd, offset, whence); in php_stdiop_seek()
593 ret = zend_fseek(data->file, offset, whence); in php_stdiop_seek()
1042 static int php_plain_files_dirstream_rewind(php_stream *stream, zend_off_t offset, int whence, zend… in php_plain_files_dirstream_rewind() argument
H A Dstreams.c1312 PHPAPI int _php_stream_seek(php_stream *stream, zend_off_t offset, int whence) in _php_stream_seek() argument
1326 switch(whence) { in _php_stream_seek()
1355 switch(whence) { in _php_stream_seek()
1363 whence = SEEK_SET; in _php_stream_seek()
1366 ret = stream->ops->seek(stream, offset, whence, &stream->position); in _php_stream_seek()
1383 if (whence == SEEK_CUR && offset >= 0) { in _php_stream_seek()
H A Duserspace.c764 static int php_userstreamop_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *new… in php_userstreamop_seek() argument
777 ZVAL_LONG(&args[1], whence); in php_userstreamop_seek()
1393 static int php_userstreamop_rewinddir(php_stream *stream, zend_off_t offset, int whence, zend_off_t… in php_userstreamop_rewinddir() argument
/PHP-8.2/ext/zlib/
H A Dzlib.stub.php253 function gzseek($stream, int $offset, int $whence = SEEK_SET): int {} argument
H A Dzlib_arginfo.h90 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, whence, IS_LONG, 0, "SEEK_SET")
/PHP-8.2/ext/standard/
H A Dphp_fopen_wrapper.c123 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
128 int sought = php_stream_seek(input->body, offset, whence); in php_stream_input_seek()
/PHP-8.2/ext/spl/
H A Dspl_directory.stub.php325 public function fseek(int $offset, int $whence = SEEK_SET): int {} argument
/PHP-8.2/ext/oci8/
H A Doci8.stub.php468 function oci_lob_seek(OCILob $lob, int $offset, int $whence = OCI_SEEK_SET): bool {} argument
1008 public function seek(int $offset, int $whence = OCI_SEEK_SET): bool {}
/PHP-8.2/ext/pdo_pgsql/
H A Dpgsql_driver.c160 static int pgsql_lob_seek(php_stream *stream, zend_off_t offset, int whence, in pgsql_lob_seek() argument
165 zend_off_t pos = lo_lseek64(self->conn, self->lfd, offset, whence); in pgsql_lob_seek()
167 zend_off_t pos = lo_lseek(self->conn, self->lfd, offset, whence); in pgsql_lob_seek()

Completed in 61 milliseconds

123