Home
last modified time | relevance | path

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

12

/PHP-8.2/ext/phar/
H A Ddirstream.h32 static int phar_dir_seek( php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs…
H A Dstream.h35 static int phar_stream_seek( php_stream *stream, zend_off_t offset, int whence, zend_off_t *newo…
H A Dphar_internal.h408 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()
430 static inline zend_off_t phar_get_fp_offset(phar_entry_info *entry) in phar_get_fp_offset()
459 zend_off_t position;
461 zend_off_t zero;
564 int phar_seek_efp(phar_entry_info *entry, zend_off_t offset, int whence, zend_off_t position, int f…
H A Dutil.c116 int phar_seek_efp(phar_entry_info *entry, zend_off_t offset, int whence, zend_off_t position, int f… in phar_seek_efp()
119 zend_off_t temp, eoffset; in phar_seek_efp()
153 if (temp > eoffset + (zend_off_t) entry->uncompressed_filesize) { in phar_seek_efp()
689 zend_off_t loc; in phar_open_entry_fp()
782 if (php_stream_tell(ufp) - loc != (zend_off_t) entry->uncompressed_filesize) { in phar_open_entry_fp()
1487 zend_off_t read_len; in phar_verify_signature()
1605 read_len -= (zend_off_t)len; in phar_verify_signature()
1654 read_len -= (zend_off_t)len; in phar_verify_signature()
1694 read_len -= (zend_off_t)len; in phar_verify_signature()
1734 read_len -= (zend_off_t)len; in phar_verify_signature()
[all …]
H A Dstream.c394 stream->eof = (data->position == (zend_off_t) entry->uncompressed_filesize); in phar_stream_read()
403 static int phar_stream_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffse… in phar_stream_seek()
408 zend_off_t temp; in phar_stream_seek()
429 if (temp > data->zero + (zend_off_t) entry->uncompressed_filesize) { in phar_stream_seek()
457 if (data->position > (zend_off_t)data->internal_file->uncompressed_filesize) { in phar_stream_write()
H A Dzip.c201 zend_off_t size; in phar_parse_zipfile()
363 zend_off_t beforeus = php_stream_tell(fp); in phar_parse_zipfile()
425 zend_off_t current_central_dir_pos = php_stream_tell(fp); in phar_parse_zipfile()
518 zend_off_t loc = php_stream_tell(fp); in phar_parse_zipfile()
610 zend_off_t restore_pos = php_stream_tell(fp); in phar_parse_zipfile()
847 zend_off_t offset; in phar_zip_changed_apply_int()
1156 zend_off_t tell; in phar_zip_applysignature()
H A Ddirstream.c58 static int phar_dir_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset) … in phar_dir_seek()
/PHP-8.2/ext/fileinfo/libmagic/
H A Delfclass.h44 CAST(zend_off_t, elf_getu(swap, elfhdr.e_phoff)), phnum,
59 CAST(zend_off_t, elf_getu(swap, elfhdr.e_phoff)), phnum,
69 CAST(zend_off_t, elf_getu(swap, elfhdr.e_shoff)), shnum,
H A Dbuffer.c82 if (FINFO_LSEEK_FUNC(b->fd, b->eoff, SEEK_SET) == (zend_off_t)-1 || in buffer_fill()
/PHP-8.2/ext/dba/
H A Ddba_cdb.c222 zend_off_t cdb_file_lseek(php_stream *fp, zend_off_t offset, int whence) { in cdb_file_lseek()
227 zend_off_t cdb_file_lseek(int fd, zend_off_t offset, int whence) { in cdb_file_lseek()
235 if (cdb_file_lseek(cdb->file, (zend_off_t)n, SEEK_SET) != (zend_off_t) n) return NULL; \
/PHP-8.2/Zend/
H A Dzend_long.h34 typedef int64_t zend_off_t; typedef
44 typedef int32_t zend_off_t; typedef
/PHP-8.2/main/streams/
H A Dcast.c82 static PHP_FPOS_T stream_cookie_seeker(void *cookie, zend_off_t position, int whence) in stream_cookie_seeker()
119 *position = php_stream_seek((php_stream *)cookie, (zend_off_t)*position, whence); in stream_cookie_seeker()
203 zend_off_t dummy; in _php_stream_cast()
243 zend_off_t pos; in _php_stream_cast()
H A Dmmap.c44 PHPAPI int _php_stream_mmap_unmap_ex(php_stream *stream, zend_off_t readden) in _php_stream_mmap_unmap_ex()
H A Dmemory.c117 static int php_stream_memory_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *ne… in php_stream_memory_seek()
353 zend_off_t pos = php_stream_tell(ts->innerstream); in php_stream_temp_write()
434 static int php_stream_temp_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newo… in php_stream_temp_seek()
459 zend_off_t pos; in php_stream_temp_cast()
580 zend_off_t newoffs; in _php_stream_temp_open()
614 zend_off_t newoffs; in php_stream_url_wrap_rfc2397()
H A Dphp_stream_mmap.h75 PHPAPI int _php_stream_mmap_unmap_ex(php_stream *stream, zend_off_t readden);
H A Dglob_wrapper.c188 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.c296 if (stream->position == (zend_off_t)-1 && errno == ESPIPE) { in _php_stream_fopen_from_fd()
570 static int php_stdiop_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset) in php_stdiop_seek()
583 zend_off_t result; in php_stdiop_seek()
586 if (result == (zend_off_t)-1) in php_stdiop_seek()
1042 …nt php_plain_files_dirstream_rewind(php_stream *stream, zend_off_t offset, int whence, zend_off_t in php_plain_files_dirstream_rewind()
/PHP-8.2/ext/intl/locale/
H A Dlocale_methods.c216 zend_off_t grOffset = 0; in getPreferredTag()
237 static zend_off_t getStrrtokenPos(char* str, zend_off_t savedPos) in getStrrtokenPos()
239 zend_off_t result =-1; in getStrrtokenPos()
240 zend_off_t i; in getStrrtokenPos()
267 static zend_off_t getSingletonPos(const char* str) in getSingletonPos()
269 zend_off_t result =-1; in getSingletonPos()
273 zend_off_t i = 0; in getSingletonPos()
361 zend_off_t grOffset = findOffset( LOC_GRANDFATHERED , loc_name ); in get_icu_value_internal()
372 zend_off_t singletonPos = 0; in get_icu_value_internal()
1034 zend_off_t singletonPos = 0; in get_private_subtags()
[all …]
/PHP-8.2/ext/zlib/
H A Dzlib_fopen_wrapper.c56 static int php_gziop_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs) in php_gziop_seek()
/PHP-8.2/main/
H A Dphp_streams.h124 int (*seek)(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset);
228 zend_off_t position; /* of underlying stream */
231 zend_off_t readpos;
232 zend_off_t writepos;
309 PHPAPI int _php_stream_seek(php_stream *stream, zend_off_t offset, int whence);
313 PHPAPI zend_off_t _php_stream_tell(php_stream *stream);
H A Drfc1867.h50 zend_off_t offset;
/PHP-8.2/ext/standard/
H A Dphp_fopen_wrapper.c66 zend_off_t position;
123 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-8.2/ext/pcre/
H A Dphp_pcre.h54 zval *subpats, int global, int use_flags, zend_long flags, zend_off_t start_offset);
/PHP-8.2/ext/zip/
H A Dzip_stream.c202 static int php_zip_ops_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffse… in php_zip_ops_seek()
/PHP-8.2/ext/pdo_pgsql/
H A Dpgsql_driver.c160 static int pgsql_lob_seek(php_stream *stream, zend_off_t offset, int whence, in pgsql_lob_seek()
161 zend_off_t *newoffset) in pgsql_lob_seek()
165 zend_off_t pos = lo_lseek64(self->conn, self->lfd, offset, whence); in pgsql_lob_seek()
167 zend_off_t pos = lo_lseek(self->conn, self->lfd, offset, whence); in pgsql_lob_seek()

Completed in 89 milliseconds

12