Home
last modified time | relevance | path

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

123

/PHP-5.6/ext/zip/lib/
H A Dzip_open.c59 off_t, size_t, unsigned int, struct zip_error *);
130 off_t len; in _zip_open()
495 off_t buf_offset; in _zip_find_central_dir()
501 if (len < (off_t)EOCDLEN) { in _zip_find_central_dir()
644 cd->size = (off_t)size; in _zip_read_eocd()
645 cd->offset = (off_t)offset; in _zip_read_eocd()
676 …if ((off_t)eocd_offset >= buf_offset && (off_t)eocd_offset+EOCD64LEN <= buf_offset+(ssize_t)buflen) in _zip_read_eocd64()
677 cdp = buf+((off_t)eocd_offset-buf_offset); in _zip_read_eocd64()
679 if (fseeko(f, (off_t)eocd_offset, SEEK_SET) != 0) { in _zip_read_eocd64()
743 cd->size = (off_t)size; in _zip_read_eocd64()
[all …]
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_file_get_offset.c61 if (fseeko(za->zp, (off_t)offset, SEEK_SET) != 0) { in _zip_file_get_offset()
H A Dzipint.h118 #error unsupported size of off_t
344 off_t size; /* size of central directory */
345 off_t offset; /* offset of central directory in file */
465 int _zip_filerange_crc(FILE *, off_t, off_t, uLong *, struct zip_error *);
H A Dzip_source_filep.c145 if (fseeko(z->f, (off_t)z->off, SEEK_SET) < 0) { in read_file()
165 if (fseeko(z->f, (off_t)(z->off + (zip_uint64_t)(z->len-z->remain)), SEEK_SET) < 0) { in read_file()
/PHP-5.6/ext/fileinfo/libmagic/
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),
H A Dcompress.c303 if (FINFO_LSEEK_FUNC(fd, (off_t)0, SEEK_SET) == (off_t)-1) { in file_pipe2file()
409 (void) FINFO_LSEEK_FUNC(0, (off_t)0, SEEK_SET); in uncompressbuf()
/PHP-5.6/sapi/litespeed/
H A Dlsapilib.h119 off_t m_reqBodyLen;
120 off_t m_reqBodyRead;
184 ssize_t LSAPI_sendfile_r( LSAPI_Request * pReq, int fdIn, off_t* off, size_t size );
254 static inline off_t LSAPI_GetReqBodyLen_r( LSAPI_Request * pReq ) in LSAPI_GetReqBodyLen_r()
261 static inline off_t LSAPI_GetReqBodyRemain_r( LSAPI_Request * pReq ) in LSAPI_GetReqBodyRemain_r()
309 static inline off_t LSAPI_GetReqBodyLen() in LSAPI_GetReqBodyLen()
312 static inline off_t LSAPI_GetReqBodyRemain() in LSAPI_GetReqBodyRemain()
332 static inline ssize_t LSAPI_sendfile( int fdIn, off_t* off, size_t size ) in LSAPI_sendfile()
/PHP-5.6/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.h420 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()
442 static inline off_t phar_get_fp_offset(phar_entry_info *entry TSRMLS_DC) in phar_get_fp_offset()
471 off_t position;
473 off_t zero;
583 int phar_seek_efp(phar_entry_info *entry, off_t offset, int whence, off_t position, int follow_link…
/PHP-5.6/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()
455 static int php_stream_temp_seek(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRMLS… in php_stream_temp_seek()
481 off_t pos; in php_stream_temp_cast()
596 off_t newoffs; in _php_stream_temp_open()
630 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.6/sapi/thttpd/
H A Dphp_thttpd.h28 off_t thttpd_php_request(httpd_conn *hc, int show_source);
/PHP-5.6/TSRM/
H A Dreaddir.h22 off_t d_off; /* offset to this dirent */
/PHP-5.6/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.6/win32/
H A Dreaddir.h26 off_t d_off; /* offset to this dirent */
/PHP-5.6/ext/zlib/
H A Dzlib_fopen_wrapper.c59 static int php_gziop_seek(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRMLS_DC) in php_gziop_seek()
/PHP-5.6/main/
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);
214 off_t position; /* of underlying stream */
217 off_t readpos;
218 off_t writepos;
286 PHPAPI int _php_stream_seek(php_stream *stream, off_t offset, int whence TSRMLS_DC);
290 PHPAPI off_t _php_stream_tell(php_stream *stream TSRMLS_DC);
H A Drfc1867.h54 off_t offset;
/PHP-5.6/ext/ereg/regex/
H A Dregex.h19 typedef off_t regoff_t;
/PHP-5.6/ext/standard/
H A Dphp_fopen_wrapper.c68 off_t position;
125 static int php_stream_input_seek(php_stream *stream, off_t offset, int whence, off_t *newoffset TSR… in php_stream_input_seek()

Completed in 71 milliseconds

123