/PHP-5.5/ |
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 | 1788 int seeker(void *cookie, __off64_t *position, int whence)
|
/PHP-5.5/ext/com_dotnet/ |
H A D | com_persist.c | 142 int whence; in stm_seek() local 147 case STREAM_SEEK_SET: whence = SEEK_SET; break; in stm_seek() 148 case STREAM_SEEK_CUR: whence = SEEK_CUR; break; in stm_seek() 149 case STREAM_SEEK_END: whence = SEEK_END; break; in stm_seek() 161 ret = php_stream_seek(stm->stream, offset, whence); in stm_seek()
|
/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) { in cdb_file_lseek() 229 php_stream_seek(fp, offset, whence); in cdb_file_lseek() 233 int cdb_file_lseek(int fd, off_t offset, int whence TSRMLS_DC) { in cdb_file_lseek() 234 return lseek(fd, offset, whence); in cdb_file_lseek()
|
/PHP-5.5/ext/oci8/ |
H A D | oci8.c | 226 ZEND_ARG_INFO(0, whence) 561 ZEND_ARG_INFO(0, whence)
|
H A D | oci8_interface.c | 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 …M_ARGS() TSRMLS_CC, "Ol|l", &z_descriptor, oci_lob_class_entry_ptr, &offset, &whence) == FAILURE) { 466 switch(whence) {
|
/PHP-5.5/ext/oci8/tests/ |
H A D | reflection1.phpt | 562 Parameter #2 [ <optional> $whence ]
|
H A D | reflection2.phpt | 100 Parameter #1 [ <optional> $whence ]
|
/PHP-5.5/ext/opcache/ |
H A D | ZendAccelerator.h | 102 # define FLOCK_STRUCTURE(name, type, whence, start, len) \ argument 103 struct flock name = {start, len, -1, type, whence} 105 # define FLOCK_STRUCTURE(name, type, whence, start, len) \ argument 106 struct flock name = {type, whence, start, len} 108 # define FLOCK_STRUCTURE(name, type, whence, start, len) \ argument 109 struct flock name = {type, whence, start, len, 0} 113 struct flock name = {type, whence, 0, 0, 0, start, len } 116 struct flock name = {type, whence, start, len} 119 # define FLOCK_STRUCTURE(name, type, whence, start, len) \ argument 120 struct flock name = {start, len, -1, type, whence} [all …]
|
/PHP-5.5/ext/pdo_oci/ |
H A D | oci_statement.c | 677 static int oci_blob_seek(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC) in oci_blob_seek() argument
|
/PHP-5.5/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 162 static int pgsql_lob_seek(php_stream *stream, off_t offset, int whence, in pgsql_lob_seek() argument 166 int pos = lo_lseek(self->conn, self->lfd, offset, whence); in pgsql_lob_seek()
|
/PHP-5.5/ext/pgsql/ |
H A D | README | 172 bool pg_lo_lseek(resource large_object, int offset[, int whence])
|
H A D | pgsql.c | 366 ZEND_ARG_INFO(0, whence) 3646 long offset = 0, whence = SEEK_CUR; local 3650 if (zend_parse_parameters(argc TSRMLS_CC, "rl|l", &pgsql_id, &offset, &whence) == FAILURE) { 3653 if (whence != SEEK_SET && whence != SEEK_CUR && whence != SEEK_END) { 3660 if (lo_lseek((PGconn *)pgsql->conn, pgsql->lofd, offset, whence) > -1) {
|
/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) … in phar_dir_seek() argument 69 if (whence == SEEK_END) { in phar_dir_seek() 70 whence = SEEK_SET; in phar_dir_seek() 74 if (whence == SEEK_SET) { in phar_dir_seek()
|
H A D | dirstream.h | 34 static int phar_dir_seek( php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_…
|
H A D | phar.c | 781 off_t whence; local 797 whence = signature_len + 4; 798 whence = -whence; 800 if (-1 == php_stream_seek(fp, whence, SEEK_CUR)
|
H A D | phar_internal.h | 608 int phar_seek_efp(phar_entry_info *entry, off_t offset, int whence, off_t position, int follow_link…
|
H A D | stream.c | 390 static int phar_stream_seek(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_D… in phar_stream_seek() argument 403 switch (whence) { in phar_stream_seek()
|
H A D | stream.h | 37 static int phar_stream_seek( php_stream *stream, off_t offset, int whence, off_t *newoffset TSRM…
|
H A D | util.c | 120 int phar_seek_efp(phar_entry_info *entry, off_t offset, int whence, off_t position, int follow_link… in phar_seek_efp() argument 143 switch (whence) { in phar_seek_efp()
|
/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/spl/ |
H A D | spl_directory.c | 2760 long pos, whence = SEEK_SET; in SPL_METHOD() local 2762 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|l", &pos, &whence) == FAILURE) { in SPL_METHOD() 2767 RETURN_LONG(php_stream_seek(intern->u.file.stream, pos, whence)); in SPL_METHOD() 2972 ZEND_ARG_INFO(0, whence)
|
/PHP-5.5/ext/sqlite3/ |
H A D | sqlite3.c | 1128 static int php_sqlite3_stream_seek(php_stream *stream, off_t offset, int whence, off_t *newoffs TSR… argument 1132 switch(whence) {
|
/PHP-5.5/ext/standard/ |
H A D | basic_functions.c | 1164 ZEND_ARG_INFO(0, whence)
|
H A D | file.c | 1278 long arg2, whence = SEEK_SET; in PHP_FUNCTION() local 1281 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl|l", &arg1, &arg2, &whence) == FAILURE) { in PHP_FUNCTION() 1287 RETURN_LONG(php_stream_seek(stream, arg2, whence)); in PHP_FUNCTION()
|