Home
last modified time | relevance | path

Searched refs:off_t (Results 26 – 50 of 55) sorted by relevance

123

/PHP-5.5/ext/phar/
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 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 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()
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 Dphar.c760 off_t read_len;
781 off_t whence;
2578 off_t manifest_ftell;
/PHP-5.5/ext/zip/lib/
H A Dzip_close.c54 static int copy_data(FILE *, off_t, FILE *, struct zip_error *);
354 off_t offstart, offdata, offend; in add_data()
444 copy_data(FILE *fs, off_t len, FILE *ft, struct zip_error *error) in copy_data()
513 off_t offset; in write_cdir()
/PHP-5.5/main/streams/
H A Dplain_wrapper.c258 if (stream->position == (off_t)-1 && errno == ESPIPE) { in _php_stream_fopen_from_fd()
483 static int php_stdiop_seek(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC) in php_stdiop_seek()
496 off_t result; in php_stdiop_seek()
499 if (result == (off_t)-1) in php_stdiop_seek()
869 static int php_plain_files_dirstream_rewind(php_stream *stream, off_t offset, int whence, off_t *ne… in php_plain_files_dirstream_rewind()
H A Duserspace.c808 static int php_userstreamop_seek(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRML… in php_userstreamop_seek()
1579 static int php_userstreamop_rewinddir(php_stream *stream, off_t offset, int whence, off_t *newoffs … in php_userstreamop_rewinddir()
H A Dstreams.c588 while (!stream->eof && !err_flag && (stream->writepos - stream->readpos < (off_t)size)) { in _php_stream_fill_read_buffer()
674 if (stream->writepos - stream->readpos < (off_t)size) { in _php_stream_fill_read_buffer()
1268 PHPAPI off_t _php_stream_tell(php_stream *stream TSRMLS_DC) in _php_stream_tell()
1273 PHPAPI int _php_stream_seek(php_stream *stream, off_t offset, int whence TSRMLS_DC) in _php_stream_seek()
2135 off_t newpos = 0;
/PHP-5.5/sapi/thttpd/
H A Dthttpd.c598 static off_t thttpd_real_php_request(httpd_conn *hc, int TSRMLS_DC);
656 static off_t thttpd_real_php_request(httpd_conn *hc, int show_source TSRMLS_DC)
699 off_t thttpd_php_request(httpd_conn *hc, int show_source)
H A Dthttpd_patch1006 off_t init_byte_loc, end_byte_loc;
1453 off_t bytes_sent;
1454 off_t bytes_to_send;
/PHP-5.5/ext/standard/
H A Dphp_smart_str.h182 smart_str_append_generic_ex((dest), (num), (type), off_t, _long)
H A Dimage.c427 off_t length = ((unsigned int)php_read2(stream TSRMLS_CC)); in php_skip_variable()
/PHP-5.5/ext/fileinfo/libmagic/
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 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()
/PHP-5.5/sapi/litespeed/
H A Dlsapilib.c1404 off_t bodyLeft; in readBodyToReqBuf()
1489 off_t total; in LSAPI_ReadReqBody_r()
1621 ssize_t gsendfile( int fdOut, int fdIn, off_t* off, size_t size ) in gsendfile()
1624 off_t written; in gsendfile()
1636 ssize_t gsendfile( int fdOut, int fdIn, off_t* off, size_t size ) in gsendfile()
1639 off_t len = size; in gsendfile()
1652 ssize_t gsendfile( int fdOut, int fdIn, off_t *off, size_t size ) in gsendfile()
1679 ssize_t gsendfile( int fdOut, int fdIn, off_t * off, size_t size ) in gsendfile()
1685 ssize_t LSAPI_sendfile_r( LSAPI_Request * pReq, int fdIn, off_t* off, size_t size ) in LSAPI_sendfile_r()
/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/fileinfo/
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 …]
H A Dfileinfo.c481 off_t streampos;
/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/
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/ext/ereg/
H A Dereg.c300 off_t start, end; in php_ereg()
/PHP-5.5/ext/sqlite3/
H A Dsqlite3.c1128 static int php_sqlite3_stream_seek(php_stream *stream, off_t offset, int whence, off_t *newoffs TSR…
/PHP-5.5/main/
H A Drfc1867.c786 off_t offset;

Completed in 157 milliseconds

123