Home
last modified time | relevance | path

Searched refs:current (Results 1 – 25 of 1167) sorted by relevance

12345678910>>...47

/plugin/combo/vendor/salesforce/handlebars-php/src/Handlebars/
H A DTemplate.php128 $current = $tree[$index];
132 && $current[Tokenizer::TYPE] == Tokenizer::T_ESCAPED
133 && $current[Tokenizer::NAME] === $stop
137 switch ($current[Tokenizer::TYPE]) {
139 $newStack = isset($current[Tokenizer::NODES])
140 ? $current[Tokenizer::NODES] : [];
142 $buffer .= $this->section($context, $current);
146 $newStack = isset($current[Tokenizer::NODES]) ?
147 $current[Tokenizer::NODES] : [];
149 $buffer .= $this->inverted($context, $current);
[all …]
H A DContext.php258 $current = current($this->stack);
267 return $current;
271 if (is_string($current) and $current == '') {
272 return $current;
274 $current = $this->findVariableInContext($current, $chunk, $strict);
277 return $current;
335 $current = current($this->dataStack);
337 if (!array_key_exists($variableName, $current)) {
347 return $current[$variableName];
/plugin/mdpage/vendor/cebe/markdown/block/
DHeadlineTrait.php18 protected function identifyHeadline($line, $lines, $current) argument
25 !empty($lines[$current + 1]) &&
26 (($l = $lines[$current + 1][0]) === '=' || $l === '-') &&
27 preg_match('/^(\-+|=+)\s*$/', $lines[$current + 1])
34 protected function consumeHeadline($lines, $current) argument
36 if ($lines[$current][0] === '#') {
39 while (isset($lines[$current][$level]) && $lines[$current][$level] === '#' && $level < 6) {
44 'content' => $this->parseInline(trim($lines[$current], "# \t")),
47 return [$block, $current];
52 'content' => $this->parseInline($lines[$current]),
[all …]
DHtmlTrait.php50 protected function identifyHtml($line, $lines, $current) argument
60 $gtPos = strpos($lines[$current], '>');
61 $spacePos = strpos($lines[$current], ' ');
79 protected function consumeHtml($lines, $current) argument
82 if (strncmp($lines[$current], '<!--', 4) === 0) { // html comment
83 for ($i = $current, $count = count($lines); $i < $count; $i++) {
91 …$tag = rtrim(substr($lines[$current], 1, min(strpos($lines[$current], '>'), strpos($lines[$current
96 for ($i = $current, $count = count($lines); $i < $count; $i++) {
DTableTrait.php18 protected function identifyTable($line, $lines, $current) argument
20 return strpos($line, '|') !== false && isset($lines[$current + 1])
21 && preg_match('~^\\s*\\|?(\\s*:?-[\\-\\s]*:?\\s*\\|?)*\\s*$~', $lines[$current + 1])
22 && strpos($lines[$current + 1], '|') !== false
23 && isset($lines[$current + 2]) && trim($lines[$current + 1]) !== '';
29 protected function consumeTable($lines, $current) argument
38 for ($i = $current, $count = count($lines); $i < $count; $i++) {
42 if ($i == $current+1) {
/plugin/asciidocjs/node_modules/handlebars/lib/handlebars/compiler/
Dwhitespace-control.js16 let current = body[i],
17 strip = this.accept(current);
42 if (current.type === 'PartialStatement') {
44 current.indent = /([ \t]+$)/.exec(body[i - 1].original)[1];
49 omitRight((current.program || current.inverse).body);
58 omitLeft((current.inverse || current.program).body);
193 let current = body[i == null ? 0 : i + 1];
195 !current ||
196 current.type !== 'ContentStatement' ||
197 (!multiple && current.rightStripped)
[all …]
/plugin/asciidocjs/node_modules/handlebars/dist/amd/handlebars/compiler/
Dwhitespace-control.js25 var current = body[i],
26 strip = this.accept(current);
50 if (current.type === 'PartialStatement') {
52 current.indent = /([ \t]+$)/.exec(body[i - 1].original)[1];
57 omitRight((current.program || current.inverse).body);
66 omitLeft((current.inverse || current.program).body);
187 var current = body[i == null ? 0 : i + 1];
188 if (!current || current.type !== 'ContentStatement' || !multiple && current.rightStripped) {
192 var original = current.value;
193 current.value = current.value.replace(multiple ? /^\s+/ : /^[ \t]*\r?\n?/, '');
[all …]
/plugin/asciidocjs/node_modules/handlebars/dist/cjs/handlebars/compiler/
Dwhitespace-control.js27 var current = body[i],
28 strip = this.accept(current);
52 if (current.type === 'PartialStatement') {
54 current.indent = /([ \t]+$)/.exec(body[i - 1].original)[1];
59 omitRight((current.program || current.inverse).body);
68 omitLeft((current.inverse || current.program).body);
189 var current = body[i == null ? 0 : i + 1];
190 if (!current || current.type !== 'ContentStatement' || !multiple && current.rightStripped) {
194 var original = current.value;
195 current.value = current.value.replace(multiple ? /^\s+/ : /^[ \t]*\r?\n?/, '');
[all …]
/plugin/findologicxmlexport/vendor/phpdocumentor/type-resolver/src/Types/
DContextFactory.php75 switch ($tokens->current()[0]) {
86 if ($tokens->current() === '{'
87 || $tokens->current()[0] === T_CURLY_OPEN
88 || $tokens->current()[0] === T_DOLLAR_OPEN_CURLY_BRACES) {
95 if ($tokens->current() === '}') {
126 …while ($tokens->valid() && ($tokens->current()[0] === T_STRING || $tokens->current()[0] === T_NS_S…
128 $name .= $tokens->current()[1];
152 if ($tokens->current()[0] === self::T_LITERAL_END_OF_USE) {
169 …while ($tokens->valid() && ($tokens->current()[0] !== T_STRING) && ($tokens->current()[0] !== T_NS…
186 && ($tokens->current()[0] !== self::T_LITERAL_USE_SEPARATOR)
[all …]
/plugin/gtime/gtlib/asn1/
DASN1ObjectId.php147 $current = null;
151 if ($current == null) {
152 $current = new GTBigInteger(0);
157 $current = $current->shiftLeft(7);
158 $current = $current->bitOr(new GTBigInteger($byte & 0x7F));
168 $current = (int) $current->getValue();
170 if ($current < 40) {
173 } else if ($current < 80) {
180 $byte2 = $current - ($byte1 * 40);
187 $current = null;
[all …]
/plugin/findologicxmlexport/vendor/hoa/file/
DFinder.php139 function ($current) {
140 return $current->isDir();
231 $this->_filters[] = function (\SplFileInfo $current) use ($regex) {
232 return 0 !== preg_match($regex, $current->getBasename());
248 $this->_filters[] = function (\SplFileInfo $current) use ($regex) {
249 foreach (explode(DS, $current->getPathname()) as $part) {
343 $filter = function (\SplFileInfo $current) use ($number) {
344 return $current->getSize() < $number;
350 $filter = function (\SplFileInfo $current) use ($number) {
351 return $current->getSize() <= $number;
[all …]
/plugin/findologicxmlexport/vendor/hoa/iterator/Test/Unit/
DLookbehind.php75 $current = $lookbehind->current(),
82 ->string($current)
92 $current = $lookbehind->current(),
99 ->string($current)
109 $current = $lookbehind->current(),
116 ->string($current)
134 $current = $lookbehind->current(),
140 ->string($current)
148 $current = $lookbehind->current(),
154 ->string($current)
DLookahead.php75 $current = $lookahead->current(),
82 ->string($current)
92 $current = $lookahead->current(),
99 ->string($current)
109 $current = $lookahead->current(),
116 ->string($current)
134 $current = $lookahead->current(),
141 ->string($current)
151 $current = $lookahead->current(),
158 ->string($current)
/plugin/findologicxmlexport/vendor/phpunit/phpunit/tests/Framework/Constraint/
DCountTest.php35 $this->assertEquals(1, $it->current());
39 $this->assertEquals(2, $it->current());
50 $this->assertEquals(1, $it->current());
54 $this->assertEquals(2, $it->current());
68 $this->assertEquals(1, $generator->current());
70 $this->assertEquals(null, $generator->current());
75 $this->assertEquals(1, $generator->current());
77 $this->assertEquals(2, $generator->current());
79 $this->assertEquals(null, $generator->current());
84 $this->assertEquals(1, $generator->current());
[all …]
/plugin/asciidocjs/node_modules/yargs/build/lib/
Dcompletion.js20 defaultCompletion(args, argv, current, done) { argument
33 this.commandCompletions(completions, args, current);
34 this.optionCompletions(completions, args, argv, current);
35 this.choicesCompletions(completions, args, argv, current);
38 commandCompletions(completions, args, current) { argument
42 if (!current.match(/^-/) &&
43 parentCommands[parentCommands.length - 1] !== current &&
59 optionCompletions(completions, args, argv, current) { argument
60 if ((current.match(/^-/) || (current === '' && completions.length === 0)) &&
70 this.completeOptionKey(key, completions, current);
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/src/
DTokenStream.php27 protected $current = 0; variable in Twig\\TokenStream
61 …y_merge(\array_slice($this->tokens, 0, $this->current), $tokens, \array_slice($this->tokens, $this…
71 if (!isset($this->tokens[++$this->current])) {
72 …throw new SyntaxError('Unexpected end of template.', $this->tokens[$this->current - 1]->getLine(),…
75 return $this->tokens[$this->current - 1];
85 if ($this->tokens[$this->current]->test($primary, $secondary)) {
97 $token = $this->tokens[$this->current];
122 if (!isset($this->tokens[$this->current + $number])) {
123 …throw new SyntaxError('Unexpected end of template.', $this->tokens[$this->current + $number - 1]->…
126 return $this->tokens[$this->current + $number];
[all …]
/plugin/asciidocjs/node_modules/lodash/
D_baseExtremum.js19 current = iteratee(value);
21 if (current != null && (computed === undefined
22 ? (current === current && !isSymbol(current))
23 : comparator(current, computed)
25 var computed = current,
/plugin/asciidocjs/node_modules/nunjucks/src/
Dlexer.js75 var cur = this.current();
94 cur = this.current();
101 cur = this.current();
122 if (this.current() === '/' && this.previous() !== '\\') {
126 regexBody += this.current();
136 var isCurrentAFlag = POSSIBLE_FLAGS.indexOf(this.current()) !== -1;
138 regexFlags += this.current();
152 var curComplex = cur + this.current();
159 if (lib.indexOf(complexOps, curComplex + this.current()) !== -1) {
160 cur = curComplex + this.current();
[all …]
/plugin/refnotes/
Dadmin.js329 let current = namespaces.get('');
463 .addClass(current.getStyleInheritance(styleName));
484 current.setStyle(styleName, value);
488 if ((value == 'inherit') || current.isReadOnly()) {
489 setSelection(current.getStyle(styleName));
497 setSelection(current.getStyle(styleName));
498 combo.prop('disabled', current.isReadOnly());
518 current.setStyle(styleName, value);
522 if ((edit.val() != value) || (value == 'inherit') || current.isReadOnly()) {
523 edit.val(current.getStyle(styleName));
[all …]
/plugin/asciidocjs/node_modules/is-core-module/
Dindex.js5 function specifierIncluded(current, specifier) { argument
6 var nodeParts = current.split('.');
28 function matchesRange(current, range) { argument
34 if (!specifierIncluded(current, specifiers[i])) {
46 var current = typeof nodeVersion === 'undefined'
50 if (typeof current !== 'string') {
56 if (matchesRange(current, specifierValue[i])) {
62 return matchesRange(current, specifierValue);
/plugin/asciidocjs/node_modules/esutils/lib/
Dast.js113 var current;
121 current = node.consequent;
123 if (current.type === 'IfStatement') {
124 if (current.alternate == null) {
128 current = trailingStatement(current);
129 } while (current);
/plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/
DInjector.php178 * @param HTMLPurifier_Token $current Current token variable.
182 protected function forward(&$i, &$current) argument
192 $current = $this->inputZipper->back[$i];
201 * @param HTMLPurifier_Token $current Current token variable.
206 protected function forwardUntilEndToken(&$i, &$current, &$nesting) argument
208 $result = $this->forward($i, $current);
215 if ($current instanceof HTMLPurifier_Token_Start) {
217 } elseif ($current instanceof HTMLPurifier_Token_End) {
232 * @param HTMLPurifier_Token $current Current token variable.
236 protected function backward(&$i, &$current) argument
[all …]
/plugin/authgooglesheets/vendor/guzzlehttp/psr7/src/
DAppendStream.php20 private $current = 0; variable in GuzzleHttp\\Psr7\\AppendStream
77 $this->pos = $this->current = 0;
96 $this->pos = $this->current = 0;
139 ($this->current >= count($this->streams) - 1 &&
140 $this->streams[$this->current]->eof());
161 $this->pos = $this->current = 0;
197 if ($progressToNext || $this->streams[$this->current]->eof()) {
199 if ($this->current === $total) {
202 $this->current++;
205 $result = $this->streams[$this->current]->read($remaining);
/plugin/searchjump/
Dscript.js3 current: 0, property
57 sjump.current += diff;
58 if (sjump.current >= sjump.$found.length) {
60 sjump.current = 0;
62 if (sjump.current < 0) {
64 sjump.current = sjump.$found.length - 1;
68 jQuery(sjump.dialog).css('top', jQuery(sjump.$found[sjump.current]).offset().top + 'px');
70 sjump.$found[sjump.current].scrollIntoView();
71 jQuery(sjump.$found[sjump.current]).delay(50).fadeOut().fadeIn();
/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/src/
DAppendStream.php17 private $current = 0; variable in GuzzleHttp\\Stream\\AppendStream
75 $this->pos = $this->current = 0;
131 ($this->current >= count($this->streams) - 1 &&
132 $this->streams[$this->current]->eof());
147 $this->pos = $this->current = 0;
181 if ($this->streams[$this->current]->eof()) {
182 if ($this->current == $total) {
185 $this->current++;
187 $buffer .= $this->streams[$this->current]->read($remaining);

12345678910>>...47