Home
last modified time | relevance | path

Searched refs:abs (Results 1 – 25 of 400) sorted by relevance

12345678910>>...16

/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/
H A Dabs.test2 "abs" filter
4 {{ (-5.5)|abs }}
5 {{ (-5)|abs }}
6 {{ (-0)|abs }}
7 {{ 0|abs }}
8 {{ 5|abs }}
9 {{ 5.5|abs }}
10 {{ number1|abs }}
11 {{ number2|abs }}
12 {{ number3|abs }}
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/doc/filters/
H A Dabs.rst1 ``abs``
4 The ``abs`` filter returns the absolute value.
10 {{ number|abs }}
16 Internally, Twig uses the PHP `abs`_ function.
18 .. _`abs`: https://secure.php.net/abs target in ``abs``
/plugin/prolog/
H A Dattribute_include.php203 $abs = DOKU_PAGES.'/'.str_replace(':','/',getNS($ID));
205 $abs = DOKU_PAGES.'/'.str_replace(':','/',$ID.'.txt');
207 return str_replace('\\', '/', $abs);
212 * @param string $abs absolute path to file/directory
215 function abs2ID($abs = null) { argument
216 $abs = str_replace(realpath(DOKU_PAGES), '', realpath($abs));
218 if(substr($abs,-4) == '.txt')
219 $abs = substr($abs, 0, -4);
221 $abs .= '/*';
223 $ID = preg_replace('/[\/\\\]/',':',$abs);
/plugin/photogallery/lightGallery/js/
H A Dlg-zoom.js318 distanceY = -Math.abs(_$el.attr('data-y'));
324 distanceX = -Math.abs(_$el.attr('data-x'));
327 …if ((Math.abs(endCoords.x - startCoords.x) > 15) || (Math.abs(endCoords.y - startCoords.y) > 15)) {
415 distanceY = -Math.abs(_$el.attr('data-y'));
467 …var maxY = Math.abs(($image.prop('offsetHeight') * Math.abs($image.attr('data-scale'))) - _this.co…
469 …var maxX = Math.abs(($image.prop('offsetWidth') * Math.abs($image.attr('data-scale'))) - _this.cor…
471 …if ((Math.abs(endCoords.x - startCoords.x) > 15) || (Math.abs(endCoords.y - startCoords.y) > 15)) {
489 _$el.attr('data-y', Math.abs(distanceY));
491 distanceY = -Math.abs(_$el.attr('data-y'));
495 _$el.attr('data-x', Math.abs(distanceX));
[all …]
H A Dlg-zoom.min.js4abs(j.attr("data-y"))+(c.y-b.y):-Math.abs(j.attr("data-y")),h=e?-Math.abs(j.attr("data-x"))+(c.x-b…
/plugin/swiftmail/Swift/Plugin/
H A DBandwidthMonitor.php61 $num = abs((int)$num);
70 $num = abs((int)$num);
96 $this->in = abs((int)$num);
105 $this->out = abs((int)$num);
H A DThrottler.php134 $this->bpm = abs((int)$bpm);
157 $this->epm = abs((int)$epm);
/plugin/panoview/
H A Dsyntax.php157 …$scale = $this->image_scale($crop, abs($d['brx'] - $d['tlx']), abs($d['bry'] - $d['tly']), $d['ts'…
175 …$cmd .= ' -crop \''.abs($d['brx'] - $d['tlx']).'x'.abs($d['bry'] - $d['tly']).'!+'.$d['tlx'].'+'.$…
177 $cmd .= ' -extent \''.abs($d['brx'] - $d['tlx']).'x'.abs($d['bry'] - $d['tly']).'!\'';
203 $w = abs($right - $left);
204 $h = abs($lower - $upper);
/plugin/indexmenu2/cms/extensions/
H A Ddocumentselection.js13abs(document.selection.createRange().moveStart("character",-100000000));try{var _=Math.abs(O.creat…
H A Dstringextensions.js10abs(i)-this.length);return(i<0)?o+l:l+o};String.prototype.padLeft=function(i,I){return this.paddin…
/plugin/virtualkeyboard/vk/extensions/
H A Ddocumentselection.js147 … start = Math.abs(document.selection.createRange().moveStart("character", -100000000)); // start
150 var endReal = Math.abs(el.createTextRange().moveEnd("character", -100000000));
156 var sTest = Math.abs(r.moveStart("character", -100000000));
157 var eTest = Math.abs(r.moveEnd("character", -100000000));
190 end = Math.abs(document.selection.createRange().moveEnd("character", -100000000)); // end
193 var endReal = Math.abs(el.createTextRange().moveEnd("character", -100000000));
199 var sTest = Math.abs(r.moveStart("character", -100000000));
200 var eTest = Math.abs(r.moveEnd("character", -100000000));
H A Dstringextensions.js95 var pad = String(c).charAt(0).repeat(Math.abs(n) - this.length);
107 return this.padding(-Math.abs(n), c);
118 return this.padding(Math.abs(n), c);
218 x[4] = Math.abs(x[4]);
245 ins = Math.abs(ins);
249 ins = "-"+Math.abs(ins).dec(x[4]);
/plugin/mathpublish/phpmathpublisher/
H A DHelper.php462 $tmpWidth = abs($tmpDim[2] - $tmpDim[0]) + 2;
496 $nx = abs($ex - $sx);
497 $ny = abs($ey - $sy);
508 $tmpWidth = abs($tmpDim[2] - $tmpDim[0]);
543 $nx = abs($ex - $sx);
544 $ny = abs($ey - $sy);
567 $tmpWidth = abs($tmpDim[2] - $tmpDim[0]) * 2;
602 $nx = abs($ex - $sx);
603 $ny = abs($ey - $sy);
676 $nx = abs($ex - $sx);
[all …]
/plugin/countdown/
H A Dsyntax.php132 …, abs($difdata['days']), ($difdata['days'] == 1 ? $this->getLang('oneday') : $this->getLang('days'…
160 'days' => abs(($difference)),
162 'hours' => abs($diffseconds / 3600) % 24,
163 'minutes' => abs($diffseconds / 60) % 60,
164 'seconds' => abs($diffseconds ) % 60
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Tag/
H A DImg.php313 $w = abs($info['w']) / (20 * Mpdf::SCALE);
314 $h = abs($info['h']) / (20 * Mpdf::SCALE);
318 $w = abs($info['w']) / Mpdf::SCALE;
319 $h = abs($info['h']) / Mpdf::SCALE;
341 $w = $info['h'] ? abs($h * $info['w'] / $info['h']) : INF;
345 $h = $info['w'] ? abs($w * $info['h'] / $info['w']) : INF;
350 $h = $info['w'] ? abs($w * $info['h'] / $info['w']) : INF;
354 $h = $info['w'] ? abs($w * $info['h'] / $info['w']) : INF;
358 $w = $info['h'] ? abs($h * $info['w'] / $info['h']) : INF;
373 $h = abs($w * $info['h'] / $info['w']);
[all …]
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Gif/
H A DColorTable.php72 $d = abs($r2 - $r1) + abs($g2 - $g1) + abs($b2 - $b1);
/plugin/photogallery/phpThumb/
H A Dphpthumb.unsharp.php53 $radius = abs(round(min(50, $radius) * 2)); // Only integers make sense.
113 …$rNew = ((abs($rOrig - $rBlur) >= $threshold) ? max(0, min(255, ($amount * ($rOrig - $rBlur)) + $r…
114 …$gNew = ((abs($gOrig - $gBlur) >= $threshold) ? max(0, min(255, ($amount * ($gOrig - $gBlur)) + $g…
115 …$bNew = ((abs($bOrig - $bBlur) >= $threshold) ? max(0, min(255, ($amount * ($bOrig - $bBlur)) + $b…
/plugin/pgn4web/pgn4web/
H A Dviewer-links.php164 $abs = "$host$path/$url";
168 for($n = 1; $n > 0; $abs = preg_replace($re, '/', $abs, -1, $n)) {}
171 return $scheme.'://'.$abs;
/plugin/swiftmail/Swift/
H A DBatchMailer.php75 $this->maxTries = abs($max);
91 $this->sleepTime = abs($secs);
132 $this->maxFails = abs($fails);
/plugin/combo/resources/snippet/js/
H A Dlightbox.js28 const diffX = Math.abs(event.pageX - startX);
29 const diffY = Math.abs(event.pageY - startY);
/plugin/diagramsnet/lib/plugins/
H A DedgeConnection.js36 if (Math.abs(this.graph.snap(this.first.x) -
41 else if (Math.abs(this.graph.snap(this.first.y) -
/plugin/gtime/gtlib/util/
H A DGTUtil.php51 $a = abs((int) $a);
52 $b = abs((int) $b);
92 $a = abs($a) / GTUtil::gcd($a, $b);
93 $b = abs($b);
/plugin/dokukiwix/
H A DINSTALL11 function wl($id='',$more='',$abs=false,$sep='&amp;'){
14 if (defined("dokukiwix_plugin")) return dokukiwix_wl($id, $more, $abs, $sep);
/plugin/geophp/vendor/funiq/geophp/src/Geometry/
H A DLineString.php66 : $this->geometryN(count($this->components) - abs($n + 1));
212 cos(deg2rad(abs($point->x() - $nextPoint->x())))
279 } while (abs($lambda - $lambdaP) > 1e-12 && --$iterationLimit > 0);
323 return abs($this->startPoint()->z() - $this->endPoint()->z());
344 if (abs($point->z() - $lastEle) > $verticalTolerance || $i === $pointCount - 1) {
369 if (abs($point->z() - $lastEle) > $verticalTolerance || $i === $pointCount - 1) {
/plugin/likeit/script/
H A Djquery.hoverIntent.js65 if ( ( Math.abs(pX-cX) + Math.abs(pY-cY) ) < cfg.sensitivity ) {

12345678910>>...16