Home
last modified time | relevance | path

Searched refs:whence (Results 1 – 25 of 67) sorted by path

123

/PHP-5.5/
H A DREADME.STREAMS38 PHPAPI int php_stream_seek(php_stream * stream, off_t offset, int whence);
146 whence parameter is SEEK_CUR.
H A Dacinclude.m41788 int seeker(void *cookie, __off64_t *position, int whence)
/PHP-5.5/ext/com_dotnet/
H A Dcom_persist.c142 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 Ddba_cdb.c228 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 Doci8.c226 ZEND_ARG_INFO(0, whence)
561 ZEND_ARG_INFO(0, whence)
H A Doci8_interface.c441 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 Dreflection1.phpt562 Parameter #2 [ <optional> $whence ]
H A Dreflection2.phpt100 Parameter #1 [ <optional> $whence ]
/PHP-5.5/ext/opcache/
H A DZendAccelerator.h102 # 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 Doci_statement.c677 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 Dpgsql_driver.c162 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 DREADME172 bool pg_lo_lseek(resource large_object, int offset[, int whence])
H A Dpgsql.c366 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 Ddirstream.c61 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 Ddirstream.h34 static int phar_dir_seek( php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_…
H A Dphar.c781 off_t whence; local
797 whence = signature_len + 4;
798 whence = -whence;
800 if (-1 == php_stream_seek(fp, whence, SEEK_CUR)
H A Dphar_internal.h608 int phar_seek_efp(phar_entry_info *entry, off_t offset, int whence, off_t position, int follow_link…
H A Dstream.c390 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 Dstream.h37 static int phar_stream_seek( php_stream *stream, off_t offset, int whence, off_t *newoffset TSRM…
H A Dutil.c120 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 Dsplfileobject.inc142 * @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 Dspl_directory.c2760 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 Dsqlite3.c1128 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 Dbasic_functions.c1164 ZEND_ARG_INFO(0, whence)
H A Dfile.c1278 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()

Completed in 161 milliseconds

123