Home
last modified time | relevance | path

Searched refs:diff (Results 1 – 12 of 12) sorted by relevance

/web-bugs/src/Horde/Text/Diff/Engine/
H A DString.php38 public function diff($diff, $mode = 'autodetect') argument
50 $diff .= $lnbr;
70 $diff = explode($lnbr, $diff);
73 array_shift($diff);
74 array_shift($diff);
87 * @param array $diff Array of lines.
94 $end = count($diff) - 1;
150 $end = count($diff) - 1;
172 strcmp($diff[$i], $diff[$j]) == 0) {
179 if ($diff[$i] != '' && substr($diff[$i], 0, 1) != ' ') {
[all …]
H A DXdiff.php20 public function diff($from_lines, $to_lines) function in Horde_Text_Diff_Engine_Xdiff
34 $diff = xdiff_string_diff($from_string, $to_string, count($to_lines));
35 $diff = explode("\n", $diff);
46 foreach ($diff as $line) {
H A DShell.php33 public function diff($from_lines, $to_lines) function in Horde_Text_Diff_Engine_Shell
47 $diff = shell_exec($this->_diffCommand . ' ' . $from_file . ' ' . $to_file);
51 if (is_null($diff)) {
64 preg_match_all('#^(\d+)(?:,(\d+))?([adc])(\d+)(?:,(\d+))?$#m', $diff,
H A DNative.php31 public function diff($from_lines, $to_lines) function in Horde_Text_Diff_Engine_Native
/web-bugs/src/Utils/
H A DDiff.php28 $this->diff = $d;
66 public function render($diff) argument
68 return parent::render($this->diff);
/web-bugs/src/Horde/Text/Diff/Renderer/
H A DInline.php148 $diff = new Horde_Text_Diff('native',
155 $diff = new Horde_Text_Diff('native',
166 return str_replace($nl, "\n", $renderer->render($diff)) . "\n";
/web-bugs/src/Horde/Text/Diff/
H A DRenderer.php66 * @param Horde_Text_Diff $diff A Horde_Text_Diff object.
70 public function render($diff) argument
81 $diffs = $diff->getDiff();
H A DThreeWay.php44 $this->_edits = $this->_diff3($engine->diff($orig, $final1),
45 $engine->diff($orig, $final2));
/web-bugs/templates/
H A Dpatchdiff.php40 echo $diff->render($d);
/web-bugs/www/
H A Dpatch-display.php114 $diff = new Diff($d); variable
/web-bugs/
H A Dcomposer.lock586 "sebastian/diff": "^3.0.6",
724 "sebastian/diff": "^3.0",
783 "name": "sebastian/diff",
787 "url": "https://github.com/sebastianbergmann/diff.git",
792 …"url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/98ff311ca519c3aa73ccd3de053bdb…
829 "homepage": "https://github.com/sebastianbergmann/diff",
831 "diff",
834 "unified diff"
837 "issues": "https://github.com/sebastianbergmann/diff/issues",
838 "source": "https://github.com/sebastianbergmann/diff/tree/3.0.6"
/web-bugs/include/
H A Dfunctions.php771 function bug_diff_render_html($diff) argument
788 foreach (array_keys($diff) as $v) {
795 foreach ($diff as $name => $content) {

Completed in 16 milliseconds