Home
last modified time | relevance | path

Searched refs:first (Results 1 – 25 of 857) sorted by relevance

12345678910>>...35

/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/WhiteSpace/
H A DScopeIndentSniff.php170 $trimmed = ltrim($tokens[$first]['content']);
348 $first--;
352 if ($prev !== $first) {
371 && $tokens[$first]['scope_closer'] === $first
455 $first--;
459 if ($prev !== $first) {
476 $first = $phpcsFile->findNext(T_WHITESPACE, ($first + 1), null, true);
480 && $tokens[$first]['scope_closer'] === $first
942 … $currentIndent = (strlen($tokens[$first]['content']) - strlen(ltrim($tokens[$first]['content'])));
1224 if ($prev !== $first) {
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/PHP/
H A DEmbeddedPhpSniff.php121 … $padding = (strlen($tokens[$first]['content']) - strlen(ltrim($tokens[$first]['content'])));
159 if ($first === false) {
161 … $indent = (strlen($tokens[$first]['content']) - strlen(ltrim($tokens[$first]['content'])));
194 if ($first === false) {
196 … $padding = (strlen($tokens[$first]['content']) - strlen(ltrim($tokens[$first]['content'])));
205 for ($first = ($stackPtr - 1); $first > 0; $first--) {
209 $first = $phpcsFile->findFirstOnLine(array(), $first, true);
215 if ($tokens[$first]['code'] === T_INLINE_HTML
216 && trim($tokens[$first]['content']) !== ''
218 … $expected = (strlen($tokens[$first]['content']) - strlen(ltrim($tokens[$first]['content'])));
[all …]
/plugin/commonmark/vendor/league/commonmark/src/Inline/
H A DAdjacentTextMerger.php47 $first = null;
53 if ($first === null) {
54 $first = $node;
58 self::mergeIfNeeded($first, $last);
59 $first = null;
68 self::mergeIfNeeded($first, $last);
71 private static function mergeIfNeeded(?Text $first, ?Text $last): void argument
73 if ($first === null || $last === null || $first === $last) {
78 $s = $first->getContent();
80 $node = $first->next();
[all …]
/plugin/html2pdf/html2pdf/html2ps/
H A Dbox.generic.inline.php62 $first = $parent->get_first();
66 $indent_offset = ($first->uid == $this->uid || 1) ? $text_indent->calculate($parent) : 0;
95 $first =& $this->get_first();
96 if (is_null($first)) { return 0; };
97 return $first->get_ascender();
101 $first =& $this->get_first();
102 if (is_null($first)) { return 0; };
103 return $first->get_baseline();
107 $first =& $this->get_first();
108 if (is_null($first)) { return 0; };
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/
H A Dfirst.test2 "first" filter
4 {{ [1, 2, 3, 4]|first }}
5 {{ {a: 1, b: 2, c: 3, d: 4}|first }}
6 {{ '1234'|first }}
7 {{ arr|first }}
8 {{ 'Ä€é'|first }}
9 {{ ''|first }}
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/DocGenerators/
H A DHTML.php263 $first = trim($codeBlocks->item(0)->nodeValue);
264 $first = str_replace('<?php', '&lt;?php', $first);
265 $first = str_replace("\n", '</br>', $first);
266 $first = str_replace(' ', '&nbsp;', $first);
267 $first = str_replace('<em>', '<span class="code-comparison-highlight">', $first);
268 $first = str_replace('</em>', '</span>', $first);
284 echo " <td class=\"code-comparison-code\">$first</td>".PHP_EOL;
/plugin/findologicxmlexport/vendor/twig/twig/doc/filters/
H A Dfirst.rst1 ``first``
5 The ``first`` filter was added in Twig 1.12.2.
7 The ``first`` filter returns the first "element" of a sequence, a mapping, or
12 {{ [1, 2, 3, 4]|first }}
15 {{ { a: 1, b: 2, c: 3, d: 4 }|first }}
18 {{ '1234'|first }}
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/WhiteSpace/
H A DMemberVarSpacingSniff.php92 … $first = $phpcsFile->findFirstOnLine(PHP_CodeSniffer_Tokens::$emptyTokens, $start, true);
93 if ($first === false) {
94 $first = $start;
97 $first = $tokens[$start]['comment_opener'];
99 … $first = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$emptyTokens, ($start - 1), null, true);
100 $first = $phpcsFile->findNext(PHP_CodeSniffer_Tokens::$commentTokens, ($first + 1));
103 …$prev = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$emptyTokens, ($first - 1), null, t…
104 $foundLines = ($tokens[$first]['line'] - $tokens[$prev]['line'] - 1);
114 for ($i = ($prev + 1); $i < $first; $i++) {
119 if ($tokens[$i]['line'] === $tokens[$first]['line']) {
/plugin/blog/syntax/
H A Dblog.php51 $first = $_REQUEST['first'];
52 if (!is_numeric($first)) $first = 0;
88 $isMore = count($entries) > ($first + $num);
89 $entries = array_slice($entries, $first, $num);
144 … if ($pagingcontrols) $renderer->doc .= $this->_browseEntriesLinks($isMore, $first, $num);
165 function _browseEntriesLinks($more, $first, $num) { argument
169 $last = $first+$num;
170 if ($first > 0) {
171 $first -= $num;
172 if ($first < 0) $first = 0;
[all …]
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Exclusion/
H A DDisjunctExclusionStrategyTest.php21 … $first = $this->getMockBuilder('JMS\Serializer\Exclusion\ExclusionStrategyInterface')->getMock(),
25 $first->expects($this->once())
42 … $first = $this->getMockBuilder('JMS\Serializer\Exclusion\ExclusionStrategyInterface')->getMock(),
46 $first->expects($this->once())
65 … $first = $this->getMockBuilder('JMS\Serializer\Exclusion\ExclusionStrategyInterface')->getMock(),
69 $first->expects($this->once())
88 … $first = $this->getMockBuilder('JMS\Serializer\Exclusion\ExclusionStrategyInterface')->getMock(),
92 $first->expects($this->once())
109 … $first = $this->getMockBuilder('JMS\Serializer\Exclusion\ExclusionStrategyInterface')->getMock(),
113 $first->expects($this->once())
[all …]
/plugin/discussion/
H A Dadmin.php54 $first = $_REQUEST['first'];
55 if (!is_numeric($first)) $first = 0;
64 $threads = array_slice($threads, $first, $num);
304 * @param int $first
311 if (($first == 0) && (!$more)) return true;
314 $last = $first+$num;
317 if ($first > 0) {
318 $first -= $num;
319 if ($first < 0) {
320 $first = 0;
[all …]
/plugin/barcode/api/google/
H A Dbarcode.inc16 $first = true;
21 $resultStr .= $this->addParam($first, 'cht=qr');
24 $resultStr .= $this->addParam($first, 'chs=120x120');
27 $resultStr .= $this->addParam($first, 'chs=240x240');
30 $resultStr .= $this->addParam($first, 'chs=350x350');
33 $resultStr .= $this->addParam($first, 'chs=500x500');
36 $resultStr .= $this->addParam($first, 'chs=240x240');
39 $resultStr .= $this->addParam($first, 'chl=' . urlencode($text));
/plugin/barcode/api/inigma/
H A Dbarcode.inc16 $first = true;
28 $resultStr .= $this->addParam($first, 'c=' . $caption);
32 $resultStr .= $this->addParam($first, 's=3');
35 $resultStr .= $this->addParam($first, 's=4');
38 $resultStr .= $this->addParam($first, 's=5');
41 $resultStr .= $this->addParam($first, 's=6');
44 $resultStr .= $this->addParam($first, 's=4');
47 $resultStr .= $this->addParam($first, 'd=' . urlencode($text));
/plugin/barcode/api/qrserver/
H A Dbarcode.inc16 $first = true;
22 $resultStr .= $this->addParam($first, 'size=120x120');
25 $resultStr .= $this->addParam($first, 'size=240x240');
28 $resultStr .= $this->addParam($first, 'size=350x350');
31 $resultStr .= $this->addParam($first, 'size=500x500');
34 $resultStr .= $this->addParam($first, 'size=240x240');
37 $resultStr .= $this->addParam($first, 'data=' . urlencode($text));
41 if ($p[$optional]) $resultStr .= $this->addParam($first, $optional . '=' . $p[$optional]);
/plugin/linkback/
H A Dadmin.php58 $first = $_REQUEST['first'];
59 if (!is_numeric($first)) $first = 0;
68 $targets = array_slice($targets, $first, $num);
85 $this->_browseLinkbackLinks($more, $first, $num);
247 function _browseLinkbackLinks($more, $first, $num){ argument
250 if (($first == 0) && (!$more)) return true;
253 $last = $first+$num;
255 if ($first > 0){
256 $first -= $num;
257 if ($first < 0) $first = 0;
[all …]
/plugin/barcode/api/kawa/
H A Dbarcode.inc16 $first = true;
22 $resultStr .= $this->addParam($first, 's=4');
25 $resultStr .= $this->addParam($first, 's=6');
28 $resultStr .= $this->addParam($first, 's=8');
31 $resultStr .= $this->addParam($first, 's=10');
34 $resultStr .= $this->addParam($first, 's=15');
37 $resultStr .= $this->addParam($first, 'd=' . urlencode($text));
/plugin/webdavclient/vendor/composer/
H A DClassLoader.php126 $first = $prefix[0];
127 if (!isset($this->prefixesPsr0[$first][$prefix])) {
128 $this->prefixesPsr0[$first][$prefix] = (array) $paths;
133 $this->prefixesPsr0[$first][$prefix] = array_merge(
135 $this->prefixesPsr0[$first][$prefix]
138 $this->prefixesPsr0[$first][$prefix] = array_merge(
139 $this->prefixesPsr0[$first][$prefix],
349 $first = $class[0];
350 if (isset($this->prefixLengthsPsr4[$first])) {
379 if (isset($this->prefixesPsr0[$first])) {
[all …]
/plugin/davcard/vendor/composer/
H A DClassLoader.php126 $first = $prefix[0];
127 if (!isset($this->prefixesPsr0[$first][$prefix])) {
128 $this->prefixesPsr0[$first][$prefix] = (array) $paths;
133 $this->prefixesPsr0[$first][$prefix] = array_merge(
135 $this->prefixesPsr0[$first][$prefix]
138 $this->prefixesPsr0[$first][$prefix] = array_merge(
139 $this->prefixesPsr0[$first][$prefix],
349 $first = $class[0];
350 if (isset($this->prefixLengthsPsr4[$first])) {
379 if (isset($this->prefixesPsr0[$first])) {
[all …]
/plugin/davcal/vendor/composer/
H A DClassLoader.php126 $first = $prefix[0];
127 if (!isset($this->prefixesPsr0[$first][$prefix])) {
128 $this->prefixesPsr0[$first][$prefix] = (array) $paths;
133 $this->prefixesPsr0[$first][$prefix] = array_merge(
135 $this->prefixesPsr0[$first][$prefix]
138 $this->prefixesPsr0[$first][$prefix] = array_merge(
139 $this->prefixesPsr0[$first][$prefix],
349 $first = $class[0];
350 if (isset($this->prefixLengthsPsr4[$first])) {
379 if (isset($this->prefixesPsr0[$first])) {
[all …]
/plugin/xref/
H A Dsyntax.php63 $first = 0;
64 if($link[0] == '$') $first = 4;
65 $found = $this->_find($link,$first);
102 * @param int $first - defines which type should be searched first for the name
104 function _find($name,$first=0){ argument
116 $path = $paths[$first];
117 unset($paths[$first]);
/plugin/vbsso/vendor/composer/
H A DClassLoader.php127 $first = $prefix[0];
128 if (!isset($this->prefixesPsr0[$first][$prefix])) {
129 $this->prefixesPsr0[$first][$prefix] = (array) $paths;
134 $this->prefixesPsr0[$first][$prefix] = array_merge(
136 $this->prefixesPsr0[$first][$prefix]
139 $this->prefixesPsr0[$first][$prefix] = array_merge(
140 $this->prefixesPsr0[$first][$prefix],
375 $first = $class[0];
376 if (isset($this->prefixLengthsPsr4[$first])) {
409 if (isset($this->prefixesPsr0[$first])) {
[all …]
/plugin/icalevents/vendor/composer/
H A DClassLoader.php127 $first = $prefix[0];
128 if (!isset($this->prefixesPsr0[$first][$prefix])) {
129 $this->prefixesPsr0[$first][$prefix] = (array) $paths;
134 $this->prefixesPsr0[$first][$prefix] = array_merge(
136 $this->prefixesPsr0[$first][$prefix]
139 $this->prefixesPsr0[$first][$prefix] = array_merge(
140 $this->prefixesPsr0[$first][$prefix],
375 $first = $class[0];
376 if (isset($this->prefixLengthsPsr4[$first])) {
409 if (isset($this->prefixesPsr0[$first])) {
[all …]
/plugin/struct/meta/
H A DQueryBuilderWhere.php113 * @param bool $first is this the first where statement? Then the type is ignored
116 public function toSQL($first = true) argument
121 if (!$first) $sql .= $this->type . ' ';
124 $first = true;
127 $sql .= $where->toSQL($first);
128 $first = false;
/plugin/dw2pdf/vendor/composer/
H A DClassLoader.php127 $first = $prefix[0];
128 if (!isset($this->prefixesPsr0[$first][$prefix])) {
129 $this->prefixesPsr0[$first][$prefix] = (array) $paths;
134 $this->prefixesPsr0[$first][$prefix] = array_merge(
136 $this->prefixesPsr0[$first][$prefix]
139 $this->prefixesPsr0[$first][$prefix] = array_merge(
140 $this->prefixesPsr0[$first][$prefix],
375 $first = $class[0];
376 if (isset($this->prefixLengthsPsr4[$first])) {
409 if (isset($this->prefixesPsr0[$first])) {
[all …]
/plugin/mdpage/vendor/composer/
H A DClassLoader.php127 $first = $prefix[0];
128 if (!isset($this->prefixesPsr0[$first][$prefix])) {
129 $this->prefixesPsr0[$first][$prefix] = (array) $paths;
134 $this->prefixesPsr0[$first][$prefix] = array_merge(
136 $this->prefixesPsr0[$first][$prefix]
139 $this->prefixesPsr0[$first][$prefix] = array_merge(
140 $this->prefixesPsr0[$first][$prefix],
375 $first = $class[0];
376 if (isset($this->prefixLengthsPsr4[$first])) {
409 if (isset($this->prefixesPsr0[$first])) {
[all …]

12345678910>>...35