Lines Matching defs:array
110 var $xchanged = array();
111 var $ychanged = array();
112 var $xv = array();
113 var $yv = array();
114 var $xind = array();
115 var $yind = array();
121 * @param array $from_lines
122 * @param array $to_lines
129 $this->xchanged = $this->ychanged = array();
130 $this->xv = $this->yv = array();
131 $this->xind = $this->yind = array();
178 $edits = array();
185 $copy = array();
194 $delete = array();
198 $add = array();
219 * array of NCHUNKS+1 (X, Y) indexes giving the diving points between
236 * @return array
245 list ($xoff, $xlim, $yoff, $ylim) = array($yoff, $ylim, $xoff, $xlim);
257 $this->in_seq = array();
258 $ymids[0] = array();
293 $seps[] = $flip ? array($yoff, $xoff) : array($xoff, $yoff);
298 $seps[] = $flip ? array($y1, $x1) : array($x1, $y1);
300 $seps[] = $flip ? array($ylim, $xlim) : array($xlim, $ylim);
302 return array($this->lcs, $seps);
403 * @param array $lines
404 * @param array $changed
405 * @param array $other_changed
527 * @param array $from_lines An array of strings.
529 * @param array $to_lines An array of strings.
550 $rev->edits = array();
592 * @return array The original sequence of strings.
595 $lines = array();
610 * @return array The sequence of strings.
613 $lines = array();
667 * @param string[] $from_lines An array of strings.
670 * @param string[] $to_lines An array of strings.
672 * @param string[] $mapped_from_lines This array should
678 * @param string[] $mapped_to_lines This array should
741 $context = array();
770 $block = array();
794 * @param array $edits
897 static public $styles = array(
932 /** @var array */
945 $this->_lines = array();
1016 return array(array(''), array(''));
1018 return array($m[0], $m[1]);
1058 return array(array(''), array(''));
1060 return array($m[0], $m[1]);
1331 * @param array $orig The original lines to use.
1332 * @param array $final1 The first version to compare to.
1333 * @param array $final2 The second version to compare to.
1348 * @return array lines of the merged text
1351 $lines = array();
1356 array($label1),
1358 array($label3),
1360 array($label2));
1373 * @param array $edits1
1374 * @param array $edits2
1376 * @return array
1379 $edits = array();
1454 /** @var array|mixed */
1457 /** @var array|mixed */
1460 /** @var array|mixed */
1463 /** @var array|mixed|false */
1467 $this->orig = $orig ? $orig : array();
1468 $this->final1 = $final1 ? $final1 : array();
1469 $this->final2 = $final2 ? $final2 : array();
1502 $this->orig = $lines ? $lines : array();
1560 $this->orig = $this->final1 = $this->final2 = array();
1563 function _append(&$array, $lines) {
1564 array_splice($array, sizeof($array), 0, $lines);