Home
last modified time | relevance | path

Searched refs:byte (Results 1 – 25 of 114) sorted by relevance

12345

/plugin/gtime/gtlib/asn1/
DASN1BitString.php75 foreach (str_split($this->value, 8) as $byte) {
77 while (strlen($byte) < 8) {
78 $byte = '0' . $byte;
82 $this->append($bytes, bindec($byte));
111 $byte = $this->readByte($bytes);
112 $byte = decbin($byte);
114 while (strlen($byte) < 8) {
115 $byte = '0' . $byte;
118 $this->value .= $byte;
DASN1DER.php72 $byte = $length >> $i;
73 $byte = $byte & 0xFF;
75 array_push($bytes, $byte);
200 $byte = array_shift($bytes);
202 $bit8 = ($byte >> 7) & 0x1;
203 $bit7 = ($byte >> 6) & 0x1;
204 $bit6 = ($byte >> 5) & 0x1;
242 $byte = $byte & 0x1F; // clear tags: 000x xxxx
244 if ($byte == 0x1F) {
252 switch ($byte) {
[all …]
DASN1IA5String.php43 $byte = ord($value{$i});
45 if ($byte < 0 || $byte > 127) {
46 throw new GTException("Invalid value in IA5String: {$byte}");
DASN1Boolean.php98 $byte = $this->readByte($bytes);
100 if ($byte == 0xFF) {
103 } else if ($byte == 0x0) {
107 … throw new GTException("Invalid byte encoding for ASN1Boolean: " . GTBase16::encode(array($byte)));
DASN1ObjectId.php155 $byte = $bytes[$i];
158 $current = $current->bitOr(new GTBigInteger($byte & 0x7F));
160 if (($byte & 0x80) != 0) {
/plugin/dw2pdf/vendor/setasign/fpdi/src/PdfParser/
DTokenizer.php81 if (($byte = $this->streamReader->readByte()) === false) {
85 if ($byte === "\x20" ||
86 $byte === "\x0A" ||
87 $byte === "\x0D" ||
88 $byte === "\x0C" ||
89 $byte === "\x09" ||
90 $byte === "\x00"
95 $byte = $this->streamReader->readByte();
98 switch ($byte) {
108 return $byte;
/plugin/gtime/gtlib/tsp/
DGTHashEntry.php72 foreach ($imprint2 as $byte) {
73 array_push($output, $byte);
76 foreach ($imprint1 as $byte) {
77 array_push($output, $byte);
82 foreach ($imprint1 as $byte) {
83 array_push($output, $byte);
86 foreach ($imprint2 as $byte) {
87 array_push($output, $byte);
DGTDataHash.php290 foreach ($this->hashedMessage as $byte) {
291 array_push($result, $byte);
/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/src/
DCachingStream.php47 $byte = $offset;
49 $byte = $offset + $this->tell();
55 if ($byte > $this->stream->getSize()) {
58 $byte,
60 . ' contains %d bytes', $byte, $this->stream->getSize())
64 return $this->stream->seek($byte);
DUtils.php169 if (false === ($byte = $stream->read(1))) {
172 $buffer .= $byte;
/plugin/authgooglesheets/vendor/guzzlehttp/psr7/src/
DCachingStream.php56 $byte = $offset;
58 $byte = $offset + $this->tell();
64 $byte = $size + $offset;
69 $diff = $byte - $this->stream->getSize();
76 $diff = $byte - $this->stream->getSize();
80 $this->stream->seek($byte);
DUtils.php254 if (null == ($byte = $stream->read(1))) {
257 $buffer .= $byte;
259 if ($byte === "\n" || ++$size === $maxLength - 1) {
/plugin/authgooglesheets/vendor/symfony/polyfill-intl-idn/
DIdn.php802 $byte = \ord($input[$i]);
805 if ($byte >= 0x00 && $byte <= 0x7F) {
806 $codePoints[] = $byte;
811 if ($byte >= 0xC2 && $byte <= 0xDF) {
813 $codePoint = $byte & 0x1F;
814 } elseif ($byte >= 0xE0 && $byte <= 0xEF) {
815 if (0xE0 === $byte) {
817 } elseif (0xED === $byte) {
822 $codePoint = $byte & 0xF;
823 } elseif ($byte >= 0xF0 && $byte <= 0xF4) {
[all …]
/plugin/matrixnotifierwas/vendor/guzzlehttp/psr7/src/
DCachingStream.php61 $byte = $offset;
63 $byte = $offset + $this->tell();
69 $byte = $size + $offset;
74 $diff = $byte - $this->stream->getSize();
81 $diff = $byte - $this->stream->getSize();
85 $this->stream->seek($byte);
/plugin/gtime/gtlib/util/
DGTBigInteger.php290 foreach ($this->toBytes() as $byte) {
291 array_push($result, ~$byte & 0xFF);
392 foreach ($this->toBytes() as $byte) {
394 $byte = decbin($byte);
396 while (strlen($byte) % 8 != 0) {
397 $byte = '0' . $byte;
400 $result .= $byte;
/plugin/ipban/ip-lib/src/Address/
DIPv4.php113 function ($byte) {
114 return (is_int($byte) && $byte >= 0 && $byte <= 255) ? (string) $byte : false;
284 foreach ($this->getBytes() as $byte) {
285 $chunks[] = sprintf('%03d', $byte);
DIPv6.php169 $byte = $bytes[$i];
170 if (is_int($byte) && $byte >= 0 && $byte <= 255) {
171 $address .= sprintf('%02x', $byte);
/plugin/combo/vendor/hidehalo/nanoid-php/src/
H A DCore.php19 $byte = $bytes[$i] & $mask;
20 if (isset($alphabet[$byte])) {
21 $id .= $alphabet[$byte];
/plugin/linkback/
Dhttp.php219 $byte = fread($socket, 1);
220 $chunk_size .= $byte;
221 } while (preg_match('/[a-zA-Z0-9]/', $byte)); // read chunksize including \r
223 $byte = fread($socket, 1); // readtrailing \n
228 $byte = fread($socket, 2); // read trailing \r\n
/plugin/fedauth/Auth/OpenID/
DBigMath.php70 foreach ($bytes as $byte) {
71 $string .= pack('C', $byte);
104 foreach ($bytes as $byte) {
106 $n = $this->add($n, $byte);
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Barcode/
DImb.php237 for ($byte = 1; $byte < 13; ++$byte) {
238 $data = hexdec($codeArray[$byte]) << 3;
/plugin/gtime/gtlib/asn1/gt/
DGTPublishedData.php121 foreach ($this->publicationImprint as $byte) {
122 array_push($bytes, $byte);
/plugin/openid/Auth/OpenID/
DBigMath.php70 foreach ($bytes as $byte) {
71 $string .= pack('C', $byte);
104 foreach ($bytes as $byte) {
106 $n = $this->add($n, $byte);
/plugin/twofactorgoogleauth/
DQRCode.php153 $byte = 0;
154 if ($code[$i + 0]) $byte |= 0x80;
155 if ($code[$i + 1]) $byte |= 0x40;
156 if ($code[$i + 2]) $byte |= 0x20;
157 if ($code[$i + 3]) $byte |= 0x10;
158 if ($code[$i + 4]) $byte |= 0x08;
159 if ($code[$i + 5]) $byte |= 0x04;
160 if ($code[$i + 6]) $byte |= 0x02;
161 if ($code[$i + 7]) $byte |= 0x01;
162 $data[] = $byte;
/plugin/pureldap/vendor/freedsx/asn1/
H A DCHANGELOG.md24 * Fix the encoding / decoding of OIDs when the first / second component is more than one byte (foun…
38 * Added a 'getLastPosition' method for encoders. Returns the last position in the byte stream the d…

12345