Searched refs:zend_off_t (Results 1 - 25 of 41) sorted by relevance

12

/PHP-7.3/ext/phar/
H A Ddirstream.h32 static int phar_dir_seek( php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset);
H A Dstream.h35 static int phar_stream_seek( php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset);
H A Dphar_internal.h403 static inline void phar_set_fp_type(phar_entry_info *entry, enum phar_fp_type type, zend_off_t offset)
425 static inline zend_off_t phar_get_fp_offset(phar_entry_info *entry)
454 zend_off_t position;
456 zend_off_t zero;
554 int phar_seek_efp(phar_entry_info *entry, zend_off_t offset, int whence, zend_off_t position, int follow_links);
H A Dutil.c39 static int phar_call_openssl_signverify(int is_sign, php_stream *fp, zend_off_t end, char *key, size_t key_len, char **signature, size_t *signature_len);
118 int phar_seek_efp(phar_entry_info *entry, zend_off_t offset, int whence, zend_off_t position, int follow_links) /* {{{ */
121 zend_off_t temp, eoffset;
155 if (temp > eoffset + (zend_off_t) entry->uncompressed_filesize) {
691 zend_off_t loc;
784 if (php_stream_tell(ufp) - loc != (zend_off_t) entry->uncompressed_filesize) {
1386 static int phar_call_openssl_signverify(int is_sign, php_stream *fp, zend_off_t end, char *key, size_t key_len, char **signature, size_t *signature_len) /* {{{ */
1477 zend_off_t read_len;
1575 read_len -= (zend_off_t)le
[all...]
H A Dstream.c386 stream->eof = (data->position == (zend_off_t) entry->uncompressed_filesize);
395 static int phar_stream_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset) /* {{{ */
400 zend_off_t temp;
421 if (temp > data->zero + (zend_off_t) entry->uncompressed_filesize) {
449 if (data->position > (zend_off_t)data->internal_file->uncompressed_filesize) {
H A Dzip.c170 zend_off_t size;
341 zend_off_t beforeus = php_stream_tell(fp);
454 zend_off_t loc = php_stream_tell(fp);
543 zend_off_t saveloc;
796 zend_off_t offset;
1114 zend_off_t tell;
H A Ddirstream.c61 static int phar_dir_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset) /* {{{ */
/PHP-7.3/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 Dbuffer.c79 if (FINFO_LSEEK_FUNC(b->fd, b->eoff, SEEK_SET) == (zend_off_t)-1 ||
H A Dcdf.c321 cdf_read(const cdf_info_t *info, zend_off_t off, void *buf, size_t len)
325 if ((zend_off_t)(off + len) != (zend_off_t)siz) {
337 if (FINFO_LSEEK_FUNC(info->i_fd, off, SEEK_SET) == (zend_off_t)-1)
355 if (cdf_read(info, (zend_off_t)0, buf, sizeof(buf)) == -1)
389 return cdf_read(info, (zend_off_t)pos, ((char *)buf) + offs, len);
/PHP-7.3/main/streams/
H A Dmmap.c52 PHPAPI int _php_stream_mmap_unmap_ex(php_stream *stream, zend_off_t readden)
H A Dphp_stream_mmap.h75 PHPAPI int _php_stream_mmap_unmap_ex(php_stream *stream, zend_off_t readden);
H A Dcast.c75 static PHP_FPOS_T stream_cookie_seeker(void *cookie, zend_off_t position, int whence)
108 *position = php_stream_seek((php_stream *)cookie, (zend_off_t)*position, whence);
116 static int stream_cookie_seeker(void *cookie, zend_off_t position, int whence)
198 zend_off_t dummy;
238 zend_off_t pos;
H A Dmemory.c129 static int php_stream_memory_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs)
460 static int php_stream_temp_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs)
486 zend_off_t pos;
607 zend_off_t newoffs;
641 zend_off_t newoffs;
H A Dglob_wrapper.c181 static int php_glob_stream_rewind(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs) /* {{{ */
H A Dplain_wrapper.c271 if (stream->position == (zend_off_t)-1 && errno == ESPIPE) {
511 static int php_stdiop_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset)
524 zend_off_t result;
527 if (result == (zend_off_t)-1)
959 static int php_plain_files_dirstream_rewind(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs)
/PHP-7.3/ext/dba/
H A Ddba_cdb.c226 zend_off_t cdb_file_lseek(php_stream *fp, zend_off_t offset, int whence) {
231 zend_off_t cdb_file_lseek(int fd, zend_off_t offset, int whence) {
239 if (cdb_file_lseek(cdb->file, (zend_off_t)n, SEEK_SET) != (zend_off_t) n) return NULL; \
/PHP-7.3/Zend/
H A Dzend_long.h33 typedef int64_t zend_off_t; typedef
43 typedef int32_t zend_off_t; typedef
/PHP-7.3/main/
H A Drfc1867.h52 zend_off_t offset;
H A Dphp_streams.h126 int (*seek)(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset);
220 zend_off_t position; /* of underlying stream */
223 zend_off_t readpos;
224 zend_off_t writepos;
301 PHPAPI int _php_stream_seek(php_stream *stream, zend_off_t offset, int whence);
305 PHPAPI zend_off_t _php_stream_tell(php_stream *stream);
/PHP-7.3/ext/zlib/
H A Dzlib_fopen_wrapper.c59 static int php_gziop_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs)
/PHP-7.3/ext/intl/locale/
H A Dlocale_methods.c125 zend_off_t grOffset = 0;
146 static zend_off_t getStrrtokenPos(char* str, zend_off_t savedPos)
148 zend_off_t result =-1;
149 zend_off_t i;
176 static zend_off_t getSingletonPos(const char* str)
178 zend_off_t result =-1;
182 zend_off_t i = 0;
273 zend_off_t grOffset = findOffset( LOC_GRANDFATHERED , loc_name );
284 zend_off_t singletonPo
[all...]
/PHP-7.3/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 *newoffset) /* {{{ */
/PHP-7.3/ext/pcre/
H A Dphp_pcre.h50 zval *subpats, int global, int use_flags, zend_long flags, zend_off_t start_offset);
/PHP-7.3/ext/pdo_pgsql/
H A Dpgsql_driver.c161 static int pgsql_lob_seek(php_stream *stream, zend_off_t offset, int whence,
162 zend_off_t *newoffset)
166 zend_off_t pos = lo_lseek64(self->conn, self->lfd, offset, whence);
168 zend_off_t pos = lo_lseek(self->conn, self->lfd, offset, whence);

Completed in 66 milliseconds

12