Home
last modified time | relevance | path

Searched refs:whence (Results 51 – 66 of 66) sorted by relevance

123

/php-src/main/streams/
H A Duserspace.c737 static int php_userstreamop_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *new… in php_userstreamop_seek() argument
750 ZVAL_LONG(&args[1], whence); in php_userstreamop_seek()
1367 static int php_userstreamop_rewinddir(php_stream *stream, zend_off_t offset, int whence, zend_off_t… in php_userstreamop_rewinddir() argument
/php-src/ext/phar/
H A Dstream.c403 static int phar_stream_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffse… in phar_stream_seek() argument
416 switch (whence) { in phar_stream_seek()
H A Dphar_internal.h564 int phar_seek_efp(phar_entry_info *entry, zend_off_t offset, int whence, zend_off_t position, int f…
H A Dphar.c866 zend_off_t whence; in phar_parse_pharfile() local
882 whence = signature_len + 4; in phar_parse_pharfile()
883 whence = -whence; in phar_parse_pharfile()
885 if (-1 == php_stream_seek(fp, whence, SEEK_CUR) in phar_parse_pharfile()
H A Dutil.c116 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-src/ext/pgsql/
H A Dpgsql.c2767 zend_long result, offset = 0, whence = SEEK_CUR; in PHP_FUNCTION() local
2770 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Ol|l", &pgsql_id, pgsql_lob_ce, &offset, &whence) == F… in PHP_FUNCTION()
2773 if (whence != SEEK_SET && whence != SEEK_CUR && whence != SEEK_END) { in PHP_FUNCTION()
2783 result = lo_lseek64((PGconn *)pgsql->conn, pgsql->lofd, offset, (int)whence); in PHP_FUNCTION()
2785 result = lo_lseek((PGconn *)pgsql->conn, pgsql->lofd, (int)offset, (int)whence); in PHP_FUNCTION()
2788 result = lo_lseek((PGconn *)pgsql->conn, pgsql->lofd, offset, whence); in PHP_FUNCTION()
H A Dpgsql.stub.php801 function pg_lo_seek(PgSql\Lob $lob, int $offset, int $whence = SEEK_CUR): bool {} argument
H A Dpgsql_arginfo.h276 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, whence, IS_LONG, 0, "SEEK_CUR")
/php-src/ext/standard/
H A Dfile.c1104 zend_long offset, whence = SEEK_SET; in PHP_FUNCTION() local
1111 Z_PARAM_LONG(whence) in PHP_FUNCTION()
1116 RETURN_LONG(php_stream_seek(stream, offset, (int) whence)); in PHP_FUNCTION()
H A Dbasic_functions.stub.php2825 function fseek($stream, int $offset, int $whence = SEEK_SET): int {}
H A Dbasic_functions_arginfo.h1257 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, whence, IS_LONG, 0, "SEEK_SET")
/php-src/docs-old/
H A Dstreams.md34 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-src/ext/spl/
H A Dspl_directory.c2527 zend_long pos, whence = SEEK_SET; in PHP_METHOD() local
2529 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|l", &pos, &whence) == FAILURE) { in PHP_METHOD()
2536 RETURN_LONG(php_stream_seek(intern->u.file.stream, pos, (int)whence)); in PHP_METHOD()
H A Dspl_directory_arginfo.h217 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, whence, IS_LONG, 0, "SEEK_SET")
/php-src/ext/sqlite3/
H A Dsqlite3.c1153 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
1157 switch(whence) { in php_sqlite3_stream_seek()
/php-src/build/
H A Dphp.m41365 int seeker(void *cookie, off64_t *position, int whence)

Completed in 102 milliseconds

123