Home
last modified time | relevance | path

Searched refs:nbytes (Results 1 – 6 of 6) sorted by relevance

/plugin/fedauth/Auth/OpenID/
H A DBigMath.php150 list($duplicate, $nbytes) = $duplicate_cache[$rbytes];
153 $nbytes = Auth_OpenID::bytes($rbytes) - 1;
155 $nbytes = Auth_OpenID::bytes($rbytes);
158 $mxrand = $this->pow(256, $nbytes);
168 $duplicate_cache[$rbytes] = array($duplicate, $nbytes);
172 $bytes = "\x00" . Auth_OpenID_CryptUtil::getBytes($nbytes);
/plugin/openid/Auth/OpenID/
H A DBigMath.php146 list($duplicate, $nbytes) = $duplicate_cache[$rbytes];
149 $nbytes = Auth_OpenID::bytes($rbytes) - 1;
151 $nbytes = Auth_OpenID::bytes($rbytes);
154 $mxrand = $this->pow(256, $nbytes);
164 $duplicate_cache[$rbytes] = [$duplicate, $nbytes];
168 $bytes = "\x00" . Auth_OpenID_CryptUtil::getBytes($nbytes);
/plugin/upgrade/HTTP/
H A DHTTPClient.php603 $nbytes = fwrite($socket, substr($data,$written,4096));
604 if($nbytes === false)
606 $written += $nbytes;
617 * @param int $nbytes Number of bytes to read
625 protected function readData($socket, $nbytes, $message, $ignore_eof = false) { argument
628 if ($nbytes < 0) $nbytes = 0;
629 $to_read = $nbytes;
659 } while ($to_read > 0 && strlen($r_data) < $nbytes);
/plugin/elwikiupgrade/
H A DHTTPClient.php593 $nbytes = fwrite($socket, substr($data,$written,4096));
594 if($nbytes === false)
596 $written += $nbytes;
607 * @param int $nbytes Number of bytes to read
615 function _readData($socket, $nbytes, $message, $ignore_eof = false) { argument
618 if ($nbytes < 0) $nbytes = 0;
619 $to_read = $nbytes;
649 } while ($to_read > 0 && strlen($r_data) < $nbytes);
/plugin/dokucrypt/
H A Dscript.js1111 this.nbytes = 0; // Bytes left in buffer
1145 this.nbytes = 32;
1151 if (this.nbytes <= 0) {
1154 return(this.key[--this.nbytes]);
1159 var i, w = 0, nbytes = Math.floor((n + 7) / 8);
1161 for (i = 0; i < nbytes; i++) {
/plugin/dokucrypt2/
H A Dscript.js1183 this.nbytes = 0; // Bytes left in buffer
1217 this.nbytes = 32;
1223 if (this.nbytes <= 0) {
1226 return(this.key[--this.nbytes]);
1231 var i, w = 0, nbytes = Math.floor((n + 7) / 8);
1233 for (i = 0; i < nbytes; i++) {