Lines Matching refs:rev

72      * @param int $rev revision timestamp
85 public function getRevisionInfo($rev) argument
87 $rev = max($rev, 0);
90 if (isset($this->cache[$this->id]) && isset($this->cache[$this->id][$rev])) {
91 return $this->cache[$this->id][$rev];
95 list($fp, $lines) = $this->readloglines($rev);
108 if (!isset($this->cache[$this->id][$rev])) {
111 return $this->cache[$this->id][$rev];
253 * @param int $rev revision timestamp used as startdate (doesn't need to be revisionnumber)
259 public function getRelativeRevision($rev, $direction) argument
261 $rev = max($rev, 0);
265 if (!$direction || ($direction > 0 && $this->isCurrentRevision($rev))) {
270 list($fp, $lines, $head, $tail, $eof) = $this->readloglines($rev);
294 … if (($direction > 0 && $tmp['date'] > $rev) || ($direction < 0 && $tmp['date'] < $rev)) {
305 && ($tmp['date'] == $rev || ($revcounter > 0 && !$relativerev))
338 $rev = $rev2;
340 $rev1 = $rev;
397 * @param int $rev revision timestamp
403 protected function readloglines($rev) argument
444 if ($finger_rev > $rev) {
517 * @param int $rev timestamp of current page
520 public function isCurrentRevision($rev) argument
522 return $rev == @filemtime($this->getFilename());
538 …if ($rev = $this->getRelativeRevision($date_at + 1, -1)) { //+1 to get also the requested date rev…
539 return $rev;
591 * @param int $rev revision timestamp
603 protected function retrieveRevisionsAround($rev, $max) argument
606 list($fp, $lines, $starthead, $starttail, /* $eof */) = $this->readloglines($rev);
620 if ($tmp['date'] >= $rev) {