Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 28) sorted by relevance

12

/web-bugs/src/Horde/Text/Diff/
H A DMapped.php41 assert(count($from_lines) == count($mapped_from_lines));
42 assert(count($to_lines) == count($mapped_to_lines));
47 for ($i = 0; $i < count($this->_edits); $i++) {
50 $orig = array_slice($from_lines, $xi, count($orig));
51 $xi += count($orig);
56 $final = array_slice($to_lines, $yi, count($final));
57 $yi += count($final);
H A DRenderer.php91 $keep = $i == count($diffs) - 1 ? $ntrail : $nlead + $ntrail;
92 if (count($edit->orig) <= $keep) {
116 $context = array_slice($context, count($context) - $nlead);
117 $x0 = $xi - count($context);
118 $y0 = $yi - count($context);
128 $xi += count($edit->orig);
131 $yi += count($edit->final);
/web-bugs/src/Horde/Text/
H A DDiff.php65 $count = 0;
69 $count += $edit->nfinal();
72 return $count;
82 $count = 0;
86 $count += $edit->norig();
89 return $count;
147 $lcs += count($edit->orig);
165 array_splice($lines, count($lines), 0, $edit->orig);
183 array_splice($lines, count($lines), 0, $edit->final);
/web-bugs/www/
H A Dlstats.php54 …$count = get_status_count ("status NOT IN('to be documented', 'closed', 'not a bug', 'duplicate', … variable
55 if ($count > 0) {
56 $totals[$category] = $count;
68 $count = get_status_count ($status); variable
69 status_print($status, $count, 30);
H A Dgh-pull-add.php84 if (count($errors)) {
97 if (!count($errors)) {
113 if (count($errors)) {
H A Dsearch.php52 if (count($package_name) > 0) {
60 if (count($package_nname) > 0) {
117 $package_count = count($package_name);
H A Dvote.php52 for ($i = 0; $i < count($ips); $i++) {
H A Dstats.php56 if (count($pkg_tmp)) {
H A Dpatch-add.php102 if (count($errors)) {
/web-bugs/scripts/cron/
H A Demail-assigned24 $count = count($binfos);
45 $salute = ($count === 1) ? 'one bug report' : "$count bug reports";
/web-bugs/src/Horde/Text/Diff/Op/
H A DBase.php24 return $this->orig ? count($this->orig) : 0;
29 return $this->final ? count($this->final) : 0;
/web-bugs/templates/
H A Dpatchdiff.php6 if (count($obsoletedby)) {
17 if (count($obsoletes)) {
35 …echo format_date($revision['revision']); ?></a><?php if ($i < count($revisions) - 1) echo ' | '; ?>
H A Dpatchdisplay.php6 if (count($obsoletedby)) {
17 if (count($obsoletes)) {
H A Dlistpulls.php1 <?php if (count($pulls)) { ?>
H A Dlistpatches.php1 <?php if (count($patches)) { ?>
/web-bugs/www/rss/
H A Dsearch.php37 if (count($warnings) > 0) {
/web-bugs/include/
H A Dquery.php90 if (count($package_name) > 1) {
100 if (count($package_nname) > 1) {
152 if (count($ignored) > 0 ) {
217 if (count($pseudo) > 1) {
262 if (count($order_by_clauses)) {
275 $rows = count($result);
/web-bugs/src/Horde/Text/Diff/Engine/
H A DNative.php36 $n_from = count($from_lines);
37 $n_to = count($to_lines);
86 $this->_compareseq(0, count($this->xv), 0, count($this->yv));
323 assert(count($lines) == count($changed));
324 $len = count($lines);
325 $other_len = count($other_changed);
H A DXdiff.php34 $diff = xdiff_string_diff($from_string, $to_string, count($to_lines));
H A DString.php94 $end = count($diff) - 1;
123 if (count($diff2) == 0) {
150 $end = count($diff) - 1;
191 if (count($array) > 0) {
H A DShell.php122 $from_line_no + count($from_lines) - 1),
124 $to_line_no + count($to_lines) - 1));
/web-bugs/src/Horde/Text/Diff/Renderer/
H A DInline.php108 $lines[count($lines) - 1] .= $this->_ins_suffix;
116 $lines[count($lines) - 1] .= $this->_del_suffix;
/web-bugs/src/Template/
H A DContext.php146 if (count($variables) > extract($variables, EXTR_SKIP)) {
H A DEngine.php128 if (count($this->variables) > extract($this->variables, EXTR_SKIP)) {
/web-bugs/tests/Unit/Utils/Versions/
H A DGeneratorTest.php67 $this->assertGreaterThan(5, count($versions));

Completed in 23 milliseconds

12