Home
last modified time | relevance | path

Searched refs:ord (Results 1 – 25 of 242) sorted by relevance

12345678910

/plugin/nspages/printers/
H A DprinterNice.php99 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(
[all...]
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Color/
H A DColorConverter.php78 list($h, $s, $l) = $this->colorModeConverter->rgb2hsl(ord($c[1]) / 255, ord($c[2]) / 255, ord($c[3]) / 255);
83 $ret = [4, max(0, ord($c[1]) - 20), max(0, ord($c[2]) - 20), max(0, ord($c[3]) - 20), max(0, ord($c[4]) - 20)];
85 $ret = [1, min(255, ord($c[1]) + 32)];
107 list($h, $s, $l) = $this->colorModeConverter->rgb2hsl(ord($c[1]) / 255, ord(
[all...]
/plugin/html2pdf/html2pdf/html2ps/
H A Dencoding.inc.php19 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);
29 ((ord($utf8{0}) & 0x0F) << 12) |
30 ((ord($utf8{1}) & 0x3F) << 6) |
31 (ord($utf8{2}) & 0x3F);
36 ((ord($utf8{0}) & 0x1F) << 6) |
37 (ord($utf8{1}) & 0x3F);
[all …]
/plugin/dpicorrect/
H A Daction.php91 $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/
H A Dmodule.graphic.pcd.php38 $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 …
H A Dgetid3.lib.php868 $charval = ord($string[$i]);
944 (ord($string[($offset + 3)]) & 0x3F);
950 (ord($string[($offset + 2)]) & 0x3F);
955 (ord($string[($offset + 1)]) & 0x3F);
959 $charval = ord($string[$offset]);
994 (ord($string[($offset + 3)]) & 0x3F);
1000 (ord($string[($offset + 2)]) & 0x3F);
1005 (ord($string[($offset + 1)]) & 0x3F);
1009 $charval = ord($string[$offset]);
1059 $charval = ord($string[$offset]);
[all …]
H A Dmodule.audio.midi.php117 $deltatimebyte = 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));
176 $changeLSB = ord(substr($trackdata, $eventsoffset++, 1));
[all …]
H A Dmodule.archive.gzip.php70 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 …]
H A Dmodule.tag.id3v2.php85 $id3_flags = ord($header[5]);
444 $id3_flags = ord($footer[5]);
1145 if (ord($frame_idstring) === 0) {
1276 if (ord($frame_idstring) === 0) {
1514 if (ord($frame_mimetype) === 0) {
1524 if (ord($frame_filename) === 0) {
1634 if (ord($frame_ownerid) === 0) {
1668 if (ord($frame_url) === 0) {
1846 if (ord($frame_ownerid) === 0) {
1869 if (ord($frame_ownerid) === 0) {
[all …]
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Writer/
H A DBaseWriter.php159 $ord = ord($s[$count]);
160 if ($ord >= ord('0') && $ord <= ord('9')) {
162 $ord = ord($s[$count + 1]);
163 if ($ord >= ord('
[all...]
/plugin/freechat/phpfreechat/lib/json/
H A DJSON.php156 $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});
308 ord($var{$c + 1}),
[all …]
/plugin/authradius/
H A Ddes.php204 $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]);
237 ord($byteStream[$offset + 1]) * 0x40 +
238 ord($byteStream[$offset + 2]) * 0x20 +
239 ord($byteStream[$offset + 3]) * 0x10 +
[all …]
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/src/
H A DEncoder.php114 $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]) - 128);
129 return ($firstCharacterCode - 240) * 262144 + (ord($characters[1]) - 128) * 4096 + (ord($characters[2]) - 128) * 64 + (ord($characters[3]) - 128);
133 return ($firstCharacterCode - 248) * 16_777_216 + (ord($characters[1]) - 128) * 262144 + (ord($characters[2]) - 128) * 4096 + (ord(
[all...]
/plugin/jukebox/id3/
H A Dgetid3.lib.php708 $charval = ord($string{$i});
753 if ((ord($string{$offset}) | 0x07) == 0xF7) {
773 $charval = ord($string{$offset});
796 if ((ord($string{$offset}) | 0x07) == 0xF7) {
816 $charval = ord($string{$offset});
839 if ((ord($string{$offset}) | 0x07) == 0xF7) {
859 $charval = ord($string{$offset});
1043 $char_ord_val = ord($string{$i});
1051 $charval += (ord($string{++$i}) & 0x3F);
1055 $charval += (ord($string{++$i}) & 0x3F);
[all …]
H A Dmodule.tag.id3v2.php75 $id3_flags = ord($header{5});
991 if (ord($frame_idstring) === 0) {
1116 if (ord($frame_idstring) === 0) {
1233 if (ord($frame_mimetype) === 0) {
1293 if (ord($frame_mimetype) === 0) {
1303 if (ord($frame_filename) === 0) {
1419 if (ord($frame_ownerid) === 0) {
1453 if (ord($frame_url) === 0) {
1630 if (ord($frame_ownerid) === 0) {
1653 if (ord($frame_ownerid) === 0) {
[all …]
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Image/
H A DBmp.php105 $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(subst
[all...]
/plugin/openid/Auth/OpenID/
H A DURINorm.php48 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/
H A DURINorm.php48 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/findologicxmlexport/vendor/phpunit/phpunit/src/Util/
H A DString.php40 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/dw2pdf/vendor/mpdf/mpdf/src/Gif/
H A DImage.php54 $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);
H A DFileHeader.php70 $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/highlight2wiki/
H A Daction.php364 $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(
[all...]
/plugin/plantumlparser/syntax/
H A DPlantUmlDiagram.php88 $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/
H A DQRcode.php1128 $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]);
1139 if ((ord($frameY[$x]) ^ ord($frameY[$x-1])) & 1) {
1224 return ((ord($str[$pos]) >= ord('0'))&&(ord($str[$pos]) <= ord('9')));
1257 $word = (ord($c) << 8) | ord($d);
1450 if ((ord($this->dataStr[$p]) >= ord('a')) AND (ord($this->dataStr[$p]) <= ord('z'))) {
1502 $val += (ord($inputitem['data'][$i*3+2]) - ord('0'));
1506 $val = ord($inputitem['data'][$words*3]) - ord('0');
1510 $val += (ord($inputitem['data'][$words*3+1]) - ord('0'));
1708 if ((ord($data[$i]) < ord('0')) OR (ord($data[$i]) > ord('9'))){
[all …]
/plugin/authwordpress/
H A Dclass-phpass.php93 $value = ord($input[$i++]);
96 $value |= ord($input[$i]) << 8;
101 $value |= ord($input[$i]) << 16;
197 $output .= chr(ord('0') + $this->iteration_count_log2 / 10);
198 $output .= chr(ord('0') + $this->iteration_count_log2 % 10);
203 $c1 = ord($input[$i++]);
211 $c2 = ord($input[$i++]);
216 $c2 = ord($input[$i++]);

12345678910