Home
last modified time | relevance | path

Searched refs:bytes (Results 51 – 75 of 319) sorted by relevance

12345678910>>...13

/plugin/gtime/gtlib/asn1/
H A DASN1DERDecodable.php35 * @param array $bytes V bytes DER encoding of this object's TLV
38 public function decodeDER($bytes); argument
/plugin/pureldap/vendor/freedsx/asn1/
H A DREADME.md29 # Encoded $bytes will now contain the BER binary representation of a sequence containing:
33 $bytes = Encoders::ber()->encode($asn1);
36 $bytes = Encoders::der()->encode($asn1);
51 # Assuming bytes contains the binary BER encoded sequence described in the encoding section
53 $pdu = Encoders::ber()->decode($bytes);
56 $pdu = Encoders::der()->decode($bytes);
/plugin/ipban/ip-lib/src/
H A DFactory.php37 * @param int[]|array $bytes
41 public static function addressFromBytes(array $bytes) argument
45 $result = Address\IPv4::fromBytes($bytes);
48 $result = Address\IPv6::fromBytes($bytes);
/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/src/
H A DUtils.php49 * bytes have been read.
52 * @param int $maxLen Maximum number of bytes to read. Pass -1
86 * of bytes have been read.
90 * @param int $maxLen Maximum number of bytes to read. Pass -1
107 $bytes = 0;
109 $buf = $source->read($maxLen - $bytes);
113 $bytes += $len;
115 if ($bytes == $maxLen) {
/plugin/swiftmail/Swift/Message/
H A DEncoder.php160 while (false !== $bytes = $file->read(8190))
164 $next = chunk_split($this->rawBase64Encode($bytes), $chunk, $le);
271 while (false !== $bytes = $file->readln())
273 $next = $this->rawQPEncode($bytes, true);
303 while (false !== $bytes = $file->read(8192)) $ret .= $bytes;
331 while (false !== $bytes = $file->read(8192)) $ret .= $bytes;
/plugin/jplayer/vendor/james-heinrich/getid3/getid3/
H A Dgetid3.php2033 * @param int $bytes
2039 protected function fread($bytes) { argument
2041 $this->data_string_position += $bytes;
2042 return substr($this->data_string, $this->data_string_position - $bytes, $bytes);
2044 $pos = $this->ftell() + $bytes;
2065 $bytes -= $partLength;
2072 * @param int $bytes
2083 $this->data_string_position = $bytes;
2087 $this->data_string_position += $bytes;
2096 $pos = $bytes;
[all …]
H A Dmodule.audio-video.flv.php427 public $bytes; variable in AMFStream
435 * @param string $bytes
437 public function __construct(&$bytes) { argument
438 $this->bytes =& $bytes;
446 return ord(substr($this->bytes, $this->pos++, 1));
492 $val = substr($this->bytes, $this->pos, $length);
/plugin/pgn4web/pgn4web/
H A Dpgn-encoder.js308 var bytes = ov.length + "$";
314 bytes += BitsToBytes(bits);
318 bytes += BitsToBytes(bits);
320 bytes += encodingCharSet.charAt(encodingVersion);
322 return bytes;
/plugin/swiftmail/Swift/Cache/
H A DOutputStream.php56 while (false !== $bytes = $this->read())
57 $ret .= $bytes;
/plugin/passpolicy/
H A Dhelper.php415 $bytes = $this->trueRandomBytes(4);
416 $unpack = unpack("lnum", $bytes);
433 * @param int $bytes number of bytes to get
439 protected function trueRandomBytes($bytes) argument
445 $rbytes = openssl_random_pseudo_bytes($bytes, $strong);
453 $rbytes = fread($fp, $bytes);
462 $rbytes = $CAPI_Util->GetRandom($bytes, 0);
473 if (strlen($rbytes) < $bytes) $rbytes = false;
/plugin/combo/vendor/hidehalo/nanoid-php/src/
H A DCore.php17 $bytes = $generator->random($step);
19 $byte = $bytes[$i] & $mask;
/plugin/gtime/gtlib/tsp/
H A DGTDataHash.php135 public function update($bytes) { argument
141 if (empty($bytes)) {
145 $result = hash_update($this->hashContext, GTUtil::fromByteArray($bytes));
/plugin/pureldap/vendor/freedsx/asn1/src/FreeDSx/Asn1/Encoder/
H A DCerDerTrait.php169 $bytes = '';
171 $bytes .= $child['original'];
174 return $bytes;
/plugin/jukebox/id3/
H A Dmodule.audio-video.flv.php250 var $bytes; variable in AMFStream
253 function AMFStream(&$bytes) { argument
254 $this->bytes =& $bytes;
259 return getid3_lib::BigEndian2Int(substr($this->bytes, $this->pos++, 1));
285 $val = substr($this->bytes, $this->pos, $length);
/plugin/podcast/
H A Dhelper.php85 function gethumanfilesize( $bytes, $decimals = 2 ) { argument
87 $factor = floor((strlen($bytes) - 1) / 3);
88 return sprintf("%.{$decimals}f", $bytes / pow(1024, $factor)) . @$sz[$factor];
/plugin/supa/lib/
H A DSupa.js19 this.ajax_post = function (actionUrl, bytes, fieldname_filename, filename, params) { argument
58 body += bytes + cr;
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Protocol/
H A DLdapQueue.php122 protected function unwrap($bytes): Buffer
125 return parent::unwrap($bytes);
128 return $this->messageWrapper->unwrap($bytes);
134 * The logic in the loop is to send the messages in chunks of 8192 bytes to lessen the amount of TCP writes we need
118 unwrap($bytes) global() argument
/plugin/pureldap/vendor/freedsx/socket/src/FreeDSx/Socket/Queue/
H A DAsn1MessageQueue.php58 protected function decode($bytes): Message argument
61 $asn1 = $this->encoder->decode($bytes);
/plugin/dev/
H A DSVGIcon.php187 $this->logger->info(sprintf('Minified SVG %d bytes -> %d bytes (%.2f%%)', $old, $new, $new * 100 / $old));
189 $this->logger->warning('%d bytes is still too big for standard inlineSVG() limit!');
/plugin/jcapture/lib/
H A Dcommons-codec-1.3.jarMETA-INF/MANIFEST.MF META-INF/HAMMURAP.SF META-INF/HAMMURAP ...
/plugin/jdraw/lib/
H A Dcommons-codec-1.3.jarMETA-INF/MANIFEST.MF META-INF/HAMMURAP.SF META-INF/HAMMURAP ...
/plugin/freechat/phpfreechat/src/
H A Dpfctools.php413 $bytes = 0;
414 if (($bytes = @fwrite($fh, $content)) === false) {
426 if ($bytes != $length) {
428 $bytes,
435 return $bytes;
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/
H A DEngine.php256 $bytes = $temp->toBytes();
258 if (!strlen($bytes)) { // eg. if the number we're trying to convert is -1
259 $bytes = chr(0);
262 if (ord($bytes[0]) & 0x80) {
263 $bytes = chr(0) . $bytes;
266 return $comparison < 0 ? ~$bytes : $bytes;
592 $bytes = $bits >> 3;
593 $min = str_repeat(chr(0), $bytes);
594 $max = str_repeat(chr(0xFF), $bytes);
/plugin/upgrade/vendor/splitbrain/php-archive/src/
H A DTar.php354 * consists of two 512 blocks of zero bytes"
436 * @param int $length bytes to read
455 * @return int number of bytes written
480 * @param int $bytes seek to this position
482 protected function skipbytes($bytes) argument
485 @gzseek($this->fh, $bytes, SEEK_CUR);
489 while($bytes) {
490 $toread = min(8192, $bytes);
492 $bytes -= $toread;
495 @fseek($this->fh, $bytes, SEEK_CU
[all...]
/plugin/swiftmail/Swift/
H A DFile.php167 public function read($bytes, $unquote=true) argument
173 $ret = fread($this->handle, $bytes);

12345678910>>...13