Home
last modified time | relevance | path

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

12345678910>>...53

/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/WhiteSpace/
DScopeIndentSniff.php169 $first = $phpcsFile->findFirstOnLine(T_INLINE_HTML, $stackPtr);
170 $trimmed = ltrim($tokens[$first]['content']);
174 $currentIndent = (strlen($tokens[$first]['content']) - strlen($trimmed));
332 $first = $phpcsFile->findFirstOnLine(T_WHITESPACE, $parenOpener, true);
334 $checkIndent = ($tokens[$first]['column'] - 1);
335 if (isset($adjustments[$first]) === true) {
336 $checkIndent += $adjustments[$first];
340 $line = $tokens[$first]['line'];
341 $type = $tokens[$first]['type'];
342 echo "\t* first token on line $line is $first ($type) *".PHP_EOL;
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/PHP/
DEmbeddedPhpSniff.php120 $first = $phpcsFile->findFirstOnLine(T_WHITESPACE, $stackPtr, true);
121 … $padding = (strlen($tokens[$first]['content']) - strlen(ltrim($tokens[$first]['content'])));
158 $first = $phpcsFile->findFirstOnLine(T_WHITESPACE, $stackPtr);
159 if ($first === false) {
160 $first = $phpcsFile->findFirstOnLine(T_INLINE_HTML, $stackPtr);
161 … $indent = (strlen($tokens[$first]['content']) - strlen(ltrim($tokens[$first]['content'])));
163 $indent = ($tokens[($first + 1)]['column'] - 1);
193 $first = $phpcsFile->findFirstOnLine(T_WHITESPACE, $stackPtr);
194 if ($first === false) {
195 $first = $phpcsFile->findFirstOnLine(T_INLINE_HTML, $stackPtr);
[all …]
/plugin/html2pdf/html2pdf/html2ps/
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/
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/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/URI/
DIPv6.php55 list($first, $second) = $aIP;
56 $first = explode(':', $first);
59 if (count($first) + count($second) > 8) {
63 while (count($first) < 8) {
64 array_push($first, '0');
67 array_splice($first, 8 - count($second), 8, $second);
68 $aIP = $first;
69 unset($first, $second);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/DocGenerators/
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/
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/
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/
Dblog.php53 $first = $INPUT->int('first');
54 if (!is_numeric($first)) $first = 0;
90 $isMore = count($entries) > ($first + $num);
91 $entries = array_slice($entries, $first, $num);
146 … if ($pagingcontrols) $renderer->doc .= $this->_browseEntriesLinks($isMore, $first, $num);
167 function _browseEntriesLinks($more, $first, $num) { argument
171 $last = $first+$num;
172 if ($first > 0) {
173 $first -= $num;
174 if ($first < 0) $first = 0;
[all …]
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Exclusion/
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/barcode/api/inigma/
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/google/
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/qrserver/
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/barcode/api/kawa/
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/linkback/
Dadmin.php52 $first = $_REQUEST['first'];
53 if (!is_numeric($first)) $first = 0;
61 $more = count($targets) > ($first + $num);
62 $targets = array_slice($targets, $first, $num);
80 $this->_browseLinkbackLinks($more, $first, $num);
243 function _browseLinkbackLinks($more, $first, $num){ argument
246 if (($first == 0) && (!$more)) return true;
249 $last = $first+$num;
251 if ($first > 0){
252 $first -= $num;
[all …]
/plugin/davcard/vendor/composer/
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])) {
351 foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) {
[all …]
/plugin/webdavclient/vendor/composer/
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])) {
351 foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) {
[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])) {
351 foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) {
[all …]
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Networkconnectivity/
DLogEntryOperation.php22 public $first; variable in Google\\Service\\Networkconnectivity\\LogEntryOperation
27 public function setFirst($first) argument
29 $this->first = $first;
33 return $this->first;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Logging/
DLogEntryOperation.php25 public $first; variable in Google\\Service\\Logging\\LogEntryOperation
42 public function setFirst($first) argument
44 $this->first = $first;
51 return $this->first;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/ServiceControl/
DV2LogEntryOperation.php25 public $first; variable in Google\\Service\\ServiceControl\\V2LogEntryOperation
42 public function setFirst($first) argument
44 $this->first = $first;
51 return $this->first;
/plugin/discussion/
Dadmin.php70 $first = $INPUT->int('first');
79 $isMore = count($threads) > ($first + $num);
80 $threads = array_slice($threads, $first, $num);
101 $this->browseDiscussionLinks($isMore, $first, $num);
344 * @param int $first first entry on this page
347 protected function browseDiscussionLinks($isMore, $first, $num) argument
351 if ($first == 0 && !$isMore) return;
354 $last = $first + $num;
357 if ($first > 0) {
358 $first -= $num;
[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/icalevents/vendor/composer/
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])) {
383 $length = $this->prefixLengthsPsr4[$first][$search];
[all …]
/plugin/vbsso/vendor/composer/
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])) {
383 $length = $this->prefixLengthsPsr4[$first][$search];
[all …]

12345678910>>...53