Home
last modified time | relevance | path

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

123

/PHP-7.2/ext/standard/tests/file/
H A Dfseek_ftell_rewind_error1.phpt6 /* Prototype: int fseek ( resource $handle, int $offset [, int $whence] );
/PHP-7.2/main/streams/
H A Dglob_wrapper.c183 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.c513 static int php_stdiop_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset) in php_stdiop_seek() argument
528 result = zend_lseek(data->fd, offset, whence); in php_stdiop_seek()
536 ret = zend_fseek(data->file, offset, whence); in php_stdiop_seek()
917 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.c1240 PHPAPI int _php_stream_seek(php_stream *stream, zend_off_t offset, int whence) in _php_stream_seek() argument
1249 switch(whence) { in _php_stream_seek()
1278 switch(whence) { in _php_stream_seek()
1281 whence = SEEK_SET; in _php_stream_seek()
1284 ret = stream->ops->seek(stream, offset, whence, &stream->position); in _php_stream_seek()
1301 if (whence == SEEK_CUR && offset >= 0) { in _php_stream_seek()
H A Duserspace.c775 static int php_userstreamop_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *new… in php_userstreamop_seek() argument
788 ZVAL_LONG(&args[1], whence); in php_userstreamop_seek()
1470 static int php_userstreamop_rewinddir(php_stream *stream, zend_off_t offset, int whence, zend_off_t… in php_userstreamop_rewinddir() argument
/PHP-7.2/ext/pdo_pgsql/
H A Dpgsql_driver.c166 static int pgsql_lob_seek(php_stream *stream, zend_off_t offset, int whence, in pgsql_lob_seek() argument
171 zend_off_t pos = lo_lseek64(self->conn, self->lfd, offset, whence); in pgsql_lob_seek()
173 zend_off_t pos = lo_lseek(self->conn, self->lfd, offset, whence); in pgsql_lob_seek()
/PHP-7.2/ext/oci8/
H A Doci8_interface.c533 zend_long offset, whence = PHP_OCI_SEEK_SET; in PHP_FUNCTION() local
537 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|l", &offset, &whence) == FAILURE) { in PHP_FUNCTION()
542 …rs(ZEND_NUM_ARGS(), "Ol|l", &z_descriptor, oci_lob_class_entry_ptr, &offset, &whence) == FAILURE) { in PHP_FUNCTION()
558 switch(whence) { in PHP_FUNCTION()
H A Doci8.c191 ZEND_ARG_INFO(0, whence)
549 ZEND_ARG_INFO(0, whence)
/PHP-7.2/ext/zip/lib/
H A Dzip.h254 int whence; member
/PHP-7.2/ext/pgsql/
H A DREADME172 bool pg_lo_lseek(resource large_object, int offset[, int whence])
H A Dpgsql.c377 ZEND_ARG_INFO(0, whence)
3821 zend_long result, offset = 0, whence = SEEK_CUR; local
3825 if (zend_parse_parameters(argc, "rl|l", &pgsql_id, &offset, &whence) == FAILURE) {
3828 if (whence != SEEK_SET && whence != SEEK_CUR && whence != SEEK_END) {
3839 result = lo_lseek64((PGconn *)pgsql->conn, pgsql->lofd, offset, (int)whence);
3841 result = lo_lseek((PGconn *)pgsql->conn, pgsql->lofd, (int)offset, (int)whence);
3844 result = lo_lseek((PGconn *)pgsql->conn, pgsql->lofd, offset, whence);
/PHP-7.2/ext/phar/
H A Dphar_internal.h556 int phar_seek_efp(phar_entry_info *entry, zend_off_t offset, int whence, zend_off_t position, int f…
H A Dstream.c394 static int phar_stream_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffse… in phar_stream_seek() argument
407 switch (whence) { in phar_stream_seek()
H A Dphar.c797 zend_off_t whence; local
813 whence = signature_len + 4;
814 whence = -whence;
816 if (-1 == php_stream_seek(fp, whence, SEEK_CUR)
H A Dutil.c120 int phar_seek_efp(phar_entry_info *entry, zend_off_t offset, int whence, zend_off_t position, int f… in phar_seek_efp() argument
143 switch (whence) { in phar_seek_efp()
/PHP-7.2/
H A DREADME.STREAMS38 PHPAPI int php_stream_seek(php_stream * stream, off_t offset, int whence);
146 whence parameter is SEEK_CUR.
H A Dacinclude.m41779 int seeker(void *cookie, __off64_t *position, int whence)
/PHP-7.2/ext/standard/
H A Dfile.c1290 zend_long offset, whence = SEEK_SET; in PHP_FUNCTION() local
1297 Z_PARAM_LONG(whence) in PHP_FUNCTION()
1302 RETURN_LONG(php_stream_seek(stream, offset, (int) whence)); in PHP_FUNCTION()
H A Dbasic_functions.c1132 ZEND_ARG_INFO(0, whence)
/PHP-7.2/ext/spl/
H A Dspl_directory.c2796 zend_long pos, whence = SEEK_SET; in SPL_METHOD() local
2798 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|l", &pos, &whence) == FAILURE) { in SPL_METHOD()
2808 RETURN_LONG(php_stream_seek(intern->u.file.stream, pos, (int)whence)); in SPL_METHOD()
3050 ZEND_ARG_INFO(0, whence)
/PHP-7.2/ext/pdo_oci/
H A Doci_statement.c710 static int oci_blob_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset) in oci_blob_seek() argument
/PHP-7.2/ext/sqlite3/
H A Dsqlite3.c1142 static int php_sqlite3_stream_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *n… in php_sqlite3_stream_seek() argument
1146 switch(whence) { in php_sqlite3_stream_seek()
/PHP-7.2/ext/oci8/tests/
H A Dreflection1.phpt563 Parameter #2 [ <optional> $whence ]
/PHP-7.2/ext/zlib/
H A Dzlib.c1337 ZEND_ARG_INFO(0, whence)

Completed in 205 milliseconds

123