Home
last modified time | relevance | path

Searched refs:ssize_t (Results 1 – 24 of 24) sorted by relevance

/PHP-5.3/ext/zip/lib/
H A Dzip_win32.h12 #ifndef ssize_t
13 # define ssize_t SSIZE_T macro
/PHP-5.3/ext/fileinfo/libmagic/
H A Dcompress.c92 private ssize_t swrite(int, const void *, size_t);
153 private ssize_t
156 ssize_t rv; in swrite()
178 protected ssize_t
181 ssize_t rv; in sread()
248 ssize_t r; in file_pipe2file()
275 if (swrite(tfd, startbuf, nbytes) != (ssize_t)nbytes) in file_pipe2file()
388 ssize_t r; in uncompressbuf()
447 if (swrite(fdin[1], old, n) != (ssize_t)n) { in uncompressbuf()
H A Dcdf.c293 static ssize_t
305 return (ssize_t)len; in cdf_read()
317 return (ssize_t)len; in cdf_read()
353 ssize_t
363 ssize_t
417 h->h_master_sat[i]) != (ssize_t)ss) { in cdf_read_sat()
450 sec) != (ssize_t)ss) { in cdf_read_sat()
500 ssize_t nr; in cdf_read_long_sector_chain()
525 sid)) != (ssize_t)ss) { in cdf_read_long_sector_chain()
571 sid) != (ssize_t)ss) { in cdf_read_short_sector_chain()
[all …]
H A Dfile.h431 protected ssize_t sread(int, void *, size_t, int);
464 ssize_t getline(char **dst, size_t *len, FILE *fp);
465 ssize_t getdelim(char **dst, size_t *len, int delimiter, FILE *fp);
H A Dcdf.h283 ssize_t cdf_read_sector(const cdf_info_t *, void *, size_t, size_t,
285 ssize_t cdf_read_short_sector(const cdf_stream_t *, void *, size_t, size_t,
H A Dreadelf.c300 ssize_t bufsize; in dophn_core()
898 (ssize_t)xsh_size) { in doshn()
931 (ssize_t)xcap_sizeof) { in doshn()
1039 ssize_t bufsize; in dophn_exec()
H A Dmagic.c395 ssize_t nbytes = 0; /* number of bytes read from a datafile */ in file_or_stream()
H A Dapprentice.c2354 if (php_stream_write(stream, (char *)ar, sizeof(ar)) != (ssize_t)sizeof(ar)) {
2364 …if (php_stream_write(stream, (char *)*magicp, (sizeof(struct magic) * *nmagicp) != (ssize_t)(sizeo…
/PHP-5.3/main/streams/
H A Dcast.c96 static ssize_t stream_cookie_reader(void *cookie, char *buffer, size_t size) in stream_cookie_reader()
98 ssize_t ret; in stream_cookie_reader()
105 static ssize_t stream_cookie_writer(void *cookie, const char *buffer, size_t size) in stream_cookie_writer()
/PHP-5.3/sapi/fpm/fpm/
H A Dfastcgi.h130 ssize_t fcgi_write(fcgi_request *req, fcgi_request_type type, const char *str, int len);
H A Dfastcgi.c299 static inline ssize_t safe_write(fcgi_request *req, const void *buf, size_t count) in safe_write()
327 static inline ssize_t safe_read(fcgi_request *req, const void *buf, size_t count) in safe_read()
953 ssize_t fcgi_write(fcgi_request *req, fcgi_request_type type, const char *str, int len)
H A Dfpm_main.c274 ssize_t ret; in sapi_cgibin_single_write()
/PHP-5.3/ext/zip/
H A Dzip_stream.c33 ssize_t n = 0; in php_zip_ops_read()
47 if (n == 0 || n < (ssize_t)count) { in php_zip_ops_read()
/PHP-5.3/main/
H A Dphp.h265 ssize_t pwrite(int, void *, size_t, off64_t);
269 ssize_t pread(int, void *, size_t, off64_t);
H A Dspprintf.c454 i_num = (wide_int) va_arg(ap, ssize_t); in xbuf_format_converter()
H A Dsnprintf.c846 i_num = (wide_int) va_arg(ap, ssize_t); in format_converter()
/PHP-5.3/ext/fileinfo/
H A Dlibmagic.patch267 - ssize_t len;
855 - if (read(info->i_fd, buf, len) != (ssize_t)len)
859 return (ssize_t)len;
1021 private ssize_t swrite(int, const void *, size_t);
1055 protected ssize_t
1059 ssize_t rv;
1061 - ssize_t cnt;
1381 - ssize_t nch;
2263 - ssize_t r = 0;
2677 (ssize_t)xsh_size) {
[all …]
/PHP-5.3/win32/build/
H A Dconfig.w32.h.in139 #define ssize_t SSIZE_T macro
/PHP-5.3/sapi/cgi/
H A Dfastcgi.c528 static inline ssize_t safe_write(fcgi_request *req, const void *buf, size_t count) in safe_write()
556 static inline ssize_t safe_read(fcgi_request *req, const void *buf, size_t count) in safe_read()
/PHP-5.3/ext/gd/libgd/
H A Dgd_jpeg.c581 ssize_t nbytes = 0; in fill_input_buffer()
/PHP-5.3/
H A Dacinclude.m41272 PHP_DOES_PWRITE_WORK([ssize_t pwrite(int, void *, size_t, off64_t);])
1294 PHP_DOES_PREAD_WORK([ssize_t pread(int, void *, size_t, off64_t);])
H A Dconfigure.in496 PHP_CHECK_SIZEOF(ssize_t, 8)
/PHP-5.3/Zend/
H A Dzend_alloc.c513 #define ZEND_MM_PREV_BLOCK(b) ZEND_MM_BLOCK_AT(b, -(ssize_t)((b)->info._prev & ~ZEND_MM_TYPE_MASK…
/PHP-5.3/ext/sqlite3/libsqlite/
H A Dsqlite3.c24817 #define osRead ((ssize_t(*)(int,void*,size_t))aSyscall[8].pCurrent)
24824 #define osPread ((ssize_t(*)(int,void*,size_t,off_t))aSyscall[9].pCurrent)
24831 #define osPread64 ((ssize_t(*)(int,void*,size_t,off_t))aSyscall[10].pCurrent)
24834 #define osWrite ((ssize_t(*)(int,const void*,size_t))aSyscall[11].pCurrent)
24841 #define osPwrite ((ssize_t(*)(int,const void*,size_t,off_t))\
24849 #define osPwrite64 ((ssize_t(*)(int,const void*,size_t,off_t))\
30356 if( osPwrite(fd, buf, readLen, 0) != (ssize_t)readLen ){

Completed in 387 milliseconds