Home
last modified time | relevance | path

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

12

/PHP-7.1/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.1/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.h405 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()
427 static inline zend_off_t phar_get_fp_offset(phar_entry_info *entry) in phar_get_fp_offset()
456 zend_off_t position;
458 zend_off_t zero;
556 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()
693 zend_off_t loc; in phar_open_entry_fp()
786 if (php_stream_tell(ufp) - loc != (zend_off_t) entry->uncompressed_filesize) { in phar_open_entry_fp()
1479 zend_off_t read_len; in phar_verify_signature()
1577 read_len -= (zend_off_t)len; in phar_verify_signature()
1624 read_len -= (zend_off_t)len; in phar_verify_signature()
1664 read_len -= (zend_off_t)len; in phar_verify_signature()
1712 read_len -= (zend_off_t)len; in phar_verify_signature()
[all …]
H A Dstream.c385 stream->eof = (data->position == (zend_off_t) entry->uncompressed_filesize); in phar_stream_read()
394 static int phar_stream_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffse… in phar_stream_seek()
399 zend_off_t temp; in phar_stream_seek()
420 if (temp > data->zero + (zend_off_t) entry->uncompressed_filesize) { in phar_stream_seek()
448 if (data->position > (zend_off_t)data->internal_file->uncompressed_filesize) { in phar_stream_write()
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()
H A Dzip.c341 zend_off_t beforeus = php_stream_tell(fp); in phar_parse_zipfile()
452 zend_off_t loc = php_stream_tell(fp); in phar_parse_zipfile()
541 zend_off_t saveloc; in phar_parse_zipfile()
794 zend_off_t offset; in phar_zip_changed_apply_int()
1112 zend_off_t tell; in phar_zip_applysignature()
/PHP-7.1/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.c273 if (stream->position == (zend_off_t)-1 && errno == ESPIPE) { in _php_stream_fopen_from_fd()
513 static int php_stdiop_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset) in php_stdiop_seek()
526 zend_off_t result; in php_stdiop_seek()
529 if (result == (zend_off_t)-1) in php_stdiop_seek()
920 …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.c772 static int php_userstreamop_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *new… in php_userstreamop_seek()
1473 static int php_userstreamop_rewinddir(php_stream *stream, zend_off_t offset, int whence, zend_off_t in php_userstreamop_rewinddir()
/PHP-7.1/Zend/
H A Dzend_long.h36 typedef int64_t zend_off_t; typedef
46 typedef int32_t zend_off_t; typedef
/PHP-7.1/ext/intl/locale/
H A Dlocale_methods.c127 zend_off_t grOffset = 0; in getPreferredTag()
148 static zend_off_t getStrrtokenPos(char* str, zend_off_t savedPos) in getStrrtokenPos()
150 zend_off_t result =-1; in getStrrtokenPos()
151 zend_off_t i; in getStrrtokenPos()
178 static zend_off_t getSingletonPos(const char* str) in getSingletonPos()
180 zend_off_t result =-1; in getSingletonPos()
181 zend_off_t i=0; in getSingletonPos()
264 zend_off_t singletonPos = 0; in get_icu_value_internal()
266 zend_off_t grOffset = 0; in get_icu_value_internal()
1004 zend_off_t singletonPos = 0; in get_private_subtags()
[all …]
/PHP-7.1/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.1/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.1/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.1/ext/pdo_pgsql/
H A Dpgsql_driver.c166 static int pgsql_lob_seek(php_stream *stream, zend_off_t offset, int whence, in pgsql_lob_seek()
167 zend_off_t *newoffset) in pgsql_lob_seek()
171 zend_off_t pos = lo_lseek64(self->conn, self->lfd, offset, whence); in pgsql_lob_seek()
173 zend_off_t pos = lo_lseek(self->conn, self->lfd, offset, whence); in pgsql_lob_seek()
/PHP-7.1/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 104 milliseconds

12