Home
last modified time | relevance | path

Searched refs:zend_off_t (Results 26 – 42 of 42) sorted by relevance

12

/PHP-8.1/ext/fileinfo/libmagic/
H A Dcdf.c331 cdf_read(const cdf_info_t *info, zend_off_t off, void *buf, size_t len) in cdf_read()
335 if (CAST(zend_off_t, off + len) != CAST(zend_off_t, siz)) in cdf_read()
346 if (FINFO_LSEEK_FUNC(info->i_fd, off, SEEK_SET) == (zend_off_t)-1) in cdf_read()
364 if (cdf_read(info, CAST(zend_off_t, 0), buf, sizeof(buf)) == -1) in cdf_read_header()
H A Dcompress.c510 if (FINFO_LSEEK_FUNC(fd, (zend_off_t)0, SEEK_SET) == (zend_off_t)-1) { in file_pipe2file()
H A Dfile.h169 zend_off_t eoff;
H A Dapprentice.c2295 size_t llen, zend_off_t off, size_t len, const char *name, const char *extra, int nt) in parse_extra()
3131 if ((zend_off_t)(entries * sizeof(struct magic)) != st.sb.st_size) { in apprentice_map()
/PHP-8.1/ext/fileinfo/
H A Dlibmagic.patch788 + if ((zend_off_t)(entries * sizeof(struct magic)) != st.sb.st_size) {
1008 + if (FINFO_LSEEK_FUNC(b->fd, b->eoff, SEEK_SET) == (zend_off_t)-1 ||
1106 +cdf_read(const cdf_info_t *info, zend_off_t off, void *buf, size_t len)
1111 + if (CAST(zend_off_t, off + len) != CAST(zend_off_t, siz))
1120 + if (FINFO_LSEEK_FUNC(info->i_fd, off, SEEK_SET) == (zend_off_t)-1)
1132 + if (cdf_read(info, CAST(zend_off_t, 0), buf, sizeof(buf)) == -1)
1408 + if (FINFO_LSEEK_FUNC(fd, (zend_off_t)0, SEEK_SET) == (zend_off_t)-1) {
1454 + CAST(zend_off_t, elf_getu(swap, elfhdr.e_phoff)), phnum,
1463 + CAST(zend_off_t, elf_getu(swap, elfhdr.e_phoff)), phnum,
1472 + CAST(zend_off_t, elf_getu(swap, elfhdr.e_shoff)), shnum,
[all …]
H A Dfileinfo.c371 zend_off_t streampos; in _php_finfo_get_type()
/PHP-8.1/main/streams/
H A Dstreams.c551 while (!stream->eof && (stream->writepos - stream->readpos < (zend_off_t)to_read_now)) { in _php_stream_fill_read_buffer()
646 if (stream->writepos - stream->readpos < (zend_off_t)size) { in _php_stream_fill_read_buffer()
1286 PHPAPI zend_off_t _php_stream_tell(php_stream *stream) in _php_stream_tell()
1291 PHPAPI int _php_stream_seek(php_stream *stream, zend_off_t offset, int whence) in _php_stream_seek()
2157 zend_off_t newpos = 0;
/PHP-8.1/ext/pdo_oci/
H A Doci_statement.c701 static int oci_blob_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset) in oci_blob_seek()
/PHP-8.1/main/
H A Drfc1867.c795 zend_off_t offset;
/PHP-8.1/ext/phar/
H A Dphar.c843 zend_off_t read_len; in phar_parse_pharfile()
866 zend_off_t whence; in phar_parse_pharfile()
2549 zend_off_t manifest_ftell; in phar_flush()
H A Dtar.c290 zend_off_t curloc; in phar_parse_tarfile()
H A Dphar_object.c148 zend_off_t position; in phar_file_action()
204 if (position == (zend_off_t) info->uncompressed_filesize) { in phar_file_action()
1913 zend_off_t offset; in phar_copy_file_contents()
/PHP-8.1/ext/sqlite3/
H A Dsqlite3.c1144 static int php_sqlite3_stream_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *n… in php_sqlite3_stream_seek()
/PHP-8.1/ext/standard/
H A Dimage.c417 zend_off_t length = ((unsigned int)php_read2(stream)); in php_skip_variable()
H A Dstreamsfuncs.c466 zend_off_t position; in PHP_FUNCTION()
H A Dfilters.c1629 zend_off_t offset;
/PHP-8.1/ext/pcre/
H A Dphp_pcre.c1179 zval *subpats, int global, int use_flags, zend_long flags, zend_off_t start_offset) in php_pcre_match_impl()

Completed in 104 milliseconds

12