Home
last modified time | relevance | path

Searched +full:- +full:r (Results 1 – 25 of 206) sorted by relevance

123456789

/dokuwiki/_test/tests/inc/parser/
H A Drenderer_xhtml.test.php10 protected $R; variable in renderer_xhtml_test
19 $this->R = new Doku_Renderer_xhtml();
23 unset($this->R);
27 $this->R->table_open();
30 $this->assertEquals($expected, $this->R->doc);
34 $this->R->table_open(4);
37 $this->assertEquals($expected, $this->R->doc);
41 $this->R->table_open(4, 4);
44 $this->assertEquals($expected, $this->R->doc);
48 $this->R->table_open(4, 4, 100);
[all …]
H A Drenderer_metadata.test.php8 protected $R; variable in renderer_metadata_test
17 $this->R = new Doku_Renderer_metadata();
21 unset($this->R);
28 $this->R->persistent['date']['created'] = $now;
29 $this->R->persistent['date']['modified'] = $now;
31 $this->R->document_start();
33 $this->R->cdata("abstract: ");
35 $this->R->footnote_open();
36 $this->R->cdata(str_pad("footnote: ", Doku_Renderer_metadata::ABSTRACT_MAX, "lotsa junk "));
37 $this->R->footnote_close();
[all …]
/dokuwiki/lib/scripts/jquery/
H A Djquery.min.js2r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){retu… argument
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/
H A DXML.php8 * https://www.w3.org/TR/xmldsig-core/#sec-ECKeyValue
15 * @license http://www.opensource.org/licenses/mit-license.html MIT License
65 throw new \UnexpectedValueException('Key should be a string - not a ' . gettype($key));
79 $temp = self::isolateNamespace($key, 'http://www.w3.org/2001/04/xmldsig-more#');
89 if (!$dom->loadXML($key)) {
99 $QA = self::query($xpath, 'ecdsakeyvalue')->length ?
109 * Case-insensitive xpath query
122 …$query .= "/*[translate(local-name(), 'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')='…
124 $result = $xpath->query($query);
129 if (!$result->length) {
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/
H A DPrivateKey.php8 * @license http://www.opensource.org/licenses/mit-license.html MIT License
62 if ($this->curve instanceof MontgomeryCurve) {
63 if ($this->curve instanceof Curve25519 && self::$engines['libsodium']) {
64 return sodium_crypto_scalarmult($this->dA->toBytes(), $coordinates);
67 $point = [$this->curve->convertInteger(new BigInteger(strrev($coordinates), 256))];
68 $point = $this->curve->multiplyPoint($point, $this->dA);
69 return strrev($point[0]->toBytes(true));
71 if (!$this->curve instanceof TwistedEdwardsCurve) {
74 $point = PKCS1::extractPoint($coordinates, $this->curve);
75 $point = $this->curve->multiplyPoint($point, $this->dA);
[all …]
H A DPublicKey.php8 * @license http://www.opensource.org/licenses/mit-license.html MIT License
45 if ($this->curve instanceof MontgomeryCurve) {
49 $shortFormat = $this->shortFormat;
50 $format = $this->sigFormat;
55 $order = $this->curve->getOrder();
57 if ($this->curve instanceof TwistedEdwardsCurve) {
62 … if ($this->curve instanceof Ed25519 && self::$engines['libsodium'] && !isset($this->context)) {
63 … return sodium_crypto_sign_verify_detached($signature, $message, $this->toString('libsodium'));
66 $curve = $this->curve;
71 $R = substr($signature, 0, $curve::SIZE);
[all …]
/dokuwiki/lib/images/smileys/
H A Deek.svg1-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"/><circle fill="#FF…
/dokuwiki/inc/lang/cy/
H A Dsubscr_list.txt3 Gwnaeth tudalennau yn y namespace @PAGE@ o'r wici @TITLE@ newid.
4 Dyma'r tudaalennau sydd wedi newid:
6 --------------------------------------------------------
8 --------------------------------------------------------
10 I ganslo hysbysiadau'r dudalen, mewngofnodwch i'r wici ar
15 --
H A Dsubscr_single.txt4 Dyma'r newidiadau:
6 --------------------------------------------------------
8 --------------------------------------------------------
16 I ganslo hysbysiadau'r dudalen, mewngofnodwch i'r wici ar
21 --
H A Dlang.php12 $lang['encoding'] = 'utf-8';
20 $lang['btn_edit'] = 'Golygu\'r dudaen hon';
23 $lang['btn_create'] = 'Creu\'r dudalen';
27 $lang['btn_top'] = 'Nôl i\'r brig';
66 $lang['email'] = 'E-Bost';
68 $lang['badlogin'] = 'Sori, roedd y defnyddair neu\'r gyfriair yn anghywir.';
75 $lang['reguexists'] = 'Sori, mae defnyddiwr â\'r enw hwn yn bodoli eisoes.';
78 $lang['regfail'] = 'Doedd dim modd creu\'r defnyddiwr.';
79 …'] = 'Mae\'n debyg roedd gwall wrth anfon y post cyfrinair. Cysylltwch â\'r gweinyddwr!';
80 … = 'Mae\'r cyfeiriad ebost a gyflwynoch chi\'n edrych yn annilys - os ydych chi\'n cred…
[all …]
/dokuwiki/vendor/splitbrain/lesserphp/src/Utils/
H A DColor.php27 for ($i = 3; $i > 0; $i--) { // 3 2 1
55 [, $r, $g, $b] = Color::coerceColor($color);
57 $r = $r / 255;
61 $r = ($r <= 0.03928) ? $r / 12.92 : (($r + 0.055) / 1.055) ** 2.4;
65 return (0.2126 * $r) + (0.7152 * $g) + (0.0722 * $b);
75 $r = $color[1] / 255;
79 $min = min($r, $g, $b);
80 $max = max($r, $g, $b);
87 $S = ($max - $min) / ($max + $min);
89 $S = ($max - $min) / (2.0 - $max - $min);
[all …]
/dokuwiki/lib/plugins/config/lang/cy/
H A Dlang.php19 $lang['locked'] = '\'Sdim modd diweddaru\'r ffeil osodiadau, os ydy hyn yn anfwriadol, <br />
20 sicrhewch fod enw\'r ffeil osodiadau a\'r hawliau lleol yn gywir.';
22 $lang['danger'] = 'Perygl: Gall newid yr opsiwn hwn wneud eich wici a\'r ddewislen ffurfwedd yn…
26 /* --- Config Setting Headers --- */
33 /* --- Config Setting Groups --- */
37 $lang['_anti_spam'] = 'Gwrth-Sbam';
46 /* --- Undefined Setting Messages --- */
51 /* -------------------- Config Options --------------------------- */
55 $lang['start'] = 'Enw\'r dudalen i\'w defnyddio fel man cychwyn ar gyfer pob namespace'; //na…
58 $lang['tagline'] = 'Taglinell (os yw\'r templed yn ei gynnal)';
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Signature/
H A DIEEE.php10 * https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/sign#ecdsa
14 * @license http://www.opensource.org/licenses/mit-license.html MIT License
46 $r = new BigInteger(substr($sig, 0, $len >> 1), 256);
49 return compact('r', 's');
55 * @param BigInteger $r
61 public static function save(BigInteger $r, BigInteger $s, $curve, $length) argument
63 $r = $r->toBytes();
64 $s = $s->toBytes();
66 return str_pad($r, $length, "\0", STR_PAD_LEFT) . str_pad($s, $length, "\0", STR_PAD_LEFT);
H A DSSH2.php12 * @license http://www.opensource.org/licenses/mit-license.html MIT License
46 // see https://tools.ietf.org/html/rfc5656#section-3.1.2
47 case 'ecdsa-sha2-nistp256':
48 case 'ecdsa-sha2-nistp384':
49 case 'ecdsa-sha2-nistp521':
61 'r' => $result[0],
69 * @param BigInteger $r
74 public static function save(BigInteger $r, BigInteger $s, $curve) argument
90 $blob = Strings::packSSH2('ii', $r, $s);
92 return Strings::packSSH2('ss', 'ecdsa-sha2-' . $curve, $blob);
/dokuwiki/lib/plugins/extension/lang/cy/
H A Dlang.php5 * @author Michael Hamann <michael@content-space.de>
17 $lang['notimplemented'] = '\'Dyw\'r nodwedd hon heb ei rhoi ar waith eto';
18 $lang['notinstalled'] = '\'Dyw\'r estyniad hwn heb ei arsefydlu';
21 $lang['pluginlistsaveerror'] = 'Roedd gwall wrth gadw\'r rhestr ategion';
27 $lang['btn_uninstall'] = 'Dad-arsefydlu';
31 $lang['btn_reinstall'] = 'Ail-arsefydlu';
33 $lang['js']['reallydel'] = 'Ydych chi wir am ddad-arsefydlu\'r estyniad hwn?';
57 $lang['donate_action'] = 'Prynwch goffi i\'r awdur!';
73 $lang['msg_delete_success'] = 'Dad-arsefydlwyd estyniad %s';
74 $lang['msg_delete_failed'] = 'Methodd dad-arsefydlu estyniad %s';
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/
H A DPrivateKey.php8 * @license http://www.opensource.org/licenses/mit-license.html MIT License
38 * If you do "openssl rsa -in private.rsa -pubout -outform PEM" you get a PKCS8 formatted key
41 * parameters field is NULL. With DSA PKCS8 public keys it is not - it contains the p, q and g
45 * "openssl dsa -in private.dsa -pubout -outform PEM"
60 if (!isset($this->y)) {
61 $this->y = $this->g->powMod($this->x, $this->p);
64 $key = $type::savePublicKey($this->p, $this->q, $this->g, $this->y);
67 ->withHash($this->hash->getHash())
68 ->withSignatureFormat($this->shortFormat);
80 $format = $this->sigFormat;
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/
H A DXML.php8 * http://www.w3.org/TR/xmldsig-core/#sec-RSAKeyValue
17 * @license http://www.opensource.org/licenses/mit-license.html MIT License
45 throw new \UnexpectedValueException('Key should be a string - not a ' . gettype($key));
65 if (!$dom->loadXML($key)) {
72 // $dom->getElementsByTagName($key) is case-sensitive
73 …$temp = $xpath->query("//*[translate(local-name(), 'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopq…
74 if (!$temp->length) {
77 $value = new BigInteger(Strings::base64_decode($temp->item(0)->nodeValue), 256);
138 throw new \InvalidArgumentException('XML does not support multi-prime RSA keys');
145 return "<RSAKeyPair>\r\n" .
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/
H A Dsecp192r1.php6 * This is the NIST P-192 curve
12 * @license http://www.opensource.org/licenses/mit-license.html MIT License
26 $this->setModulo($modulo);
30 to convert to / from base-2**8 with BCMath you have to call bcmul() and bcdiv() a lot.
31 to convert to / from base-2**8 with PHP64 you have to call base256_rshift() a lot.
32 in short, converting to / from base-2**8 is pretty expensive and that expense is
34 now, if PHP supported unsigned integers things might be different. no bit-shifting
36 uses base-2**31 or base-2**26 depending on whether or not the system is has a 32-bit
37 or a 64-bit OS.
40 $m_length = $this->getLengthInBytes();
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/BaseCurves/
H A DBase.php10 * @license http://www.opensource.org/licenses/mit-license.html MIT License
46 return $this->factory->randomInteger();
56 return $this->factory->newInteger($x);
66 return $this->factory->getLengthInBytes();
76 return $this->factory->getLength();
85 * https://github.com/phpecc/phpecc/issues/16#issuecomment-59176772
92 $r = $alreadyInternal ?
94 [[], $this->convertToInternal($p)];
96 $d = $d->toBits();
99 $r[1 - $d_i] = $this->addPoint($r[0], $r[1]);
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Signature/
H A DSSH2.php12 * @license http://www.opensource.org/licenses/mit-license.html MIT License
45 if ($type != 'ssh-dss' || strlen($blob) != 40) {
50 'r' => new BigInteger(substr($blob, 0, 20), 256),
58 * @param BigInteger $r
62 public static function save(BigInteger $r, BigInteger $s) argument
64 if ($r->getLength() > 160 || $s->getLength() > 160) {
69 'ssh-dss',
70 str_pad($r->toBytes(), 20, "\0", STR_PAD_LEFT) .
71 str_pad($s->toBytes(), 20, "\0", STR_PAD_LEFT)
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Signature/
H A DRaw.php12 * @license http://www.opensource.org/licenses/mit-license.html MIT License
37 case !isset($sig['r']) || !isset($sig['s']):
38 case !$sig['r'] instanceof BigInteger:
44 'r' => $sig['r'],
52 * @param BigInteger $r
56 public static function save(BigInteger $r, BigInteger $s) argument
58 return compact('r', 's');
/dokuwiki/inc/TreeBuilder/
H A DAbstractBuilder.php59 $this->nodeProcessor = $builder;
75 throw new \InvalidArgumentException('Recursion-filter must be callable');
77 $this->recursionDecision = $filter;
88 $this->flags |= $flag;
99 return ($this->flags & $flag) === $flag;
110 return ($this->flags & $flag) !== $flag;
121 $this->flags &= ~$flag;
133 if (!$this->generated) throw new \RuntimeException('need to call generate() first');
134 return $this->top;
140 * This is a cached version of top->getDescendants() with the ID as key of the returned array.
[all …]
/dokuwiki/lib/plugins/usermanager/lang/cy/
H A Dlang.php27 $lang['delete_selected'] = 'Dileu\'r Dewisiadau';
29 $lang['edit_prompt'] = 'Golygu\'r defnyddiwr hwn';
41 $lang['summary'] = 'Yn dangos %1$d-%2$d defnyddiwr allan o %3$d wedi\'u darganfod. %4$d defnydd…
47 $lang['update_exists'] = 'Methodd newid y defnyddair, mae\'r defnyddair hwnnw (%s) yn bodoli eisoes…
54 // added after 2006-03-09 release
58 $lang['note_group'] = 'Bydd defnyddwyr newydd yn cael eu hychwanegu i\'r grŵp diofyn (%s) os na cha…
59 …air ei generadu\'n awtomatig os caiff y maes ei adael yn wag a bod hysbysu\'r defnyddiwr wedi\'i a…
67 $lang['import_header'] = 'Mewnforiad Diweddaraf - Methiannau';
71 $lang['import_error_baduserid'] = "Id-defnyddiwr ar goll";
74 $lang['import_error_upload'] = 'Methodd y Mewnforiad. Doedd dim modd lanlwytho\'r ffeil neu roedd …
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/
H A DPuTTY.php6 * See PuTTY's SSHPUBK.C and https://tartarus.org/~simon/putty-snapshots/htmldoc/AppendixC.html
12 * @license http://www.opensource.org/licenses/mit-license.html MIT License
36 private static $comment = 'phpseclib-generated-key';
52 self::$comment = str_replace(["\r", "\n"], '', $comment);
118 $hashkey = substr($temp, -32);
133 throw new \UnexpectedValueException('Key should be a string - not a ' . gettype($key));
137 $lines = preg_split('#[\r\n]+#', $key);
139 case $lines[0] != '---- BEGIN SSH2 PUBLIC KEY ----':
140 … throw new \UnexpectedValueException('Key doesn\'t start with ---- BEGIN SSH2 PUBLIC KEY ----');
141 case $lines[count($lines) - 1] != '---- END SSH2 PUBLIC KEY ----':
[all …]
/dokuwiki/_test/tests/inc/
H A Dcommon_cleanText.test.php7 $this->assertEquals($unix,cleanText($unix));
12 $win = "one\r\ntwo\r\nthree";
14 $this->assertEquals(bin2hex($unix), '6f6e650a74776f0a7468726565');
15 $this->assertEquals(bin2hex($win), '6f6e650d0a74776f0d0a7468726565');
16 $this->assertNotEquals($unix, $win);
17 $this->assertEquals($unix, cleanText($win));

123456789