Home
last modified time | relevance | path

Searched refs:key (Results 1 – 25 of 2702) sorted by relevance

12345678910>>...109

/plugin/asciidocjs/node_modules/pug-filters/node_modules/yargs/lib/
Dparser.js14 ;[].concat(opts['array']).filter(Boolean).forEach(function (key) { argument
15 flags.arrays[key] = true
18 ;[].concat(opts['boolean']).filter(Boolean).forEach(function (key) { argument
19 flags.bools[key] = true
22 ;[].concat(opts.string).filter(Boolean).forEach(function (key) { argument
23 flags.strings[key] = true
26 ;[].concat(opts.count).filter(Boolean).forEach(function (key) { argument
27 flags.counts[key] = true
30 ;[].concat(opts.normalize).filter(Boolean).forEach(function (key) { argument
31 flags.normalize[key] = true
[all …]
Dvalidation.js31 options.requiresArg.forEach(function (key) { argument
32 var value = argv[key]
39 missingRequiredArgs.push(key)
57 Object.keys(demanded).forEach(function (key) { argument
58 if (!argv.hasOwnProperty(key)) {
60 missing[key] = demanded[key]
66 Object.keys(missing).forEach(function (key) { argument
67 var msg = missing[key].msg
85 Object.keys(aliases).forEach(function (key) { argument
86 aliases[key].forEach(function (alias) {
[all …]
/plugin/photogallery/phpThumb/
Dphpthumb.ico.php23 foreach ($gd_image_array as $key => $gd_image) {
25 $ImageWidths[$key] = imagesx($gd_image);
26 $ImageHeights[$key] = imagesy($gd_image);
27 $bpp[$key] = imageistruecolor($gd_image) ? 32 : 24;
28 $totalcolors[$key] = imagecolorstotal($gd_image);
30 $icXOR[$key] = '';
31 for ($y = $ImageHeights[$key] - 1; $y >= 0; $y--) {
32 for ($x = 0; $x < $ImageWidths[$key]; $x++) {
39 if ($bpp[$key] == 32) {
40 $icXOR[$key] .= chr($b).chr($g).chr($r).chr($a);
[all …]
/plugin/asciidocjs/node_modules/yargs-parser/build/lib/
Dyargs-parser.js31 key: undefined
86 const key = typeof opt === 'object' ? opt.key : opt;
88 const assignment = Object.keys(opt).map(function (key) { argument
94 return arrayFlagKeys[key];
98 flags[assignment][key] = true;
100 flags.arrays[key] = true;
101 flags.keys.push(key);
103 [].concat(opts.boolean || []).filter(Boolean).forEach(function (key) { argument
104 flags.bools[key] = true;
105 flags.keys.push(key);
[all …]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/
DPublicKeyLoader.php38 * @param string|array $key
41 public static function load($key, $password = false) argument
44 return EC::load($key, $password);
49 return RSA::load($key, $password);
54 return DSA::load($key, $password);
60 $x509->loadX509($key);
61 $key = $x509->getPublicKey();
62 if ($key) {
63 return $key;
76 * @param string|array $key
[all …]
DTwofish.php419 * @param string $key
422 public function setKey($key) argument
424 switch (strlen($key)) {
430 …throw new \LengthException('Key of size ' . strlen($key) . ' not supported by this algorithm. Only…
433 parent::setKey($key);
444 if (isset($this->kl['key']) && $this->key === $this->kl['key']) {
448 $this->kl = ['key' => $this->key];
451 $le_longs = unpack('V*', $this->key);
452 $key = unpack('C*', $this->key);
462 switch (strlen($this->key)) {
[all …]
/plugin/asciidocjs/node_modules/minimist/
Dindex.js5 keys.slice(0, -1).forEach(function (key) { argument
6 o = o[key] || {};
9 var key = keys[keys.length - 1];
10 return key in o;
19 function isConstructorOrProto(obj, key) { argument
20 return (key === 'constructor' && typeof obj[key] === 'function') || key === '__proto__';
39 [].concat(opts.boolean).filter(Boolean).forEach(function (key) { argument
40 flags.bools[key] = true;
46 function aliasIsBoolean(key) { argument
47 return aliases[key].some(function (x) {
[all …]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/
DPKCS1.php46 * @param string $key
50 public static function load($key, $password = '') argument
52 if (!Strings::is_stringable($key)) {
53 throw new \UnexpectedValueException('Key should be a string - not a ' . gettype($key));
56 if (strpos($key, 'PUBLIC') !== false) {
58 } elseif (strpos($key, 'PRIVATE') !== false) {
64 $key = parent::load($key, $password);
66 $decoded = ASN1::decodeBER($key);
71 $key = ASN1::asn1map($decoded[0], Maps\RSAPrivateKey::MAP);
72 if (is_array($key)) {
[all …]
DRaw.php43 * @param string $key
47 public static function load($key, $password = '') argument
49 if (!is_array($key)) {
50 throw new \UnexpectedValueException('Key should be a array - not a ' . gettype($key));
53 $key = array_change_key_case($key, CASE_LOWER);
58 if (isset($key[$index])) {
59 $components['publicExponent'] = $key[$index];
65 if (isset($key[$index])) {
66 $components['modulus'] = $key[$index];
75 if (isset($key['primes'])) {
[all …]
DMSBLOB.php83 * @param string $key
87 public static function load($key, $password = '') argument
89 if (!Strings::is_stringable($key)) {
90 throw new \UnexpectedValueException('Key should be a string - not a ' . gettype($key));
93 $key = Base64::decode($key);
95 if (!is_string($key)) {
98 if (strlen($key) < 20) {
104 extract(unpack('atype/aversion/vreserved/Valgo', Strings::shift($key, 8)));
137 extract(unpack('Vmagic/Vbitlen/a4pubexp', Strings::shift($key, 12)));
154 if (strlen($key) != 2 * $baseLength && strlen($key) != 9 * $baseLength) {
[all …]
/plugin/settingstree/settings/
Dsettingslevel.class.php37 function getCurrent($key){ argument
41 if (($v = $this->getProtected($key)) !== null) {return $v;}
42 return $this->getCurrentNoProt($key);
45 private function getCurrentNoProt($key){ argument
50 if (($v = @$this->_values[$key]['value']) !== null){ return $v; }
51 if ($this->_parent) { return $this->_parent->getCurrent($key); }
58 if (($v = $this->_hierarchy->getLocal($key)) !== null) {return $v;}
59 return $this->_hierarchy->getDefault($key);
62 function getDefault($key){ argument
65 if (($v = $this->getProtected($key)) !== null) {return $v;}
[all …]
Dsettingshierarchy.class.php31 function getLang($key){ argument
32 return $this->_getLang($key);
34 function _getLang($key,$config_plugin = false){ argument
37 if (!($ret = @$lang[$conf['lang']][$key])){
38 if (!($ret = @$lang['en'][$key])){
40 if (!preg_match('~^(?:'.implode('|',array_keys($this->_meta)).')_o_(.*)$~',$key,$match)){
41 …if (!$config_plugin && ($ret = $this->_getLang($key,true)) === null){ // check if it a key for con…
43 …$ret = "{msgid:{$key}}"; // else we need to return the something if we want to display, that the k…
65 …if (($ret = $this->_getLang($match[1],$config_plugin)) === "{msgid:{$key}}"); // try to get the 'k…
121 foreach ($this->_meta as $key=>$meta){
[all …]
/plugin/authgooglesheets/vendor/google/apiclient/src/
DModel.php58 * @param string $key Property name.
61 public function __get($key) argument
63 $keyType = $this->keyType($key);
64 $keyDataType = $this->dataType($key);
65 if ($keyType && !isset($this->processed[$key])) {
66 if (isset($this->modelData[$key])) {
67 $val = $this->modelData[$key];
77 $this->modelData[$key][$arrayKey] =
81 $this->modelData[$key] = new $keyType($val);
88 $this->modelData[$key] = $arrayObject;
[all …]
/plugin/matrixnotifierwas/vendor/rappasoft/laravel-helpers/src/
Dhelpers.php20 foreach ($array as $key => $value) {
21 if (is_numeric($key)) {
24 $array[$start] = array_pull($array, $key);
37 * @param string $key
41 function array_add($array, $key, $value) argument
43 if (is_null(get($array, $key))) {
44 set($array, $key, $value);
63 foreach ($array as $key => $value) {
64 list($innerKey, $innerValue) = call_user_func($callback, $key, $value);
98 foreach ($array as $key => $value) {
[all …]
/plugin/asciidocjs/node_modules/yargs/build/lib/
Dvalidation.js49 for (const key of Object.keys(demandedOptions)) {
50 if (!Object.prototype.hasOwnProperty.call(argv, key) ||
51 typeof argv[key] === 'undefined') {
53 missing[key] = demandedOptions[key];
58 for (const key of Object.keys(missing)) {
59 const msg = missing[key];
76 Object.keys(argv).forEach(key => {
77 if (!specialKeys.includes(key) &&
78 !Object.prototype.hasOwnProperty.call(positionalMap, key) &&
79 … !Object.prototype.hasOwnProperty.call(yargs.getInternalMethods().getParseContext(), key) &&
[all …]
/plugin/asciidocjs/node_modules/yargs-parser/build/
Dindex.cjs125 key: undefined
144 'set-placeholder-key': false,
174 const key = typeof opt === 'object' ? opt.key : opt;
175 const assignment = Object.keys(opt).map(function (key) {
181 return arrayFlagKeys[key];
184 flags[assignment][key] = true;
186 flags.arrays[key] = true;
187 flags.keys.push(key);
189 [].concat(opts.boolean || []).filter(Boolean).forEach(function (key) {
190 flags.bools[key] = true;
[all …]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/
DPKCS1.php51 * @param string $key
55 public static function load($key, $password = '') argument
57 $key = parent::load($key, $password);
59 $decoded = ASN1::decodeBER($key);
64 $key = ASN1::asn1map($decoded[0], Maps\DSAParams::MAP);
65 if (is_array($key)) {
66 return $key;
69 $key = ASN1::asn1map($decoded[0], Maps\DSAPrivateKey::MAP);
70 if (is_array($key)) {
71 return $key;
[all …]
DRaw.php35 * @param array $key
39 public static function load($key, $password = '') argument
41 if (!is_array($key)) {
42 throw new \UnexpectedValueException('Key should be a array - not a ' . gettype($key));
46 case !isset($key['p']) || !isset($key['q']) || !isset($key['g']):
47 case !$key['p'] instanceof BigInteger:
48 case !$key['q'] instanceof BigInteger:
49 case !$key['g'] instanceof BigInteger:
50 case !isset($key['x']) && !isset($key['y']):
51 case isset($key['x']) && !$key['x'] instanceof BigInteger:
[all …]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/
DPKCS8.php71 * @param string $key
75 public static function load($key, $password = '') argument
84 if (!Strings::is_stringable($key)) {
85 throw new \UnexpectedValueException('Key should be a string - not a ' . gettype($key));
88 $isPublic = strpos($key, 'PUBLIC') !== false;
90 $key = parent::load($key, $password);
92 $type = isset($key['privateKey']) ? 'privateKey' : 'publicKey';
101 switch ($key[$type . 'Algorithm']['algorithm']) {
104 return self::loadEdDSA($key);
107 $decoded = ASN1::decodeBER($key[$type . 'Algorithm']['parameters']->element);
[all …]
/plugin/authgoogle/google/cache/
DGoogle_ApcCache.php34 private function isLocked($key) { argument
35 if ((@apc_fetch($key . '.lock')) === false) {
41 private function createLock($key) { argument
44 @apc_add($key . '.lock', '', 5);
47 private function removeLock($key) { argument
49 @apc_delete($key . '.lock');
52 private function waitForLock($key) { argument
60 } while ($cnt <= $tries && $this->isLocked($key));
61 if ($this->isLocked($key)) {
63 $this->removeLock($key);
[all …]
/plugin/bibtex/OSBib/create/
DSESSION.php34 function setVar($key, $value) argument
36 if(!isset($key) || !isset($value)) return false;
37 $this->sessionVars[$key] = $value;
38 if(!isset($this->sessionVars[$key]))
45 function getVar($key) argument
47 if(isset($this->sessionVars[$key]))
48 return $this->sessionVars[$key];
52 function delVar($key) argument
54 if(isset($this->sessionVars[$key]))
55 unset($this->sessionVars[$key]);
[all …]
/plugin/elasticsearch/vendor/ruflin/elastica/src/
DParam.php51 * @param string $key Key to set
56 public function setParam($key, $value) argument
58 $this->_params[$key] = $value;
82 * @param string $key Param key
87 public function addParam($key, $value, ?string $subKey = null) argument
90 $this->_params[$key][$subKey] = $value;
92 $this->_params[$key][] = $value;
101 * @param string $key Key to return
107 public function getParam($key) argument
109 if (!$this->hasParam($key)) {
[all …]
DDocument.php53 public function __get(string $key) argument
55 return $this->get($key);
61 public function __set(string $key, $value): void argument
63 $this->set($key, $value);
66 public function __isset(string $key): bool argument
68 return $this->has($key) && null !== $this->get($key);
71 public function __unset(string $key): void argument
73 $this->remove($key);
79 * @param mixed $key
85 public function get($key) argument
[all …]
/plugin/asciidocjs/node_modules/core-js/modules/
Des6.symbol.js54 }) ? function (it, key, D) {
55 var protoDesc = gOPD(ObjectProto, key);
56 if (protoDesc) delete ObjectProto[key];
57 dP(it, key, D);
58 if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);
73 var $defineProperty = function defineProperty(it, key, D) { argument
74 if (it === ObjectProto) $defineProperty(OPSymbols, key, D);
76 key = toPrimitive(key, true);
78 if (has(AllSymbols, key)) {
81 it[HIDDEN][key] = true;
[all …]
/plugin/asciidocjs/node_modules/core-js/library/modules/
Des6.symbol.js54 }) ? function (it, key, D) {
55 var protoDesc = gOPD(ObjectProto, key);
56 if (protoDesc) delete ObjectProto[key];
57 dP(it, key, D);
58 if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);
73 var $defineProperty = function defineProperty(it, key, D) { argument
74 if (it === ObjectProto) $defineProperty(OPSymbols, key, D);
76 key = toPrimitive(key, true);
78 if (has(AllSymbols, key)) {
81 it[HIDDEN][key] = true;
[all …]

12345678910>>...109