Lines Matching refs:buffer
128 $buffer = $this->header;
131 $buffer = $this->getDiffBufferElementNew($diff, $buffer, $start);
138 $buffer = $this->getDiffBufferElementNew($diff, $buffer, $i);
140 $buffer = $this->getDiffBufferElement($diff, $buffer, $i);
144 return $buffer;
151 * @param string $buffer
156 private function getDiffBufferElement(array $diff, $buffer, $diffIndex) argument
159 $buffer .= '+' . $diff[$diffIndex][0] . "\n";
161 $buffer .= '-' . $diff[$diffIndex][0] . "\n";
163 $buffer .= ' ' . $diff[$diffIndex][0] . "\n";
166 return $buffer;
173 * @param string $buffer
178 private function getDiffBufferElementNew(array $diff, $buffer, $diffIndex) argument
181 $buffer .= "@@ @@\n";
184 return $this->getDiffBufferElement($diff, $buffer, $diffIndex);