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

123

/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/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_4/ext/zip/examples/
H A Dodt.php7 while ($reader->read()) {
/PHP_5_4/scripts/dev/
H A Dfind_tested.php181 while(($file = $thisdir->read()) !== false) {
/PHP_5_4/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_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");
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");
/PHP_5_4/ext/session/
H A Dmod_user.c135 retval = ps_call_handler(PSF(read), 1, args TSRMLS_CC);
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.h282 extern PHP_METHOD(SessionHandler, read);
H A Dmod_files.c378 n = read(data->fd, *val, sbuf.st_size);
383 php_error_docref(NULL TSRMLS_CC, E_WARNING, "read failed: %s (%d)", strerror(errno), errno);
385 php_error_docref(NULL TSRMLS_CC, E_WARNING, "read returned less bytes than requested");
/PHP_5_4/ext/standard/
H A Ddir.c107 PHP_NAMED_FE(read, php_if_readdir, arginfo_dir)
258 Directory class with properties, handle and class and methods read, rewind and close */
/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 Dinterface.c225 if (ch->handlers->read && ch->handlers->read->stream) {
226 stream = (php_stream *) zend_fetch_resource(&ch->handlers->read->stream TSRMLS_CC, -1, NULL, NULL, 2, php_file_le_stream(), php_file_le_pstream());
231 zval_ptr_dtor(&ch->handlers->read->stream);
232 ch->handlers->read->fd = 0;
233 ch->handlers->read->fp = 0;
234 ch->handlers->read->stream = NULL;
1145 php_curl_read *t = ch->handlers->read;
1432 (*ch)->handlers->read = ecalloc(1, sizeof(php_curl_read));
1441 (*ch)->handlers->read
[all...]
H A Dphp_curl.h110 php_curl_read *read; member in struct:__anon37
/PHP_5_4/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_4/ext/fileinfo/libmagic/
H A Dfile.h519 #define FINFO_READ_FUNC read
/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);

Completed in 82 milliseconds

123