| /plugin/nspages/printers/ |
| D | printerNice.php | 99 if (ord($c[0]) >=0 && ord($c[0]) <= 127) 100 return ord($c[0]); 101 if (ord($c[0]) >= 192 && ord($c[0]) <= 223) 102 return (ord($c[0])-192)*64 + (ord($c[1])-128); 103 if (ord($c[0]) >= 224 && ord($c[0]) <= 239) 104 return (ord($c[0])-224)*4096 + (ord($c[1])-128)*64 + (ord($c[2])-128); 105 if (ord($c[0]) >= 240 && ord($c[0]) <= 247) 106 … return (ord($c[0])-240)*262144 + (ord($c[1])-128)*4096 + (ord($c[2])-128)*64 + (ord($c[3])-128); 107 if (ord($c[0]) >= 248 && ord($c[0]) <= 251) 108 …return (ord($c[0])-248)*16777216 + (ord($c[1])-128)*262144 + (ord($c[2])-128)*4096 + (ord($c[3])-1… [all …]
|
| /plugin/dw2pdf/vendor/mpdf/mpdf/src/Color/ |
| D | ColorConverter.php | 78 …list($h, $s, $l) = $this->colorModeConverter->rgb2hsl(ord($c[1]) / 255, ord($c[2]) / 255, ord($c[3… 83 …$ret = [4, max(0, ord($c[1]) - 20), max(0, ord($c[2]) - 20), max(0, ord($c[3]) - 20), max(0, ord($… 85 $ret = [1, min(255, ord($c[1]) + 32)]; 107 …list($h, $s, $l) = $this->colorModeConverter->rgb2hsl(ord($c[1]) / 255, ord($c[2]) / 255, ord($c[3… 113 …$ret = [4, min(100, ord($c[1]) + 20), min(100, ord($c[2]) + 20), min(100, ord($c[3]) + 20), min(10… 115 $ret = [1, max(0, ord($c[1]) - 32)]; 132 return [3, 255 - ord($c[1]), 255 - ord($c[2]), 255 - ord($c[3])]; 136 return [4, 100 - ord($c[1]), 100 - ord($c[2]), 100 - ord($c[3]), 100 - ord($c[4])]; 140 return [1, 255 - ord($c[1])]; 155 return 'rgb(' . ord($c[1]) . ', ' . ord($c[1]) . ', ' . ord($c[1]) . ')'; [all …]
|
| /plugin/html2pdf/html2pdf/html2ps/ |
| D | encoding.inc.php | 19 if ((ord($utf8{0}) & 0xF0) == 0xF0) { 22 ((ord($utf8{0}) & 0x07) << 18) | 23 ((ord($utf8{1}) & 0x3F) << 12) | 24 ((ord($utf8{2}) & 0x3F) << 6) | 25 (ord($utf8{3}) & 0x3F); 26 } elseif ((ord($utf8{0}) & 0xE0) === 0xE0) { 29 ((ord($utf8{0}) & 0x0F) << 12) | 30 ((ord($utf8{1}) & 0x3F) << 6) | 31 (ord($utf8{2}) & 0x3F); 32 } elseif ((ord($utf8{0}) & 0xC0) === 0xC0) { [all …]
|
| /plugin/dpicorrect/ |
| D | action.php | 91 $unit = ord(substr($string, $pos, 1)); 92 $x = (ord(substr($string, $pos+1, 1)) << 8) + ord(substr($string, $pos+2, 1)); 93 $y = (ord(substr($string, $pos+3, 1)) << 8) + ord(substr($string, $pos+4, 1)); 120 …$b1 = ord(fread($a,1)) << 24; $b2 = ord(fread($a,1)) << 16; $b3 = ord(fread($a,1)) << 8; $b4 = ord… 128 …$b1 = ord(fread($a,1)) << 24; $b2 = ord(fread($a,1)) << 16; $b3 = ord(fread($a,1)) << 8; $b4 = ord… 130 …$b1 = ord(fread($a,1)) << 24; $b2 = ord(fread($a,1)) << 16; $b3 = ord(fread($a,1)) << 8; $b4 = ord… 132 $unit = ord(fread($a,1));
|
| /plugin/jplayer/vendor/james-heinrich/getid3/getid3/ |
| D | module.graphic.pcd.php | 38 $PCDisVertical = ((ord($PCDflags) & 0x01) ? true : false); 82 …PCD_width - $x][$y] = $this->YCbCr2RGB(ord($PCD_data_Y1[$x]), ord($PCD_data_Cb[(int) floor($x … 83 …PCD_width - $x][$y + 1] = $this->YCbCr2RGB(ord($PCD_data_Y2[$x]), ord($PCD_data_Cb[(int) floor($x … 85 …y][$x] = $this->YCbCr2RGB(ord($PCD_data_Y1[$x]), ord($PCD_data_Cb[(int) floor($x … 86 …y + 1][$x] = $this->YCbCr2RGB(ord($PCD_data_Y2[$x]), ord($PCD_data_Cb[(int) floor($x …
|
| D | getid3.lib.php | 29 $returnstring .= str_pad(dechex(ord($string[$i])), 2, '0', STR_PAD_LEFT); 343 $intvalue += (ord($byteword[$i]) & 0x7F) * pow(2, ($bytewordlen - 1 - $i) * 7); 345 $intvalue += ord($byteword[$i]) * pow(256, ($bytewordlen - 1 - $i)); 390 $binvalue .= str_pad(decbin(ord($byteword[$i])), 8, '0', STR_PAD_LEFT); 868 $charval = ord($string[$i]); 939 if ((ord($string[$offset]) | 0x07) == 0xF7) { 941 $charval = ((ord($string[($offset + 0)]) & 0x07) << 18) & 942 ((ord($string[($offset + 1)]) & 0x3F) << 12) & 943 ((ord($string[($offset + 2)]) & 0x3F) << 6) & 944 (ord($string[($offset + 3)]) & 0x3F); [all …]
|
| D | module.audio.midi.php | 117 $deltatimebyte = ord(substr($trackdata, $eventsoffset++, 1)); 128 …$MIDI_event_channel = ord(substr($trackdata, $eventsoffset++, 1)); 141 $notenumber = ord(substr($trackdata, $eventsoffset++, 1)); 142 $velocity = ord(substr($trackdata, $eventsoffset++, 1)); 146 $notenumber = ord(substr($trackdata, $eventsoffset++, 1)); 147 $velocity = ord(substr($trackdata, $eventsoffset++, 1)); 151 $notenumber = ord(substr($trackdata, $eventsoffset++, 1)); 152 $velocity = ord(substr($trackdata, $eventsoffset++, 1)); 156 $controllernum = ord(substr($trackdata, $eventsoffset++, 1)); 157 $newvalue = ord(substr($trackdata, $eventsoffset++, 1)); [all …]
|
| D | module.archive.gzip.php | 70 if (!$this->get_os_type(ord($attr['os']))) { 97 $thisInfo['raw']['id1'] = ord($attr['cmethod']); 98 $thisInfo['raw']['id2'] = ord($attr['cmethod']); 99 $thisInfo['raw']['cmethod'] = ord($attr['cmethod']); 100 $thisInfo['raw']['os'] = ord($attr['os']); 101 $thisInfo['raw']['xflags'] = ord($attr['xflags']); 102 $thisInfo['raw']['flags'] = ord($attr['flags']); 138 $si1 = ord(substr($buff, $fpointer + $idx++, 1)); 139 $si2 = ord(substr($buff, $fpointer + $idx++, 1)); 161 if (ord($buff[$fpointer]) == 0) { [all …]
|
| D | module.tag.id3v2.php | 65 $thisfile_id3v2['majorversion'] = ord($header[3]); 66 $thisfile_id3v2['minorversion'] = ord($header[4]); 85 $id3_flags = ord($header[5]); 440 $thisfile_id3v2['majorversion_footer'] = ord($footer[3]); 441 $thisfile_id3v2['minorversion_footer'] = ord($footer[4]); 444 $id3_flags = ord($footer[5]); 675 $frame_textencoding = ord(substr($parsedFrame['data'], $frame_offset++, 1)); 682 …if (ord(substr($parsedFrame['data'], $frame_terminatorpos + strlen($frame_textencoding_terminator)… 712 $frame_textencoding = ord(substr($parsedFrame['data'], $frame_offset++, 1)); 767 $frame_textencoding = ord(substr($parsedFrame['data'], $frame_offset++, 1)); [all …]
|
| /plugin/dw2pdf/vendor/mpdf/mpdf/src/Writer/ |
| D | BaseWriter.php | 159 $ord = ord($s[$count]); 160 if ($ord >= ord('0') && $ord <= ord('9')) { 162 $ord = ord($s[$count + 1]); 163 if ($ord >= ord('0') && $ord <= ord('9')) { 165 $ord = ord($s[$count + 1]); 166 if ($ord >= ord('0') && $ord <= ord('9')) {
|
| /plugin/freechat/phpfreechat/lib/json/ |
| D | JSON.php | 156 $bytes = (ord($utf16{0}) << 8) | ord($utf16{1}); 209 return chr(0x07 & (ord($utf8{0}) >> 2)) 210 . chr((0xC0 & (ord($utf8{0}) << 6)) 211 | (0x3F & ord($utf8{1}))); 216 return chr((0xF0 & (ord($utf8{0}) << 4)) 217 | (0x0F & (ord($utf8{1}) >> 2))) 218 . chr((0xC0 & (ord($utf8{1}) << 6)) 219 | (0x7F & ord($utf8{2}))); 264 $ord_var_c = ord($var{$c}); 298 $char = pack('C*', $ord_var_c, ord($var{$c + 1})); [all …]
|
| /plugin/jukebox/id3/ |
| D | getid3.lib.php | 21 $returnstring .= str_pad(dechex(ord($string{$i})), 2, '0', STR_PAD_LEFT); 242 $intvalue = $intvalue | (ord($byteword{$i}) & 0x7F) << (($bytewordlen - 1 - $i) * 7); 244 $intvalue += ord($byteword{$i}) * pow(256, ($bytewordlen - 1 - $i)); 278 $binvalue .= str_pad(decbin(ord($byteword{$i})), 8, '0', STR_PAD_LEFT); 708 $charval = ord($string{$i}); 753 if ((ord($string{$offset}) | 0x07) == 0xF7) { 755 $charval = ((ord($string{($offset + 0)}) & 0x07) << 18) & 756 ((ord($string{($offset + 1)}) & 0x3F) << 12) & 757 ((ord($string{($offset + 2)}) & 0x3F) << 6) & 758 (ord($string{($offset + 3)}) & 0x3F); [all …]
|
| D | module.tag.id3v2.php | 55 $thisfile_id3v2['majorversion'] = ord($header{3}); 56 $thisfile_id3v2['minorversion'] = ord($header{4}); 75 $id3_flags = ord($header{5}); 403 $thisfile_id3v2['majorversion_footer'] = ord($footer{3}); 404 $thisfile_id3v2['minorversion_footer'] = ord($footer{4}); 407 $id3_flags = ord(substr($footer{5})); 600 $frame_textencoding = ord(substr($parsedFrame['data'], $frame_offset++, 1)); 606 …if (ord(substr($parsedFrame['data'], $frame_terminatorpos + strlen($this->TextEncodingTerminatorLo… 610 if (ord($frame_description) === 0) { 632 $frame_textencoding = ord(substr($parsedFrame['data'], $frame_offset++, 1)); [all …]
|
| /plugin/authradius/ |
| D | des.php | 204 $sAddress = ord($ek[$offset]) * 0x20 + 205 ord($ek[$offset + 1]) * 0x08 + 206 ord($ek[$offset + 2]) * 0x04 + 207 ord($ek[$offset + 3]) * 0x02 + 208 ord($ek[$offset + 4]) + 209 ord($ek[$offset + 5]) * 0x10; 220 $val = ord($bitStream[$i]); 236 $value = ord($byteStream[$offset]) * 0x80 + 237 ord($byteStream[$offset + 1]) * 0x40 + 238 ord($byteStream[$offset + 2]) * 0x20 + [all …]
|
| /plugin/aichat/vendor/mehrab-wj/tiktoken-php/src/ |
| D | Encoder.php | 114 $firstCharacterCode = ord($characters[0]); 121 return ($firstCharacterCode - 192) * 64 + (ord($characters[1]) - 128); 125 …return ($firstCharacterCode - 224) * 4096 + (ord($characters[1]) - 128) * 64 + (ord($characters[2]… 129 …$firstCharacterCode - 240) * 262144 + (ord($characters[1]) - 128) * 4096 + (ord($characters[2]) - … 133 …8) * 16_777_216 + (ord($characters[1]) - 128) * 262144 + (ord($characters[2]) - 128) * 4096 + (ord… 137 …ord($characters[1]) - 128) * 16_777_216 + (ord($characters[2]) - 128) * 262144 + (ord($characters[…
|
| /plugin/dw2pdf/vendor/mpdf/mpdf/src/Image/ |
| D | Bmp.php | 105 $n = (ord($str[$y0 + 2 * $x + 1]) * 256 + ord($str[$y0 + 2 * $x])); 116 $n = (ord($str[$y0 + 2 * $x + 1]) * 256 + ord($str[$y0 + 2 * $x])); 170 return (ord($s[3]) << 24) + (ord($s[2]) << 16) + (ord($s[1]) << 8) + ord($s[0]); 181 return (ord(substr($s, 1, 1)) << 8) + ord(substr($s, 0, 1)); 198 $o = ord($str[$i]); 201 switch (ord($str[$i])) { 218 $num = ord($str[$i]); 248 $o = ord($str[$i]); 251 switch (ord($str[$i])) { 266 $num = ord($str[$i]); [all …]
|
| /plugin/openid/Auth/OpenID/ |
| D | URINorm.php | 48 for ($i = ord('A'); $i <= ord('Z'); $i++) { 52 for ($i = ord('0'); $i <= ord('9'); $i++) { 56 for ($i = ord('a'); $i <= ord('z'); $i++) { 60 $_unreserved[ord('-')] = true; 61 $_unreserved[ord('.')] = true; 62 $_unreserved[ord('_')] = true; 63 $_unreserved[ord('~')] = true; 96 if($code === 0xA || $code === 0xD || $code === ord(' '))
|
| /plugin/fedauth/Auth/OpenID/ |
| D | URINorm.php | 48 for ($i = ord('A'); $i <= ord('Z'); $i++) { 52 for ($i = ord('0'); $i <= ord('9'); $i++) { 56 for ($i = ord('a'); $i <= ord('z'); $i++) { 60 $_unreserved[ord('-')] = true; 61 $_unreserved[ord('.')] = true; 62 $_unreserved[ord('_')] = true; 63 $_unreserved[ord('~')] = true;
|
| /plugin/dw2pdf/vendor/mpdf/mpdf/src/Gif/ |
| D | Image.php | 54 $b = ord($data[0]); 104 $b = ord($data[0]); 110 $b = ord($data[1]); 115 $this->m_nTrans = ord($data[4]); 119 $this->m_lpComm = substr($data, 1, ord($data[0])); 130 $b = ord($data[0]); 136 $b = ord($data[0]); 145 return ord(substr($str, 0, 1)) + (ord(substr($str, 1, 1)) << 8);
|
| D | FileHeader.php | 70 $b = ord(substr($lpData, 10, 1)); 75 $this->m_nBgColor = ord(substr($lpData, 11, 1)); 76 $this->m_nPixelRatio = ord(substr($lpData, 12, 1)); 92 return ord(substr($str, 0, 1)) + (ord(substr($str, 1, 1)) << 8);
|
| /plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Util/ |
| D | String.php | 40 if (ord($string[$i]) < 0x80) { 42 } elseif ((ord($string[$i]) & 0xE0) == 0xC0) { 44 } elseif ((ord($string[$i]) & 0xF0) == 0xE0) { 46 } elseif ((ord($string[$i]) & 0xF0) == 0xF0) { 53 if ((++$i == $length) || ((ord($string[$i]) & 0xC0) != 0x80)) {
|
| /plugin/highlight2wiki/ |
| D | action.php | 364 $crc = $crc64tab[($crc ^ ord($string[$i])) & 0xff] ^ (($crc >> 8) & ~(0xff << 56)); 378 $ord = ord($str[$i]); 379 if ($ord < 0x80) continue; // 0bbbbbbb 380 elseif (($ord & 0xE0) === 0xC0 && $ord > 0xC1) $n = 1; // 110bbbbb (exkl C0-C1) 381 elseif (($ord & 0xF0) === 0xE0) $n = 2; // 1110bbbb 382 elseif (($ord & 0xF8) === 0xF0 && $ord < 0xF5) $n = 3; // 11110bbb (exkl F5-FF) 385 if (++$i === $strlen || (ord($str[$i]) & 0xC0) !== 0x80)
|
| /plugin/plantumlparser/syntax/ |
| D | PlantUmlDiagram.php | 88 … $str .= $this->append3bytes(ord(substr($c, $i, 1)), ord(substr($c, $i+1, 1)), 0); 90 $str .= $this->append3bytes(ord(substr($c, $i, 1)), 0, 0); 92 … $str .= $this->append3bytes(ord(substr($c, $i, 1)), ord(substr($c, $i+1, 1)), 93 ord(substr($c, $i+2, 1)));
|
| /plugin/barcodes/vendor/jucksearm/php-barcode/lib/ |
| D | QRcode.php | 652 $frameLine[$i] = (ord($frameLine[$i])&1)?'1':'0'; 754 return ord($this->frame[$at['y']][$at['x']]); 804 } while(ord($this->frame[$y][$x]) & 0x80); 1026 if (ord($frame[$y][$x]) & 0x80) { 1057 $d[$y][$x] = chr(ord($s[$y][$x]) ^ ((int)($bitMask[$y][$x]))); 1059 $b += (int)(ord($d[$y][$x]) & 1); 1128 $b22 = ord($frameY[$x]) & ord($frameY[$x-1]) & ord($frameYM[$x]) & ord($frameYM[$x-1]); 1129 $w22 = ord($frameY[$x]) | ord($frameY[$x-1]) | ord($frameYM[$x]) | ord($frameYM[$x-1]); 1134 if (($x == 0) AND (ord($frameY[$x]) & 1)) { 1139 if ((ord($frameY[$x]) ^ ord($frameY[$x-1])) & 1) { [all …]
|
| /plugin/authwordpress/ |
| H A D | class-phpass.php | 99 $value = ord($input[$i++]); 102 $value |= ord($input[$i]) << 8; 109 $value |= ord($input[$i]) << 16; 186 $output .= chr((int)(ord('0') + $this->iteration_count_log2 / 10)); 187 $output .= chr(ord('0') + $this->iteration_count_log2 % 10); 192 $c1 = ord($input[$i++]); 200 $c2 = ord($input[$i++]); 205 $c2 = ord($input[$i++]);
|