| /PHP_TRUNK/ext/phar/ |
| H A D | shortarc.php | 121 $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 D | tar.c | 161 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 D | zip.c | 48 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 */ 291 /* read in central directory */ 356 PHAR_ZIP_FAIL("unable to read central directory entry, truncated"); 392 PHAR_ZIP_FAIL("unable to read i 406 size_t read; local [all...] |
| /PHP_TRUNK/TSRM/ |
| H A D | tsrm_win32.c | 294 /* Do a full access check because access() will only check read-only attribute */ 460 int fno, type_len = strlen(type), read, mode; local 507 read = (type[0] == 'r') ? TRUE : FALSE; 510 if (read) { 556 if (read) {
|
| /PHP_TRUNK/Zend/ |
| H A D | zend_stream.c | 258 size_t read, remain = 4*1024; local 262 while ((read = zend_stream_read(file_handle, *buf + size, remain TSRMLS_CC)) > 0) { 263 size += read; 264 remain -= read;
|
| /PHP_TRUNK/ext/imap/ |
| H A D | php_imap.c | 890 /* read-only open */ 4815 unsigned long read; local 4818 read = GETS_FETCH_SIZE; 4821 read = size; 4825 if (!f(stream, read, buf)) { 4826 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to read from socket"); 4828 } else if (read != php_stream_write(IMAPG(gets_stream), buf, read)) { 4840 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to read from socket");
|
| /PHP_TRUNK/ext/interbase/ |
| H A D | php_ibase_udf.c | 149 ISC_USHORT read; local 151 for (code[remaining] = '\0'; remaining > 0; remaining -= read) 152 b->blob_get_segment(b->blob_handle, &code[i++<<16],min(0x10000,remaining), &read);
|
| /PHP_TRUNK/ext/zlib/ |
| H A D | zlib_fopen_wrapper.c | 36 int read; local 38 read = gzread(self->gz_file, buf, count); 44 return (read < 0) ? 0 : read; 115 /* sanity check the stream: it can be either read-only or write-only */
|
| /PHP_TRUNK/main/ |
| H A D | php_streams.h | 119 size_t (*read)(php_stream *stream, char *buf, size_t count TSRMLS_DC); member in struct:_php_stream_ops 175 * When set, the read buffer will avoid certain operations that 176 * might otherwise cause the read to block for much longer than 220 /* how much data to read when filling buffer */ 441 /* read all data from stream and put into a buffer. Caller must free buffer
|
| /PHP_TRUNK/ext/curl/ |
| H A D | php_curl.h | 147 php_curl_read *read; member in struct:__anon4
|
| /PHP_TRUNK/ext/mysqlnd/ |
| H A D | mysqlnd_structs.h | 273 void (*read)(struct st_mysqlnd_read_buffer *, size_t count, zend_uchar * dest); member in struct:st_mysqlnd_read_buffer
|