| /plugin/minimap/_test/ |
| D | minimap.test.php | 53 $count = $phpQueryObject->count(); 54 $this->assertEquals(1, $count, "We should see the id"); 58 $count = $phpQueryObject->count(); 59 $this->assertEquals(1, $count,"We should see container for the whole map"); 63 $count = $phpQueryObject->count(); 64 $this->assertEquals(1, $count, "We should see one container for the header"); 68 $count = $phpQueryObject->count(); 69 $this->assertEquals(1, $count,"We should see one container for the pages"); 73 $count = $phpQueryObject->count(); 74 $this->assertEquals(2, $count, "We should see two pages"); [all …]
|
| /plugin/aichat/vendor/vanderlee/php-sentence/tests/ |
| D | SentenceTest.php | 33 $this->assertSame(0, $this->object->count('')); 34 $this->assertSame(0, $this->object->count(' ')); 35 $this->assertSame(0, $this->object->count("\n")); 43 $this->assertSame(1, $this->object->count('Hello')); 44 $this->assertSame(1, $this->object->count('Hello.')); 45 $this->assertSame(1, $this->object->count('Hello...')); 46 $this->assertSame(1, $this->object->count('Hello!')); 47 $this->assertSame(1, $this->object->count('Hello?')); 48 $this->assertSame(1, $this->object->count('Hello?!')); 56 $this->assertSame(1, $this->object->count('Hello world')); [all …]
|
| /plugin/dw2pdf/vendor/setasign/fpdi/src/PdfParser/Type/ |
| D | PdfString.php | 92 for ($count = 0, $n = \strlen($s); $count < $n; $count++) { 93 if ($s[$count] !== '\\') { 94 $out .= $s[$count]; 97 if ($count === ($n - 1)) { 101 switch ($s[++$count]) { 105 $out .= $s[$count]; 129 if ($count !== $n - 1 && $s[$count + 1] === "\n") { 130 $count++; 138 $actualChar = \ord($s[$count]); 143 $oct = '' . $s[$count]; [all …]
|
| /plugin/tablelayout/script/ |
| D | polyfills.js | 8 String.prototype.repeat = function (count) { argument 14 count = +count; 15 if (count != count) { 16 count = 0; 18 if (count < 0) { 21 if (count == Infinity) { 24 count = Math.floor(count); 25 if (str.length == 0 || count == 0) { 31 if (str.length * count >= 1 << 28) { 35 for (var i = 0; i < count; i++) {
|
| /plugin/odt/ODT/ |
| D | ODTIndex.php | 22 $index_count = count ($indexesData); 71 $index_count = count($indexesData); 166 for ( $count = 0 ; $count < $max_outline_level ; $count++ ) { 167 $stylesL [$count + 1] = 'color:black;'; 168 if (!empty($settings ['styleL'.($count + 1)])) { 169 $stylesL [$count + 1] = $settings ['styleL'.($count + 1)]; 192 for ( $count = 0 ; $count < $max_outline_level ; $count++ ) 194 $indent = $indents [$count]; 196 $doc->getCSSStylePropertiesForODT ($properties, $stylesL [$count+1]); 206 $properties ['style-name'] = 'ToC '.$indexNo.'- Level '.($count+1); [all …]
|
| /plugin/icalevents/vendor/sabre/vobject/tests/VObject/Splitter/ |
| D | VCardTest.php | 26 $count = 0; 28 $count++; 30 $this->assertEquals(1, $count); 93 $count = 0; 95 $count++; 97 $this->assertEquals(4, $count); 145 $count = 0; 147 $count++; 149 $this->assertEquals(2, $count); 169 $count = 0; [all …]
|
| /plugin/webdavclient/vendor/sabre/vobject/tests/VObject/Splitter/ |
| D | VCardTest.php | 28 $count = 0; 30 $count++; 32 $this->assertEquals(1, $count); 95 $count = 0; 97 $count++; 99 $this->assertEquals(4, $count); 147 $count = 0; 149 $count++; 151 $this->assertEquals(2, $count); 171 $count = 0; [all …]
|
| /plugin/davcard/vendor/sabre/vobject/tests/VObject/Splitter/ |
| D | VCardTest.php | 28 $count = 0; 30 $count++; 32 $this->assertEquals(1, $count); 95 $count = 0; 97 $count++; 99 $this->assertEquals(4, $count); 147 $count = 0; 149 $count++; 151 $this->assertEquals(2, $count); 171 $count = 0; [all …]
|
| /plugin/davcal/vendor/sabre/vobject/tests/VObject/Splitter/ |
| H A D | VCardTest.php | 28 $count = 0; 30 $count++; 32 $this->assertEquals(1, $count); 95 $count = 0; 97 $count++; 99 $this->assertEquals(4, $count); 147 $count = 0; 149 $count++; 151 $this->assertEquals(2, $count); 171 $count = 0; [all …]
|
| /plugin/html2pdf/html2pdf/html2ps/ |
| D | utils_array.php | 5 for ($i=0, $size = count($flags); $i<$size; $i++) { 13 if (count($array) == 0) { return $array; }; 21 for ($i=0; $i < count($array); $i++) { 27 for ($i=0, $count = count($flags); $i<$count; $i++) { 45 for ($i=0, $count = count($flags); $i < $count; $i++) { 54 if (count($array) == 0) { return $array; }; 68 for ($i=0, $size = count($array); $i<$size; $i++) {
|
| /plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/ |
| H A D | PrincipalPropertySearchTest.php | 171 $count = 1; 172 if (!is_int($v1)) $count = $v2; 174 …$this->assertEquals($count,count($result), 'we expected ' . $count . ' appearances of ' . $xpath .… 244 $count = 1; 245 if (!is_int($v1)) $count = $v2; 247 …$this->assertEquals($count,count($result), 'we expected ' . $count . ' appearances of ' . $xpath .… 316 $count = 1; 317 if (!is_int($v1)) $count = $v2; 319 …$this->assertEquals($count,count($result), 'we expected ' . $count . ' appearances of ' . $xpath .… 375 $count = 1; [all …]
|
| /plugin/onlinenumber/ |
| D | syntax.php | 38 function plugin_online_check_online(& $count, $host = '') argument 48 $count = 0; 64 ++$count; 72 if (! $found && $host != '') ++$count; // About you 93 $line_count = $count = count($lines); 102 --$count; 109 ++$count; 124 return $count; // Number of lines == Number of users online 155 static $count, $result, $base; 157 if (! isset($count)) { [all …]
|
| /plugin/docimporter/ |
| D | ImportUtils.php | 28 $count = 1; 43 if (! strpos($line,'!') && $count == 1) { 64 if ($count != 1) { 76 $count += 1; 99 for($i=$imageOffset; $i<count($image_tags[0]); $i++) { 153 $count = count_from_pos($matches, $clean_matches, $start); 154 $clean_start = $clean_matches[0][$count][1]; 168 $results[$clean_start] = array("sentence" => $clean_sentence, "count" => $count); 180 $count = 0; 181 for($count=0; $count < count($clean_matches[0]); $count++) { [all …]
|
| /plugin/stlviewer/stlviewer/ |
| D | ie_polyfills.js | 2 String.prototype.repeat = function(count) { argument 8 count = +count; 9 if (count != count) { 10 count = 0; 12 if (count < 0) { 15 if (count == Infinity) { 18 count = Math.floor(count); 19 if (str.length == 0 || count == 0) { 25 if (str.length * count >= 1 << 28) { 30 if ((count & 1) == 1) { [all …]
|
| /plugin/findologicxmlexport/ |
| D | OutputXMLHelper.php | 65 public function paramsValid($start, $count, $type) argument 68 $count = filter_var($count, $type); 69 return (is_int($count) && is_int($start) && $start >= 0 && $count > 0); 96 public function getXml($start, $count) argument 100 return $dokuwikiXmlExport->generateXMLExport($start, $count); 118 public function printXml($start, $count) { argument 120 echo $this->getXml($start, $count);
|
| /plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Reports/ |
| D | Info.php | 74 $count = count($locations); 77 $this->_metricCache[$metric][$value] = $count; 79 $this->_metricCache[$metric][$value] += $count; 128 foreach ($values as $value => $count) { 129 $totalCount += $count; 130 if ($count > $winnerCount) { 132 $winnerCount = $count; 141 foreach ($values as $value => $count) { 146 $percent = round(($count / $totalCount * 100), 2); 147 echo "\t$value => $count ($percent%)".PHP_EOL;
|
| /plugin/mediasyntax/tools/ |
| D | dokuwiki2mediawiki.php | 135 for ($n=0;$n<count($headers);$n=$n+1) 140 for ($y=1;$y<count($cells)+1;$y=$y+1) 142 for ($x=0;$x<count($cells[$y]);$x=$x+1) 152 for ($y=1;$y<count($cells)+1;$y=$y+1) 153 for ($x=0;$x<count($cells[$y]);$x=$x+1) 157 for ($y=1;$y<count($cells);$y=$y+1) 159 for ($x=0;$x<count($cells[$y]);$x=$x+1) 162 while (($y+$z<=count($cells)) && (preg_match("/ *::: */",$cells[$y+$z][$x]))) 171 for ($y=1;$y<count($cells)+1;$y=$y+1) 172 for ($x=0;$x<count($cells[$y]);$x=$x+1) [all …]
|
| /plugin/authgoogle/google/contrib/ |
| D | Google_FreebaseService.php | 165 public $count; variable in Google_TopicPropertyvalue 171 public function setCount( $count) { argument 172 $this->count = $count; 175 return $this->count; 219 public $count; variable in Google_TopicStatslinkcountValues 224 public function setCount( $count) { argument 225 $this->count = $count; 228 return $this->count; 246 public $count; variable in Google_TopicStatslinkcountValuesValues 251 public function setCount( $count) { argument [all …]
|
| /plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Filter/ |
| D | BaseCssFilter.php | 26 protected function filterReferences($content, $callback, $limit = -1, &$count = 0) argument 28 return CssUtils::filterReferences($content, $callback, $limit, $count); 34 protected function filterUrls($content, $callback, $limit = -1, &$count = 0) argument 36 return CssUtils::filterUrls($content, $callback, $limit, $count); 42 …protected function filterImports($content, $callback, $limit = -1, &$count = 0, $includeUrl = true) argument 44 return CssUtils::filterImports($content, $callback, $limit, $count, $includeUrl); 50 protected function filterIEFilters($content, $callback, $limit = -1, &$count = 0) argument 52 return CssUtils::filterIEFilters($content, $callback, $limit, $count);
|
| /plugin/combo/vendor/antlr/antlr4-php-runtime/src/ |
| H A D | BufferedTokenStream.php | 108 return \count($this->tokens); 119 $skipEofCheck = $this->index < \count($this->tokens) - 1; 122 $skipEofCheck = $this->index < \count($this->tokens); 145 $n = $i - \count($this->tokens) + 1; // how many more elements we need? 165 $token->setTokenIndex(\count($this->tokens)); 181 $count = \count($this->tokens); 183 if ($index < 0 || $index >= $count) { 187 $count 228 if ($i >= \count($this->tokens)) { 231 return $this->tokens[\count($this->tokens) - 1]; [all …]
|
| /plugin/findologicxmlexport/vendor/twig/extensions/lib/Twig/Extensions/Extension/ |
| D | Date.php | 73 $count = $diff->$attribute; 75 if (0 !== $count) { 76 return $this->getPluralizedInterval($count, $diff->invert, $unit); 83 protected function getPluralizedInterval($count, $invert, $unit) argument 88 return $this->translator->transChoice($id, $count, array('%count%' => $count), 'date'); 91 if (1 !== $count) { 95 return $invert ? "in $count $unit" : "$count $unit ago";
|
| /plugin/tabtables/ |
| D | action.php | 83 for($l=0; $l<count($this->original); $l++) { 107 …if($line=="" && count($_table_data)>1) { $in_block = $this->_finalise($_table_data, $table_positio… 126 for($l=0; $l<count($this->wikified); $l++) { 150 for($r=0; $r<count($wikified); $r++) { $this->wikified[$table_position + $r] = $wikified[$r]; } 165 $cells = count(split("\t",$original[0])); 169 for($r=0; $r<count($original); $r++) { 175 if($new_table_block[count($new_table_block)-1]==$empty_line) { 176 unset($new_table_block[count($new_table_block)-1]); } 180 if(count($new_table_block)>2 && $new_table_block[1]==$empty_line) { 183 for($r=1; $r<count($new_table_block)-1; $r++) { $new_table_block[$r]=$new_table_block[$r+1]; } [all …]
|
| /plugin/dw2pdf/vendor/mpdf/mpdf/src/Writer/ |
| D | BaseWriter.php | 125 for ($count = 0, $n = strlen($s); $count < $n; $count++) { 126 if ($count === $n - 1 || $s[$count] !== '\\') { 127 $out .= $s[$count]; 129 switch ($s[++$count]) { 133 $out .= $s[$count]; 151 if ($count !== $n - 1 && $s[$count + 1] === "\n") { 152 $count++; 159 $ord = ord($s[$count]); 161 $oct = ''. $s[$count]; 162 $ord = ord($s[$count + 1]); [all …]
|
| /plugin/sitemapnavi/ |
| D | helper.php | 27 $mediaFile['level'] = count(explode(':', $cleanedNamespace)) + 1; 59 $numberOfItems = count($items); 64 $count = 0; 68 $item1 = $items[$count]; 69 $item2 = $items[$count + 1]; 72 $items[$count] = $item2; 73 $items[$count + 1] = $temp; 76 $count++; 77 if ($count === $numberOfItems) { 79 $count = 0; [all …]
|
| /plugin/ifauthex/lib/ |
| D | parser.php | 64 if (count($this->args()) == 0) { 163 $arg->printTree($indentStr . $extraIndentStr, $argIdx == count($this->args())); 190 if (count($this->args()) > 1) { 217 if (count($this->args()) == 0) { 283 if (count($this->tokenDefs()) != 1) { 291 if (count($this->tokenDefs()) != 1 && count($this->tokenDefs()) != $this->arity()) { 299 if (count($this->tokenDefs()) != 1 && count($this->tokenDefs()) != $this->arity()) { 307 … if (count($this->tokenDefs()) != 1 && count($this->tokenDefs()) != $this->arity() - 1) { 315 if (count($this->tokenDefs()) != 2) { 337 for ($lastFound = $position; $lastFound < count($args); $lastFound += 2) { [all …]
|