Searched defs:read (Results 1 - 13 of 13) sorted by relevance

/PHP_TRUNK/ext/phar/
H A Dshortarc.php121 $read = 8192; variable
123 $read = $L[1] - strlen($m); variable
125 $last = (binary)fread($fp, $read);
130 die('ERROR: manifest length read was "' .
H A Dtar.c161 size_t save = php_stream_tell(fp), read; local
166 read = php_stream_read(fp, metadata, entry->uncompressed_filesize);
167 if (read != entry->uncompressed_filesize) {
199 size_t pos = 0, read, totalsize; local
212 read = php_stream_read(fp, buf, sizeof(buf));
214 if (read != sizeof(buf)) {
271 read = php_stream_read(fp, buf, size);
272 if (read != size) {
274 spprintf(error, 4096, "phar error: tar-based phar \"%s\" signature cannot be read", fname);
311 read
[all...]
H A Dzip.c48 int read; local
63 read = php_stream_read(fp, (char *) &(h.unix3.crc32), sizeof(h.unix3) - sizeof(h.header));
64 len -= read + 4;
66 if (sizeof(h.unix3) - sizeof(h.header) != read) {
92 zip_dirent.c -- read directory entry (local or central), clean dirent
196 spprintf(error, 4096, "phar error: unable to read in data to search for end of central directory in zip-based phar \"%s\"", fname);
224 /* read in archive comment, if any */
283 /* read in central directory */
344 PHAR_ZIP_FAIL("unable to read central directory entry, truncated");
380 PHAR_ZIP_FAIL("unable to read i
394 size_t read; local
[all...]
/PHP_TRUNK/ext/gd/libgd/
H A Dgd_webp.c67 unsigned char *read, *temp; local
78 read = temp + size;
87 n = gdGetBuf(read, GD_WEBP_ALLOC_STEP, infile);
/PHP_TRUNK/Zend/
H A Dzend_stream.c257 size_t read, remain = 4*1024; local
261 while ((read = zend_stream_read(file_handle, *buf + size, remain TSRMLS_CC)) > 0) {
262 size += read;
263 remain -= read;
/PHP_TRUNK/ext/standard/
H A Dphp_fopen_wrapper.c81 size_t read; local
84 /* read requested data from SAPI */
94 read = php_stream_read(input->body, buf, count);
96 if (!read || read == (size_t) -1) {
99 input->position += read;
102 return read;
357 if (!strncasecmp(p, "read=", 5)) {
/PHP_TRUNK/ext/zlib/
H A Dzlib_fopen_wrapper.c38 int read; local
41 read = gzread(self->gz_file, buf, count);
47 return (size_t)((read < 0) ? 0 : read);
119 /* sanity check the stream: it can be either read-only or write-only */
/PHP_TRUNK/ext/interbase/
H A Dphp_ibase_udf.c147 ISC_USHORT read; local
149 for (code[remaining] = '\0'; remaining > 0; remaining -= read)
150 b->blob_get_segment(b->blob_handle, &code[i++<<16],min(0x10000,remaining), &read);
/PHP_TRUNK/ext/curl/
H A Dphp_curl.h147 php_curl_read *read; member in struct:__anon5
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c889 /* read-only open */
4775 unsigned long read; local
4778 read = GETS_FETCH_SIZE;
4781 read = size;
4785 if (!f(stream, read, buf)) {
4786 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to read from socket");
4788 } else if (read != php_stream_write(IMAPG(gets_stream), buf, read)) {
4800 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to read from socket");
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_structs.h275 void (*read)(struct st_mysqlnd_read_buffer *, size_t count, zend_uchar * dest); member in struct:st_mysqlnd_read_buffer
/PHP_TRUNK/TSRM/
H A Dtsrm_win32.c294 /* Do a full access check because access() will only check read-only attribute */
460 int fno, type_len, read, mode; local
507 read = (type[0] == 'r') ? TRUE : FALSE;
510 if (read) {
556 if (read) {
/PHP_TRUNK/main/
H A Dphp_streams.h121 size_t (*read)(php_stream *stream, char *buf, size_t count TSRMLS_DC); member in struct:_php_stream_ops
177 * When set, the read buffer will avoid certain operations that
178 * might otherwise cause the read to block for much longer than
220 /* how much data to read when filling buffer */
440 /* read all data from stream and put into a buffer. Caller must free buffer

Completed in 28 milliseconds