Home
last modified time | relevance | path

Searched refs:zend_off_t (Results 1 – 25 of 38) sorted by relevance

12

/PHP-7.0/ext/fileinfo/libmagic/
H A Delfclass.h44 (zend_off_t)elf_getu(swap, elfhdr.e_phoff), phnum,
59 (zend_off_t)elf_getu(swap, elfhdr.e_phoff), phnum,
69 (zend_off_t)elf_getu(swap, elfhdr.e_shoff), shnum,
H A Dcompress.c314 if (FINFO_LSEEK_FUNC(fd, (zend_off_t)0, SEEK_SET) == (zend_off_t)-1) { in file_pipe2file()
420 (void) FINFO_LSEEK_FUNC(0, (zend_off_t)0, SEEK_SET); in uncompressbuf()
H A Dcdf.c299 cdf_read(const cdf_info_t *info, zend_off_t off, void *buf, size_t len) in cdf_read()
303 if ((zend_off_t)(off + len) != (zend_off_t)siz) { in cdf_read()
316 if (FINFO_LSEEK_FUNC(info->i_fd, off, SEEK_SET) == (zend_off_t)-1) in cdf_read()
331 if (cdf_read(info, (zend_off_t)0, buf, sizeof(buf)) == -1) in cdf_read_header()
365 return cdf_read(info, (zend_off_t)pos, ((char *)buf) + offs, len); in cdf_read_sector()
/PHP-7.0/ext/phar/
H A Ddirstream.h34 static int phar_dir_seek( php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs…
H A Dstream.h37 static int phar_stream_seek( php_stream *stream, zend_off_t offset, int whence, zend_off_t *newo…
H A Dphar_internal.h416 static inline void phar_set_fp_type(phar_entry_info *entry, enum phar_fp_type type, zend_off_t offs… in phar_set_fp_type()
438 static inline zend_off_t phar_get_fp_offset(phar_entry_info *entry) in phar_get_fp_offset()
467 zend_off_t position;
469 zend_off_t zero;
571 int phar_seek_efp(phar_entry_info *entry, zend_off_t offset, int whence, zend_off_t position, int f…
H A Dutil.c120 int phar_seek_efp(phar_entry_info *entry, zend_off_t offset, int whence, zend_off_t position, int f… in phar_seek_efp()
123 zend_off_t temp, eoffset; in phar_seek_efp()
157 if (temp > eoffset + (zend_off_t) entry->uncompressed_filesize) { in phar_seek_efp()
700 zend_off_t loc; in phar_open_entry_fp()
793 if (php_stream_tell(ufp) - loc != (zend_off_t) entry->uncompressed_filesize) { in phar_open_entry_fp()
1486 zend_off_t read_len; in phar_verify_signature()
1584 read_len -= (zend_off_t)len; in phar_verify_signature()
1631 read_len -= (zend_off_t)len; in phar_verify_signature()
1671 read_len -= (zend_off_t)len; in phar_verify_signature()
1719 read_len -= (zend_off_t)len; in phar_verify_signature()
[all …]
H A Dstream.c384 stream->eof = (data->position == (zend_off_t) entry->uncompressed_filesize); in phar_stream_read()
393 static int phar_stream_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffse… in phar_stream_seek()
398 zend_off_t temp; in phar_stream_seek()
419 if (temp > data->zero + (zend_off_t) entry->uncompressed_filesize) { in phar_stream_seek()
447 if (data->position > (zend_off_t)data->internal_file->uncompressed_filesize) { in phar_stream_write()
H A Dzip.c341 zend_off_t beforeus = php_stream_tell(fp); in phar_parse_zipfile()
398 zend_off_t now; in phar_parse_zipfile()
453 zend_off_t loc = php_stream_tell(fp); in phar_parse_zipfile()
542 zend_off_t saveloc; in phar_parse_zipfile()
795 zend_off_t offset; in phar_zip_changed_apply_int()
1113 zend_off_t tell, st; in phar_zip_applysignature()
H A Ddirstream.c61 static int phar_dir_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset) … in phar_dir_seek()
/PHP-7.0/main/streams/
H A Dcast.c77 static PHP_FPOS_T stream_cookie_seeker(void *cookie, zend_off_t position, int whence) in stream_cookie_seeker()
110 *position = php_stream_seek((php_stream *)cookie, (zend_off_t)*position, whence); in stream_cookie_seeker()
118 static int stream_cookie_seeker(void *cookie, zend_off_t position, int whence) in stream_cookie_seeker()
200 zend_off_t dummy; in _php_stream_cast()
240 zend_off_t pos; in _php_stream_cast()
H A Dmmap.c54 PHPAPI int _php_stream_mmap_unmap_ex(php_stream *stream, zend_off_t readden) in _php_stream_mmap_unmap_ex()
H A Dphp_stream_mmap.h77 PHPAPI int _php_stream_mmap_unmap_ex(php_stream *stream, zend_off_t readden);
H A Dmemory.c134 static int php_stream_memory_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *ne… in php_stream_memory_seek()
453 static int php_stream_temp_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newo… in php_stream_temp_seek()
479 zend_off_t pos; in php_stream_temp_cast()
600 zend_off_t newoffs; in _php_stream_temp_open()
634 zend_off_t newoffs; in php_stream_url_wrap_rfc2397()
H A Dglob_wrapper.c183 static int php_glob_stream_rewind(php_stream *stream, zend_off_t offset, int whence, zend_off_t *ne… in php_glob_stream_rewind()
H A Dplain_wrapper.c271 if (stream->position == (zend_off_t)-1 && errno == ESPIPE) { in _php_stream_fopen_from_fd()
507 static int php_stdiop_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset) in php_stdiop_seek()
520 zend_off_t result; in php_stdiop_seek()
523 if (result == (zend_off_t)-1) in php_stdiop_seek()
914 …nt php_plain_files_dirstream_rewind(php_stream *stream, zend_off_t offset, int whence, zend_off_t in php_plain_files_dirstream_rewind()
H A Duserspace.c774 static int php_userstreamop_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *new… in php_userstreamop_seek()
1475 static int php_userstreamop_rewinddir(php_stream *stream, zend_off_t offset, int whence, zend_off_t in php_userstreamop_rewinddir()
/PHP-7.0/Zend/
H A Dzend_long.h36 typedef int64_t zend_off_t; typedef
46 typedef int32_t zend_off_t; typedef
/PHP-7.0/ext/zlib/
H A Dzlib_fopen_wrapper.c61 static int php_gziop_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs) in php_gziop_seek()
/PHP-7.0/main/
H A Dphp_streams.h128 int (*seek)(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset);
218 zend_off_t position; /* of underlying stream */
221 zend_off_t readpos;
222 zend_off_t writepos;
299 PHPAPI int _php_stream_seek(php_stream *stream, zend_off_t offset, int whence);
303 PHPAPI zend_off_t _php_stream_tell(php_stream *stream);
H A Drfc1867.h54 zend_off_t offset;
/PHP-7.0/ext/standard/
H A Dphp_fopen_wrapper.c68 zend_off_t position;
125 static int php_stream_input_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *new… in php_stream_input_seek()
/PHP-7.0/ext/pdo_pgsql/
H A Dpgsql_driver.c168 static int pgsql_lob_seek(php_stream *stream, zend_off_t offset, int whence, in pgsql_lob_seek()
169 zend_off_t *newoffset) in pgsql_lob_seek()
173 zend_off_t pos = lo_lseek64(self->conn, self->lfd, offset, whence); in pgsql_lob_seek()
175 zend_off_t pos = lo_lseek(self->conn, self->lfd, offset, whence); in pgsql_lob_seek()
/PHP-7.0/
H A DUPGRADING.INTERNALS62 zend_off_t - portable off_t analogue
104 lseek, _lseeki64 zend_lseek for use with zend_off_t
105 ftell, _ftelli64 zend_ftell for use with zend_off_t
106 fseek, _fseeki64 zend_fseek for use with zend_off_t
/PHP-7.0/ext/fileinfo/
H A Dlibmagic.patch616 + CAST(zend_off_t, offsetof(struct magic, mimetype)),
774 + if ((zend_off_t)(entries * sizeof(struct magic)) != st.sb.st_size) {
987 + if ((zend_off_t)(off + len) != (zend_off_t)siz) {
996 + if (FINFO_LSEEK_FUNC(info->i_fd, off, SEEK_SET) == (zend_off_t)-1)
1008 + if (cdf_read(info, (zend_off_t)0, buf, sizeof(buf)) == -1)
1017 + return cdf_read(info, (zend_off_t)pos, ((char *)buf) + offs, len);
1273 + if (FINFO_LSEEK_FUNC(fd, (zend_off_t)0, SEEK_SET) == (zend_off_t)-1) {
1302 + (void) FINFO_LSEEK_FUNC(0, (zend_off_t)0, SEEK_SET);
1403 + (zend_off_t)elf_getu(swap, elfhdr.e_phoff), phnum,
1412 + (zend_off_t)elf_getu(swap, elfhdr.e_phoff), phnum,
[all …]

Completed in 82 milliseconds

12