/webtrees/tests/app/Encodings/ |
H A D | UTF16BETest.php | 31 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 D | UTF16LETest.php | 31 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 D | FanChartModule.php | 52 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 D | PedigreeMapModule.php | 40 use function intdiv; alias 244 $sosa_child = intdiv($sosa, 2); 335 $sosa = intdiv($sosa, 2);
|
H A D | LifespansChartModule.php | 50 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 D | StatisticsChartModule.php | 43 use function intdiv; alias
|
/webtrees/app/Encodings/ |
H A D | UTF16BE.php | 23 use function intdiv; alias 61 return chr(intdiv($code_point, 256)) . chr($code_point % 256);
|
H A D | UTF16LE.php | 23 use function intdiv; alias 61 return chr($code_point % 256) . chr(intdiv($code_point, 256));
|
H A D | AbstractUTF16Encoding.php | 23 use function intdiv; alias 131 return 2 * intdiv(strlen($text), 2);
|
/webtrees/app/Services/ |
H A D | RateLimitService.php | 30 use function intdiv; alias 101 $max = intdiv(256, strlen($this->now . ','));
|
H A D | RelationshipService.php | 38 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 D | MediaFileService.php | 46 use function intdiv; alias 90 $kb = intdiv($bytes + 1023, 1024);
|
/webtrees/resources/views/modules/relatives/ |
H A D | family.phtml | 193 <?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 D | UpgradeWizardStep.php | 43 use function intdiv; alias 236 $kb = I18N::number(intdiv($bytes + 1023, 1024));
|
H A D | ManageMediaData.php | 49 use function intdiv; alias 356 $size = intdiv($size + 1023, 1024); // Round up to next KB
|
/webtrees/app/ |
H A D | MediaFile.php | 33 use function intdiv; alias 311 $kb = intdiv($bytes + 1023, 1024);
|
H A D | Relationship.php | 29 use function intdiv; alias 206 $limit = min(intdiv(count($nodes), 2), count($patterns));
|
H A D | Date.php | 292 return intdiv($this->minimumJulianDay() + $this->maximumJulianDay(), 2);
|
H A D | Individual.php | 605 [$year] = $gregorian_calendar->jdToYmd(intdiv(max($min) + min($max), 2));
|
/webtrees/app/Date/ |
H A D | AbstractCalendarDate.php | 31 use function intdiv; alias 144 $jd = intdiv($date->maximum_julian_day + $date->minimum_julian_day, 2);
|
/webtrees/resources/views/modules/timeline-chart/ |
H A D | chart.phtml | 269 $mod = intdiv(25, $scale);
|