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

123

/PHP_5_3/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_3/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_5_3/ext/zip/examples/
H A Dodt.php7 while ($reader->read()) {
/PHP_5_3/sapi/fpm/fpm/
H A Dfpm_events.c60 res = read(fd, &c, 1);
65 zlog(ZLOG_SYSERROR, "unable to read from the signal pipe");
H A Dfastcgi.c336 ret = read(req->fd, ((char*)buf)+n, count-n);
344 ret = read(req->fd, ((char*)buf)+n, count-n);
H A Dfpm_stdio.c112 res = read(fd, buf + in_buf, max_buf_size - 1 - in_buf);
120 zlog(ZLOG_SYSERROR, "unable to read what child say");
H A Dfpm_unix.c288 close(fpm_globals.send_config_pipe[0]); /* close the read side of the pipe */
313 ret = read(fpm_globals.send_config_pipe[0], &readval, sizeof(readval));
315 zlog(ZLOG_SYSERROR, "failed to read from pipe");
320 zlog(ZLOG_ERROR, "no data have been read from pipe");
/PHP_5_3/scripts/dev/
H A Dfind_tested.php181 while(($file = $thisdir->read()) !== false) {
/PHP_5_3/ext/fileinfo/libmagic/
H A Dfile.h495 #define FINFO_READ_FUNC read
/PHP_5_3/TSRM/
H A Dtsrm_win32.c296 /* Do a full access check because access() will only check read-only attribute */
460 int fno, type_len = strlen(type), read, mode; local
509 read = (type[0] == 'r') ? TRUE : FALSE;
512 if (read) {
558 if (read) {
/PHP_5_3/ext/curl/
H A Dinterface.c227 if (ch->handlers->read && ch->handlers->read->stream) {
228 stream = (php_stream *) zend_fetch_resource(&ch->handlers->read->stream TSRMLS_CC, -1, NULL, NULL, 2, php_file_le_stream(), php_file_le_pstream());
233 zval_ptr_dtor(&ch->handlers->read->stream);
234 ch->handlers->read->fd = 0;
235 ch->handlers->read->fp = 0;
236 ch->handlers->read->stream = NULL;
1141 php_curl_read *t = ch->handlers->read;
1428 (*ch)->handlers->read = ecalloc(1, sizeof(php_curl_read));
1437 (*ch)->handlers->read
[all...]
H A Dphp_curl.h110 php_curl_read *read; member in struct:__anon20
/PHP_5_3/ext/dba/
H A Ddba_cdb.c217 # define cdb_file_read(fildes, buf, size) read(fildes, buf, size)
324 /* this is read-only */
/PHP_5_3/ext/interbase/
H A Dphp_ibase_udf.c149 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_5_3/ext/session/
H A Dmod_files.c373 n = read(data->fd, *val, sbuf.st_size);
378 php_error_docref(NULL TSRMLS_CC, E_WARNING, "read failed: %s (%d)", strerror(errno), errno);
380 php_error_docref(NULL TSRMLS_CC, E_WARNING, "read returned less bytes than requested");
H A Dmod_user.c131 retval = ps_call_handler(PSF(read), 1, args TSRMLS_CC);
/PHP_5_3/ext/standard/
H A Ddir.c107 PHP_NAMED_FE(read, php_if_readdir, arginfo_dir)
254 Directory class with properties, handle and class and methods read, rewind and close */
/PHP_5_3/ext/xmlreader/
H A Dphp_xmlreader.c214 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot write to read-only property");
662 Must set XMLREADER_LOADDTD or XMLREADER_VALIDATE parser option prior to the first call to read
795 /* {{{ proto boolean XMLReader::read()
797 PHP_METHOD(xmlreader, read)
815 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Load Data before trying to read");
857 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Load Data before trying to read");
995 Properties must be set after open() or XML() and before the first read() is called */
1293 PHP_ME(xmlreader, read, arginfo_xmlreader_read, ZEND_ACC_PUBLIC)
/PHP_5_3/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_3/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;

Completed in 77 milliseconds

123