Home
last modified time | relevance | path

Searched refs:off_t (Results 1 – 25 of 55) sorted by path

123

/PHP-5.5/
H A DREADME.STREAMS38 PHPAPI int php_stream_seek(php_stream * stream, off_t offset, int whence);
39 PHPAPI off_t php_stream_tell(php_stream * stream);
/PHP-5.5/TSRM/
H A Dreaddir.h22 off_t d_off; /* offset to this dirent */
/PHP-5.5/ext/com_dotnet/
H A Dcom_persist.c141 off_t offset; in stm_seek()
159 offset = (off_t) dlibMove.QuadPart; in stm_seek()
/PHP-5.5/ext/dba/
H A Ddba_cdb.c228 int cdb_file_lseek(php_stream *fp, off_t offset, int whence TSRMLS_DC) { in cdb_file_lseek()
233 int cdb_file_lseek(int fd, off_t offset, int whence TSRMLS_DC) { in cdb_file_lseek()
241 if (cdb_file_lseek(cdb->file, (off_t)n, SEEK_SET TSRMLS_CC) != (off_t) n) return NULL; \
/PHP-5.5/ext/ereg/
H A Dereg.c300 off_t start, end; in php_ereg()
/PHP-5.5/ext/ereg/regex/
H A Dregex.h19 typedef off_t regoff_t;
/PHP-5.5/ext/fileinfo/
H A Dfileinfo.c481 off_t streampos;
H A Dlibmagic.patch630 - MAP_PRIVATE|MAP_FILE, fd, (off_t)0)) == MAP_FAILED) {
673 - if ((off_t)(entries * sizeof(struct magic)) != st.st_size) {
690 + if ((off_t)(entries * sizeof(struct magic)) != st.sb.st_size) {
773 - if (lseek(fd, (off_t)m, SEEK_SET) != (off_t)m) {
774 + if (php_stream_seek(stream,(off_t)sizeof(struct magic), SEEK_SET) != sizeof(struct magic)) {
926 + if (FINFO_LSEEK_FUNC(info->i_fd, off, SEEK_SET) == (off_t)-1)
1261 - if (lseek(fd, (off_t)0, SEEK_SET) == (off_t)-1) {
1262 + if (FINFO_LSEEK_FUNC(fd, (off_t)0, SEEK_SET) == (off_t)-1) {
1289 - (void) lseek(0, (off_t)0, SEEK_SET);
1291 + (void) FINFO_LSEEK_FUNC(0, (off_t)0, SEEK_SET);
[all …]
/PHP-5.5/ext/fileinfo/libmagic/
H A Dapprentice.c2695 if ((off_t)(entries * sizeof(struct magic)) != st.sb.st_size) { in apprentice_map()
2789 if (php_stream_seek(stream,(off_t)sizeof(struct magic), SEEK_SET) != sizeof(struct magic)) { in apprentice_compile()
H A Dcdf.c294 cdf_read(const cdf_info_t *info, off_t off, void *buf, size_t len) in cdf_read()
298 if ((off_t)(off + len) != (off_t)siz) { in cdf_read()
311 if (FINFO_LSEEK_FUNC(info->i_fd, off, SEEK_SET) == (off_t)-1) in cdf_read()
326 if (cdf_read(info, (off_t)0, buf, sizeof(buf)) == -1) in cdf_read_header()
360 return cdf_read(info, (off_t)pos, ((char *)buf) + offs, len); in cdf_read_sector()
H A Dcompress.c304 if (FINFO_LSEEK_FUNC(fd, (off_t)0, SEEK_SET) == (off_t)-1) { in file_pipe2file()
410 (void) FINFO_LSEEK_FUNC(0, (off_t)0, SEEK_SET); in uncompressbuf()
H A Delfclass.h40 (off_t)elf_getu(swap, elfhdr.e_phoff),
50 (off_t)elf_getu(swap, elfhdr.e_phoff),
59 (off_t)elf_getu(swap, elfhdr.e_shoff),
/PHP-5.5/ext/pdo_oci/
H A Doci_statement.c677 static int oci_blob_seek(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC) in oci_blob_seek()
/PHP-5.5/ext/pdo_pgsql/
H A Dpgsql_driver.c162 static int pgsql_lob_seek(php_stream *stream, off_t offset, int whence, in pgsql_lob_seek()
163 off_t *newoffset TSRMLS_DC) in pgsql_lob_seek()
/PHP-5.5/ext/phar/
H A Ddirstream.c61 static int phar_dir_seek(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC) … in phar_dir_seek()
H A Ddirstream.h34 static int phar_dir_seek( php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_…
H A Dphar.c760 off_t read_len;
781 off_t whence;
2578 off_t manifest_ftell;
H A Dphar_internal.h436 static inline void phar_set_fp_type(phar_entry_info *entry, enum phar_fp_type type, off_t offset TS… in phar_set_fp_type()
458 static inline off_t phar_get_fp_offset(phar_entry_info *entry TSRMLS_DC) in phar_get_fp_offset()
487 off_t position;
489 off_t zero;
608 int phar_seek_efp(phar_entry_info *entry, off_t offset, int whence, off_t position, int follow_link…
H A Dphar_object.c177 off_t position; in phar_file_action()
233 if (position == (off_t) info->uncompressed_filesize) { in phar_file_action()
1977 off_t offset; in phar_copy_file_contents()
H A Dstream.c381 stream->eof = (data->position == (off_t) entry->uncompressed_filesize); in phar_stream_read()
390 static int phar_stream_seek(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_D… in phar_stream_seek()
395 off_t temp; in phar_stream_seek()
416 if (temp > data->zero + (off_t) entry->uncompressed_filesize) { in phar_stream_seek()
444 if (data->position > (off_t)data->internal_file->uncompressed_filesize) { in phar_stream_write()
H A Dstream.h37 static int phar_stream_seek( php_stream *stream, off_t offset, int whence, off_t *newoffset TSRM…
H A Dtar.c276 off_t curloc; in phar_parse_tarfile()
H A Dutil.c120 int phar_seek_efp(phar_entry_info *entry, off_t offset, int whence, off_t position, int follow_link… in phar_seek_efp()
123 off_t temp, eoffset; in phar_seek_efp()
157 if (temp > eoffset + (off_t) entry->uncompressed_filesize) { in phar_seek_efp()
701 off_t loc; in phar_open_entry_fp()
794 if (php_stream_tell(ufp) - loc != (off_t) entry->uncompressed_filesize) { in phar_open_entry_fp()
1530 off_t read_len;
1631 read_len -= (off_t)len;
1671 read_len -= (off_t)len;
1704 read_len -= (off_t)len;
1745 read_len -= (off_t)len;
[all …]
H A Dzip.c353 off_t beforeus = php_stream_tell(fp); in phar_parse_zipfile()
410 off_t now; in phar_parse_zipfile()
465 off_t loc = php_stream_tell(fp); in phar_parse_zipfile()
561 off_t saveloc; in phar_parse_zipfile()
774 off_t offset; in phar_zip_changed_apply()
1088 off_t tell, st; in phar_zip_applysignature()
/PHP-5.5/ext/sqlite3/libsqlite/
H A Dsqlite3.c25829 #define osFtruncate ((int(*)(int,off_t))aSyscall[6].pCurrent)
25842 #define osPread ((ssize_t(*)(int,void*,size_t,off_t))aSyscall[9].pCurrent)
25849 #define osPread64 ((ssize_t(*)(int,void*,size_t,off_t))aSyscall[10].pCurrent)
25859 #define osPwrite ((ssize_t(*)(int,const void*,size_t,off_t))\
25867 #define osPwrite64 ((ssize_t(*)(int,const void*,size_t,off_t))\
25878 #define osFallocate ((int(*)(int,off_t,off_t))aSyscall[15].pCurrent)
25897 #define osMmap ((void*(*)(void*,size_t,int,int,int,off_t))aSyscall[21].pCurrent)
27243 off_t divSize = SHARED_SIZE - 1;

Completed in 462 milliseconds

123