Home
last modified time | relevance | path

Searched refs:self (Results 1 – 25 of 158) sorted by relevance

1234567

/dokuwiki/_test/tests/Remote/OpenApiDoc/
H A DTypeTest.php15 ['string', 'string', 'string', self::class],
17 ['int', 'int', 'int', self::class],
19 ['file', 'string', 'file', self::class],
21 ['date', 'int', 'date', self::class],
23 ['boolean', 'bool', 'bool', self::class],
25 ['false', 'bool', 'bool', self::class],
27 ['true', 'bool', 'bool', self::class],
29 ['integer', 'int', 'int', self::class],
31 ['array', 'array', 'array', self::class],
33 ['array[]', 'array', 'array', self::class],
[all …]
/dokuwiki/vendor/composer/
H A DInstalledVersions.php66 foreach (self::getInstalled() as $installed) {
88 foreach (self::getInstalled() as $installed) {
110 foreach (self::getInstalled() as $installed) {
134 $provided = $parser->parseConstraints(self::getVersionRanges($packageName));
150 foreach (self::getInstalled() as $installed) {
181 foreach (self::getInstalled() as $installed) {
202 foreach (self::getInstalled() as $installed) {
223 foreach (self::getInstalled() as $installed) {
244 foreach (self::getInstalled() as $installed) {
261 $installed = self::getInstalled();
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/
H A DPKCS.php42 protected static $format = self::MODE_ANY;
50 self::$format = self::MODE_PEM;
59 self::$format = self::MODE_DER;
70 self::$format = self::MODE_ANY;
/dokuwiki/_test/tests/test/
H A Dglobals.test.php17 $self = $this;
19 function() use ($self) {
20 … $self->assertTrue($_SERVER['testvar'], 'Server variable not set correctly: testvar');
21 …$self->assertEquals('172.17.18.19', $_SERVER['REMOTE_ADDR'], 'Server variable not set correctly: R…
38 $self = $this;
40 function() use ($self) {
41 … $self->assertFalse($_SERVER['testvar'], 'Server variable not set correctly: testvar');
42 …$self->assertEquals('172.17.18.19', $_SERVER['REMOTE_ADDR'], 'Server variable not set correctly: R…
43 $self->assertFalse(isset($_SERVER['tmpvar']));
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/
H A DASN1.php144 self::TYPE_BOOLEAN => true,
145 self::TYPE_INTEGER => true,
146 self::TYPE_BIT_STRING => 'bitString',
147 self::TYPE_OCTET_STRING => 'octetString',
148 self::TYPE_NULL => 'null',
149 self::TYPE_OBJECT_IDENTIFIER => 'objectIdentifier',
150 self::TYPE_REAL => true,
151 self::TYPE_ENUMERATED => 'enumerated',
152 self::TYPE_UTF8_STRING => 'utf8String',
153 self::TYPE_NUMERIC_STRING => 'numericString',
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/Reductions/
H A DMontgomeryMult.php47 self::VARIABLE => [],
48 self::DATA => []
51 if (($key = array_search($m, $cache[self::VARIABLE])) === false) {
52 $key = count($cache[self::VARIABLE]);
53 $cache[self::VARIABLE][] = $m;
54 $cache[self::DATA][] = self::modInverse67108864($m, $class);
61 $a = [self::VALUE => self::array_repeat(0, $n + 1)];
63 $temp = $a[self::VALUE][0] + $x[$i] * $y[0];
65 $temp = $temp * $cache[self::DATA][$key];
68 $a = $class::addHelper($a[self::VALUE], false, $temp[self::VALUE], false);
[all …]
H A DBarrett.php52 self::VARIABLE => [],
53 self::DATA => []
70 return self::regularBarrett($n, $m, $class);
81 if (($key = array_search($m, $cache[self::VARIABLE])) === false) {
82 $key = count($cache[self::VARIABLE]);
83 $cache[self::VARIABLE][] = $m;
87 $lhs_value = self::array_repeat(0, $m_length + ($m_length >> 1));
96 $cache[self::DATA][] = [
101 extract($cache[self::DATA][$key]);
108 $lsd = self::trim($lsd);
[all …]
H A DMontgomery.php36 $lhs->value = array_merge(self::array_repeat(0, count($n)), $x);
58 self::VARIABLE => [],
59 self::DATA => []
62 if (($key = array_search($n, $cache[self::VARIABLE])) === false) {
63 $key = count($cache[self::VARIABLE]);
64 $cache[self::VARIABLE][] = $x;
65 $cache[self::DATA][] = self::modInverse67108864($n, $class);
70 $result = [self::VALUE => $x];
73 $temp = $result[self::VALUE][$i] * $cache[self::DATA][$key];
76 $temp = array_merge(self::array_repeat(0, $i), $temp);
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DChaCha20.php45 case self::ENGINE_LIBSODIUM:
57 case self::ENGINE_OPENSSL:
85 if ($this->engine == self::ENGINE_LIBSODIUM) {
107 if ($this->engine == self::ENGINE_LIBSODIUM) {
247 if ($this->engine == self::ENGINE_LIBSODIUM) {
282 $a+= $b; $d = self::leftRotate(intval($d) ^ intval($a), 16);
283 $c+= $d; $b = self::leftRotate(intval($b) ^ intval($c), 12);
284 $a+= $b; $d = self::leftRotate(intval($d) ^ intval($a), 8);
285 $c+= $d; $b = self::leftRotate(intval($b) ^ intval($c), 7);
360 $x0+= $x4; $x12 = self::leftRotate(intval($x12) ^ intval($x0), 16);
[all …]
H A DDES.php99 self::MODE_ECB => 'des-ecb',
100 self::MODE_CBC => 'des-cbc',
101 self::MODE_CFB => 'des-cfb',
102 self::MODE_OFB => 'des-ofb'
579 if ($this->mode == self::MODE_STREAM) {
596 if ($engine == self::ENGINE_OPENSSL) {
642 return $this->processBlock($in, self::ENCRYPT);
656 return $this->processBlock($in, self::DECRYPT);
676 $sbox1 = array_map('intval', self::$sbox1);
677 $sbox2 = array_map('intval', self::$sbox2);
[all …]
H A DBlowfish.php343 if ($this->mode == self::MODE_STREAM) {
377 if ($engine == self::ENGINE_OPENSSL) {
410 'sb' => self::$sbox
425 $this->bctx['p'][] = self::$parray[$i] ^ intval($data);
450 if (is_float(self::$sbox[0x200])) {
451 self::$sbox = array_map('intval', self::$sbox);
452 self::$parray = array_map('intval', self::$parray);
468 $p = self::$parray;
469 $sbox = self::$sbox;
475 self::expandstate($sha2salt, $sha2pass, $sbox, $p);
[all …]
H A DDSA.php106 self::initialize_static_variables();
113 if (!isset(self::$engines['PHP'])) {
114 self::useBestEngine();
146 $p = $x->subtract($c->subtract(self::$one));
149 $p_1 = $p->subtract(self::$one);
159 if (!$g->equals(self::$one)) {
162 $h = $h->add(self::$one);
186 self::initialize_static_variables();
193 if (!isset(self::$engines['PHP'])) {
194 self::useBestEngine();
[all …]
H A DRSA.php150 protected $encryptionPadding = self::ENCRYPTION_OAEP;
157 protected $signaturePadding = self::SIGNATURE_PSS;
268 self::$defaultExponent = $val;
280 self::$smallestPrime = $val;
292 self::$configFile = $val;
305 self::initialize_static_variables();
313 if ($regSize > self::$smallestPrime) {
314 $num_primes = floor($bits / self::$smallestPrime);
315 $regSize = self::$smallestPrime;
320 if ($num_primes == 2 && $bits >= 384 && self::$defaultExponent == 65537) {
[all …]
/dokuwiki/vendor/splitbrain/php-cli/src/
H A DColors.php39 self::C_RESET => "\33[0m",
40 self::C_BLACK => "\33[0;30m",
41 self::C_DARKGRAY => "\33[1;30m",
42 self::C_BLUE => "\33[0;34m",
43 self::C_LIGHTBLUE => "\33[1;34m",
44 self::C_GREEN => "\33[0;32m",
45 self::C_LIGHTGREEN => "\33[1;32m",
46 self::C_CYAN => "\33[0;36m",
47 self::C_LIGHTCYAN => "\33[1;36m",
48 self::C_RED => "\33[0;31m",
[all …]
/dokuwiki/inc/
H A DSafeFN.class.php51 return self::unicodeToSafe(Unicode::fromUtf8($filename));
81 return Unicode::toUtf8(self::safeToUnicode(strtolower($filename)));
91 …return !preg_match('#[^' . self::$plain . self::$post_indicator . self::$pre_indicator . ']#', $sa…
109 …if ($codepoint < 127 && (strpos(self::$plain . self::$post_indicator, chr($codepoint)) !== false))…
111 $safe .= self::$post_indicator;
115 } elseif ($codepoint == ord(self::$pre_indicator)) {
116 $safe .= self::$pre_indicator;
119 $safe .= self::$pre_indicator . base_convert((string)($codepoint - 32), 10, 36);
123 if ($converted) $safe .= self::$post_indicator;
140 '#(?=[' . self::$post_indicator . self::$pre_indicator . '])#',
[all …]
/dokuwiki/vendor/simplepie/simplepie/src/XML/Declaration/
H A DParser.php109 public $state = self::STATE_BEFORE_VERSION_NAME;
155 while ($this->state && $this->state !== self::STATE_EMIT && $this->has_data()) {
160 if ($this->state === self::STATE_EMIT) {
214 $this->state = self::STATE_VERSION_NAME;
216 $this->state = self::STATE_ERROR;
225 $this->state = self::STATE_VERSION_EQUALS;
227 $this->state = self::STATE_ERROR;
236 $this->state = self::STATE_VERSION_VALUE;
238 $this->state = self::STATE_ERROR;
247 $this->state = self::STATE_ENCODING_NAME;
[all …]
/dokuwiki/lib/plugins/extension/
H A DNotice.php13 self::INFO => 'I',
14 self::WARNING => 'W',
15 self::ERROR => 'E',
16 self::SECURITY => 'S',
20 self::INFO => [],
21 self::WARNING => [],
22 self::ERROR => [],
23 self::SECURITY => [],
60 $self = new self($extension);
61 return $self->notices;
[all …]
/dokuwiki/vendor/simplepie/simplepie/src/
H A DSimplePie.php1014 public function set_autodiscovery_level($level = self::LOCATOR_ALL)
1654 if (!($this->get_type() & ~self::TYPE_NONE)) {
1823 …if (!$file->success && !($file->method & self::FILE_SOURCE_REMOTE === 0 || ($file->status_code ===…
1856 $self = $locate->get_rel_link('self');
1857 $this->store_links($file, $hub, $self);
2016 $this->data['type'] = self::TYPE_ALL;
2017 if (isset($this->data['child'][self::NAMESPACE_ATOM_10]['feed'])) {
2018 $this->data['type'] &= self::TYPE_ATOM_10;
2019 } elseif (isset($this->data['child'][self::NAMESPACE_ATOM_03]['feed'])) {
2020 $this->data['type'] &= self::TYPE_ATOM_03;
[all …]
/dokuwiki/inc/Debug/
H A DDebugHelper.php44 if (!self::isEnabled()) return;
51 [$self, $call] = $backtrace;
53 self::triggerDeprecationEvent(
56 $thing ?: self::formatCall($self),
57 self::formatCall($call),
58 $self['file'] ?? $call['file'] ?? '',
59 $self['line'] ?? $call['line'] ?? 0
91 if (!self::isEnabled()) return;
98 self::triggerDeprecationEvent(
129 if (!self::isEnabled()) return;
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/
H A DXML.php62 self::initialize_static_variables();
74 $temp = self::isolateNamespace($key, 'http://www.w3.org/2009/xmldsig11#');
95 $curve = self::loadCurveByParam($xpath);
97 $pubkey = self::query($xpath, 'publickey', 'Public Key is not present');
99 $QA = self::query($xpath, 'ecdsakeyvalue')->length ?
100 self::extractPointRFC4050($xpath, $curve) :
101 self::extractPoint("\0" . $pubkey, $curve);
132 … return $decode ? self::decodeValue($result->item(0)->textContent) : $result->item(0)->textContent;
179 $x = self::query($xpath, 'publickey/x');
180 $y = self::query($xpath, 'publickey/y');
[all …]
H A DOpenSSH.php70 $curve = self::loadCurveByParam(['namedCurve' => $curveName]);
75 'QA' => self::extractPoint("\0$publicKey", $curve),
86 $qa = self::extractPoint($parsed['publicKey'], $curve);
92 $qa = self::extractPoint("\0" . $publicKey, $curve);
109 self::initialize_static_variables();
114 $oid = self::$curveOIDs[$name];
115 $aliases = array_filter(self::$curveOIDs, function ($v) use ($oid) {
121 if (in_array('ecdsa-sha2-' . $aliases[$i], self::$types)) {
144 $comment = isset($options['comment']) ? $options['comment'] : self::$comment;
149 if (isset($options['binary']) ? $options['binary'] : self::$binary) {
[all …]
/dokuwiki/inc/Utf8/
H A DSort.php45 if (!self::$useIntl || !class_exists('\Collator')) {
50 if (!isset(self::$collators[$lc])) {
62 self::$collators[$lc] = $collator;
65 return self::$collators[$lc];
78 self::$useIntl = $use;
93 $collator = self::getCollator();
112 $collator = self::getCollator();
131 $collator = self::getCollator();
150 $collator = self::getCollator();
171 $collator = self::getCollator();
/dokuwiki/vendor/simplepie/simplepie/src/HTTP/
H A DParser.php123 protected $state = self::STATE_HTTP_VERSION;
178 while ($this->state && $this->state !== self::STATE_EMIT && $this->has_data()) {
183 if ($this->state === self::STATE_EMIT || $this->state === self::STATE_BODY) {
231 $this->state = self::STATE_STATUS;
233 $this->state = self::STATE_ERROR;
236 $this->state = self::STATE_ERROR;
248 $this->state = self::STATE_REASON;
250 $this->state = self::STATE_ERROR;
262 $this->state = self::STATE_NEW_LINE;
284 $this->state = self::STATE_BODY;
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/
H A DAsymmetricKey.php106 self::initialize_static_variables();
117 if (!isset(self::$zero)) {
118 self::$zero = new BigInteger(0);
119 self::$one = new BigInteger(1);
122 self::loadPlugins('Keys');
124 self::loadPlugins('Signature');
137 self::initialize_static_variables();
145 foreach (self::$plugins[static::ALGORITHM]['Keys'] as $format) {
146 …if (isset(self::$invisiblePlugins[static::ALGORITHM]) && in_array($format, self::$invisiblePlugins…
183 $key = self::load($key, $password);
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/Reductions/
H A DBarrett.php63 self::VARIABLE => [],
64 self::DATA => []
75 return self::regularBarrett($n, $m);
86 if (($key = array_search($m, $cache[self::VARIABLE])) === false) {
87 $key = count($cache[self::VARIABLE]);
88 $cache[self::VARIABLE][] = $m;
94 $cache[self::DATA][] = [
99 extract($cache[self::DATA][$key]);
157 self::VARIABLE => [],
158 self::DATA => []
[all …]

1234567