Home
last modified time | relevance | path

Searched refs:intdiv (Results 1 – 21 of 21) sorted by relevance

/webtrees/tests/app/Encodings/
H A DUTF16BETest.php31 use function intdiv; alias
43 $char = chr(intdiv($code, 256)) . chr($code % 256);
51 $char = chr(intdiv($code, 256)) . chr($code % 256);
58 $char = chr(intdiv($code, 256)) . chr($code % 256);
66 $char = chr(intdiv($code, 256)) . chr($code % 256);
73 $char = chr(intdiv($code, 256)) . chr($code % 256);
H A DUTF16LETest.php31 use function intdiv; alias
43 $char = chr($code % 256) . chr(intdiv($code, 256));
51 $char = chr($code % 256) . chr(intdiv($code, 256));
58 $char = chr($code % 256) . chr(intdiv($code, 256));
66 $char = chr($code % 256) . chr(intdiv($code, 256));
73 $char = chr($code % 256) . chr(intdiv($code, 256));
/webtrees/app/Module/
H A DFanChartModule.php52 use function intdiv; alias
264 $width = intdiv(self::CHART_WIDTH_PIXELS * $width, 100);
270 $height = intdiv($width, 2);
276 $height = intdiv($width * 86, 100);
303 $center_x = intdiv($width, 2);
319 $arc_diameter = intdiv($width * $generation, $generations);
342 … $start_angle = $chart_start_angle + intdiv($chart_angle * ($sosa - $sosa_end), $sosa_end);
343 … $end_angle = $chart_start_angle + intdiv($chart_angle * ($sosa - $sosa_end + 1), $sosa_end);
H A DPedigreeMapModule.php40 use function intdiv; alias
244 $sosa_child = intdiv($sosa, 2);
335 $sosa = intdiv($sosa, 2);
H A DLifespansChartModule.php50 use function intdiv; alias
254 $start_year = intdiv($this->minYear($individuals), 10) * 10;
255 $end_year = intdiv($this->maxYear($individuals) + 9, 10) * 10;
H A DStatisticsChartModule.php43 use function intdiv; alias
/webtrees/app/Encodings/
H A DUTF16BE.php23 use function intdiv; alias
61 return chr(intdiv($code_point, 256)) . chr($code_point % 256);
H A DUTF16LE.php23 use function intdiv; alias
61 return chr($code_point % 256) . chr(intdiv($code_point, 256));
H A DAbstractUTF16Encoding.php23 use function intdiv; alias
131 return 2 * intdiv(strlen($text), 2);
/webtrees/app/Services/
H A DRateLimitService.php30 use function intdiv; alias
101 $max = intdiv(256, strlen($this->now . ','));
H A DRelationshipService.php38 use function intdiv; alias
1311 $up = intdiv(strlen($match[1]), 3);
1519 …$down = intdiv(strlen($match[1]), 3) + 1; // Add one, as we count generations from the common anc…
1812 $up = intdiv(strlen($match[1]), 3);
1969 $up = intdiv(strlen($match[1]), 3);
2105 $up = intdiv(strlen($ascent), 3);
2106 $down = intdiv(strlen($descent), 3);
H A DMediaFileService.php46 use function intdiv; alias
90 $kb = intdiv($bytes + 1023, 1024);
/webtrees/resources/views/modules/relatives/
H A Dfamily.phtml193 <?php $months = intdiv($days + 15, 30); ?>
195 … <?= I18N::plural('%s year', '%s years', intdiv($months, 12), I18N::number(round($months / 12))) ?>
/webtrees/app/Http/RequestHandlers/
H A DUpgradeWizardStep.php43 use function intdiv; alias
236 $kb = I18N::number(intdiv($bytes + 1023, 1024));
H A DManageMediaData.php49 use function intdiv; alias
356 $size = intdiv($size + 1023, 1024); // Round up to next KB
/webtrees/app/
H A DMediaFile.php33 use function intdiv; alias
311 $kb = intdiv($bytes + 1023, 1024);
H A DRelationship.php29 use function intdiv; alias
206 $limit = min(intdiv(count($nodes), 2), count($patterns));
H A DDate.php292 return intdiv($this->minimumJulianDay() + $this->maximumJulianDay(), 2);
H A DIndividual.php605 [$year] = $gregorian_calendar->jdToYmd(intdiv(max($min) + min($max), 2));
/webtrees/app/Date/
H A DAbstractCalendarDate.php31 use function intdiv; alias
144 $jd = intdiv($date->maximum_julian_day + $date->minimum_julian_day, 2);
/webtrees/resources/views/modules/timeline-chart/
H A Dchart.phtml269 $mod = intdiv(25, $scale);