Home
last modified time | relevance | path

Searched refs:stack (Results 1 – 25 of 343) sorted by relevance

12345678910>>...14

/plugin/rrdgraph/inc/
H A Drpncomputer.php87 $stack = array ();
95 $b = array_pop($stack);
96 $a = array_pop($stack);
98 array_push($stack, $r);
105 $b = array_pop($stack);
106 $a = array_pop($stack);
108 array_push($stack, $r);
115 $b = array_pop($stack);
116 $a = array_pop($stack);
118 array_push($stack, $r);
[all …]
/plugin/const/
H A Dclass.evalmath.php135 $token = $stack[$i];
172 $stack = new EvalMathStack;
240 $stack->push($stack->pop()+1); // increment the argument count
255 $stack->push($val);
256 $stack->push(1);
257 $stack->push('(');
299 $stack = new EvalMathStack;
321 $stack->push(-1*$stack->pop());
341 $stack->push($token);
353 return $stack->pop();
[all …]
/plugin/icalevents/vendor/sabre/xml/tests/Sabre/Xml/
H A DContextStackTest.php22 $this->stack->contextUri = '/foo/bar';
23 $this->stack->elementMap['{DAV:}foo'] = 'Bar';
24 $this->stack->namespaceMap['DAV:'] = 'd';
26 $this->stack->pushContext();
28 $this->assertEquals('/foo/bar', $this->stack->contextUri);
30 $this->assertEquals('d', $this->stack->namespaceMap['DAV:']);
32 $this->stack->contextUri = '/gir/zim';
33 $this->stack->elementMap['{DAV:}foo'] = 'newBar';
34 $this->stack->namespaceMap['DAV:'] = 'dd';
36 $this->stack->popContext();
[all …]
/plugin/davcal/vendor/sabre/xml/tests/Sabre/Xml/
H A DContextStackTest.php22 $this->stack->contextUri = '/foo/bar';
23 $this->stack->elementMap['{DAV:}foo'] = 'Bar';
24 $this->stack->namespaceMap['DAV:'] = 'd';
26 $this->stack->pushContext();
28 $this->assertEquals('/foo/bar', $this->stack->contextUri);
30 $this->assertEquals('d', $this->stack->namespaceMap['DAV:']);
32 $this->stack->contextUri = '/gir/zim';
33 $this->stack->elementMap['{DAV:}foo'] = 'newBar';
34 $this->stack->namespaceMap['DAV:'] = 'dd';
36 $this->stack->popContext();
[all …]
/plugin/findologicxmlexport/vendor/phpunit/phpunit/tests/_files/
H A DStackTest.php6 $stack = [];
7 $this->assertCount(0, $stack);
9 array_push($stack, 'foo');
10 $this->assertEquals('foo', $stack[count($stack)-1]);
11 $this->assertCount(1, $stack);
13 return $stack;
19 public function testPop(array $stack) argument
21 $this->assertEquals('foo', array_pop($stack));
22 $this->assertCount(0, $stack);
/plugin/exttab2/
H A Dsyntax.php24 var $stack = array(); variable in syntax_plugin_exttab2
255 $this->stack[] = EXTTAB2_TABLE;
260 $t = end($this->stack);
285 array_pop($this->stack);
287 array_pop($this->stack);
293 while (!empty($this->stack)) {
311 $this->stack[] = EXTTAB2_TR;
318 $this->stack[] = EXTTAB2_TH;
325 $this->stack[] = EXTTAB2_TD;
334 $t = end($this->stack);
[all …]
/plugin/odt/ODT/
H A DODTState.php40 protected $stack = array(); variable in ODTState
49 $this->stack [$this->size] = new ODTElementRoot();
137 $previous = $this->stack [$this->size-1];
140 $this->stack [$this->size] = $element;
159 return $this->stack [$this->size-1];
169 unset ($this->stack [$this->size-1]);
182 unset ($this->stack [$reset]);
195 if ($this->stack [$search]->getClass() == $clazz) {
196 return $this->stack [$search];
215 return $this->stack [$search];
[all …]
/plugin/codemirror/dist/modes/
H A Ddtd.min.js1stack:[]}},token:function(a,b){if(a.eatSpace())return null;var d=b.tokenize(a,b);var e=b.stack[b.s…
H A Debnf.min.js1stack:[],inDefinition:false}},token:function(b,f){if(!b)return;if(f.stack.length===0){if(b.peek()=…
H A Dspreadsheet.min.js1stack:[]}},token:function(a,b){if(!a)return;if(b.stack.length===0){if(a.peek()=='"'||a.peek()=="'"…
H A Dnginx.min.js1stack:[]}},token:function(a,b){if(a.eatSpace())return null;g=null;var c=b.tokenize(a,b);var d=b.st…
H A Dslim.min.js1stack={parent:a.stack,style:"continuation",indented:b,tokenize:a.line};a.line=a.tokenize}function … class in a
/plugin/jplayer/vendor/mustache/mustache/src/Mustache/
H A DContext.php17 private $stack = array(); variable in Mustache_Context
28 $this->stack = array($context);
39 array_push($this->stack, $value);
59 return array_pop($this->stack);
79 return end($this->stack);
99 return $this->findVariableInStack($id, $this->stack);
131 $value = $this->findVariableInStack($first, $this->stack);
204 * @param array $stack Context stack
208 private function findVariableInStack($id, array $stack) argument
210 for ($i = count($stack) - 1; $i >= 0; $i--) {
[all …]
/plugin/scrape/HTMLPurifier/Lexer/
H A DPH5P.php369 … $the_same = count($this->tree->stack) > 0 && $next_node === end($this->tree->stack)->nodeName;
1179 public $stack = array(); variable in HTML5TreeConstructer
1341 $this->stack[] = $html;
1477 array_pop($this->stack);
1676 if(count($this->stack) === 1 || $this->stack[1]->nodeName !== 'body') {
2167 if(count($this->stack) < 2 || $this->stack[1]->nodeName !== 'body') {
2437 $this->stack = array_merge($this->stack);
2534 $s_part2 = array_slice($this->stack, $fb_s_pos + 1, count($this->stack));
2897 array_pop($this->stack);
3557 $this->stack[] = $el;
[all …]
H A DPEARSax3.php32 private $stack = array(); variable in HTMLPurifier_Lexer_PEARSax3
74 $this->stack[] = $name;
90 if (!empty($this->stack)) array_pop($this->stack);
113 if (isset($this->stack[sizeof($this->stack) - 1]) &&
114 $this->stack[sizeof($this->stack) - 1] == "style") {
/plugin/fckg/
H A Dscript.js41 var index, chars, match, stack = [], last = html; variable
43 stack.last = function(){
51 if ( !stack.last() || !special[ stack.last() ] ) {
106 parseEndTag( "", stack.last() );
119 while ( stack.last() && inline[ stack.last() ] ) {
120 parseEndTag( "", stack.last() );
131 stack.push( tagName );
162 if ( stack[ pos ] == tagName )
167 for ( var i = stack.length - 1; i >= pos; i-- )
169 handler.end( stack[ i ] );
[all …]
/plugin/exttab3/
H A Dsyntax.php186 array_push($this->stack, $tag);
191 $oldtag = array_pop($this->stack);
196 $tag_prev = end($this->stack);
206 array_push($this->stack, $tag);
211 array_push($this->stack, 'tr');
213 array_push($this->stack, $tag);
226 array_push($this->stack, $tag);
231 array_push($this->stack, $tag);
247 array_push($this->stack, $tag);
254 array_push($this->stack, $tag);
[all …]
/plugin/definitionlist/
H A Dsyntax.php86 array_push($this->stack, 'dt');
92 $oldtag = array_pop($this->stack);
94 array_push($this->stack, $newtag);
102 while ($tag = array_pop($this->stack)) {
341 $stack = $renderer->getHTMLStack ();
345 $stack->getState ($state);
349 $stack->open('dl', 'class="plugin_definitionlist"', NULL, NULL);
352 $stack->open('dd', NULL, NULL, NULL);
358 $stack->close('dd');
359 $stack->open('dt', NULL, NULL, NULL);
[all …]
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/
H A DConsecutiveCalls.php20 protected $stack; variable in PHPUnit_Framework_MockObject_Stub_ConsecutiveCalls
23 public function __construct($stack) argument
25 $this->stack = $stack;
30 $this->value = array_shift($this->stack);
/plugin/ckgdoku/
H A Dscript.js41 var index, chars, match, stack = [], last = html; variable
64 stack.last = function(){
72 if ( !stack.last() || !special[ stack.last() ] ) {
127 parseEndTag( "", stack.last() );
140 while ( stack.last() && inline[ stack.last() ] ) {
141 parseEndTag( "", stack.last() );
152 stack.push( tagName );
183 if ( stack[ pos ] == tagName )
188 for ( var i = stack.length - 1; i >= pos; i-- )
190 handler.end( stack[ i ] );
[all …]
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/
H A DContextTest.php100 $stack = $context->getMetadataStack();
103 $self->assertEquals(0, $stack->count());
107 $self->assertEquals(2, $stack->count());
108 $self->assertEquals('JMS\Serializer\Tests\Fixtures\Node', $stack[1]->name);
109 $self->assertEquals('children', $stack[0]->name);
118 $stack = $context->getMetadataStack();
121 $self->assertEquals(1, $stack->count());
122 $self->assertEquals('JMS\Serializer\Tests\Fixtures\Node', $stack[0]->name);
126 $self->assertEquals(3, $stack->count());
127 $self->assertEquals('JMS\Serializer\Tests\Fixtures\Node', $stack[2]->name);
[all …]
/plugin/authucenter/lib/uc_client/lib/
H A Dxml.class.php35 var $stack; variable in XML
61 $this->stack = array();
81 $this->stack[] = &$this->document;
97 array_pop($this->stack);
98 if($this->stack) {
99 $this->document = &$this->stack[count($this->stack)-1];
/plugin/cli/
H A Dsyntax.php23 protected $stack; variable in syntax_plugin_cli
76 $this->stack[0][self::CONT]=$this->_toregexp($s);
139 $level=count($this->stack) - 1;
147 $last=end($this->stack);
158 : $this->stack[0][self::PROMPT]
164 : $this->stack[0][self::CONT]
170 : $this->stack[0][self::COMMENT]
175 $this->stack[]=$this->current;
180 $top=end($this->stack);
183 $top=array_pop($this->stack);
[all …]
/plugin/ckgedit/
H A Dscript.js42 var index, chars, match, stack = [], last = html; variable
88 stack.last = function(){
96 if ( !stack.last() || !special[ stack.last() ] ) {
151 parseEndTag( "", stack.last() );
164 while ( stack.last() && inline[ stack.last() ] ) {
165 parseEndTag( "", stack.last() );
176 stack.push( tagName );
207 if ( stack[ pos ] == tagName )
212 for ( var i = stack.length - 1; i >= pos; i-- )
214 handler.end( stack[ i ] );
[all …]
/plugin/prosemirror/schema/
H A DNodeStack.php9 protected $stack = []; variable in dokuwiki\\plugin\\prosemirror\\schema\\NodeStack
32 return $this->stack[0];
42 return $this->stack[$this->stacklength];
62 $this->stack[] = $node;
88 $node = array_pop($this->stack);

12345678910>>...14