Home
last modified time | relevance | path

Searched refs:size (Results 1 – 25 of 2038) sorted by relevance

12345678910>>...82

/plugin/combo/vendor/hidehalo/nanoid-php/src/
H A DClient.php16 * @param integer $size number of symbols in ID.
19 protected $size; variable in Hidehalo\\Nanoid\\Client
34 * @param integer $size
37 public function __construct($size = 21, GeneratorInterface $generator = null) argument
39 $this->size = $size > 0 ? $size : 21;
48 * @param integer $size
52 public function generateId($size = 0, $mode = self::MODE_NORMAL) argument
54 $size = $size>0? $size: $this->size;
57 return $this->core->random($this->generator, $size, $this->alphbet);
59 return $this->normalRandom($size);
[all …]
/plugin/dw2pdf/vendor/mpdf/mpdf/src/
DSizeConverter.php43 * @param mixed $size
50 public function convert($size = 5, $maxsize = 0, $fontsize = false, $usefontsize = true) argument
52 $size = trim(strtolower($size));
53 $res = preg_match('/^(?P<size>[-0-9.,]+([eE]\-?[0-9]+)?)?(?P<unit>[%a-z-]+)?$/', $size, $parts);
56 …$this->logger->warning(sprintf('Invalid size representation "%s"', $size), ['context' => LogContex…
60 $size = !empty($parts['size']) ? (float) $parts['size'] : 0.0;
68 $size *= 10;
72 $size *= 1 / Mpdf::SCALE;
76 $size *= $this->mpdf->default_font_size / Mpdf::SCALE;
81 $size *= $fontsize / 100;
[all …]
/plugin/diagramsnet/lib/shapes/
DmxDFD.js173 var size = Math.min(h * 0.5, w * 0.5);
177 c.lineTo(size, 0);
178 c.lineTo(w - size, 0);
180 c.lineTo(w - size, h);
181 c.lineTo(size, h);
189 c.moveTo(w - size, 0);
190 c.lineTo(w - 2 * size, h * 0.5);
191 c.lineTo(w - size, h);
200 var size = Math.min(h * 0.5, w * 0.5);
206 constr.push(new mxConnectionConstraint(new mxPoint(0, 0), false, null, size * 0.5, h * 0.25));
[all …]
/plugin/quickstats/GEOIP/vendor/maxmind-db/reader/src/MaxMind/Db/Reader/
DDecoder.php117 list($size, $offset) = $this->sizeFromCtrlByte($ctrlByte, $offset);
119 return $this->decodeByType($type, $offset, $size);
122 private function decodeByType($type, $offset, $size) argument
126 return $this->decodeMap($size, $offset);
128 return $this->decodeArray($size, $offset);
130 return [$this->decodeBoolean($size), $offset];
133 $newOffset = $offset + $size;
134 $bytes = Util::read($this->fileStream, $offset, $size);
140 $this->verifySize(8, $size);
144 $this->verifySize(4, $size);
[all …]
/plugin/html2pdf/html2pdf/html2ps/
Dmedia.layout.inc.php15 var $size; variable in Media
20 * @param Array $size associative array with 'height' and 'width' keys (mm)
23 function Media($size, $margins) { argument
24 $this->size = $size;
30 $new_item =& new Media($this->size, $this->margins);
39 return $this->is_landscape ? $this->size['height'] : $this->size['width'] ;
51 return $this->is_landscape ? $this->size['width'] : $this->size['height'];
63 $this->size['height'] = $height;
80 $this->size['width'] = $width;
101 … return $this->pixels / ($this->size['width'] - $this->margins['left'] - $this->margins['right']);
[all …]
Dutils_array.php5 for ($i=0, $size = count($flags); $i<$size; $i++) {
11 function expand_to_with_flags($size, $array, $flags) { argument
16 if (array_sum($array) > $size) {
22 if (!$flags[$i]) { $size -= $array[$i]; };
37 $array[0] += $size;
42 $koeff = $size / $sum;
52 function expand_to($size, $array) { argument
60 if (array_sum($array) > $size) {
65 $koeff = $size / array_sum($array);
68 for ($i=0, $size = count($array); $i<$size; $i++) {
Dvalue.font.class.php6 var $size; variable in ValueFont
18 if ($this->size === CSS_PROPERTY_INHERIT) {
19 $font->size = CSS_PROPERTY_INHERIT;
21 $font->size = $this->size->copy();
36 $this->size->units2pt($base_font_size);
42 $this->size = Value::fromData(1, UNIT_EM);
53 if ($this->size === CSS_PROPERTY_INHERIT) {
54 $size = $state->getInheritedProperty(CSS_FONT_SIZE);
55 $this->size = $size->copy();
/plugin/findologicxmlexport/vendor/sebastian/diff/tests/LCS/
DLongestCommonSubsequenceTest.php87 foreach ($this->stress_sizes as $size) {
88 $range = \range(1, $size);
109 foreach ($this->stress_sizes as $size) {
110 $from = \range(1, $size);
111 $to = \range($size + 1, $size * 2);
131 foreach ($this->stress_sizes as $size) {
132 $from = $size < 2 ? array(1) : \range(1, $size + 1, 2);
133 $to = $size < 3 ? array(1) : \range(1, $size + 1, 3);
134 $expected = $size < 6 ? array(1) : \range(1, $size + 1, 6);
143 foreach ($this->stress_sizes as $size) {
[all …]
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Search/
H A DPaging.php44 protected $size; variable in FreeDSx\\Ldap\\Search\\Paging
64 * @param int $size
66 public function __construct(LdapClient $client, SearchRequest $search, int $size = 1000) argument
70 $this->size = $size;
91 * @param int|null $size
93 public function start(SearchRequest $search, ?int $size = null): void argument
95 $this->size = $size ?? $this->size;
118 * @param int|null $size
122 public function getEntries(?int $size = null): Entries argument
124 return $this->send($size);
[all …]
/plugin/icons/syntax/
Dfugue.php22 public static function makePath($icon, $size, $base_url) { argument
25 $size = (($size > max($sizes)) ? max($sizes) : $size);
27 switch ($size) {
30 $size = 'icons'; break;
32 $size = 'bonus/icons-24'; break;
34 $size = 'bonus/icons-32'; break;
36 $size = 'icons';
39 return "$base_url/$size/$icon.png";
/plugin/asciidocjs/node_modules/neo-async/
Dasync.js2142 var size = array.length;
2143 var result = Array(size);
2145 while (++index < size) {
2161 var size = end - start;
2162 if (size <= 0) {
2165 var result = Array(size);
2167 while (++index < size) {
2179 var size = keys.length;
2183 while (++index < size) {
2198 var size = array.length;
[all …]
/plugin/barcodes/vendor/jucksearm/php-barcode/lib/
DDatamatrixFactory.php157 $scale['frame'] = $this->size - ($this->_borderPx * 2);
158 $scale['margin'] = round($this->size * ($this->margin / 100));
164 $scale['frame'] = $this->size;
166 $scale['area'] = $this->size;
172 if ($this->size < $scale['frame'])
185 …$this->_borderPx.'px '.$this->hexColor.'; width:'.($this->size - 2).'px; height:'.($this->size - 2…
187 …$datamatrixData = '<div style="position:absolute; width:'.$this->size.'px; height:'.$this->size.'p…
190 …e="font-size:0;position:absolute; width:'.($scale->size * $bcd['num_cols']).'px;height:'.($scale->
192 $w = $scale->size;
193 $h = $scale->size;
[all …]
DQRcodeFactory.php95 $emblem['frame'] = $this->size;
96 $area = floor(($this->scale->size * $bcd['num_cols']) * 0.2);
196 $scale['frame'] = $this->size - ($this->_borderPx * 2);
197 $scale['margin'] = round($this->size * ($this->margin / 100));
203 $scale['frame'] = $this->size;
205 $scale['area'] = $this->size;
211 if ($this->size < $scale['frame'])
224 …$this->_borderPx.'px '.$this->hexColor.'; width:'.($this->size - 2).'px; height:'.($this->size - 2…
226 …$qrcodeData = '<div style="position:absolute; width:'.$this->size.'px; height:'.$this->size.'px">';
229 …e="font-size:0;position:absolute; width:'.($scale->size * $bcd['num_cols']).'px;height:'.($scale->
[all …]
/plugin/odt/ODT/css/
Dcssdocument.php140 public $size = 0; variable in cssdocument
234 for ($index = $this->size-1 ; $index > $this->rootIndex ; $index--) {
237 $this->size = $this->rootIndex + 1;
247 $state ['index'] = $this->size-1;
258 for ($index = $this->size-1 ; $index > $state ['index'] ; $index--) {
261 $this->size = $state ['index'] + 1;
274 $this->entries [$this->size]['level'] = $this->level;
275 $this->entries [$this->size]['state'] = 'open';
276 $this->entries [$this->size]['element'] = $element;
277 $this->entries [$this->size]['attributes'] = $attributes;
[all …]
/plugin/twofactorgoogleauth/
DQRCode.php112 list($size, $mtx) = $this->qr_create_matrix($vers, $data);
113 list($mask, $mtx) = $this->qr_apply_best_mask($mtx, $size);
114 $mtx = $this->qr_finalize_matrix($mtx, $size, $ecl, $mask, $vers);
118 's' => array($size, $size),
476 $size = $version * 4 + 17;
478 for ($i = 0; $i < $size; $i++) {
480 for ($j = 0; $j < $size; $j++) {
492 $matrix[$size - $i - 1][$j] = $m;
493 $matrix[$i][$size - $j - 1] = $m;
513 for ($i = $size - 9; $i >= 8; $i--) {
[all …]
/plugin/odt/ODT/
DODTState.php42 protected $size = 0; variable in ODTState
50 $this->stack [$this->size] = new ODTElementRoot();
51 $this->size++;
138 $previous = $this->stack [$this->size-1];
141 $this->stack [$this->size] = $element;
142 $this->size++;
160 return $this->stack [$this->size-1];
169 if ($this->size > 1) {
170 unset ($this->stack [$this->size-1]);
171 $this->size--;
[all …]
/plugin/cloud/
Dstyle.css5 .dokuwiki div.cloud a.cloud1 { font-size: 10px; color: #D3E0F5; }
6 .dokuwiki div.cloud a.cloud2 { font-size: 12px; color: #AEC4E5; }
7 .dokuwiki div.cloud a.cloud3 { font-size: 14px; color: #88A9DB; }
8 .dokuwiki div.cloud a.cloud4 { font-size: 16px; color: #4A7AC2; }
9 .dokuwiki div.cloud a.cloud5 { font-size: 18px; color: #003F9E; }
11 .dokuwiki div.cloud a.cloud1_tag1 { font-size: 10px; color: #CEF0D0; }
12 .dokuwiki div.cloud a.cloud2_tag1 { font-size: 12px; color: #AEE5B1; }
13 .dokuwiki div.cloud a.cloud3_tag1 { font-size: 14px; color: #88DB8C; }
14 .dokuwiki div.cloud a.cloud4_tag1 { font-size: 16px; color: #4AC250; }
15 .dokuwiki div.cloud a.cloud5_tag1 { font-size: 18px; color: #009E08; }
[all …]
/plugin/mathpublish/phpmathpublisher/
DPhpMathPublisher.php33 protected $size; variable in RL\\PhpMathPublisher\\PhpMathPublisher
44 * @param int $size font-size for the formula
46 public function __construct($imgpath, $webpath, $size = 10) argument
51 $this->size = $size;
93 $nameImg = md5(trim($text) . $this->size) . '.png';
114 $formula->draw($this->size);
130 $this->size = max($this->size, 10);
131 $this->size = min($this->size, 24);
176 * @param int $size
178 public function setSize($size) argument
[all …]
/plugin/ckgdoku/syntax/
Dfont.php40 list($size, $face) = preg_split("/\//u", substr($match, 6, -1), 2);
41 if(isset($size) && strpos($size,':') !== false) {
42 list($size,$weight) = explode(':',$size);
43 $size = "font-size:$size;";
46 $size .= " font-weight:$weight; ";
47 if($fstyle) $size .= " font-style:$fstyle; ";
51 else $size = "font-size:$size;";
52 return array($state, array($size, $face));
/plugin/ckgedit/syntax/
Dfont.php40 list($size, $face) = preg_split("/\//u", substr($match, 6, -1), 2);
41 if(isset($size) && strpos($size,':') !== false) {
42 list($size,$weight) = explode(':',$size);
43 $size = "font-size:$size;";
46 $size .= " font-weight:$weight; ";
47 if($fstyle) $size .= " font-style:$fstyle; ";
51 else $size = "font-size:$size;";
52 return array($state, array($size, $face));
/plugin/asciidocjs/node_modules/lodash/
Dchunk.js30 function chunk(array, size, guard) { argument
31 if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) {
32 size = 1;
34 size = nativeMax(toInteger(size), 0);
37 if (!length || size < 1) {
42 result = Array(nativeCeil(length / size));
45 result[resIndex++] = baseSlice(array, index, (index += size));
/plugin/diagramsnet/lib/js/grapheditor/
DShapes.js299 CubeShape.prototype.size = 20; method in CubeShape
305 …Math.max(0, Math.min(w, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.size)))));
366 var s = parseFloat(mxUtils.getValue(this.style, 'size', this.size)) * this.scale;
387 WaypointShape.prototype.size = 6; method in WaypointShape
392 …var s = Math.max(0, parseFloat(mxUtils.getValue(this.style, 'size', this.size)) - 2) + 2 * this.st…
409 IsoRectangleShape.prototype.size = 20; method in IsoRectangleShape
432 IsoCubeShape.prototype.size = 20; method in IsoCubeShape
533 NoteShape.prototype.size = 30; method in NoteShape
538 …Math.max(0, Math.min(w, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.size)))));
593 var size = mxUtils.getValue(this.style, 'size', 15);
[all …]
/plugin/katex/_assets/
Dkatex.min.css1size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:i…
/plugin/mathpublish/
Dsyntax.php93 list($size, $math) = explode('>', $match, 2);
95 $math = $size;
96 $size = '';
98 $size = (int) trim($size);
99 if(!$size) $size = 12;
121 return (array($size, trim($math), $align));
136 list($size, $math, $align) = $data;
139 $size = $size * $scale;
140 $ident = md5($math . '-' . $size);
146 $pmp = new \RL\PhpMathPublisher\PhpMathPublisher('', '', $size);
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Control/
H A DPagingControl.php44 protected $size; variable in FreeDSx\\Ldap\\Control\\PagingControl
47 * @param int $size
50 public function __construct(int $size, string $cookie = '') argument
52 $this->size = $size;
70 return $this->size;
85 * @param int $size
88 public function setSize(int $size) argument
90 $this->size = $size;
127 Asn1::integer($this->size),

12345678910>>...82