Lines Matching refs:self

465         io_mkdir_p(dirname(self::getFileName('dummy')));
479 file_put_contents(self::getFileName($id, $name), serialize($data));
486 return @unserialize(file_get_contents(self::getFileName($id, $name)));
495 $propsTime = @filemtime(self::getFileName($id, 'props'));
496 $matchesTime = @filemtime(self::getFileName($id, 'matches'));
521 @unlink(self::getFileName($id, 'props'));
522 @unlink(self::getFileName($id, 'matches'));
523 @unlink(self::getFileName($id, 'progress'));
524 @unlink(self::getFileName($id, 'cancel'));
531 $marker = self::getFileName('_prune');
535 if ($lastPrune !== FALSE && $lastPrune + self::PRUNE_PERIOD > $now) {
539 $directory = new GlobIterator(self::getFileName('*.*'));
625 return in_array($message->getId(), self::$persistentWarnings);
925 public function __construct($sessionId, $operation = self::UNKNOWN, $range = 0) {
932 if ($this->operation != self::UNKNOWN && $this->range > 0) {
943 if (microtime(TRUE) > $this->lastSave + self::SAVE_PERIOD) {
955 return array(self::UNKNOWN, 0);
958 if ($progress <= self::SCALE) {
959 return array(self::SEARCH, $progress);
962 return array(self::APPLY, $progress - self::SCALE);
969 $progress = max(round(self::SCALE * $this->progress / $this->range), 1);
971 if ($this->operation == self::APPLY) {
972 $progress += self::SCALE;
1056 public function markRequestedMatches($request, $policy = self::VERIFY_OFFSET) {
1058 case self::VERIFY_BOTH:
1062 case self::VERIFY_MATCHED:
1066 case self::VERIFY_OFFSET:
1070 case self::VERIFY_CONTEXT:
1194 $timeLimit -= ceil(min($timeLimit * self::NON_ENGINE_TIME_RATIO, self::NON_ENGINE_TIME_MAX));