| /PHP_5_5/ext/spl/internal/ |
| H A D | splfileobject.inc | 142 * @param whence seek method (SEEK_SET, SEEK_CUR, SEEK_END) 146 function fseek($pos, $whence = SEEK_SET) 148 return fseek($this->fp, $pos, $whence);
|
| /PHP_5_5/ext/com_dotnet/ |
| H A D | com_persist.c | 142 int whence; local 147 case STREAM_SEEK_SET: whence = SEEK_SET; break; 148 case STREAM_SEEK_CUR: whence = SEEK_CUR; break; 149 case STREAM_SEEK_END: whence = SEEK_END; break; 161 ret = php_stream_seek(stm->stream, offset, whence);
|
| /PHP_5_5/ext/dba/ |
| H A D | dba_cdb.c | 228 int cdb_file_lseek(php_stream *fp, off_t offset, int whence TSRMLS_DC) { 229 php_stream_seek(fp, offset, whence); 233 int cdb_file_lseek(int fd, off_t offset, int whence TSRMLS_DC) { 234 return lseek(fd, offset, whence);
|
| /PHP_5_5/ext/oci8/ |
| H A D | oci8_interface.c | 435 /* {{{ proto bool oci_lob_seek( int offset [, int whence ]) 441 long offset, whence = PHP_OCI_SEEK_SET; local 445 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|l", &offset, &whence) == FAILURE) { 450 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Ol|l", &z_descriptor, oci_lob_class_entry_ptr, &offset, &whence) == FAILURE) { 466 switch(whence) {
|
| /PHP_5_5/ext/pdo_pgsql/ |
| H A D | pgsql_driver.c | 150 static int pgsql_lob_seek(php_stream *stream, off_t offset, int whence, argument 154 int pos = lo_lseek(self->conn, self->lfd, offset, whence);
|
| /PHP_5_5/ext/zlib/ |
| H A D | zlib.c | 814 ZEND_ARG_INFO(0, whence)
|
| H A D | zlib_fopen_wrapper.c | 57 static int php_gziop_seek(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRMLS_DC) argument 63 if (whence == SEEK_END) { 67 *newoffs = gzseek(self->gz_file, offset, whence);
|
| /PHP_5_5/main/ |
| H A D | php_streams.h | 126 int (*seek)(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC); 286 PHPAPI int _php_stream_seek(php_stream *stream, off_t offset, int whence TSRMLS_DC); 288 #define php_stream_seek(stream, offset, whence) _php_stream_seek((stream), (offset), (whence) TSRMLS_CC)
|
| /PHP_5_5/main/streams/ |
| H A D | cast.c | 71 static fpos_t stream_cookie_seeker(void *cookie, off_t position, int whence) argument 75 return (fpos_t)php_stream_seek((php_stream *)cookie, position, whence); 105 static int stream_cookie_seeker(void *cookie, __off64_t *position, int whence) argument 109 *position = php_stream_seek((php_stream *)cookie, (off_t)*position, whence); 117 static int stream_cookie_seeker(void *cookie, off_t position, int whence) argument 121 return php_stream_seek((php_stream *)cookie, position, whence);
|
| H A D | glob_wrapper.c | 183 static int php_glob_stream_rewind(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRMLS_DC) /* {{{ */ argument
|
| H A D | memory.c | 130 static int php_stream_memory_seek(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRMLS_DC) argument 135 switch(whence) { 442 static int php_stream_temp_seek(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRMLS_DC) argument 453 ret = php_stream_seek(ts->innerstream, offset, whence);
|
| H A D | plain_wrapper.c | 452 static int php_stdiop_seek(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC) argument 467 result = lseek(data->fd, offset, whence); 475 ret = fseek(data->file, offset, whence); 838 static int php_plain_files_dirstream_rewind(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRMLS_DC) argument
|
| H A D | userspace.c | 180 function stream_seek($offset, $whence) 798 static int php_userstreamop_seek(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRMLS_DC) argument 816 ZVAL_LONG(zwhence, whence); 1569 static int php_userstreamop_rewinddir(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRMLS_DC) argument
|
| H A D | streams.c | 1269 PHPAPI int _php_stream_seek(php_stream *stream, off_t offset, int whence TSRMLS_DC) 1278 switch(whence) { 1307 switch(whence) { 1310 whence = SEEK_SET; 1313 ret = stream->ops->seek(stream, offset, whence, &stream->position TSRMLS_CC); 1330 if (whence == SEEK_CUR && offset >= 0) {
|
| /PHP_5_5/ext/phar/ |
| H A D | dirstream.c | 61 static int phar_dir_seek(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC) /* {{{ */ argument 69 if (whence == SEEK_END) { 70 whence = SEEK_SET; 74 if (whence == SEEK_SET) {
|
| H A D | dirstream.h | 34 static int phar_dir_seek( php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC);
|
| H A D | phar.c | 792 off_t whence; local 808 whence = signature_len + 4; 809 whence = -whence; 811 if (-1 == php_stream_seek(fp, whence, SEEK_CUR)
|
| H A D | phar_internal.h | 659 int phar_seek_efp(phar_entry_info *entry, off_t offset, int whence, off_t position, int follow_links TSRMLS_DC);
|
| H A D | stream.h | 37 static int phar_stream_seek( php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC);
|
| H A D | stream.c | 390 static int phar_stream_seek(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC) /* {{{ */ argument 403 switch (whence) {
|
| /PHP_5_5/ext/pgsql/ |
| H A D | pgsql.c | 360 ZEND_ARG_INFO(0, whence) 3511 /* {{{ proto bool pg_lo_seek(resource large_object, int offset [, int whence]) 3516 long offset = 0, whence = SEEK_CUR; local 3520 if (zend_parse_parameters(argc TSRMLS_CC, "rl|l", &pgsql_id, &offset, &whence) == FAILURE) { 3523 if (whence != SEEK_SET && whence != SEEK_CUR && whence != SEEK_END) { 3524 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid whence parameter"); 3530 if (lo_lseek((PGconn *)pgsql->conn, pgsql->lofd, offset, whence) > -1) {
|
| /PHP_5_5/ext/pdo_oci/ |
| H A D | oci_statement.c | 671 static int oci_blob_seek(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC) argument
|
| /PHP_5_5/ext/standard/ |
| H A D | file.c | 1265 /* {{{ proto int fseek(resource fp, int offset [, int whence]) 1270 long arg2, whence = SEEK_SET; local 1273 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl|l", &arg1, &arg2, &whence) == FAILURE) { 1279 RETURN_LONG(php_stream_seek(stream, arg2, whence));
|
| /PHP_5_5/ext/spl/ |
| H A D | spl_directory.c | 2736 /* {{{ proto int SplFileObject::fseek(int pos [, int whence = SEEK_SET]) 2741 long pos, whence = SEEK_SET; local 2743 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|l", &pos, &whence) == FAILURE) { 2748 RETURN_LONG(php_stream_seek(intern->u.file.stream, pos, whence)); 2926 ZEND_ARG_INFO(0, whence)
|
| /PHP_5_5/ext/opcache/ |
| H A D | ZendAccelerator.h | 98 # define FLOCK_STRUCTURE(name, type, whence, start, len) \ 99 struct flock name = {start, len, -1, type, whence} 101 # define FLOCK_STRUCTURE(name, type, whence, start, len) \ 102 struct flock name = {type, whence, start, len} 104 # define FLOCK_STRUCTURE(name, type, whence, start, len) \ 105 struct flock name = {type, whence, start, len, 0} 108 # define FLOCK_STRUCTURE(name, type, whence, start, len) \ 109 struct flock name = {type, whence, 0, 0, 0, start, len } 111 # define FLOCK_STRUCTURE(name, type, whence, start, len) \ 112 struct flock name = {type, whence, star [all...] |