Home
last modified time | relevance | path

Searched refs:size (Results 1 - 24 of 24) sorted by relevance

/dokuwiki/inc/
H A Dhttputils.php99 * @param int $size - size of the whole file
104 function http_rangeRequest($fh,$size,$mime){
112 $ranges[] = array(0,$size,$size);
117 $ranges[] = array(0,$size,$size);
126 if (!$end) $end = $size - 1;
127 if ($start > $end || $start > $size || $end > $size){
[all...]
H A DPassHash.php772 $size = 64; variable
773 $opad = str_repeat(chr(0x5C), $size);
774 $ipad = str_repeat(chr(0x36), $size);
776 if(strlen($key) > $size) {
777 $key = str_pad(pack($pack, $algo($key)), $size, chr(0x00));
779 $key = str_pad($key, $size, chr(0x00));
H A Dmedia.php255 $data['size'] = (file_exists($file)) ? filesize($file) : 0;
269 $sizechange = 0 - $data['size'];
1022 $size = media_image_preview_size($image, $rev, $meta); variable
1024 if ($size) {
1036 $more['w'] = $size[0];
1037 $more['h'] = $size[1];
1041 echo '<img src="'.$src.'" alt="" style="max-width: '.$size[0].'px;" />';
1120 * @param int $size
1123 function media_image_preview_size($image, $rev, $meta, $size = 500) {
1130 if($meta && ($w > $size ||
[all...]
H A Dcommon.php422 //reduce size
1545 * Return the human readable size of a file
1547 * @param int $size A file size
1549 * @return string human readable size
1555 function filesize_h($size, $dec = 1) {
1560 while($size >= 1024 && ($i < $count - 1)) {
1561 $size /= 1024;
1565 return round($size, $dec)."\xC2\xA0".$sizes[$i]; //non-breaking space
1686 * -1 (infinite size) wil
[all...]
H A DJpegMeta.php1319 // get image size directly from file
1320 if ($size = getimagesize($this->_fileName)) {
1321 $this->_info['file']['Width'] = $size[0];
1322 $this->_info['file']['Height'] = $size[1];
1327 switch ($size[2]) {
2098 // This makes it easier to process variable size elements
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSCP.php168 $size = strlen($data); variable
179 $size = filesize($data); variable
182 $this->_send('C0644 ' . $size . ' ' . $remote_file . "\n");
190 while ($sent < $size) {
232 if (!preg_match('#(?<perms>[^ ]+) (?<size>\d+) (?<name>.+)#', rtrim($this->_receive()), $info)) {
238 $size = 0; variable
248 while ($size < $info['size']) {
251 $size+= strlen($data);
H A DSFTP.php1106 * $sftp->setListOrder('size', SORT_DESC, 'filename', SORT_ASC);
1131 * Returns the file size, in bytes, or false, on failure
1139 function size($filename) function
1149 return isset($result['size']) ? $result['size'] : -1;
1965 $size = $this->size($remote_file); variable
1966 $offset = $size !== false ? $size : 0;
2024 $size variable
2031 $size = 0; global() variable
2033 $size = strlen($data); global() variable
2037 $size = $size < 0 ? ($size & 0x7FFFFFFF) + 0x80000000 : $size; global() variable
[all...]
/dokuwiki/
H A Dfeed.php318 if($size = media_image_preview_size($id, '', new JpegMeta(mediaFN($id)), 300)) {
319 $more = 'w='.$size[0].'&h='.$size[1].'&t='.@filemtime(mediaFN($id));
322 if($rev && $size = media_image_preview_size($id, $rev, new JpegMeta(mediaFN($id, $rev)), 300)) {
323 $more = 'rev='.$rev.'&w='.$size[0].'&h='.$size[1];
367 if($size = media_image_preview_size($id, '', new JpegMeta(mediaFN($id)))) {
368 $more = 'w='.$size[0].'&h='.$size[1].'&t='.@filemtime(mediaFN($id));
398 if($size
[all...]
/dokuwiki/vendor/splitbrain/php-archive/src/
H A DZip.php192 $size = $header['compressed_size']; variable
193 while ($size != 0) {
194 $read_size = ($size < 2048 ? $size : 2048);
198 $size -= $read_size;
203 $binary_data = pack('VV', $header['crc'], $header['size']);
222 $size = $header['size']; variable
223 while ($size != 0) {
224 $read_size = ($size < 204
325 $size = strlen($data); global() variable
452 $size = filesize($this->file); global() variable
[all...]
H A DFileInfo.php19 protected $size = 0; variable
100 return $this->size;
104 * @param int $size
106 public function setSize($size)
108 $this->size = $size; variable
H A DTar.php102 $this->skipbytes(ceil($header['size'] / 512) * 512);
162 $this->skipbytes(ceil($header['size'] / 512) * 512);
178 $size = floor($header['size'] / 512); variable
179 for ($i = 0; $i < $size; $i++) {
182 if (($header['size'] % 512) != 0) {
183 fwrite($fp, $this->readbytes(512), $header['size'] % 512);
190 $this->skipbytes(ceil($header['size'] / 512) * 512); // the size is usually 0 for directories
287 throw new ArchiveCorruptedException("The size o
535 $size = sprintf("%11s ", decoct($size)); global() variable
[all...]
/dokuwiki/lib/plugins/popularity/
H A Dhelper.php134 // number and size of pages
147 // number and size of media
159 // number and size of cache
169 // number and size of index
179 // number and size of meta
189 // number and size of attic
281 $size = filesize($base.'/'.$file); variable
284 $data['file_size'] += $size;
285 if (!isset($data['file_min']) || $data['file_min'] > $size) $data['file_min'] = $size;
[all...]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP/
H A DStream.php79 var $size; variable
269 $this->size = $this->sftp->size($path); variable
273 if ($this->size === false) {
278 $this->size = 0; variable
286 $this->size = 0; variable
290 $this->pos = $this->mode[0] != 'a' ? 0 : $this->size;
312 // commented out because some files - eg. /dev/urandom - will say their size is 0 when in fact it's kinda infinite
313 //if ($this->pos >= $this->size) {
325 call_user_func($this->notification, STREAM_NOTIFY_PROGRESS, STREAM_NOTIFY_SEVERITY_INFO, '', 0, strlen($result), $this->size);
366 $this->size = $this->pos; global() variable
731 $this->size = $new_size; global() variable
[all...]
/dokuwiki/lib/scripts/
H A Dfileuploader.js275 sizeError: "{file} is too large, maximum file size is {sizeLimit}.",
276 minSizeError: "{file} is too small, minimum file size is {minSizeLimit}.",
403 var name, size;
412 size = file.fileSize != null ? file.fileSize : file.size;
419 } else if (size === 0){
423 } else if (size && this._options.sizeLimit && size > this._options.sizeLimit){
427 } else if (size && size < thi
[all...]
H A Dmedia.js19 size: false,
173 id: 'size', label: LANG.mediasize,
248 s = parseInt(dw_mediamanager.size, 10);
249 var size = s * 200;
253 opts += size;
753 size: ['4']
762 dw_mediamanager.setOpt('size');
764 // toggle buttons for detail and linked image, original size
880 dw_mediamanager.setOpt('size');
882 dw_mediamanager.forbid('linkonly', {align: false, size
18 link: false, global() property in dw_mediamanager
[all...]
/dokuwiki/vendor/splitbrain/slika/src/
H A DImageMagickAdapter.php69 $size = $width . 'x' . $height; variable
72 $this->args[] = $size;
/dokuwiki/inc/Parsing/Lexer/
H A DParallelRegex.php80 $size = count($matches); variable
82 for ($i = 1; $i < $size; $i++) {
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/
H A DASN1.php182 * String type to character size mapping table.
185 * size == 0 indicates variable length encoding.
750 $size = (strlen($decoded['content']) - 1) * 8 - $offset; variable
759 $bits = count($mapping['mapping']) == $size ? array() : array_fill(0, count($mapping['mapping']) - $size, false);
1002 $size = 0; variable
1006 $size = $i; variable
1010 if (isset($mapping['min']) && $mapping['min'] >= 1 && $size < $mapping['min']) {
1011 $size = $mapping['min'] - 1; variable
1014 $offset = 8 - (($size
[all...]
H A DX509.php1674 $size = count($extensions); variable
1675 for ($i = 0; $i < $size; $i++) {
1781 $size = count($attributes); variable
1782 for ($i = 0; $i < $size; $i++) {
1854 $size = count($dns); variable
1855 for ($i = 0; $i < $size; $i++) {
2542 $size = strlen($ip) >> 1; variable
2543 $mask = substr($ip, $size);
2544 $ip = substr($ip, 0, $size);
2707 $size variable
[all...]
/dokuwiki/lib/exe/
H A Dcss.php361 echo ' background-size: 1.2em;';
497 $size = @filesize($local); variable
498 if($size && $size < $conf['cssdatauri']){
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/
H A DBigInteger.php312 case 8: // use 64-bit integers if int size is 8 bytes
321 //case 4: // use 64-bit floats if int size is 4 bytes
943 $size = $x_size; variable
946 $size = $y_size; variable
953 for ($i = 0, $j = 1; $j < $size; $i+=2, $j+=2) {
964 if ($j == $size) { // ie. if $y_size is odd
1843 // calculate the appropriate window size.
2737 $size = max(count($x_value), count($y_value)); variable
2739 $x_value = array_pad($x_value, $size, 0);
2740 $y_value = array_pad($y_value, $size,
3165 $size = strlen(ltrim($max->toBytes(), chr(0))); global() variable
[all...]
/dokuwiki/inc/parser/
H A Dhandler.php1111 if(preg_match('#(\d+)(x(\d+))?#i',$param,$size)){
1112 !empty($size[1]) ? $w = $size[1] : $w = null;
1113 !empty($size[3]) ? $h = $size[3] : $h = null;
/dokuwiki/vendor/simplepie/simplepie/idn/
H A Didna_convert.class.php721 $size = count($input); variable
725 for ($i = 0; $i < $size-1; ++$i) {
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DBase.php673 * $plaintext will be padded with additional bytes such that it's length is a multiple of the block size. Other cipher
681 * strlen($plaintext) will still need to be a multiple of the block size, however, arbitrary values can be added to make it that
755 $size = $len - $overflow; variable
1016 * If strlen($ciphertext) is not a multiple of the block size, null bytes will be added to the end of the string until
1909 user_error("The plaintext's length ($length) is not a multiple of the block size ({$this->block_size})");

Completed in 43 milliseconds