Home
last modified time | relevance | path

Searched refs:bits (Results 1 – 25 of 69) sorted by relevance

123

/plugin/gtime/gtlib/util/
H A DGTBaseX.php37 private $bits; variable in GTBaseX
59 $this->bits = 1;
62 $this->bits++;
65 if ((1 << $this->bits) != strlen($alphabet)) {
69 $this->block = 8 / GTUtil::gcd(8, $this->bits);
174 $mask = (1 << $this->bits) - 1;
176 while ($this->bits * $i < 8 * $length) {
182 while ($size < $this->bits) {
193 $size -= $this->bits;
252 $buff = ($buff << $this->bits) | $next;
[all …]
/plugin/pgn4web/pgn4web/
H A Dpgn-encoder.php299 $bits = "";
303 if (ord(substr($ov, $i, 1)) > 255) { $bits = $bits . $LetterCodes[42]; }
304 else { $bits = $bits . $LetterCodes[ord(substr($ov, $i, 1))]; }
305 while (strlen($bits) > 5) {
306 $bytes = $bytes . BitsToBytes($bits);
307 $bits = substr($bits, 6);
310 $bytes = $bytes . BitsToBytes($bits);
H A Dpgn-encoder.js307 var bits = "";
311 if (ov.charCodeAt(i) > 255) { bits += LetterCodes[42]; }
312 else { bits += LetterCodes[ov.charCodeAt(i)]; }
313 while (bits.length > 5) {
314 bytes += BitsToBytes(bits);
315 bits = bits.slice(6, bits.length);
318 bytes += BitsToBytes(bits);
/plugin/amcharts/assets/amcharts/plugins/export/libs/jszip/
H A Djszip.js5842 bits = state.bits;
6074 state.bits = bits;
6485 bits = state.bits;
6833 bits -= bits & 7;
6888 bits -= bits & 7;
7505 state.bits = bits;
7621 var bits = opts.bits;
8194 for (bits = 0; bits <= MAX_BITS; bits++) {
8249 for (bits = max_length; bits !== 0; bits--) {
8286 for (bits = 1; bits <= MAX_BITS; bits++) {
[all …]
H A Djszip.min.js13bits,r=e.lencode,s=e.distcode,t=(1<<e.lenbits)-1,u=(1<<e.distbits)-1;a:do{15>q&&(p+=B[f++]<<q,q+=8…
14bits=n,(c.wsize||p!==a.avail_out&&c.mode<lb&&(c.mode<ib||b!==z))&&l(a,a.output,a.next_out,p-a.avai…
/plugin/passpolicy/
H A Dhelper.php262 $poolbits = $this->bits($pool_len);
273 $poolbits = $this->bits($pool_len);
305 $c_bits = $this->bits($c_len);
306 $v_bits = $this->bits($v_len);
307 $a_bits = $this->bits($a_len);
313 $num_bits -= $this->bits(99 - 10);
355 $num_bits -= $this->bits(999);
388 protected function bits($number) function in helper_plugin_passpolicy
390 $bits = 0;
394 $bits += 1;
[all …]
/plugin/register/
H A Dsyntax.php77 private function push_bit(&$bits, &$bit) argument
88 array_push($bits, array($range[0], $range[1], $bit["name"], $bit["desc"], $bit["flags"]));
94 $bits = array();
109 $this->push_bit($bits, $bit);
118 $this->push_bit($bits, $bit);
129 return array($keys, $bits);
181 $bits = array_reverse($adi_xml_result["bits"]);
182 return array($keys, $bits);
193 list($keys, $bits) = $ret;
215 $bits
H A Dregister.php199 var $name, $desc, $mmr_addr, $maxbits, $bits, $resetval, $bitrange, $perms, $sub_desc;
200 public function register($name, $desc, $mmr_addr, $resetval, $maxbits, $perms, $sub_desc, $bits) argument
210 $this->bits = array();
212 foreach ($bits as $bit) {
215 $this->bits[$b->start] = $b;
221 foreach ($this->bits as $b) {
237 private function bitrange($bits, $upper, $lower) argument
240 return ($bits & ((1 << $upper) - 1) ^ ((1 << $lower) - 1)) >> $lower;
291 foreach ($register->bits as $bit)
/plugin/gtime/gtlib/tsp/
H A DGTHashChain.php286 $bits = $N->toBits();
288 for ($i = 0; $i < strlen($bits); $i++) {
289 if ($bits{$i} == '1') {
311 $bits = $hashChainDirs->toBits();
314 while (strlen($bits) % 64 != 0) {
315 $bits = '0' . $bits;
320 for ($i = 0; $i < strlen($bits); $i++) {
321 if ($bits{$i} == '0') {
/plugin/jplayer/vendor/james-heinrich/getid3/getid3/
H A Dmodule.graphic.gif.php202 * @param int $bits
206 public function GetLSBits($bits) { argument
208 while (strlen($bitbuffer) < $bits) {
211 $value = bindec(substr($bitbuffer, 0 - $bits));
212 $bitbuffer = substr($bitbuffer, 0, 0 - $bits);
H A Dmodule.audio-video.flv.php836 * @param int $bits
838 public function skipBits($bits) { argument
839 $newBits = $this->currentBits + $bits;
854 * @param int $bits
858 public function getBits($bits) { argument
860 for ($i = 0; $i < $bits; $i++) {
/plugin/twofactorgoogleauth/
H A Dphpqrcode.php1211 $bits = 0;
1232 return $bits;
1417 $bits = $w * 10;
1430 return $bits;
1467 $bits = $w * 11;
1470 $bits += 6;
1473 return $bits;
1533 $bits = 0;
1539 return $bits;
1662 $bits += 4;
[all …]
/plugin/qrcode2/
H A Dphpqrcode.php1211 $bits = 0;
1232 return $bits;
1417 $bits = $w * 10;
1430 return $bits;
1467 $bits = $w * 11;
1470 $bits += 6;
1473 return $bits;
1533 $bits = 0;
1539 return $bits;
1662 $bits += 4;
[all …]
/plugin/jplayer/vendor/happyworm/jplayer/lib/aurora/
H A Daurora.js424 if (bits === 0) {
459 this.advance(bits);
465 if (bits === 0) {
505 if (bits === 0) {
508 if (bits > 40) {
526 a %= Math.pow(2, bits);
528 a &= (1 << bits) - 1;
541 this.advance(bits);
547 if (bits === 0) {
550 if (bits > 40) {
[all …]
H A Dmp3.js663 var PTR = function(offs, bits) { argument
667 bits: bits,
4075 bits: 'int8',
4880 var c = stream.read(quantclass.bits);
4888 nb = quantclass.bits;
5511 var bits = ((32 - 1 - 21) + (21 - cachesz)) & ~7;
5512 bitcache = (bitcache << bits) | peek.read(bits);
5513 cachesz += bits;
5514 bits_left -= bits;
5522 clumpsz = pair.ptr.bits;
[all …]
H A Daac.js2750 var bits = this.info.windowSequence === ICStream.EIGHT_SHORT_SEQUENCE ? 3 : 5,
2756 escape = (1 << bits) - 1;
2768 while ((incr = stream.read(bits)) === escape)
4537 bits = info.windowSequence === 2 ? SHORT_BITS : LONG_BITS;
4540 if (this.nFilt[w] = stream.read(bits[0])) {
4549 length_w[filt] = stream.read(bits[1]);
4551 if ((order_w[filt] = stream.read(bits[2])) > 20)
/plugin/dw2pdf/vendor/mpdf/mpdf/src/
H A DCssManager.php639 if (count($bits) > 1) {
641 $v = $bits[(count($bits) - 1)];
642 $fs = $bits[(count($bits) - 2)];
950 if (count($bits) === 1) {
961 if (preg_match('/(top|bottom)/', $bits[0]) || preg_match('/(left|right)/', $bits[1])) {
962 $bg['p'] = $bits[1] . ' ' . $bits[0];
964 $bg['p'] = $bits[0] . ' ' . $bits[1];
1199 if (count($bits) == 1) {
1209 if (preg_match('/(top|bottom)/', $bits[0]) || preg_match('/(left|right)/', $bits[1])) {
1210 $bg['p'] = $bits[1] . ' ' . $bits[0];
[all …]
/plugin/quickstats/GEOIP/vendor/maxmind-db/reader/src/MaxMind/Db/Reader/
H A DDecoder.php187 private function decodeDouble($bits) argument
195 list(, $double) = unpack('d', $this->maybeSwitchByteOrder($bits));
200 private function decodeFloat($bits) argument
208 list(, $float) = unpack('f', $this->maybeSwitchByteOrder($bits));
/plugin/amcharts/assets/amcharts/plugins/export/libs/pdfmake/
H A Dpdfmake.js23407 for (bits = 0; bits <= MAX_BITS; bits++) {
23462 for (bits = max_length; bits !== 0; bits--) {
23499 for (bits = 1; bits <= MAX_BITS; bits++) {
23579 for (bits = 0; bits <= MAX_BITS; bits++) {
24833 bits = state.bits;
25181 bits -= bits & 7;
25236 bits -= bits & 7;
25853 state.bits = bits;
26026 bits = state.bits;
26258 state.bits = bits;
[all …]
/plugin/swiftmail/Swift/Plugin/
H A DFileEmbedder.php320 $bits = parse_url($url);
321 $ext = preg_replace("~^.*?\\.([^\\.]+)\$~s", "\$1", $bits["path"]);
/plugin/sqlraw/
H A Dsimple_html_dom.php819 $bits=0;
827 elseif($c >= 252) $bits=6;
828 elseif($c >= 248) $bits=5;
829 elseif($c >= 240) $bits=4;
830 elseif($c >= 224) $bits=3;
831 elseif($c >= 192) $bits=2;
833 if(($i+$bits) > $len) return false;
834 while($bits > 1)
839 $bits--;
/plugin/jcapture/lib/
H A Dcommons-codec-1.3.jar ... static final int BIT_7 private static final int[] BITS public void <init> () public byte[ ...
H A Dtransform-3.0.2.jarMETA-INF/MANIFEST.MF META-INF/HAMMURAP.SF META-INF/HAMMURAP ...
/plugin/jdraw/lib/
H A Dcommons-codec-1.3.jar ... static final int BIT_7 private static final int[] BITS public void <init> () public byte[ ...
/plugin/scrape/
H A DHTMLPurifier.standalone.php4519 $c = count($bits);
4522 if ($bits[0] !== '*') {
8534 foreach ($bits as $bit) {
8632 $bits = explode(' ', $string);
8651 foreach ($bits as $bit) {
8733 $bits = explode(' ', $string);
8736 foreach ($bits as $bit) {
9012 if ($bits[$i] === '') continue;
9043 $font_size = $bits[$i];
9432 foreach ($bits as $bit) {
[all …]

123