Home
last modified time | relevance | path

Searched full:loop (Results 1 – 25 of 1160) sorted by relevance

12345678910>>...47

/plugin/findologicxmlexport/vendor/twig/twig/doc/tags/
Dfor.rst4 Loop over each item in a sequence. For example, to display a list of users
53 The `loop` variable
56 Inside of a ``for`` loop block you can access some special variables:
61 ``loop.index`` The current iteration of the loop. (1 indexed)
62 ``loop.index0`` The current iteration of the loop. (0 indexed)
63 ``loop.revindex`` The number of iterations from the end of the loop (1 indexed)
64 ``loop.revindex0`` The number of iterations from the end of the loop (0 indexed)
65 ``loop.first`` True if first iteration
66 ``loop.last`` True if last iteration
67 ``loop.length`` The number of items in the sequence
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/
DForTest.php68 …ontext['_iterated'], \$context['key'], \$context['item'], \$context['_parent'], \$context['loop']);
86 \$context['loop'] = [
94 \$context['loop']['revindex0'] = \$length - 1;
95 \$context['loop']['revindex'] = \$length;
96 \$context['loop']['length'] = \$length;
97 \$context['loop']['last'] = 1 === \$length;
101 ++\$context['loop']['index0'];
102 ++\$context['loop']['index'];
103 \$context['loop']['first'] = false;
104 if (isset(\$context['loop']['length'])) {
[all …]
/plugin/webdav/vendor/sabre/event/lib/Loop/
Dfunctions.php3 namespace Sabre\Event\Loop;
47 * Runs a function immediately at the next iteration of the loop.
123 * Runs the loop.
142 * If there are now timeouts, nextTick callbacks or events in the loop at
146 * loop after the tick.
169 * Retrieves or sets the global Loop object.
171 * @param Loop $newLoop
173 function instance(Loop $newLoop = null) {
175 static $loop;
177 $loop = $newLoop;
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/for/
Dloop_context.test2 "for" tag adds a loop variable to the context
5 * {{ loop.index }}/{{ loop.index0 }}
6 * {{ loop.revindex }}/{{ loop.revindex0 }}
7 * {{ loop.first }}/{{ loop.last }}/{{ loop.length }}
Dobjects_countable.test6 * {{ loop.index }}/{{ loop.index0 }}
7 * {{ loop.revindex }}/{{ loop.revindex0 }}
8 * {{ loop.first }}/{{ loop.last }}/{{ loop.length }}
Dobjects.test6 * {{ loop.index }}/{{ loop.index0 }}
7 * {{ loop.first }}
/plugin/findologicxmlexport/vendor/twig/twig/src/Node/
DForLoopNode.php36 ->write("++\$context['loop']['index0'];\n")
37 ->write("++\$context['loop']['index'];\n")
38 ->write("\$context['loop']['first'] = false;\n")
43 ->write("if (isset(\$context['loop']['length'])) {\n")
45 ->write("--\$context['loop']['revindex0'];\n")
46 ->write("--\$context['loop']['revindex'];\n")
47 ->write("\$context['loop']['last'] = 0 === \$context['loop']['revindex0'];\n")
DForNode.php26 protected $loop; variable in Twig\\Node\\ForNode
30 $body = new Node([$body, $this->loop = new ForLoopNode($lineno, $tag)]);
60 ->write("\$context['loop'] = [\n")
73 ->write("\$context['loop']['revindex0'] = \$length - 1;\n")
74 ->write("\$context['loop']['revindex'] = \$length;\n")
75 ->write("\$context['loop']['length'] = \$length;\n")
76 ->write("\$context['loop']['last'] = 1 === \$length;\n")
83 $this->loop->setAttribute('else', $this->hasNode('else'));
84 $this->loop->setAttribute('with_loop', $this->getAttribute('with_loop'));
85 $this->loop->setAttribute('ifexpr', $this->getAttribute('ifexpr'));
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/src/NodeVisitor/
DOptimizerNodeVisitor.php180 * Optimizes "for" tag by removing the "loop" variable creation whenever possible.
185 // disable the loop variable by default
191 // we are outside a loop
195 // when do we need to add the loop variable back?
197 // the loop variable is referenced for the current loop
198 elseif ($node instanceof NameExpression && 'loop' === $node->getAttribute('name')) {
203 // optimize access to loop targets
228 // the loop variable is referenced via an attribute
235 && 'loop' === $node->getNode('node')->getAttribute('name')
244 * Optimizes "for" tag by removing the "loop" variable creation whenever possible.
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/NodeVisitor/
DOptimizerTest.php76 ['{% for i in foo %}{{ loop.index }}{% endfor %}', ['i' => true]],
86 …['{% for i in foo %}{% include "foo" with { "foo": loop.index } only %}{% endfor %}', ['i' => true…
88 …['{% for i in foo %}{% for j in foo %}{{ loop.index }}{% endfor %}{% endfor %}', ['i' => false, 'j…
90 …['{% for i in foo %}{% for j in foo %}{{ loop.parent.loop.index }}{% endfor %}{% endfor %}', ['i' …
92 …['{% for i in foo %}{% set l = loop %}{% for j in foo %}{{ l.index }}{% endfor %}{% endfor %}', ['…
94 …['{% for i in foo %}{% for j in foo %}{{ foo.parent.loop.index }}{% endfor %}{% endfor %}', ['i' =…
96 …['{% for i in foo %}{% for j in foo %}{{ loop["parent"].loop.index }}{% endfor %}{% endfor %}', ['…
106 …['{% for i in foo %}{{ include("foo", { "foo": loop.index }, with_context = false) }}{% endfor %}'…
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Docs/CodeAnalysis/
DForLoopWithTestFunctionCallStandard.xml4 …For loops should not call functions inside the test for the loop when they can be computed beforeh…
8 <code title="Valid: A for loop that determines its end condition before the loop starts.">
16 … <code title="Invalid: A for loop that unnecessarily computes the same value on every iteration.">
/plugin/findologicxmlexport/vendor/twig/twig/src/TokenParser/
DForTokenParser.php89 // the loop variable cannot be used in the condition
92 …GetAttrExpression && $node->getNode('node') instanceof NameExpression && 'loop' == $node->getNode(…
93 …throw new SyntaxError('The "loop" variable cannot be used in a looping condition.', $node->getTemp…
105 // check usage of non-defined loop-items
109 …GetAttrExpression && $node->getNode('node') instanceof NameExpression && 'loop' == $node->getNode(…
112 …throw new SyntaxError(sprintf('The "loop.%s" variable is not defined when looping with a condition…
116 // should check for parent.loop.XXX usage
/plugin/html5video/
Dvideo.php43 …*(?:(?:webm)|(?:ogv)|(?:mp4))(?:\|(?:\d{2,4}x\d{2,4})?(?:\|(?:loop)?,?(?:autoplay)?(?:,loop)?)?)? …
112 if($arr_attr[0] == "loop") {
113 $attr = 'loop="loop"';
121 $attr = 'loop="loop" autoplay="autoplay"';
/plugin/asciidocjs/node_modules/is-core-module/test/
Dindex.js33 var requireFunc = function () { require(mod); }; // eslint-disable-line no-loop-func
53 function () { require(mod); }, // eslint-disable-line no-loop-func
59 function () { require('node:' + mod); }, // eslint-disable-line no-loop-func
64 function () { require('node:' + mod); }, // eslint-disable-line no-loop-func
95 function () { require(mod); }, // eslint-disable-line no-loop-func
101 function () { require('node:' + mod); }, // eslint-disable-line no-loop-func
106 function () { require('node:' + mod); }, // eslint-disable-line no-loop-func
/plugin/asciidocjs/node_modules/async/
DsetImmediate.js14 * Calls `callback` on a later loop around the event loop. In Node.js this just
27 * @param {Function} callback - The function to call on a later loop around
28 * the event loop. Invoked with (args...).
DnextTick.js10 * Calls `callback` on a later loop around the event loop. In Node.js this just
23 * @param {Function} callback - The function to call on a later loop around
24 * the event loop. Invoked with (args...).
/plugin/mp3play/
Dsyntax.php50 $data['loop'] = 0;
60 case 'loop':
61 $data['loop'] = 1;
111 $params .= ($data['loop']) ? 'loop=yes&amp;' : 'loop=no&amp;';
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/CodeAnalysis/
DJumbledIncrementerSniff.php21 * loop. Even it is intended this is confusing code.
77 // Skip for-loop without body.
82 // Find incrementors for outer loop.
103 $error = 'Loop incrementor (%s) jumbling with inner loop';
116 * @param array(string=>mixed) $token Current for loop token
DForLoopShouldBeWhileLoopSniff.php17 * Detects for-loops that can be simplified to a while-loop.
20 * simplified as a while-loop.
95 $error = 'This FOR loop can be simplified to a WHILE loop';
/plugin/jplayer/vendor/james-heinrich/getid3/getid3/
Dmodule.audio.avr.php41 // 18 short 1 loop or not 0=no loop, -1 (0xFFFF)=loop on
51 // 30 long 1 loop begin 0 for no loop
52 // 34 long 1 loop size equal to 'size' for no loop
88 $info['avr']['raw']['loop'] = getid3_lib::BigEndian2Int(substr($AVRheader, 18, 2));
103 $info['avr']['flags']['loop'] = (($info['avr']['raw']['loop'] == 0) ? false : true);
/plugin/virtualkeyboard/vk/extensions/
Darrayextensions.js118 for (var loop = this.length-1 ; loop >= 0; loop--) {
119 this[loop+1] = this[loop];
147 for (var loop = this.length-1 ; loop >= 0; loop--) {
148 tmp[loop] = func(this[loop]);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/ControlStructures/
DForLoopDeclarationSniff.php95 $error = 'Space found after opening bracket of FOR loop';
125 $error = 'Space found before closing bracket of FOR loop';
159 $error = 'Space found before first semicolon of FOR loop';
169 $error = 'Expected 1 space after first semicolon of FOR loop; 0 found';
177 $error = 'Expected 1 space after first semicolon of FOR loop; %s found';
192 $error = 'Space found before second semicolon of FOR loop';
202 $error = 'Expected 1 space after second semicolon of FOR loop; 0 found';
212 … $error = 'Expected no space after second semicolon of FOR loop; %s found';
218 … $error = 'Expected 1 space after second semicolon of FOR loop; %s found';
/plugin/jcapture/src/com/hammurapi/jcapture/
DCaptureConfig.java35 private static final String LOOP_PROPERTY = "loop";
60 private boolean loop = true; field in CaptureConfig
100 return loop; in isLoop()
103 public void setLoop(boolean loop) { in setLoop() argument
104 this.loop = loop; in setLoop()
291loop=Boolean.parseBoolean(properties.getProperty(LOOP_PROPERTY, String.valueOf(loop))); in load()
347 properties.setProperty(LOOP_PROPERTY, String.valueOf(loop)); in store()
/plugin/phosphor/
Dphosphor.php115 if ($params['loop']) $p['looping'] = $params['loop'];
157 if ( !empty($params['loop']) && $params['loop'] == "true" ) {
158 $loop = 'loop="true"';
162 …ty($zoom)?$zoom:'') . ' ' . (!empty($overlay)?$overlay:'') . ' ' . (!empty($loop)?$loop:'') . ' >';
/plugin/animation/scripts/
Djquery.scianimator.min.js8loop",LOOP_MODE_SWEEP:"sweep",PLAY_MODE_STOPPED:0,PLAY_MODE_PLAYING:1,POSITION_TOP:0,POSITION_BOTT… method

12345678910>>...47