whence 141 ext/com_dotnet/com_persist.c int whence; whence 146 ext/com_dotnet/com_persist.c case STREAM_SEEK_SET: whence = SEEK_SET; break; whence 147 ext/com_dotnet/com_persist.c case STREAM_SEEK_CUR: whence = SEEK_CUR; break; whence 148 ext/com_dotnet/com_persist.c case STREAM_SEEK_END: whence = SEEK_END; break; whence 160 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) { 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) { whence 234 ext/dba/dba_cdb.c return lseek(fd, offset, whence); whence 213 ext/oci8/oci8.c ZEND_ARG_INFO(0, whence) whence 559 ext/oci8/oci8.c ZEND_ARG_INFO(0, whence) whence 453 ext/oci8/oci8_interface.c zend_long offset, whence = PHP_OCI_SEEK_SET; whence 457 ext/oci8/oci8_interface.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|l", &offset, &whence) == FAILURE) { whence 462 ext/oci8/oci8_interface.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "Ol|l", &z_descriptor, oci_lob_class_entry_ptr, &offset, &whence) == FAILURE) { whence 478 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 710 ext/pdo_oci/oci_statement.c static int oci_blob_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset) whence 166 ext/pdo_pgsql/pgsql_driver.c static int pgsql_lob_seek(php_stream *stream, zend_off_t offset, int whence, whence 171 ext/pdo_pgsql/pgsql_driver.c zend_off_t pos = lo_lseek64(self->conn, self->lfd, offset, whence); whence 173 ext/pdo_pgsql/pgsql_driver.c zend_off_t pos = lo_lseek(self->conn, self->lfd, offset, whence); whence 371 ext/pgsql/pgsql.c ZEND_ARG_INFO(0, whence) whence 3776 ext/pgsql/pgsql.c zend_long result, offset = 0, whence = SEEK_CUR; whence 3780 ext/pgsql/pgsql.c if (zend_parse_parameters(argc, "rl|l", &pgsql_id, &offset, &whence) == FAILURE) { whence 3783 ext/pgsql/pgsql.c if (whence != SEEK_SET && whence != SEEK_CUR && whence != SEEK_END) { whence 3794 ext/pgsql/pgsql.c result = lo_lseek64((PGconn *)pgsql->conn, pgsql->lofd, offset, (int)whence); whence 3796 ext/pgsql/pgsql.c result = lo_lseek((PGconn *)pgsql->conn, pgsql->lofd, (int)offset, (int)whence); whence 3799 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, zend_off_t offset, int whence, zend_off_t *newoffset) /* {{{ */ 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, zend_off_t offset, int whence, zend_off_t *newoffset); whence 783 ext/phar/phar.c zend_off_t whence; whence 799 ext/phar/phar.c whence = signature_len + 4; whence 800 ext/phar/phar.c whence = -whence; whence 802 ext/phar/phar.c if (-1 == php_stream_seek(fp, whence, SEEK_CUR) whence 571 ext/phar/phar_internal.h int phar_seek_efp(phar_entry_info *entry, zend_off_t offset, int whence, zend_off_t position, int follow_links); whence 393 ext/phar/stream.c static int phar_stream_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset) /* {{{ */ whence 406 ext/phar/stream.c switch (whence) { whence 37 ext/phar/stream.h static int phar_stream_seek( php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset); whence 120 ext/phar/util.c int phar_seek_efp(phar_entry_info *entry, zend_off_t offset, int whence, zend_off_t position, int follow_links) /* {{{ */ whence 143 ext/phar/util.c switch (whence) { whence 2766 ext/spl/spl_directory.c zend_long pos, whence = SEEK_SET; whence 2768 ext/spl/spl_directory.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|l", &pos, &whence) == FAILURE) { whence 2778 ext/spl/spl_directory.c RETURN_LONG(php_stream_seek(intern->u.file.stream, pos, (int)whence)); whence 3020 ext/spl/spl_directory.c ZEND_ARG_INFO(0, whence) whence 1105 ext/sqlite3/sqlite3.c static int php_sqlite3_stream_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs) whence 1109 ext/sqlite3/sqlite3.c switch(whence) { whence 1131 ext/standard/basic_functions.c ZEND_ARG_INFO(0, whence) whence 1302 ext/standard/file.c zend_long offset, whence = SEEK_SET; whence 1306 ext/standard/file.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rl|l", &res, &offset, &whence) == FAILURE) { whence 1314 ext/standard/file.c Z_PARAM_LONG(whence) whence 1320 ext/standard/file.c RETURN_LONG(php_stream_seek(stream, offset, (int) whence)); whence 121 ext/standard/php_fopen_wrapper.c static int php_stream_input_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset) /* {{{ */ whence 126 ext/standard/php_fopen_wrapper.c int sought = php_stream_seek(input->body, offset, whence); whence 254 ext/zip/lib/zip.h int whence; whence 185 ext/zip/lib/zip_source_crc.c if (zip_source_seek(src, args->offset, args->whence) < 0 || (new_position = zip_source_tell(src)) < 0) { whence 86 ext/zip/lib/zip_source_filep.c static int _zip_fseek_u(FILE *f, zip_uint64_t offset, int whence, zip_error_t *error); whence 87 ext/zip/lib/zip_source_filep.c static int _zip_fseek(FILE *f, zip_int64_t offset, int whence, zip_error_t *error); whence 346 ext/zip/lib/zip_source_filep.c switch (args->whence) { whence 398 ext/zip/lib/zip_source_filep.c if (_zip_fseek(ctx->fout, args->offset, args->whence, &ctx->error) < 0) { whence 481 ext/zip/lib/zip_source_filep.c _zip_fseek_u(FILE *f, zip_uint64_t offset, int whence, zip_error_t *error) whence 487 ext/zip/lib/zip_source_filep.c return _zip_fseek(f, (zip_int64_t)offset, whence, error); whence 492 ext/zip/lib/zip_source_filep.c _zip_fseek(FILE *f, zip_int64_t offset, int whence, zip_error_t *error) whence 498 ext/zip/lib/zip_source_filep.c if (fseeko(f, (off_t)offset, whence) < 0) { whence 39 ext/zip/lib/zip_source_seek.c zip_source_seek(zip_source_t *src, zip_int64_t offset, int whence) whence 46 ext/zip/lib/zip_source_seek.c if (!ZIP_SOURCE_IS_OPEN_READING(src) || (whence != SEEK_SET && whence != SEEK_CUR && whence != SEEK_END)) { whence 52 ext/zip/lib/zip_source_seek.c args.whence = whence; whence 68 ext/zip/lib/zip_source_seek.c switch (args->whence) { whence 39 ext/zip/lib/zip_source_seek_write.c zip_source_seek_write(zip_source_t *src, zip_int64_t offset, int whence) whence 43 ext/zip/lib/zip_source_seek_write.c if (!ZIP_SOURCE_IS_OPEN_WRITING(src) || (whence != SEEK_SET && whence != SEEK_CUR && whence != SEEK_END)) { whence 49 ext/zip/lib/zip_source_seek_write.c args.whence = whence; whence 45 ext/zip/lib/zip_source_win32handle.c static int _zip_seek_win32_u(void *h, zip_uint64_t offset, int whence, zip_error_t *error); whence 46 ext/zip/lib/zip_source_win32handle.c static int _zip_seek_win32(void *h, zip_int64_t offset, int whence, zip_error_t *error); whence 265 ext/zip/lib/zip_source_win32handle.c switch (args->whence) { whence 322 ext/zip/lib/zip_source_win32handle.c if (_zip_seek_win32(ctx->hout, args->offset, args->whence, &ctx->error) < 0) { whence 474 ext/zip/lib/zip_source_win32handle.c _zip_seek_win32_u(HANDLE h, zip_uint64_t offset, int whence, zip_error_t *error) whence 480 ext/zip/lib/zip_source_win32handle.c return _zip_seek_win32(h, (zip_int64_t)offset, whence, error); whence 485 ext/zip/lib/zip_source_win32handle.c _zip_seek_win32(HANDLE h, zip_int64_t offset, int whence, zip_error_t *error) whence 490 ext/zip/lib/zip_source_win32handle.c switch (whence) { whence 1277 ext/zlib/zlib.c ZEND_ARG_INFO(0, whence) whence 61 ext/zlib/zlib_fopen_wrapper.c static int php_gziop_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs) whence 67 ext/zlib/zlib_fopen_wrapper.c if (whence == SEEK_END) { whence 71 ext/zlib/zlib_fopen_wrapper.c *newoffs = gzseek(self->gz_file, offset, whence); whence 128 main/php_streams.h int (*seek)(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset); whence 299 main/php_streams.h PHPAPI int _php_stream_seek(php_stream *stream, zend_off_t offset, int whence); whence 301 main/php_streams.h #define php_stream_seek(stream, offset, whence) _php_stream_seek((stream), (offset), (whence)) whence 77 main/streams/cast.c static PHP_FPOS_T stream_cookie_seeker(void *cookie, zend_off_t position, int whence) whence 80 main/streams/cast.c return (PHP_FPOS_T)php_stream_seek((php_stream *)cookie, position, whence); whence 107 main/streams/cast.c static int stream_cookie_seeker(void *cookie, __off64_t *position, int whence) whence 110 main/streams/cast.c *position = php_stream_seek((php_stream *)cookie, (zend_off_t)*position, whence); whence 118 main/streams/cast.c static int stream_cookie_seeker(void *cookie, zend_off_t position, int whence) whence 121 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, zend_off_t offset, int whence, zend_off_t *newoffs) /* {{{ */ whence 134 main/streams/memory.c static int php_stream_memory_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs) whence 139 main/streams/memory.c switch(whence) { whence 453 main/streams/memory.c static int php_stream_temp_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs) whence 464 main/streams/memory.c ret = php_stream_seek(ts->innerstream, offset, whence); whence 501 main/streams/plain_wrapper.c static int php_stdiop_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset) whence 516 main/streams/plain_wrapper.c result = zend_lseek(data->fd, offset, whence); whence 524 main/streams/plain_wrapper.c ret = zend_fseek(data->file, offset, whence); whence 896 main/streams/plain_wrapper.c static int php_plain_files_dirstream_rewind(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs) whence 1266 main/streams/streams.c PHPAPI int _php_stream_seek(php_stream *stream, zend_off_t offset, int whence) whence 1275 main/streams/streams.c switch(whence) { whence 1304 main/streams/streams.c switch(whence) { whence 1307 main/streams/streams.c whence = SEEK_SET; whence 1310 main/streams/streams.c ret = stream->ops->seek(stream, offset, whence, &stream->position); whence 1327 main/streams/streams.c if (whence == SEEK_CUR && offset >= 0) { whence 764 main/streams/userspace.c static int php_userstreamop_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs) whence 777 main/streams/userspace.c ZVAL_LONG(&args[1], whence); whence 1465 main/streams/userspace.c static int php_userstreamop_rewinddir(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs)