Searched refs:read (Results 1 - 25 of 56) sorted by relevance

123

/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/xmlreader/examples/
H A Dxmlreader_file.php4 while ($reader->read()) {
H A Dxmlreader_relaxNG.php11 while ($reader->read()) {
H A Dxmlreader_string.php15 while ($reader->read()) {
H A Dxmlreader_validatedtd.php8 while($xml->read()) {
/PHP_TRUNK/ext/zip/examples/
H A Dodt.php7 while ($reader->read()) {
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_events.c64 res = read(fd, &c, 1);
69 zlog(ZLOG_SYSERROR, "unable to read from the signal pipe");
H A Dfpm_stdio.c136 res = read(fd, buf + in_buf, max_buf_size - 1 - in_buf);
144 zlog(ZLOG_SYSERROR, "unable to read what child say");
/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/scripts/dev/
H A Dfind_tested.php181 while(($file = $thisdir->read()) !== false) {
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dfile.h525 #define FINFO_READ_FUNC read
/PHP_TRUNK/TSRM/
H A Dtsrm_win32.c296 /* 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/Zend/
H A Dzend_stream.c257 size_t read, remain = 4*1024; local
261 while ((read = zend_stream_read(file_handle, *buf + size, remain)) > 0) {
262 size += read;
263 remain -= read;
/PHP_TRUNK/ext/curl/
H A Dinterface.c244 if (ch->handlers->read && !Z_ISUNDEF(ch->handlers->read->stream)) {
245 stream = zend_fetch_resource(&ch->handlers->read->stream, -1, NULL, NULL, 2, php_file_le_stream(), php_file_le_pstream());
250 zval_ptr_dtor(&ch->handlers->read->stream);
251 ZVAL_UNDEF(&ch->handlers->read->stream);
252 ch->handlers->read->res = NULL;
253 ch->handlers->read->fp = 0;
1472 php_curl_read *t = ch->handlers->read;
1730 ch->handlers->read = ecalloc(1, sizeof(php_curl_read));
1883 ch->handlers->read
[all...]
H A Dphp_curl.h147 php_curl_read *read; member in struct:__anon42
/PHP_TRUNK/ext/dba/
H A Ddba_cdb.c217 # define cdb_file_read(fildes, buf, size) read(fildes, buf, size)
324 /* this is read-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/session/
H A Dmod_user.c149 ps_call_handler(&PSF(read), 1, args, &retval);
H A Dmod_user_class.c70 /* {{{ proto bool SessionHandler::read(string id)
71 Wraps the old read handler */
72 PHP_METHOD(SessionHandler, read)
H A Dphp_session.h293 extern PHP_METHOD(SessionHandler, 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/sapi/phpdbg/
H A Dphpdbg_io.c133 /* There's something to read. Read what's available and proceed
185 return read(sock, ptr, len);

Completed in 33 milliseconds

123