Home
last modified time | relevance | path

Searched refs:readpos (Results 1 – 9 of 9) sorted by relevance

/PHP-5.3/main/streams/
H A Dfilter.c351 if (&(stream->readfilters) == chain && (stream->writepos - stream->readpos) > 0) { in php_stream_filter_append_ex()
359 …m_bucket_new(stream, (char*) stream->readbuf + stream->readpos, stream->writepos - stream->readpos in php_stream_filter_append_ex()
363 if (stream->readpos + consumed > (uint)stream->writepos) { in php_stream_filter_append_ex()
386 stream->readpos = 0; in php_stream_filter_append_ex()
395 stream->readpos = 0; in php_stream_filter_append_ex()
485 if (stream->readpos > 0) { in _php_stream_filter_flush()
487 memcpy(stream->readbuf, stream->readbuf + stream->readpos, stream->writepos - stream->readpos); in _php_stream_filter_flush()
488 stream->readpos = 0; in _php_stream_filter_flush()
489 stream->writepos -= stream->readpos; in _php_stream_filter_flush()
H A Dstreams.c517 stream->writepos = stream->readpos = 0; in php_stream_fill_read_buffer()
613 … memmove(stream->readbuf, stream->readbuf + stream->readpos, stream->readbuflen - stream->readpos); in php_stream_fill_read_buffer()
614 stream->writepos -= stream->readpos; in php_stream_fill_read_buffer()
615 stream->readpos = 0; in php_stream_fill_read_buffer()
647 if (stream->writepos > stream->readpos) { in _php_stream_read()
655 stream->readpos += toread; in _php_stream_read()
678 stream->readpos += toread; in _php_stream_read()
882 stream->readpos += cpysz; in _php_stream_get_line()
1036 stream->readpos += delim_len; in php_stream_get_record()
1052 stream->readpos = stream->writepos = 0; in _php_stream_write_buffer()
[all …]
H A Dcast.c212 stream->readpos = stream->writepos = 0; in _php_stream_cast()
329 if ((stream->writepos - stream->readpos) > 0 && in _php_stream_cast()
337 …ytes of buffered data lost during stream conversion!", (long)(stream->writepos - stream->readpos)); in _php_stream_cast()
H A Dtransports.c422 recvd_len = stream->writepos - stream->readpos; in php_stream_xport_recvfrom()
/PHP-5.3/ext/curl/
H A Dstreams.c155 if (curlstream->readbuffer.readpos >= curlstream->readbuffer.writepos && curlstream->pending) { in php_curl_stream_read()
192 curlstream->readbuffer.readpos >= curlstream->readbuffer.writepos && curlstream->pending > 0); in php_curl_stream_read()
197 …if (curlstream->readbuffer.writepos > 0 && curlstream->readbuffer.readpos < curlstream->readbuffer… in php_curl_stream_read()
198 php_stream_seek(curlstream->readbuffer.buf, curlstream->readbuffer.readpos, SEEK_SET); in php_curl_stream_read()
200 curlstream->readbuffer.readpos = php_stream_tell(curlstream->readbuffer.buf); in php_curl_stream_read()
H A Dphp_curl.h166 off_t readpos, writepos; member
/PHP-5.3/ext/phar/
H A Dzip.c583 fp->writepos = fp->readpos = 0; in phar_parse_zipfile()
588 fp->readpos = 0; in phar_parse_zipfile()
591 fp->readpos = 0; in phar_parse_zipfile()
/PHP-5.3/ext/standard/
H A Dstreamsfuncs.c534 add_assoc_long(return_value, "unread_bytes", stream->writepos - stream->readpos); in PHP_FUNCTION()
729 if ((stream->writepos - stream->readpos) > 0) { in stream_array_emulate_read_fd_set()
/PHP-5.3/main/
H A Dphp_streams.h219 off_t readpos; member

Completed in 34 milliseconds