Home
last modified time | relevance | path

Searched refs:arr (Results 1 – 25 of 31) sorted by relevance

12

/dokuwiki/inc/Utf8/
H A DUnicode.php183 * @param array $arr of unicode code points representing a string
194 public static function toUtf8($arr, $strict = false) argument
196 if (!is_array($arr)) return '';
199 foreach (array_keys($arr) as $k) {
200 if (($arr[$k] >= 0) && ($arr[$k] <= 0x007f)) {
202 echo chr($arr[$k]);
203 } elseif ($arr[$k] <= 0x07ff) {
205 echo chr(0xc0 | ($arr[$k] >> 6));
206 echo chr(0x80 | ($arr[$k] & 0x003f));
207 } elseif ($arr[$k] == 0xFEFF) {
[all …]
/dokuwiki/lib/plugins/config/core/
H A DConfigParser.php55 $arr = explode(',', $match[1]);
58 $len = count($arr);
60 $arr[$j] = trim($arr[$j]);
61 $arr[$j] = $this->readValue($arr[$j]);
64 $value = $arr;
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DRandom.php197 * @param mixed $arr
199 private static function safe_serialize(&$arr) argument
201 if (is_object($arr)) {
204 if (!is_array($arr)) {
205 return serialize($arr);
208 if (isset($arr['__phpseclib_marker'])) {
212 $arr['__phpseclib_marker'] = true;
213 foreach (array_keys($arr) as $key) {
216 $safearr[$key] = self::safe_serialize($arr[$key]);
219 unset($arr['__phpseclib_marker']);
H A DEC.php186 $arr = $curve->extractSecret(Random::string($curve instanceof Ed448 ? 57 : 32));
187 $privatekey->dA = $dA = $arr['dA'];
188 $privatekey->secret = $arr['secret'];
/dokuwiki/_test/tests/inc/
H A Dinput.test.php166 $this->assertSame(array('foo', 'bar'), $INPUT->arr('array'));
167 $this->assertSame(array(), $INPUT->arr('none'));
168 $this->assertSame(array(), $INPUT->arr('empty'));
169 $this->assertSame(array(1, 2), $INPUT->arr('none', array(1, 2)));
170 $this->assertSame(array(), $INPUT->arr('emptya', array(1, 2)));
171 $this->assertSame(array(1, 2), $INPUT->arr('emptya', array(1, 2), true));
173 $this->assertSame(false, $INPUT->arr('get', false));
174 $this->assertSame(false, $INPUT->arr('post', false));
176 $this->assertSame(array('foo', 'bar'), $INPUT->post->arr('array'));
177 $this->assertSame(array(), $INPUT->post->arr('none'));
[all …]
/dokuwiki/inc/
H A Dcompatibility.php138 function array_is_list(array $arr) argument
140 if ($arr === []) {
143 return array_keys($arr) === range(0, count($arr) - 1);
H A Dutf8.php244 function unicode_to_utf8($arr, $strict = false) argument
247 return Unicode::toUtf8($arr, $strict);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/
H A Dlibsodium.php70 $arr = $curve->extractSecret($private);
71 $components['dA'] = $arr['dA'];
72 $components['secret'] = $arr['secret'];
H A DPuTTY.php73 $arr = $components['curve']->extractSecret($private);
74 $components['dA'] = $arr['dA'];
75 $components['secret'] = $arr['secret'];
H A DPKCS8.php141 $arr = $components['curve']->extractSecret(substr($key['privateKey'], 2));
142 $components['dA'] = $arr['dA'];
143 $components['secret'] = $arr['secret'];
H A DJWK.php81 $arr = $curve->extractSecret(Strings::base64url_decode($key->d));
82 return compact('curve', 'QA') + $arr;
/dokuwiki/lib/exe/
H A Dmediamanager.php92 if ($IMG && @array_key_exists('save', $INPUT->arr('do'))) {
93 $JUMPTO = media_metasave($IMG, $AUTH, $INPUT->arr('meta'));
96 if ($IMG && ($INPUT->str('mediado') == 'save' || @array_key_exists('save', $INPUT->arr('mediado')))…
97 $JUMPTO = media_metasave($IMG, $AUTH, $INPUT->arr('meta'));
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/Reductions/
H A DEvalBarrett.php194 * @param array $arr
199 private static function generateInlineMultiply($input, array $arr, $output, $class) argument
201 if (!count($arr)) {
210 $' . $output . ' = array_fill(0, $length + ' . count($arr) . ', 0);
213 for ($i = 0; $i < count($arr); $i++) {
215 $subtemp = $' . $input . '[0] * ' . $arr[$i];
231 $regular .= '$' . $output . '[' . count($arr) . '] = $carry;';
236 for ($j = 0; $j < count($arr); $j++) {
239 $subtemp = $' . $output . '[$k] + $' . $input . '[$i] * ' . $arr[$j];
/dokuwiki/vendor/simplepie/simplepie/idn/
H A Didna_convert.class.php191 $arr = explode('.', $input);
192 foreach ($arr as $k => $v) {
195 if ($conv) $arr[$k] = $conv;
198 $input = join('.', $arr);
199 $arr = explode('.', $email_pref);
200 foreach ($arr as $k => $v) {
203 if ($conv) $arr[$k] = $conv;
206 $email_pref = join('.', $arr);
216 $arr = explode('.', $parsed['host']);
217 foreach ($arr as $k => $v) {
[all …]
/dokuwiki/inc/Form/
H A DCheckableElement.php47 $input = $INPUT->arr($name);
H A DInputElement.php133 $value = $INPUT->arr($name);
/dokuwiki/inc/lang/hu/
H A Dconflict.txt5 Nézd át gondosan a lenti eltéréseket, majd dönts arról, hogy melyik változatot tartanád meg. Ha a '…
H A Dstopwords.txt2 # Ha szerkeszted ezt a fájlt, győződj meg arról, hogy UNIX sorvég-jeleket használj! (csak NL karakt…
/dokuwiki/inc/lang/hu-formal/
H A Dconflict.txt5 Nézze át gondosan a lenti eltéréseket, majd döntsön arról, hogy melyik változatot tartaná meg. Ha a…
H A Dstopwords.txt2 # Ha szerkeszted ezt a fájlt, győződj meg arról, hogy UNIX sorvég-jeleket használj! (csak NL karakt…
/dokuwiki/inc/Ui/
H A DDiff.php108 $revs = $INPUT->arr('rev2', []);
/dokuwiki/lib/plugins/extension/
H A Dadmin.php42 foreach ($INPUT->post->arr('fn') as $action => $extensions) {
/dokuwiki/lib/plugins/revert/
H A Dadmin.php61 $this->revertEdits($INPUT->arr('revert'), $INPUT->str('filter'));
/dokuwiki/lib/plugins/styling/
H A Dadmin.php201 foreach ($INPUT->arr('tpl') as $key => $val) {
/dokuwiki/lib/scripts/
H A Dfileuploader.js29 qq.indexOf = function(arr, elt, from){ argument
30 if (arr.indexOf) return arr.indexOf(elt, from);
33 var len = arr.length;
38 if (from in arr && arr[from] === elt){

12