Home
last modified time | relevance | path

Searched refs:off_t (Results 1 – 25 of 58) sorted by relevance

123

/PHP-5.3/ext/sqlite/libsqlite/src/
H A Dos.h131 typedef __int64 off_t; typedef
134 typedef long long off_t; typedef
156 typedef SInt64 off_t; typedef
158 typedef SInt32 off_t; typedef
175 int sqliteOsSeek(OsFile*, off_t offset);
177 int sqliteOsTruncate(OsFile*, off_t size);
178 int sqliteOsFileSize(OsFile*, off_t *pSize);
H A Dpager.c161 off_t ckptJSize; /* Size of journal at ckpt_begin() */
563 sqliteOsSeek(&pPager->fd, (pgRec.pgno-1)*(off_t)SQLITE_PAGE_SIZE); in pager_playback_one_page()
633 off_t szJ; /* Size of the journal file in bytes */ in pager_playback()
705 rc = sqliteOsTruncate(&pPager->fd, SQLITE_PAGE_SIZE*(off_t)mxPg); in pager_playback()
776 off_t szJ; /* Size of the full journal */ in pager_ckpt_playback()
1014 off_t n; in sqlitepager_pagecount()
1051 rc = sqliteOsTruncate(&pPager->fd, SQLITE_PAGE_SIZE*(off_t)nPage); in sqlitepager_truncate()
1192 off_t hdrSz, pgSz, jSz; in syncJournal()
1202 off_t szJ; in syncJournal()
1522 sqliteOsSeek(&pPager->fd, (pgno-1)*(off_t)SQLITE_PAGE_SIZE); in sqlitepager_get()
[all …]
/PHP-5.3/ext/fileinfo/libmagic/
H A Dreadelf.c46 off_t, int *);
49 off_t, int *, int);
51 off_t, int *, int);
166 ? (off_t) (ph32.p_align ? \
168 : (off_t) (ph64.p_align ? \
850 off_t noff, coff; in doshn()
892 (off_t)-1) { in doshn()
906 if (noff >= (off_t)xsh_size) in doshn()
918 (off_t)-1) { in doshn()
1136 off_t fsize; in file_tryelf()
[all …]
H A Delfclass.h40 (off_t)elf_getu(swap, elfhdr.e_phoff),
50 (off_t)elf_getu(swap, elfhdr.e_phoff),
59 (off_t)elf_getu(swap, elfhdr.e_shoff),
/PHP-5.3/ext/zip/lib/
H A Dzip_filerange_crc.c45 _zip_filerange_crc(FILE *fp, off_t start, off_t len, uLong *crcp, in _zip_filerange_crc()
H A Dzip_open.c49 static struct zip_cdir *_zip_find_central_dir(FILE *, int, int *, off_t);
55 static struct zip_cdir *_zip_readcdir(FILE *, off_t, unsigned char *, unsigned char *,
96 off_t len; in _zip_open()
169 _zip_readcdir(FILE *fp, off_t buf_offset, unsigned char *buf, unsigned char *eocd, int buflen, in _zip_readcdir()
511 _zip_find_central_dir(FILE *fp, int flags, int *zep, off_t len) in _zip_find_central_dir()
515 off_t buf_offset; in _zip_find_central_dir()
H A Dzip_source_filep.c144 if (fseeko(z->f, (off_t)z->off, SEEK_SET) < 0) { in read_file()
162 if (fseeko(z->f, (off_t)(z->off + z->len-z->remain), in read_file()
H A Dzipint.h319 int _zip_filerange_crc(FILE *, off_t, off_t, uLong *, struct zip_error *);
/PHP-5.3/ext/phar/
H A Ddirstream.h34 static int phar_dir_seek( php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_…
H A Dstream.h37 static int phar_stream_seek( php_stream *stream, off_t offset, int whence, off_t *newoffset TSRM…
H A Dphar_internal.h434 static inline void phar_set_fp_type(phar_entry_info *entry, enum phar_fp_type type, off_t offset TS… in phar_set_fp_type()
456 static inline off_t phar_get_fp_offset(phar_entry_info *entry TSRMLS_DC) in phar_get_fp_offset()
485 off_t position;
487 off_t zero;
659 int phar_seek_efp(phar_entry_info *entry, off_t offset, int whence, off_t position, int follow_link…
/PHP-5.3/main/streams/
H A Dcast.c37 # define PHP_FPOS_T off_t
79 static PHP_FPOS_T stream_cookie_seeker(void *cookie, off_t position, int whence) in stream_cookie_seeker()
117 *position = php_stream_seek((php_stream *)cookie, (off_t)*position, whence); in stream_cookie_seeker()
125 static int stream_cookie_seeker(void *cookie, off_t position, int whence) in stream_cookie_seeker()
209 off_t dummy; in _php_stream_cast()
249 off_t pos; in _php_stream_cast()
H A Dmmap.c54 PHPAPI int _php_stream_mmap_unmap_ex(php_stream *stream, off_t readden TSRMLS_DC) in _php_stream_mmap_unmap_ex()
H A Dmemory.c134 static int php_stream_memory_seek(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRM… in php_stream_memory_seek()
446 static int php_stream_temp_seek(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRMLS… in php_stream_temp_seek()
472 off_t pos; in php_stream_temp_cast()
579 off_t newoffs; in _php_stream_temp_open()
611 off_t newoffs; in php_stream_url_wrap_rfc2397()
H A Dphp_stream_mmap.h77 PHPAPI int _php_stream_mmap_unmap_ex(php_stream *stream, off_t readden TSRMLS_DC);
/PHP-5.3/sapi/thttpd/
H A Dphp_thttpd.h28 off_t thttpd_php_request(httpd_conn *hc, int show_source);
/PHP-5.3/TSRM/
H A Dreaddir.h22 off_t d_off; /* offset to this dirent */
/PHP-5.3/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()
233 int cdb_file_lseek(int fd, off_t offset, int whence TSRMLS_DC) { in cdb_file_lseek()
241 if (cdb_file_lseek(cdb->file, (off_t)n, SEEK_SET TSRMLS_CC) != (off_t) n) return NULL; \
/PHP-5.3/win32/
H A Dreaddir.h26 off_t d_off; /* offset to this dirent */
/PHP-5.3/main/
H A Drfc1867.h54 off_t offset;
H A Dwin95nt.h54 #define off_t _off_t macro
H A Dphp_streams.h126 int (*seek)(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC);
216 off_t position; /* of underlying stream */
219 off_t readpos;
220 off_t writepos;
281 PHPAPI int _php_stream_seek(php_stream *stream, off_t offset, int whence TSRMLS_DC);
285 PHPAPI off_t _php_stream_tell(php_stream *stream TSRMLS_DC);
/PHP-5.3/ext/zlib/
H A Dzlib_fopen_wrapper.c57 static int php_gziop_seek(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRMLS_DC) in php_gziop_seek()
/PHP-5.3/ext/ereg/regex/
H A Dregex.h19 typedef off_t regoff_t;
/PHP-5.3/ext/standard/
H A Dphp_fopen_wrapper.c74 off_t *position = (off_t*)stream->abstract; in php_stream_input_read()
212 return php_stream_alloc(&php_stream_input_ops, ecalloc(1, sizeof(off_t)), 0, "rb"); in php_stream_url_wrap_php()

Completed in 57 milliseconds

123