/PHP-7.0/main/streams/ |
H A D | glob_wrapper.c | 183 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 D | plain_wrapper.c | 507 static int php_stdiop_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset) in php_stdiop_seek() argument 522 result = zend_lseek(data->fd, offset, whence); in php_stdiop_seek() 530 ret = zend_fseek(data->file, offset, whence); in php_stdiop_seek() 914 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 D | streams.c | 1266 PHPAPI int _php_stream_seek(php_stream *stream, zend_off_t offset, int whence) in _php_stream_seek() argument 1275 switch(whence) { in _php_stream_seek() 1304 switch(whence) { in _php_stream_seek() 1307 whence = SEEK_SET; in _php_stream_seek() 1310 ret = stream->ops->seek(stream, offset, whence, &stream->position); in _php_stream_seek() 1327 if (whence == SEEK_CUR && offset >= 0) { in _php_stream_seek()
|
H A D | userspace.c | 774 static int php_userstreamop_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *new… in php_userstreamop_seek() argument 787 ZVAL_LONG(&args[1], whence); in php_userstreamop_seek() 1475 static int php_userstreamop_rewinddir(php_stream *stream, zend_off_t offset, int whence, zend_off_t… in php_userstreamop_rewinddir() argument
|
/PHP-7.0/ext/standard/tests/file/ |
H A D | fseek_ftell_rewind_error1.phpt | 6 /* Prototype: int fseek ( resource $handle, int $offset [, int $whence] );
|
/PHP-7.0/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 168 static int pgsql_lob_seek(php_stream *stream, zend_off_t offset, int whence, in pgsql_lob_seek() argument 173 zend_off_t pos = lo_lseek64(self->conn, self->lfd, offset, whence); in pgsql_lob_seek() 175 zend_off_t pos = lo_lseek(self->conn, self->lfd, offset, whence); in pgsql_lob_seek()
|
/PHP-7.0/ext/oci8/ |
H A D | oci8_interface.c | 498 zend_long offset, whence = PHP_OCI_SEEK_SET; in PHP_FUNCTION() local 502 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|l", &offset, &whence) == FAILURE) { in PHP_FUNCTION() 507 …rs(ZEND_NUM_ARGS(), "Ol|l", &z_descriptor, oci_lob_class_entry_ptr, &offset, &whence) == FAILURE) { in PHP_FUNCTION() 523 switch(whence) { in PHP_FUNCTION()
|
H A D | oci8.c | 191 ZEND_ARG_INFO(0, whence) 546 ZEND_ARG_INFO(0, whence)
|
/PHP-7.0/ext/zip/lib/ |
H A D | zip.h | 254 int whence; member
|
/PHP-7.0/ext/pgsql/ |
H A D | README | 172 bool pg_lo_lseek(resource large_object, int offset[, int whence])
|
H A D | pgsql.c | 371 ZEND_ARG_INFO(0, whence) 3780 zend_long result, offset = 0, whence = SEEK_CUR; local 3784 if (zend_parse_parameters(argc, "rl|l", &pgsql_id, &offset, &whence) == FAILURE) { 3787 if (whence != SEEK_SET && whence != SEEK_CUR && whence != SEEK_END) { 3798 result = lo_lseek64((PGconn *)pgsql->conn, pgsql->lofd, offset, (int)whence); 3800 result = lo_lseek((PGconn *)pgsql->conn, pgsql->lofd, (int)offset, (int)whence); 3803 result = lo_lseek((PGconn *)pgsql->conn, pgsql->lofd, offset, whence);
|
/PHP-7.0/ext/phar/ |
H A D | stream.c | 393 static int phar_stream_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffse… in phar_stream_seek() argument 406 switch (whence) { in phar_stream_seek()
|
H A D | phar_internal.h | 571 int phar_seek_efp(phar_entry_info *entry, zend_off_t offset, int whence, zend_off_t position, int f…
|
H A D | phar.c | 797 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 D | util.c | 120 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.0/ |
H A D | README.STREAMS | 38 PHPAPI int php_stream_seek(php_stream * stream, off_t offset, int whence); 146 whence parameter is SEEK_CUR.
|
H A D | acinclude.m4 | 1792 int seeker(void *cookie, __off64_t *position, int whence)
|
/PHP-7.0/ext/standard/ |
H A D | file.c | 1265 zend_long offset, whence = SEEK_SET; in PHP_FUNCTION() local 1272 Z_PARAM_LONG(whence) in PHP_FUNCTION() 1277 RETURN_LONG(php_stream_seek(stream, offset, (int) whence)); in PHP_FUNCTION()
|
H A D | basic_functions.c | 1133 ZEND_ARG_INFO(0, whence)
|
/PHP-7.0/ext/spl/ |
H A D | spl_directory.c | 2769 zend_long pos, whence = SEEK_SET; in SPL_METHOD() local 2771 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|l", &pos, &whence) == FAILURE) { in SPL_METHOD() 2781 RETURN_LONG(php_stream_seek(intern->u.file.stream, pos, (int)whence)); in SPL_METHOD() 3023 ZEND_ARG_INFO(0, whence)
|
/PHP-7.0/ext/pdo_oci/ |
H A D | oci_statement.c | 710 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.0/ext/sqlite3/ |
H A D | sqlite3.c | 1122 static int php_sqlite3_stream_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *n… argument 1126 switch(whence) {
|
/PHP-7.0/ext/oci8/tests/ |
H A D | reflection1.phpt | 563 Parameter #2 [ <optional> $whence ]
|
/PHP-7.0/ext/zlib/ |
H A D | zlib.c | 1286 ZEND_ARG_INFO(0, whence)
|