Home
last modified time | relevance | path

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

12345678910>>...20

/plugin/rrdgraph/inc/
Drpncomputer.php87 $stack = array ();
92 if (count($stack) < 2) throw new Exception("RPN stack underflow"); //FIXME: Position
95 $b = array_pop($stack);
96 $a = array_pop($stack);
98 array_push($stack, $r);
102 if (count($stack) < 2) throw new Exception("RPN stack underflow"); //FIXME: Position
105 $b = array_pop($stack);
106 $a = array_pop($stack);
108 array_push($stack, $r);
112 if (count($stack) < 2) throw new Exception("RPN stack underflow"); //FIXME: Position
[all …]
/plugin/icalevents/vendor/sabre/xml/tests/Sabre/Xml/
DContextStackTest.php16 $this->stack = $this->getMockForTrait('Sabre\\Xml\\ContextStackTrait');
22 $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);
29 $this->assertEquals('Bar', $this->stack->elementMap['{DAV:}foo']);
30 $this->assertEquals('d', $this->stack->namespaceMap['DAV:']);
32 $this->stack->contextUri = '/gir/zim';
33 $this->stack->elementMap['{DAV:}foo'] = 'newBar';
[all …]
/plugin/davcal/vendor/sabre/xml/tests/Sabre/Xml/
H A DContextStackTest.php16 $this->stack = $this->getMockForTrait('Sabre\\Xml\\ContextStackTrait');
22 $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);
29 $this->assertEquals('Bar', $this->stack->elementMap['{DAV:}foo']);
30 $this->assertEquals('d', $this->stack->namespaceMap['DAV:']);
32 $this->stack->contextUri = '/gir/zim';
33 $this->stack->elementMap['{DAV:}foo'] = 'newBar';
[all …]
/plugin/matrixnotifierwas/vendor/guzzlehttp/guzzle/src/
DHandlerStack.php25 private $stack = []; variable in GuzzleHttp\\HandlerStack
49 $stack = new self($handler ?: Utils::chooseHandler());
50 $stack->push(Middleware::httpErrors(), 'http_errors');
51 $stack->push(Middleware::redirect(), 'allow_redirects');
52 $stack->push(Middleware::cookies(), 'cookies');
53 $stack->push(Middleware::prepareBody(), 'prepare_body');
55 return $stack;
86 $stack = [];
89 $stack[] = '0) Handler: '.$this->debugCallable($this->handler);
93 foreach (\array_reverse($this->stack) as $tuple) {
[all …]
/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/src/
DHandlerStack.php18 private $stack = []; variable in GuzzleHttp\\HandlerStack
42 $stack = new self($handler ?: choose_handler());
43 $stack->push(Middleware::httpErrors(), 'http_errors');
44 $stack->push(Middleware::redirect(), 'allow_redirects');
45 $stack->push(Middleware::cookies(), 'cookies');
46 $stack->push(Middleware::prepareBody(), 'prepare_body');
48 return $stack;
82 $stack = [];
84 $stack[] = "0) Handler: " . $this->debugCallable($this->handler);
88 foreach (array_reverse($this->stack) as $tuple) {
[all …]
/plugin/const/
Dclass.evalmath.php207 $stack = $this->nfx( $matches[3] );
208 if ( false === $stack ) {
212 $stack_count = count( $stack );
214 $token = $stack[ $i ];
217 $stack[ $i ] = $this->variables[ $token ];
223 $this->functions[ $function_name ] = array( 'args' => $args, 'func' => $stack );
272 $stack = new EvalMath_Stack();
298 $stack->push( '_' );
314 …while ( $stack->count > 0 && ( $o2 = $stack->last() ) && in_array( $o2, $ops, true ) && ( $ops_r[ …
316 $output[] = $stack->pop();
[all …]
/plugin/findologicxmlexport/vendor/phpunit/phpunit/tests/_files/
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/diagramsnet/lib/math/extensions/TeX/
Dbegingroup.js19stack:null,top:0,isEqn:false,Init:function(e){this.isEqn=e;this.stack=[];if(!e){this.Push(a(b.macr… property
/plugin/exttab2/
Dsyntax.php24 var $stack = array(); variable in syntax_plugin_exttab2
255 $this->stack[] = EXTTAB2_TABLE;
260 $t = end($this->stack);
263 array_push($this->stack, EXTTAB2_TR, EXTTAB2_TD);
269 array_pop($this->stack);
270 array_push($this->stack, EXTTAB2_TR, EXTTAB2_TD);
275 array_push($this->stack, EXTTAB2_TD);
283 while (($t = end($this->stack)) != EXTTAB2_TABLE) {
285 array_pop($this->stack);
287 array_pop($this->stack);
[all …]
/plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIFilter/
DMakeAbsolute.php39 $stack = explode('/', $this->base->path);
40 array_pop($stack); // discard last segment
41 $stack = $this->_collapseStack($stack); // do pre-parsing
42 $this->basePathStack = $stack;
87 $stack = explode('/', $uri->path);
88 $new_stack = array_merge($this->basePathStack, $stack);
114 * @param array $stack
117 private function _collapseStack($stack) argument
121 for ($i = 0; isset($stack[$i]); $i++) {
124 if ($stack[$i] == '' && $i && isset($stack[$i + 1])) {
[all …]
/plugin/asciidocjs/node_modules/get-caller-file/
Dindex.js12 Error.prepareStackTrace = function (_, stack) { return stack; }; argument
13 var stack = new Error().stack;
15 if (stack !== null && typeof stack === 'object') {
19 return stack[position] ? stack[position].getFileName() : undefined;
/plugin/odt/ODT/
DODTState.php41 protected $stack = array(); variable in ODTState
50 $this->stack [$this->size] = new ODTElementRoot();
138 $previous = $this->stack [$this->size-1];
141 $this->stack [$this->size] = $element;
160 return $this->stack [$this->size-1];
170 unset ($this->stack [$this->size-1]);
183 unset ($this->stack [$reset]);
196 if ($this->stack [$search]->getClass() == $clazz) {
197 return $this->stack [$search];
214 if ($this->stack [$search]->getClass() == $clazz) {
[all …]
/plugin/asciidocjs/node_modules/lodash/
D_equalArrays.js22 function equalArrays(array, other, bitmask, customizer, equalFunc, stack) { argument
31 var arrStacked = stack.get(array);
32 var othStacked = stack.get(other);
40 stack.set(array, other);
41 stack.set(other, array);
50 ? customizer(othValue, arrValue, index, other, array, stack)
51 : customizer(arrValue, othValue, index, array, other, stack);
64 … (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
73 equalFunc(arrValue, othValue, bitmask, customizer, stack)
79 stack['delete'](array);
[all …]
D_baseIsEqualDeep.js38 function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) { argument
59 stack || (stack = new Stack);
61 ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
62 : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
72 stack || (stack = new Stack);
73 return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
79 stack || (stack = new Stack);
80 return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
D_equalObjects.js25 function equalObjects(object, other, bitmask, customizer, equalFunc, stack) { argument
43 var objStacked = stack.get(object);
44 var othStacked = stack.get(other);
49 stack.set(object, other);
50 stack.set(other, object);
60 ? customizer(othValue, objValue, key, other, object, stack)
61 : customizer(objValue, othValue, key, object, other, stack);
65 ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))
85 stack['delete'](object);
86 stack['delete'](other);
/plugin/jplayer/vendor/mustache/mustache/src/Mustache/
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/codemirror/dist/modes/
Ddtd.min.js1stack:[]}},token:function(a,b){if(a.eatSpace())return null;var d=b.tokenize(a,b);var e=b.stack[b.s…
Debnf.min.js1stack:[],inDefinition:false}},token:function(b,f){if(!b)return;if(f.stack.length===0){if(b.peek()=…
Dspreadsheet.min.js1stack:[]}},token:function(a,b){if(!a)return;if(b.stack.length===0){if(a.peek()=='"'||a.peek()=="'"…
Dnginx.min.js1stack:[]}},token:function(a,b){if(a.eatSpace())return null;g=null;var c=b.tokenize(a,b);var d=b.st…
Dslim.min.js1stack={parent:a.stack,style:"continuation",indented:b,tokenize:a.line};a.line=a.tokenize}function …
/plugin/asciidocjs/node_modules/character-parser/
Dindex.js91 state.stack.pop();
98 state.stack.pop();
103 state.stack.pop();
108 state.stack.pop();
117 state.stack.pop();
126 state.stack.pop();
134 state.stack.push(BRACKETS[character]);
142 state.stack.pop();
151 state.stack.push(BRACKETS[character]);
158 state.stack.pop();
[all …]
/plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer/
DPH5P.php730 … $the_same = count($this->tree->stack) > 0 && $next_node === end($this->tree->stack)->nodeName;
1579 public $stack = array(); variable in HTML5TreeConstructer
1829 $this->stack[] = $html;
1854 if (!$this->stack[0]->hasAttribute($attr['name'])) {
1855 $this->stack[0]->setAttribute($attr['name'], $attr['value']);
1992 end($this->stack)->nodeName,
2008 array_pop($this->stack);
2064 array_pop($this->stack);
2074 if ($this->head_pointer->isSameNode(end($this->stack))) {
2075 array_pop($this->stack);
[all …]
/plugin/fckg/
Dscript.js41 var index, chars, match, stack = [], last = html;
43 stack.last = function(){
51 if ( !stack.last() || !special[ stack.last() ] ) {
96 html = html.replace(new RegExp("(.*)<\/" + stack.last() + "[^>]*>"), function(all, text){
106 parseEndTag( "", stack.last() );
119 while ( stack.last() && inline[ stack.last() ] ) {
120 parseEndTag( "", stack.last() );
124 if ( closeSelf[ tagName ] && stack.last() == tagName ) {
131 stack.push( tagName );
161 for ( var pos = stack.length - 1; pos >= 0; pos-- )
[all …]
/plugin/asciidocjs/node_modules/resolve/lib/
Dcaller.js4 Error.prepareStackTrace = function (_, stack) { return stack; }; argument
5 var stack = (new Error()).stack;
7 return stack[2].getFileName();

12345678910>>...20