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

/PHP_5_4/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 */
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_5_4/ext/zlib/
H A Dzlib_fopen_wrapper.c36 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_5_4/TSRM/
H A Dtsrm_win32.c294 /* 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_5_4/Zend/
H A Dzend_stream.c258 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_5_4/ext/curl/
H A Dphp_curl.h110 php_curl_read *read; member in struct:__anon37
/PHP_5_4/ext/imap/
H A Dphp_imap.c890 /* read-only open */
4814 unsigned long read; local
4817 read = GETS_FETCH_SIZE;
4820 read = size;
4824 if (!f(stream, read, buf)) {
4825 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to read from socket");
4827 } else if (read != php_stream_write(IMAPG(gets_stream), buf, read)) {
4839 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to read from socket");
/PHP_5_4/ext/mysqlnd/
H A Dmysqlnd_structs.h263 void (*read)(struct st_mysqlnd_read_buffer *, size_t count, zend_uchar * dest); member in struct:st_mysqlnd_read_buffer
/PHP_5_4/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_5_4/main/
H A Dphp_streams.h119 size_t (*read)(php_stream *stream, char *buf, size_t count TSRMLS_DC); member in struct:_php_stream_ops
179 * When set, the read buffer will avoid certain operations that
180 * might otherwise cause the read to block for much longer than
224 /* how much data to read when filling buffer */
449 /* read all data from stream and put into a buffer. Caller must free buffer

Completed in 39 milliseconds