Home
last modified time | relevance | path

Searched refs:_stack (Results 1 – 25 of 33) sorted by relevance

12

/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/
Dindentation.py115 self._stack = []
121 if self._stack:
122 old_stack = self._stack
123 self._stack = []
141 stack = self._stack
348 for token_info in self._stack:
477 if self._stack and self._stack[-1].token == token_info.token:
484 while index <= len(self._stack):
485 stack_info = self._stack[-index]
519 self._stack.append(token_info)
[all …]
/external/chromium_org/third_party/closure_linter/closure_linter/
Dindentation.py115 self._stack = []
121 if self._stack:
122 old_stack = self._stack
123 self._stack = []
141 stack = self._stack
357 for token_info in self._stack:
466 if self._stack and self._stack[-1].token == token_info.token:
474 while index <= len(self._stack):
475 stack_info = self._stack[-index]
511 self._stack.append(token_info)
[all …]
/external/antlr/antlr-3.4/runtime/Python/tests/
Dt044trace.g7 self._stack = None
14 if self._stack is None:
15 self._stack = self.getRuleInvocationStack()
Dt044trace.py90 parser._stack,
/external/chromium_org/third_party/bintrees/bintrees/
Dwalker.py18 self._stack = []
21 self._stack = []
52 self._stack.append(self._node)
55 self._node = self._stack.pop()
58 return len(self._stack) == 0
150 stack = self._stack
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DDTMDefaultBaseIterators.java1247 protected int[] _stack = new int[_maxAncestors]; field in DTMDefaultBaseIterators.PrecedingIterator
1278 final int[] stackCopy = new int[_stack.length]; in cloneIterator()
1279 System.arraycopy(_stack, 0, stackCopy, 0, _stack.length); in cloneIterator()
1281 clone._stack = stackCopy; in cloneIterator()
1316 _stack[index = 0] = node; in setStartNode()
1323 if (++index == _stack.length) in setStartNode()
1326 System.arraycopy(_stack, 0, stack, 0, index); in setStartNode()
1327 _stack = stack; in setStartNode()
1329 _stack[index] = parent; in setStartNode()
1334 _currentNode=_stack[index]; // Last parent before root node in setStartNode()
[all …]
/external/chromium_org/tools/cr/cr/base/
Dcontext.py98 _stack = [] variable
141 _stack.append(self)
146 _stack.pop()
147 if _stack:
148 cr.context = _stack[-1]
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/sax2dtm/
DSAX2DTM2.java806 protected int[] _stack = new int[_maxAncestors]; field in SAX2DTM2.PrecedingIterator
837 final int[] stackCopy = new int[_stack.length]; in cloneIterator()
838 System.arraycopy(_stack, 0, stackCopy, 0, _stack.length); in cloneIterator()
840 clone._stack = stackCopy; in cloneIterator()
875 _stack[index = 0] = node; in setStartNode()
880 if (++index == _stack.length) in setStartNode()
883 System.arraycopy(_stack, 0, stack, 0, index); in setStartNode()
884 _stack = stack; in setStartNode()
886 _stack[index] = parent; in setStartNode()
892 _currentNode=_stack[index]; // Last parent before root node in setStartNode()
[all …]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
DActionScript.stg380 <ruleDescriptor.useScopes:{<it>_stack.push(new Object());}; separator="\n">
381 <ruleDescriptor.ruleScope:{<it.name>_stack.push(new Object());}; separator="\n">
385 <ruleDescriptor.useScopes:{<it>_stack.pop();}; separator="\n">
386 <ruleDescriptor.ruleScope:{<it.name>_stack.pop();}; separator="\n">
1055 protected var <scope.name>_stack:Array = new Array();<\n>
1061 protected var <scope.name>_stack:Array = new Array();<\n>
1132 <scope>_stack[<scope>_stack.length-<negIndex>-1].<attr.name>
1135 <scope>_stack[<index>].<attr.name>
1137 <scope>_stack[<scope>_stack.length-1].<attr.name>
1144 <scope>_stack[<scope>_stack.length-<negIndex>-1].<attr.name> =<expr>;
[all …]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/
DPython.stg492 <ruleDescriptor.useScopes:{it | self.<it>_stack.append(<it>_scope())}; separator="\n">
493 <ruleDescriptor.ruleScope:{it | self.<it.name>_stack.append(<it.name>_scope())}; separator="\n">
497 <ruleDescriptor.useScopes:{it | self.<it>_stack.pop()}; separator="\n">
498 <ruleDescriptor.ruleScope:{it | self.<it.name>_stack.pop()}; separator="\n">
1250 self.<scope.name>_stack = []<\n>
1265 self.<scope.name>_stack = []<\n>
1308 self.<scope>_stack[-<negIndex>].<attr.name>
1311 self.<scope>_stack[<index>].<attr.name>
1313 self.<scope>_stack[-1].<attr.name>
1321 ((len(self.<scope>_stack) - <negIndex> - 1) >= 0 and [self.<scope>_stack[-<negIndex>].<attr.name>] …
[all …]
/external/chromium_org/third_party/jinja2/
Druntime.py259 self._stack = stack
265 if self._depth + 1 >= len(self._stack):
269 return BlockReference(self.name, self._context, self._stack,
274 rv = concat(self._stack[self._depth](self._context))
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
DPerl5.stg407 <ruleDescriptor.useScopes:{<it>_stack.push(new <it>_scope());}; separator="\n">
408 <ruleDescriptor.ruleScope:{<it.name>_stack.push(new <it.name>_scope());}; separator="\n">
412 <ruleDescriptor.useScopes:{<it>_stack.pop();}; separator="\n">
413 <ruleDescriptor.ruleScope:{<it.name>_stack.pop();}; separator="\n">
1138 protected Stack <scope.name>_stack = new Stack();<\n>
1147 protected Stack <scope.name>_stack = new Stack();<\n>
1221 ((<scope>_scope)<scope>_stack.elementAt(<scope>_stack.size()-<negIndex>-1)).<attr.name>
1224 ((<scope>_scope)<scope>_stack.elementAt(<index>)).<attr.name>
1226 ((<scope>_scope)<scope>_stack.peek()).<attr.name>
1233 ((<scope>_scope)<scope>_stack.elementAt(<scope>_stack.size()-<negIndex>-1)).<attr.name> =<expr>;
[all …]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/
DJavaScript.stg389 <ruleDescriptor.useScopes:{this.<it>_stack.push({});}; separator="\n">
390 <ruleDescriptor.ruleScope:{this.<it.name>_stack.push({});}; separator="\n">
394 <ruleDescriptor.useScopes:{this.<it>_stack.pop();}; separator="\n">
395 <ruleDescriptor.ruleScope:{this.<it.name>_stack.pop();}; separator="\n">
1099 <scope.name>_stack: [],<\n>
1105 <scope.name>_stack: [],<\n>
1182 (this.<scope>_stack[this.<scope>_stack.length-<negIndex>-1]).<attr.name>
1185 (this.<scope>_stack[<index>]).<attr.name>
1187 org.antlr.lang.array.peek(this.<scope>_stack).<attr.name>
1194 (this.<scope>_stack[this.<scope>_stack.length-<negIndex>-1]).<attr.name> =<expr>;
[all …]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/timeline/
DTracingModel.js712 this._stack = []; property in WebInspector.TracingModel.Thread
735 if (!this._stack.length)
737 var top = this._stack.pop();
748 this._stack.push(event);
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DObjC.stg909 <ruleDescriptor.useScopes:{it | [<it>_stack push:[<it>_Scope new<it>_Scope]];}>
910 <ruleDescriptor.ruleScope:{it | [<it.name>_stack push:[<it.name>_Scope new<it.name>_Scope]];}>
915 <ruleDescriptor.useScopes:{it | [<it>_stack pop];}; separator="\n">
916 <ruleDescriptor.ruleScope:{it | [<it.name>_stack pop];}; separator="\n">
1707 ANTLRSymbolStack *<scope.name>_stack;<\n>
1740 <scope.name>_stack = [ANTLRSymbolStack newANTLRSymbolStackWithLen:30];<\n>
1743 globalAttributeScopeDealloc(scope) ::= << [<scope.name>_stack release];<\n> >>
1745 globalAttributeScope(scope) ::= << static <scope.name>_stack;<\n> >>
1797 <scope.name>_stack = [ANTLRSymbolStack newANTLRSymbolStackWithLen:30];<\n>
1805 static ANTLRSymbolStack *<scope.name>_stack;<\n>
[all …]
/external/chromium_org/third_party/motemplate/
Dmotemplate.py239 def __init__(self, name, contexts, _stack=_Stack()): argument
244 self._stack = _stack
247 message = id_.CreateResolutionErrorMessage(self._name, stack=self._stack)
254 self._name, self.contexts, _stack=self._stack)
260 _stack=self._stack.Descend(name, id_))
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Scala/
DScala.stg411 <ruleDescriptor.useScopes:{it | <it>_stack.push(new <it>_scope())}; separator="\n">
412 <ruleDescriptor.ruleScope:{it | <it.name>_stack.push(new <it.name>_scope())}; separator="\n">
416 <ruleDescriptor.useScopes:{it | <it>_stack.pop()}; separator="\n">
417 <ruleDescriptor.ruleScope:{it | <it.name>_stack.pop()}; separator="\n">
1147 val <scope.name>_stack = new collection.mutable.Stack[<scope.name>_scope]<\n>
1156 val <scope.name>_stack = new collection.mutable.Stack[<scope.name>_scope]<\n>
1228 <scope>_stack(<scope>_stack.size-<negIndex>-1).<attr.name>
1231 <scope>_stack(<index>).<attr.name>
1233 <scope>_stack.top.<attr.name>
1240 <scope>_stack(<scope>_stack.size-<negIndex>-1).<attr.name> = <expr>
[all …]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
DJava.stg433 <ruleDescriptor.useScopes:{it |<it>_stack.push(new <it>_scope());}; separator="\n">
434 <ruleDescriptor.ruleScope:{it |<it.name>_stack.push(new <it.name>_scope());}; separator="\n">
438 <ruleDescriptor.useScopes:{it |<it>_stack.pop();}; separator="\n">
439 <ruleDescriptor.ruleScope:{it |<it.name>_stack.pop();}; separator="\n">
1163 protected Stack <scope.name>_stack = new Stack();<\n>
1172 protected Stack <scope.name>_stack = new Stack();<\n>
1244 ((<scope>_scope)<scope>_stack.elementAt(<scope>_stack.size()-<negIndex>-1)).<attr.name>
1247 ((<scope>_scope)<scope>_stack.elementAt(<index>)).<attr.name>
1249 ((<scope>_scope)<scope>_stack.peek()).<attr.name>
1256 ((<scope>_scope)<scope>_stack.elementAt(<scope>_stack.size()-<negIndex>-1)).<attr.name> =<expr>;
[all …]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DCSharp2.stg603 <ruleDescriptor.useScopes:{it|<it>_stack.Push(new <it>_scope());<it>_scopeInit(<it>_stack.Peek());}…
604 <ruleDescriptor.ruleScope:{it|<it.name>_stack.Push(new <it.name>_scope());<it.name>_scopeInit(<it.n…
608 <ruleDescriptor.useScopes:{it|<it>_scopeAfter(<it>_stack.Peek());<it>_stack.Pop();}; separator="\n">
609 <ruleDescriptor.ruleScope:{it|<it.name>_scopeAfter(<it.name>_stack.Peek());<it.name>_stack.Pop();};…
1455 protected readonly ListStack\<<scope.name>_scope\> <scope.name>_stack = new ListStack\<<scope.name>…
1547 <scope>_stack[<scope>_stack.Count - <negIndex> - 1].<attr.name; format="id">
1550 <scope>_stack[<index>].<attr.name; format="id">
1552 <scope>_stack.Peek().<attr.name; format="id">
1559 <scope>_stack[<scope>_stack.Count - <negIndex> - 1].<attr.name; format="id"> = <expr>;
1562 <scope>_stack[<index>].<attr.name; format="id"> = <expr>;
[all …]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DCSharp3.stg581 <ruleDescriptor.useScopes:{it|<it>_stack.Push(new <it>_scope(this));<it>_scopeInit(<it>_stack.Peek(…
582 <ruleDescriptor.ruleScope:{it|<it.name>_stack.Push(new <it.name>_scope(this));<it.name>_scopeInit(<…
586 <ruleDescriptor.useScopes:{it|<it>_scopeAfter(<it>_stack.Peek());<it>_stack.Pop();}; separator="\n">
587 <ruleDescriptor.ruleScope:{it|<it.name>_scopeAfter(<it.name>_stack.Peek());<it.name>_stack.Pop();};…
1437 protected readonly ListStack\<<scope.name>_scope\> <scope.name>_stack = new ListStack\<<scope.name>…
1531 <scope>_stack[<scope>_stack.Count - <negIndex> - 1].<attr.name; format="id">
1534 <scope>_stack[<index>].<attr.name; format="id">
1536 <scope>_stack.Peek().<attr.name; format="id">
1543 <scope>_stack[<scope>_stack.Count - <negIndex> - 1].<attr.name; format="id"> = <expr>;
1546 <scope>_stack[<index>].<attr.name; format="id"> = <expr>;
[all …]
/external/fonttools/Lib/fontTools/pens/
DtransformPen.py26 self._stack = []
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CPP/
DCPP.stg459 <ruleDescriptor.useScopes:{<it>_stack.push(new <it>_scope());}; separator="\n">
460 <ruleDescriptor.ruleScope:{<it.name>_stack.push(new <it.name>_scope());}; separator="\n">
502 <ruleDescriptor.useScopes:{<it>_stack.pop();}; separator="\n">
503 <ruleDescriptor.ruleScope:{<it.name>_stack.pop();}; separator="\n">
1157 protected Stack <scope.name>_stack = new Stack();<\n>
1166 protected Stack <scope.name>_stack = new Stack();<\n>
1234 ((<scope>)<scope>_stack.peek()).<attr.name>
1241 ((<scope>_scope)<scope>_stack.elementAt(<scope>_stack.size()-<negIndex>-1)).<attr.name>
1244 ((<scope>_scope)<scope>_stack.elementAt(<index>)).<attr.name>
1246 ((<scope>_scope)<scope>_stack.peek()).<attr.name>
[all …]
/external/stlport/stlport/
Dstack36 # include <stl/_stack.h>
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/
DRuby.stg384 <if(scope.attributes)>@<scope.name>_stack = []<\n><endif>
550 <ruleDescriptor.useScopes:{it | @<it>_stack.push( @@<it>.new )<\n>}><ruleDescriptor.ruleScope:{it |…
554 <ruleDescriptor.useScopes:{it | @<it>_stack.pop<\n>}><ruleDescriptor.ruleScope:{it | @<it.name>_sta…
1035 @<scope>_stack[ -<negIndex> ].<attr.name>
1038 @<scope>_stack[ <index> ].<attr.name>
1040 @<scope>_stack.last.<attr.name>
1048 @<scope>_stack[ -<negIndex> ].<attr.name> = <expr>
1051 @<scope>_stack[ <index> ].<attr.name> = <expr>
1053 @<scope>_stack.last.<attr.name> = <expr>
1064 isolatedDynamicScopeRef(scope) ::= "@<scope>_stack"
/external/stlport/etc/
Dmsvcincl.dat282 _stack.h

12