Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 180) sorted by relevance

12345678

/dokuwiki/inc/Parsing/Lexer/
DParallelRegex.php53 $count = count($this->patterns);
54 $this->patterns[$count] = $pattern;
55 $this->labels[$count] = $label;
69 if (count($this->patterns) == 0) {
78 $size = count($matches);
99 if (count($this->patterns) == 0) {
126 $idx = count($matches) - 2;
144 $cnt = count($this->patterns);
DStateStack.php35 return $this->stack[count($this->stack) - 1];
55 if (count($this->stack) == 1) {
/dokuwiki/vendor/splitbrain/lesserphp/src/
DParser.php27 public $count; variable in LesserPHP\\Parser
123 $this->count = 0;
144 if ($this->count != strlen($this->buffer)) {
147 $this->count,
219 $this->count--;
385 if (count($values) == 0) return false;
425 $whiteBefore = isset($this->buffer[$this->count - 1]) &&
426 ctype_space($this->buffer[$this->count - 1]);
449 $whiteAfter = isset($this->buffer[$this->count - 1]) &&
450 ctype_space($this->buffer[$this->count - 1]);
[all …]
/dokuwiki/_test/tests/Form/
DInputElementTest.php18 $this->assertTrue($input->count() == 1);
23 $this->assertTrue($label->count() == 1);
41 $this->assertTrue($input->count() == 1);
56 $this->assertTrue($input->count() == 1);
69 $this->assertTrue($input->count() == 1);
74 $this->assertTrue($label->count() == 1);
DButtonElementTest.php20 $this->assertTrue($input->count() == 1);
26 $this->assertTrue($b->count() == 0);
38 $this->assertTrue($input->count() == 1);
44 $this->assertTrue($b->count() == 1);
DDropdownElementTest.php38 $this->assertTrue($select->count() == 1);
41 $this->assertTrue($options->count() == 3);
44 $this->assertTrue($option->count() == 1);
49 $this->assertTrue($label->count() == 1);
78 $this->assertTrue($select->count() == 1);
81 $this->assertEquals(3, $options->count());
84 $this->assertEquals(1, $option->count());
128 $this->assertEquals(2, $optGroupsHTML->count());
131 $this->assertEquals(4, $options->count());
150 $this->assertEquals(1, $selected->count());
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/
DJWK.php42 $count = $publicCount = 0;
48 $count++;
79 if ($count == count($vars)) {
83 if ($count == 2 && $publicCount == 2) {
105 if (count($primes) != 2) {
/dokuwiki/inc/
DJpegMeta.php1009 $count = 0;
1065 $this->_markers[$count] = array();
1066 $this->_markers[$count]['marker'] = $marker;
1067 $this->_markers[$count]['length'] = $length;
1071 $this->_markers[$count]['data'] = fread($this->_fp, $length);
1073 $this->_markers[$count]['data'] = "";
1084 $count++;
1170 $count = 0;
1432 $count = count($this->_markers);
1433 for ($i = 0; $i < $count; $i++) {
[all …]
/dokuwiki/_test/tests/TreeBuilder/
DPageTreeBuilderTest.php193 $this->assertGreaterThan(0, count($leaves), 'Should have leaf pages');
194 $this->assertGreaterThan(0, count($branches), 'Should have branch pages');
197 $this->assertEquals(count($tree->getAll()), count($leaves) + count($branches),
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/Reductions/
DEvalBarrett.php59 $m_length = count($m->value);
108 $cutoff = count($m) + (count($m) >> 1);
115 if (count($n) > ' . (2 * count($m)) . ') {
132 $code .= '$temp = array_slice($n, ' . (count($m) - 1) . ');';
137 '$temp = array_slice($temp2, ' . (count($m) + 1) . ');' :
138 '$temp = array_slice($temp2, ' . ((count($m) >> 1) + 1) . ');';
201 if (!count($arr)) {
210 $' . $output . ' = array_fill(0, $length + ' . count($arr) . ', 0);
213 for ($i = 0; $i < count($arr); $i++) {
231 $regular .= '$' . $output . '[' . count($arr) . '] = $carry;';
[all …]
DMontgomeryMult.php52 $key = count($cache[self::VARIABLE]);
57 $n = max(count($x), count($y), count($m));
/dokuwiki/lib/plugins/usermanager/_test/
Dcsv_import.test.php60 $import_count = count($after_users) - count($before_users);
64 $expectedCount = count($expectedNewUsers);
174 $count = 0;
177 $count++;
180 return $count;
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/
DPHP.php152 if (!count($this->value)) {
163 while (count($temp->value)) {
196 if (!count($this->value)) {
224 $x_size = count($x_value);
225 $y_size = count($y_value);
263 $value[count($value)] = 0; // just in case the carry adds an extra digit
309 $x_size = count($x_value);
310 $y_size = count($y_value);
349 $x_size = count($x_value);
350 $y_size = count($y_value);
[all …]
/dokuwiki/_test/tests/inc/search/
Dsearch.test.php18 $this->assertEquals(3, count($data));
23 $this->assertEquals(0, count($data));
28 $this->assertEquals(2, count($data));
/dokuwiki/lib/plugins/authpdo/_test/
Dmysql.test.php123 $this->assertGreaterThanOrEqual(count($users), count($list), $info);
132 $count = $auth->getUserCount();
133 $this->assertGreaterThanOrEqual(count($users), $count);
182 $this->assertGreaterThanOrEqual(1, count($list));
184 $this->assertGreaterThanOrEqual(1, count($list));
186 $this->assertGreaterThanOrEqual(1, count($list));
191 $count = $auth->getUserCount(array('user' => $user['user']));
192 $this->assertGreaterThanOrEqual(1, $count);
193 $count = $auth->getUserCount(array('name' => $user['name']));
194 $this->assertGreaterThanOrEqual(1, $count);
[all …]
Dsqlite.test.php199 $count = $auth->getUserCount(array('grps' => 'admin'));
200 $this->assertSame(2, $count);
204 $count = $auth->getUserCount(array('grps' => 'dmi'));
205 $this->assertSame(2, $count);
209 $count = $auth->getUserCount(array('user' => 'dmi'));
210 $this->assertSame(1, $count);
/dokuwiki/inc/ChangeLog/
DChangeLog.php207 $count = 0;
244 while ($count < $num + $first) {
271 $count += count($tmp);
286 $num = max(min(count($lines) - $first, $num), 0);
288 $lines = array_slice($lines, max(count($lines) - $first - $num, 0), $num);
290 $lines = array_slice($lines, 0, max(count($lines) - $first, 0));
292 $lines = array_slice($lines, max(count($lines) - $num, 0));
296 for ($i = count($lines) - 1; $i >= 0; $i--) {
345 $count = count($lines);
350 $start = $count - 1;
[all …]
/dokuwiki/lib/plugins/extension/_test/
DInstallerTest.php57 $this->assertEquals(count($expected), count($list), 'number of extensions found');
/dokuwiki/lib/plugins/authplain/
Dauth.php267 $count = count($this->users);
269 $count -= count($this->users);
270 return $count;
286 if ($filter === []) return count($this->users);
288 $count = 0;
292 $count += $this->filter($user, $info);
295 return $count;
316 $count = 0;
324 $count++;
325 if (($limit > 0) && ($count >= $limit)) break;
[all …]
/dokuwiki/inc/Parsing/ParserMode/
DSmiley.php24 if (!count($this->smileys) || $this->pattern != '') return;
36 if (!count($this->smileys)) return;
DEntity.php25 if (!count($this->entities) || $this->pattern != '') return;
37 if (!count($this->entities)) return;
DAcronym.php25 if (!count($this->acronyms)) return;
35 if (!count($this->acronyms)) return;
/dokuwiki/inc/TreeBuilder/
DTreeSort.php31 $min = min(count($pathA), count($pathB));
38 return count($pathA) <=> count($pathB);
/dokuwiki/vendor/simplepie/simplepie/src/Net/
DIPv6.php204 if (count($ipv6) === 8 && count($ipv4) === 1 || count($ipv6) === 6 && count($ipv4) === 4) {
228 if (count($ipv4) === 4) {
/dokuwiki/lib/plugins/config/core/Setting/
DSettingMulticheckbox.php87 (count($default) === count($value)) &&
88 (count($value) === count(array_intersect($value, $default)))
123 if (count($idx) && $idx[count($idx) - 1] !== false) {

12345678