| /plugin/dw2pdf/vendor/mpdf/mpdf/src/Utils/ |
| D | UtfString.php | 30 * @param int $num 35 public static function code2utf($num, $lo = true) argument 38 if ($num < 128) { 40 return chr($num); 42 return '&#' . $num . ';'; 44 if ($num < 2048) { 45 return chr(($num >> 6) + 192) . chr(($num & 63) + 128); 47 if ($num < 65536) { 48 return chr(($num >> 12) + 224) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128); 50 if ($num < 2097152) { [all …]
|
| /plugin/stars2/ |
| D | syntax.php | 108 $num=explode('/',$num); // Strip size 109 if (!isset($num[1])) 110 $num[1] = $num[0]; 112 if ($num[0]>$num[1]) 113 $num[1]=$num[0]; 115 if ($num[1]>10) 117 $num[0] = 10 * $num[0] / $num[1]; 118 $num[1] = 10; 123 $renderer->doc .= $this->_Stars_static($num); 125 $renderer->doc .= $this->_Stars_dynamic($num); [all …]
|
| /plugin/swiftmail/Swift/Plugin/ |
| D | BandwidthMonitor.php | 59 public function addBytesIn($num) argument 61 $num = abs((int)$num); 62 $this->setBytesIn($this->getBytesIn() + $num); 68 public function addBytesOut($num) argument 70 $num = abs((int)$num); 71 $this->setBytesOut($this->getBytesOut() + $num); 94 public function setBytesIn($num) argument 96 $this->in = abs((int)$num); 103 public function setBytesOut($num) argument 105 $this->out = abs((int)$num);
|
| /plugin/discussion/ |
| D | helper.php | 73 * @param null|int $num number of visible comments -- internally used, not by pagelist plugin 76 public function td($id, $col = null, &$class = null, $num = null) argument 80 if (!isset($num)) { 85 $num = $comments['number']; 86 if (!$comments['status'] || ($comments['status'] == 2 && !$num)) { 90 $num = 0; 94 if ($num == 0) { 96 } elseif ($num == 1) { 99 $comment = $num . ' ' . $this->getLang('comments'); 112 * @param null|int $num [all …]
|
| /plugin/asciidocjs/node_modules/repeat-string/ |
| D | index.js | 41 function repeat(str, num) { argument 47 if (num === 1) return str; 48 if (num === 2) return str + str; 50 var max = str.length * num; 58 while (max > res.length && num > 1) { 59 if (num & 1) { 63 num >>= 1;
|
| /plugin/fullindex/ |
| D | action.php | 167 $num = $this->_getMetaTag($id.":".$conf['start'], 'identifier'); 170 $num = $this->_getMetaTag($id, 'identifier'); 178 'num' => $num, 181 'sort' => $this->_setSortIndex($id, $lvl, $type, $num, $title)); 189 function _setSortIndex($id, $lvl, $type, $num, $title) { argument 197 $this->_addToSortIndex($id, $num, $title); 201 $this->_addToSortIndex($id, $num, $title); 212 $temp = trim($num.$title); 216 $sortIdx = $this->_cleanForSort($num)." ".$title; //space required for natsearch fix to work! 236 function _addToSortIndex($id, $num, $title){ argument [all …]
|
| /plugin/cloud/ |
| D | syntax.php | 42 list($num, $ns) = array_pad(explode('>', $match, 2), 2, ''); 43 list($junk, $num) = array_pad(explode(':', $num, 2), 2, ''); 61 if (!is_numeric($num)) $num = 50; 65 return array($type, $num, $namespaces, $flags); 71 list($type, $num, $namespaces, $flags) = $data; 80 $cloud = $this->_getTagCloud($num, $min, $max, $namespaces, $tag); 85 $cloud = $helper->getSearchWordArray($num); 99 $cloud = $this->_getWordCloud($num, $min, $max); 229 function _getWordCloud($num, &$min, &$max) { argument 254 return $this->_sortCloud($cloud, $num, $min, $max); [all …]
|
| /plugin/bibtex/OSBib/ |
| D | UTF8.php | 198 function code2utf8($num){ argument 199 if($num<128)return chr($num); 200 if($num<2048)return chr(($num>>6)+192).chr(($num&63)+128); 201 if($num<65536)return chr(($num>>12)+224).chr((($num>>6)&63)+128).chr(($num&63)+128); 202 …if($num<2097152)return chr(($num>>18)+240).chr((($num>>12)&63)+128).chr((($num>>6)&63)+128). chr((…
|
| /plugin/html2pdf/html2pdf/html2ps/ |
| D | css.list-style-type.inc.php | 49 function format_number($type,$num) { argument 62 return $num; 64 return sprintf("%02d",$num); 66 return chr(ord('a')+($num-1) % 26); 68 return chr(ord('A')+($num-1) % 26); 70 return strtolower(arabic_to_roman($num)); 72 return arabic_to_roman($num);
|
| D | utils_number.php | 4 function arabic_to_roman($num) { argument 9 while ($num) { 10 while ($num >= $arabic[$i]) { 11 $num -= $arabic[$i];
|
| /plugin/blog/syntax/ |
| D | blog.php | 29 list($ns, $num) = array_pad(explode('?', $match, 2), 2, null); 31 if (!is_numeric($num)) { 33 $num = $ns; 36 $num = 5; 45 return array($ns, $num, $flags, $refine); 51 list($ns, $num, $flags, $refine) = $data; 90 $isMore = count($entries) > ($first + $num); 91 $entries = array_slice($entries, $first, $num); 146 … if ($pagingcontrols) $renderer->doc .= $this->_browseEntriesLinks($isMore, $first, $num); 167 function _browseEntriesLinks($more, $first, $num) { argument [all …]
|
| /plugin/wordimport/docx/ |
| D | Numbering.php | 26 foreach ($xml->xpath('//w:abstractNum') as $num) { 27 $id = (int)$num->attributes('w', true)->abstractNumId; 30 foreach ($num->xpath('.//w:lvl') as $lvl) { 39 foreach ($xml->xpath('//w:num') as $num) { 40 $id = (int)$num->attributes('w', true)->numId; 41 $typeId = (int)$num->xpath('.//w:abstractNumId')[0]->attributes('w', true)->val;
|
| /plugin/sequencediagram/bower_components/lodash/vendor/underscore/test/ |
| D | collections.js | 7 _.each([1, 2, 3], function(num, i) { argument 8 assert.equal(num, i + 1, 'each iterators provide value and iteration count'); 12 _.each([1, 2, 3], function(num){ answers.push(num * this.multiplier); }, {multiplier: 5}); argument 16 _.each([1, 2, 3], function(num){ answers.push(num); }); argument 34 _.each([1, 2, 3], function(num, index, arr){ if (_.include(arr, num)) answer = true; }); argument 145 var doubled = _.map([1, 2, 3], function(num){ return num * 2; }); argument 148 var tripled = _.map([1, 2, 3], function(num){ return num * this.multiplier; }, {multiplier: 3}); argument 151 doubled = _([1, 2, 3]).map(function(num){ return num * 2; }); argument 175 var sum = _.reduce([1, 2, 3], function(memo, num){ return memo + num; }, 0); argument 179 …sum = _.reduce([1, 2, 3], function(memo, num){ return memo + num * this.multiplier; }, 0, context); argument [all …]
|
| /plugin/feed/ |
| D | feed.php | 17 $num = $INPUT->int('num'); variable 46 $cache = getCacheName($plugin . $fn . $ns . $num . $other . $type . $INPUT->server->str('REMOTE_USE… 98 feed_getPages($rss, $po, $ns, $num, $fn); 116 * @param int $num 123 function feed_getPages($rss, $po, $ns, $num, $fn) argument 127 if ((!$num) || (!is_numeric($num))) $num = $conf['recent']; 130 $pages = $po->$fn($ns, $num);
|
| /plugin/miniblog/syntax/ |
| D | entry.php | 46 $num = 5; // display 5 entries per page 49 $page = $num*$INPUT->int('page', 0); // index of first entry in current page 50 $less = (($page > 0) ? max(0, ($page-$num)/$num) : -1); // previous page 51 $more = ((count($entries) > $page+$num) ? ($page+$num)/$num : -1); // next page 52 $entries = array_slice($entries, $page, $num);
|
| /plugin/numbering/ |
| D | action.php | 37 global $num; 38 $num = 0; 47 global $num; 48 …*?\"#', 'value = "" data-db="'. $matches[1] . '" id="' .'bureau_nmbr_' . $num . '"',$matches[2… 49 …2]. ' <img src="' . NUMBERING_ICON . '" id = "bureau_num_' . $num .'" class = "number… 50 $num++; 63 $num = $this->format_number() ; 65 echo "$num";
|
| /plugin/function/functions/ |
| D | helloWorld.php | 6 $num=(int)$params['num']; 7 $dataout .= ' The '.($num+1).' parameters were the number '.$num .' preceded by <br />'; 9 if ($val != $num) $dataout.=$val.'<br />';
|
| /plugin/quickstats/ |
| D | syntax.php | 289 … return "<tr><td>$num </td><td>$name</td><td> $val</td></tr>\n"; 366 $num = 0; 367 else $num = " "; 383 if($numbers) $num++; 385 if($depth && $num > $depth) continue; 388 $renderer->doc .= $this->row($item,$count,$num,$date_str, $ip_array); 394 …function theader(&$renderer,$name,$accesses='Accesses',$num=" Num ",$other="") { argument 398 $num = $js . $num . '</a>'; 401 …$renderer->doc .= '<tr><th class="quickstats_sort">'. $num .'</th><th class="quickstats_sort">'.$n… 467 $num=0; [all …]
|
| /plugin/odt/ODT/ |
| D | ODTHeading.php | 82 $num = ''; 83 while($doc->headerExists($title.$num)){ 84 ($num) ? $num++ : $num = 1; 86 $title = $title.$num;
|
| /plugin/galleryv1.5/ |
| D | script.js | 146 var num = self._imgs.length; 150 … self._imgs[num] = {src:anchor.getAttribute("href"),w:-1,h:-1,title:'',cls:anchor.className}; 152 self._imgs[num].title = anchor.getAttribute("title"); 154 self._imgs[num].title = anchor.firstChild.getAttribute("title"); 155 anchor.onclick = self._genOpener(num); // set closure to onclick event 162 _genOpener : function(num) argument 166 self._show(num); 391 var num = self._open + by; 393 if(num < 0) num = self._imgs.length - 1; 394 if(num >= self._imgs.length) num = 0; [all …]
|
| /plugin/pureldap/vendor/freedsx/asn1/src/FreeDSx/Asn1/Type/ |
| H A D | BitStringType.php | 107 $num = count($pieces); 109 if ($num === 1 && strlen($pieces[0]) !== 8) { 111 } elseif ($num !== 0 && strlen($pieces[$num - 1]) !== 8) { 112 $pieces[$num - 1] = str_pad($pieces[$num - 1], 8, '0', STR_PAD_RIGHT);
|
| /plugin/epub/scripts/utils/ |
| D | ent_ini.php | 5 list($char,$num,$name) = preg_split('/\s+/',$ent); 6 $entities[$name]=$num; 11 list($num,$name) = preg_split('/\s+/',$ent); 12 $entities[$name]=$num;
|
| /plugin/asciidocjs/node_modules/core-js/modules/ |
| D | _date-to-iso-string.js | 7 var lz = function (num) { argument 8 return num > 9 ? num : '0' + num;
|
| /plugin/asciidocjs/node_modules/core-js/library/modules/ |
| D | _date-to-iso-string.js | 7 var lz = function (num) { argument 8 return num > 9 ? num : '0' + num;
|
| /plugin/top/ |
| D | helper.php | 71 * @param int $num 74 public function best($lang, $month, $num = 10) argument 80 $res = $this->sqlite->query($sql, $num); 83 $res = $this->sqlite->query($sql, $lang, $num); 86 $res = $this->sqlite->query($sql, intval($month), $num); 89 $res = $this->sqlite->query($sql, $lang, intval($month), $num);
|