whence 142 ext/com_dotnet/com_persist.c int whence; whence 147 ext/com_dotnet/com_persist.c case STREAM_SEEK_SET: whence = SEEK_SET; break; whence 148 ext/com_dotnet/com_persist.c case STREAM_SEEK_CUR: whence = SEEK_CUR; break; whence 149 ext/com_dotnet/com_persist.c case STREAM_SEEK_END: whence = SEEK_END; break; whence 161 ext/com_dotnet/com_persist.c ret = php_stream_seek(stm->stream, offset, whence); whence 228 ext/dba/dba_cdb.c int cdb_file_lseek(php_stream *fp, off_t offset, int whence TSRMLS_DC) { whence 229 ext/dba/dba_cdb.c php_stream_seek(fp, offset, whence); whence 233 ext/dba/dba_cdb.c int cdb_file_lseek(int fd, off_t offset, int whence TSRMLS_DC) { whence 234 ext/dba/dba_cdb.c return lseek(fd, offset, whence); whence 219 ext/oci8/oci8.c ZEND_ARG_INFO(0, whence) whence 565 ext/oci8/oci8.c ZEND_ARG_INFO(0, whence) whence 441 ext/oci8/oci8_interface.c long offset, whence = PHP_OCI_SEEK_SET; whence 445 ext/oci8/oci8_interface.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|l", &offset, &whence) == FAILURE) { whence 450 ext/oci8/oci8_interface.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Ol|l", &z_descriptor, oci_lob_class_entry_ptr, &offset, &whence) == FAILURE) { whence 466 ext/oci8/oci8_interface.c switch(whence) { whence 103 ext/opcache/ZendAccelerator.h # define FLOCK_STRUCTURE(name, type, whence, start, len) \ whence 104 ext/opcache/ZendAccelerator.h struct flock name = {start, len, -1, type, whence} whence 106 ext/opcache/ZendAccelerator.h # define FLOCK_STRUCTURE(name, type, whence, start, len) \ whence 107 ext/opcache/ZendAccelerator.h struct flock name = {type, whence, start, len} whence 109 ext/opcache/ZendAccelerator.h # define FLOCK_STRUCTURE(name, type, whence, start, len) \ whence 110 ext/opcache/ZendAccelerator.h struct flock name = {type, whence, start, len, 0} whence 113 ext/opcache/ZendAccelerator.h # define FLOCK_STRUCTURE(name, type, whence, start, len) \ whence 114 ext/opcache/ZendAccelerator.h struct flock name = {type, whence, 0, 0, 0, start, len } whence 116 ext/opcache/ZendAccelerator.h # define FLOCK_STRUCTURE(name, type, whence, start, len) \ whence 117 ext/opcache/ZendAccelerator.h struct flock name = {type, whence, start, len} whence 120 ext/opcache/ZendAccelerator.h # define FLOCK_STRUCTURE(name, type, whence, start, len) \ whence 121 ext/opcache/ZendAccelerator.h struct flock name = {start, len, -1, type, whence} whence 123 ext/opcache/ZendAccelerator.h # define FLOCK_STRUCTURE(name, type, whence, start, len) \ whence 124 ext/opcache/ZendAccelerator.h struct flock name = {type, whence, start, len} whence 677 ext/pdo_oci/oci_statement.c static int oci_blob_seek(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC) whence 167 ext/pdo_pgsql/pgsql_driver.c static int pgsql_lob_seek(php_stream *stream, off_t offset, int whence, whence 171 ext/pdo_pgsql/pgsql_driver.c int pos = lo_lseek(self->conn, self->lfd, offset, whence); whence 370 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, whence) whence 3746 ext/pgsql/pgsql.c long result, offset = 0, whence = SEEK_CUR; whence 3750 ext/pgsql/pgsql.c if (zend_parse_parameters(argc TSRMLS_CC, "rl|l", &pgsql_id, &offset, &whence) == FAILURE) { whence 3753 ext/pgsql/pgsql.c if (whence != SEEK_SET && whence != SEEK_CUR && whence != SEEK_END) { whence 3762 ext/pgsql/pgsql.c result = lo_lseek64((PGconn *)pgsql->conn, pgsql->lofd, offset, whence); whence 3764 ext/pgsql/pgsql.c result = lo_lseek((PGconn *)pgsql->conn, pgsql->lofd, offset, whence); whence 3767 ext/pgsql/pgsql.c result = lo_lseek((PGconn *)pgsql->conn, pgsql->lofd, offset, whence); whence 61 ext/phar/dirstream.c static int phar_dir_seek(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC) /* {{{ */ whence 69 ext/phar/dirstream.c if (whence == SEEK_END) { whence 70 ext/phar/dirstream.c whence = SEEK_SET; whence 74 ext/phar/dirstream.c if (whence == SEEK_SET) { whence 34 ext/phar/dirstream.h static int phar_dir_seek( php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC); whence 781 ext/phar/phar.c off_t whence; whence 797 ext/phar/phar.c whence = signature_len + 4; whence 798 ext/phar/phar.c whence = -whence; whence 800 ext/phar/phar.c if (-1 == php_stream_seek(fp, whence, SEEK_CUR) whence 583 ext/phar/phar_internal.h int phar_seek_efp(phar_entry_info *entry, off_t offset, int whence, off_t position, int follow_links TSRMLS_DC); whence 390 ext/phar/stream.c static int phar_stream_seek(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC) /* {{{ */ whence 403 ext/phar/stream.c switch (whence) { whence 37 ext/phar/stream.h static int phar_stream_seek( php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC); whence 120 ext/phar/util.c int phar_seek_efp(phar_entry_info *entry, off_t offset, int whence, off_t position, int follow_links TSRMLS_DC) /* {{{ */ whence 143 ext/phar/util.c switch (whence) { whence 2801 ext/spl/spl_directory.c long pos, whence = SEEK_SET; whence 2803 ext/spl/spl_directory.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|l", &pos, &whence) == FAILURE) { whence 2813 ext/spl/spl_directory.c RETURN_LONG(php_stream_seek(intern->u.file.stream, pos, whence)); whence 3054 ext/spl/spl_directory.c ZEND_ARG_INFO(0, whence) whence 1145 ext/sqlite3/sqlite3.c static int php_sqlite3_stream_seek(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRMLS_DC) whence 1149 ext/sqlite3/sqlite3.c switch(whence) { whence 1143 ext/standard/basic_functions.c ZEND_ARG_INFO(0, whence) whence 1282 ext/standard/file.c long offset, whence = SEEK_SET; whence 1285 ext/standard/file.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl|l", &res, &offset, &whence) == FAILURE) { whence 1291 ext/standard/file.c RETURN_LONG(php_stream_seek(stream, offset, whence)); whence 121 ext/standard/php_fopen_wrapper.c static int php_stream_input_seek(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC) /* {{{ */ whence 126 ext/standard/php_fopen_wrapper.c int sought = php_stream_seek(input->body, offset, whence); whence 826 ext/zlib/zlib.c ZEND_ARG_INFO(0, whence) whence 59 ext/zlib/zlib_fopen_wrapper.c static int php_gziop_seek(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRMLS_DC) whence 65 ext/zlib/zlib_fopen_wrapper.c if (whence == SEEK_END) { whence 69 ext/zlib/zlib_fopen_wrapper.c *newoffs = gzseek(self->gz_file, offset, whence); whence 126 main/php_streams.h int (*seek)(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC); whence 286 main/php_streams.h PHPAPI int _php_stream_seek(php_stream *stream, off_t offset, int whence TSRMLS_DC); whence 288 main/php_streams.h #define php_stream_seek(stream, offset, whence) _php_stream_seek((stream), (offset), (whence) TSRMLS_CC) whence 79 main/streams/cast.c static PHP_FPOS_T stream_cookie_seeker(void *cookie, off_t position, int whence) whence 83 main/streams/cast.c return (PHP_FPOS_T)php_stream_seek((php_stream *)cookie, position, whence); whence 113 main/streams/cast.c static int stream_cookie_seeker(void *cookie, __off64_t *position, int whence) whence 117 main/streams/cast.c *position = php_stream_seek((php_stream *)cookie, (off_t)*position, whence); whence 125 main/streams/cast.c static int stream_cookie_seeker(void *cookie, off_t position, int whence) whence 129 main/streams/cast.c return php_stream_seek((php_stream *)cookie, position, whence); whence 183 main/streams/glob_wrapper.c static int php_glob_stream_rewind(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRMLS_DC) /* {{{ */ whence 134 main/streams/memory.c static int php_stream_memory_seek(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRMLS_DC) whence 139 main/streams/memory.c switch(whence) { whence 455 main/streams/memory.c static int php_stream_temp_seek(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRMLS_DC) whence 466 main/streams/memory.c ret = php_stream_seek(ts->innerstream, offset, whence); whence 477 main/streams/plain_wrapper.c static int php_stdiop_seek(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC) whence 492 main/streams/plain_wrapper.c result = lseek(data->fd, offset, whence); whence 500 main/streams/plain_wrapper.c ret = fseek(data->file, offset, whence); whence 863 main/streams/plain_wrapper.c static int php_plain_files_dirstream_rewind(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRMLS_DC) whence 1273 main/streams/streams.c PHPAPI int _php_stream_seek(php_stream *stream, off_t offset, int whence TSRMLS_DC) whence 1282 main/streams/streams.c switch(whence) { whence 1311 main/streams/streams.c switch(whence) { whence 1314 main/streams/streams.c whence = SEEK_SET; whence 1317 main/streams/streams.c ret = stream->ops->seek(stream, offset, whence, &stream->position TSRMLS_CC); whence 1334 main/streams/streams.c if (whence == SEEK_CUR && offset >= 0) { whence 809 main/streams/userspace.c static int php_userstreamop_seek(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRMLS_DC) whence 827 main/streams/userspace.c ZVAL_LONG(zwhence, whence); whence 1585 main/streams/userspace.c static int php_userstreamop_rewinddir(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRMLS_DC)