/PHP-7.4/build/ |
H A D | php.m4 | 1476 int seeker(void *cookie, off64_t *position, int whence)
|
/PHP-7.4/docs/ |
H A D | streams.md | 34 PHPAPI int php_stream_seek(php_stream * stream, off_t offset, int whence); 151 as the `php_stream_seek` can emulate forward seeking when the whence parameter
|
/PHP-7.4/ext/com_dotnet/ |
H A D | com_persist.c | 139 int whence; in stm_seek() local 144 case STREAM_SEEK_SET: whence = SEEK_SET; break; in stm_seek() 145 case STREAM_SEEK_CUR: whence = SEEK_CUR; break; in stm_seek() 146 case STREAM_SEEK_END: whence = SEEK_END; break; in stm_seek() 158 ret = php_stream_seek(stm->stream, offset, whence); in stm_seek()
|
/PHP-7.4/ext/dba/ |
H A D | dba_cdb.c | 226 zend_off_t cdb_file_lseek(php_stream *fp, zend_off_t offset, int whence) { in cdb_file_lseek() argument 227 php_stream_seek(fp, offset, whence); in cdb_file_lseek() 231 zend_off_t cdb_file_lseek(int fd, zend_off_t offset, int whence) { in cdb_file_lseek() argument 232 return lseek(fd, offset, whence); in cdb_file_lseek()
|
/PHP-7.4/ext/oci8/ |
H A D | oci8.c | 191 ZEND_ARG_INFO(0, whence) 549 ZEND_ARG_INFO(0, whence)
|
H A D | oci8_interface.c | 533 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()
|
/PHP-7.4/ext/oci8/tests/ |
H A D | reflection1.phpt | 563 Parameter #2 [ <optional> $whence ]
|
H A D | reflection2.phpt | 100 Parameter #1 [ <optional> $whence ]
|
/PHP-7.4/ext/pdo_oci/ |
H A D | oci_statement.c | 705 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.4/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 156 static int pgsql_lob_seek(php_stream *stream, zend_off_t offset, int whence, in pgsql_lob_seek() argument 161 zend_off_t pos = lo_lseek64(self->conn, self->lfd, offset, whence); in pgsql_lob_seek() 163 zend_off_t pos = lo_lseek(self->conn, self->lfd, offset, whence); in pgsql_lob_seek()
|
/PHP-7.4/ext/pgsql/ |
H A D | pgsql.c | 369 ZEND_ARG_INFO(0, whence) 3817 zend_long result, offset = 0, whence = SEEK_CUR; local 3821 if (zend_parse_parameters(argc, "rl|l", &pgsql_id, &offset, &whence) == FAILURE) { 3824 if (whence != SEEK_SET && whence != SEEK_CUR && whence != SEEK_END) { 3835 result = lo_lseek64((PGconn *)pgsql->conn, pgsql->lofd, offset, (int)whence); 3837 result = lo_lseek((PGconn *)pgsql->conn, pgsql->lofd, (int)offset, (int)whence); 3840 result = lo_lseek((PGconn *)pgsql->conn, pgsql->lofd, offset, whence);
|
/PHP-7.4/ext/phar/ |
H A D | dirstream.c | 60 static int phar_dir_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset) … in phar_dir_seek() argument 68 if (whence == SEEK_END) { in phar_dir_seek() 69 whence = SEEK_SET; in phar_dir_seek() 73 if (whence == SEEK_SET) { in phar_dir_seek()
|
H A D | dirstream.h | 32 static int phar_dir_seek( php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs…
|
H A D | phar.c | 800 zend_off_t whence; in phar_parse_pharfile() local 816 whence = signature_len + 4; in phar_parse_pharfile() 817 whence = -whence; in phar_parse_pharfile() 819 if (-1 == php_stream_seek(fp, whence, SEEK_CUR) in phar_parse_pharfile()
|
H A D | phar_internal.h | 549 int phar_seek_efp(phar_entry_info *entry, zend_off_t offset, int whence, zend_off_t position, int f…
|
H A D | stream.c | 395 static int phar_stream_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffse… in phar_stream_seek() argument 408 switch (whence) { in phar_stream_seek()
|
H A D | stream.h | 35 static int phar_stream_seek( php_stream *stream, zend_off_t offset, int whence, zend_off_t *newo…
|
H A D | util.c | 116 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 139 switch (whence) { in phar_seek_efp()
|
/PHP-7.4/ext/spl/ |
H A D | spl_directory.c | 2803 zend_long pos, whence = SEEK_SET; in SPL_METHOD() local 2805 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|l", &pos, &whence) == FAILURE) { in SPL_METHOD() 2815 RETURN_LONG(php_stream_seek(intern->u.file.stream, pos, (int)whence)); in SPL_METHOD() 3063 ZEND_ARG_INFO(0, whence)
|
/PHP-7.4/ext/sqlite3/ |
H A D | sqlite3.c | 1194 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 1198 switch(whence) { in php_sqlite3_stream_seek()
|
/PHP-7.4/ext/standard/ |
H A D | basic_functions.c | 1130 ZEND_ARG_INFO(0, whence)
|
H A D | file.c | 1290 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 D | php_fopen_wrapper.c | 125 static int php_stream_input_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *new… in php_stream_input_seek() argument 130 int sought = php_stream_seek(input->body, offset, whence); in php_stream_input_seek()
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | bug27508.phpt | 39 function stream_seek($offset, $whence) 41 return fseek($this->fp, $offset, $whence) == 0 ? true : false;
|
H A D | bug38450.phpt | 48 function stream_seek($offset, $whence) 50 switch ($whence) {
|