Home
last modified time | relevance | path

Searched refs:off_t (Results 1 – 17 of 17) sorted by relevance

/php-src/ext/ffi/tests/
H A Dbug79532.phpt2 Bug #79532 (sizeof off_t can be wrong)
9 void bug79532(off_t *array, size_t elems);
13 $array = FFI::cdef()->new("off_t[3]");
/php-src/sapi/litespeed/
H A Dlsapilib.h118 off_t m_reqBodyLen;
119 off_t m_reqBodyRead;
182 ssize_t LSAPI_sendfile_r( LSAPI_Request * pReq, int fdIn, off_t* off, size_t size );
252 static inline off_t LSAPI_GetReqBodyLen_r( LSAPI_Request * pReq ) in LSAPI_GetReqBodyLen_r()
259 static inline off_t LSAPI_GetReqBodyRemain_r( LSAPI_Request * pReq ) in LSAPI_GetReqBodyRemain_r()
310 static inline off_t LSAPI_GetReqBodyLen(void) in LSAPI_GetReqBodyLen()
313 static inline off_t LSAPI_GetReqBodyRemain(void) in LSAPI_GetReqBodyRemain()
333 static inline ssize_t LSAPI_sendfile( int fdIn, off_t* off, size_t size ) in LSAPI_sendfile()
H A Dlsapilib.c1709 off_t bodyLeft; in readBodyToReqBuf()
1793 off_t total; in LSAPI_ReadReqBody_r()
1930 ssize_t gsendfile( int fdOut, int fdIn, off_t* off, size_t size ) in gsendfile()
1933 off_t written; in gsendfile()
1945 ssize_t gsendfile( int fdOut, int fdIn, off_t* off, size_t size ) in gsendfile()
1948 off_t written = 0; in gsendfile()
1980 ssize_t gsendfile( int fdOut, int fdIn, off_t* off, size_t size ) in gsendfile()
1983 off_t len = size; in gsendfile()
1997 ssize_t gsendfile( int fdOut, int fdIn, off_t *off, size_t size ) in gsendfile()
2027 ssize_t gsendfile( int fdOut, int fdIn, off_t * off, size_t size ) in gsendfile()
[all …]
/php-src/win32/
H A Dreaddir.h26 off_t d_off; /* offset to this dirent */
/php-src/ext/zend_test/
H A Dphp_test.h100 PHP_ZEND_TEST_API void bug79532(off_t *array, size_t elems);
H A Dtest.c1440 PHP_ZEND_TEST_API void bug79532(off_t *array, size_t elems) in bug79532()
1501 typedef off_t off64_t;
/php-src/ext/pcre/pcre2lib/sljit/allocator_src/
H A DsljitProtExecAllocatorPosix.c140 if (ftruncate(fd, (off_t)size)) { in alloc_chunk()
/php-src/main/streams/
H A Dcast.c35 # define PHP_FPOS_T off_t
115 static int stream_cookie_seeker(void *cookie, off_t *position, int whence) in stream_cookie_seeker()
/php-src/ext/com_dotnet/
H A Dcom_persist.c131 off_t offset; in stm_seek()
149 offset = (off_t) dlibMove.QuadPart; in stm_seek()
/php-src/main/
H A Dphp.h98 # define off_t _off_t macro
/php-src/ext/fileinfo/libmagic/
H A Dapprentice.c331 file_private off_t
333 if (/*CONSTCOND*/sizeof(off_t) == sizeof(int)) in maxoff_t()
334 return CAST(off_t, INT_MAX); in maxoff_t()
335 if (/*CONSTCOND*/sizeof(off_t) == sizeof(long)) in maxoff_t()
336 return CAST(off_t, LONG_MAX); in maxoff_t()
2504 CAST(off_t, offsetof(struct magic, apple)), in parse_apple()
2516 CAST(off_t, offsetof(struct magic, ext)), in parse_ext()
2531 CAST(off_t, offsetof(struct magic, mimetype)), in parse_mime()
H A Dcompress.c910 (void) lseek(fd, CAST(off_t, 0), SEEK_SET); in handledesc()
H A Dcdf.c411 return cdf_read(info, CAST(off_t, pos), RCAST(char *, buf) + offs, len); in cdf_read_sector()
/php-src/ext/fileinfo/
H A Dlibmagic.patch504 - size_t llen, off_t off, size_t len, const char *name, const char *extra,
635 - MAP_PRIVATE|MAP_FILE, fd, CAST(off_t, 0))) == MAP_FAILED) {
1058 -cdf_read(const cdf_info_t *info, off_t off, void *buf, size_t len)
1063 - if (CAST(off_t, off + len) != CAST(off_t, siz))
1084 - if (cdf_read(info, CAST(off_t, 0), buf, sizeof(buf)) == -1)
1308 - if (lseek(fd, CAST(off_t, 0), SEEK_SET) == CAST(off_t, -1)) {
1451 - off_t eoff;
1523 -ssize_t pread(int, void *, size_t, off_t);
2553 - off_t pos = CAST(off_t, -1);
2617 - pos = lseek(fd, CAST(off_t, 0), SEEK_CUR);
[all …]
/php-src/docs-old/
H A Dstreams.md34 PHPAPI int php_stream_seek(php_stream * stream, off_t offset, int whence);
35 PHPAPI off_t php_stream_tell(php_stream * stream);
/php-src/build/
H A Dphp.m41337 dnl which is in transition to use the POSIX standard off_t on 32-bit (with large
2389 AC_CHECK_SIZEOF([off_t])
/php-src/ext/exif/
H A Dexif.c4451 off_t old_pos = php_stream_tell(stream); in exif_read_from_stream()

Completed in 86 milliseconds