Home
last modified time | relevance | path

Searched refs:Stack (Results 1 – 25 of 240) sorted by relevance

12345678910

/external/clang/lib/Format/
DContinuationIndenter.cpp77 State.Stack.push_back(ParenState(FirstIndent, Line->Level, FirstIndent, in getInitialState()
95 if (!Current.CanBreakBefore && !(State.Stack.back().BreakBeforeClosingBrace && in canBreak()
113 if (Current.isMemberAccess() && State.Stack.back().ContainsUnwrappedBuilder) in canBreak()
119 Previous.is(tok::l_brace) && State.Stack.size() > 1 && in canBreak()
120 State.Stack[State.Stack.size() - 2].JSFunctionInlined && in canBreak()
121 State.Stack[State.Stack.size() - 2].HasMultipleNestedBlocks) in canBreak()
124 return !State.Stack.back().NoLineBreak; in canBreak()
132 if (State.Stack.back().BreakBeforeClosingBrace && in mustBreak()
143 State.Stack.back().BreakBeforeParameter && !Current.isTrailingComment() && in mustBreak()
147 State.Column > State.Stack.back().Indent && // Breaking saves columns. in mustBreak()
[all …]
/external/valgrind/main/memcheck/tests/
Ddeep_templates.cpp11 class Stack class
14 Stack(int = 10) { size=5; top=6; stackPtr=(T*)6; }; in Stack() function in Stack
15 ~Stack() { } in ~Stack()
27 typedef Stack<int,char> Foo;
28 typedef Stack<Foo,Foo> Foo2;
29 typedef Stack<Foo2,Foo2> Foo3;
30 typedef Stack<Foo3,Foo3> Foo4;
31 typedef Stack<Foo4,Foo4> Foo5;
32 typedef Stack<Foo5,Foo5> Foo6;
33 typedef Stack<Foo6,Foo6> Foo7;
[all …]
/external/easymock/src/org/easymock/internal/
DLastControl.java21 import java.util.Stack;
31 …private static final ThreadLocal<Stack<Invocation>> threadToCurrentInvocation = new ThreadLocal<St…
33 …private static final ThreadLocal<Stack<IArgumentMatcher>> threadToArgumentMatcherStack = new Threa…
48 Stack<IArgumentMatcher> stack = threadToArgumentMatcherStack.get(); in reportMatcher()
50 stack = new Stack<IArgumentMatcher>(); in reportMatcher()
57 Stack<IArgumentMatcher> stack = threadToArgumentMatcherStack.get(); in pullMatchers()
66 Stack<IArgumentMatcher> stack = threadToArgumentMatcherStack.get(); in reportAnd()
72 Stack<IArgumentMatcher> stack = threadToArgumentMatcherStack.get(); in reportNot()
78 Stack<IArgumentMatcher> stack = threadToArgumentMatcherStack.get(); in popLastArgumentMatchers()
98 Stack<IArgumentMatcher> stack = threadToArgumentMatcherStack.get(); in reportOr()
[all …]
/external/clang/lib/Sema/
DSemaAttr.cpp48 stack_ty Stack; member in __anon9b44d0920111::PragmaPackStack
60 Stack.push_back(PSE); in push()
75 if (Stack.empty()) { in pop()
87 Alignment = Stack.back().Alignment; in pop()
88 Stack.pop_back(); in pop()
95 for (unsigned i = Stack.size(); i != 0; ) { in pop()
97 if (Stack[i].Name == Name) { in pop()
99 Alignment = Stack[i].Alignment; in pop()
100 Stack.erase(Stack.begin() + i, Stack.end()); in pop()
120 PragmaPackStack *Stack = static_cast<PragmaPackStack*>(PackContext); in AddAlignmentAttributesForRecord() local
[all …]
DSemaOpenMP.cpp108 StackTy Stack; member in __anon216cbd260111::DSAStackTy
119 explicit DSAStackTy(Sema &S) : Stack(1), SemaRef(S) {} in DSAStackTy()
123 Stack.push_back(SharingMapTy(DKind, DirName, CurScope, Loc)); in push()
124 Stack.back().DefaultAttrLoc = Loc; in push()
128 assert(Stack.size() > 1 && "Data-sharing attributes stack is empty!"); in pop()
129 Stack.pop_back(); in pop()
160 return Stack.back().Directive; in getCurrentDirective()
164 if (Stack.size() > 2) in getParentDirective()
165 return Stack[Stack.size() - 2].Directive; in getParentDirective()
171 Stack.back().DefaultAttr = DSA_none; in setDefaultDSANone()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DNamespaceMappings.java95 private Stack m_nodeStack = new Stack();
119 Stack stack; in initNamespaces()
141 final Stack stack = getPrefixStack(prefix); in lookupNamespace()
152 final Stack stack = (Stack) m_namespaces.get(prefix); in getMappingFromPrefix()
210 Stack stack; in popNamespace()
233 Stack stack; in pushNamespace()
235 if ((stack = (Stack) m_namespaces.get(prefix)) == null) in pushNamespace()
237 m_namespaces.put(prefix, stack = new Stack()); in pushNamespace()
283 Stack prefixStack = getPrefixStack(prefix); in popNamespaces()
333 clone.m_nodeStack = (NamespaceMappings.Stack) m_nodeStack.clone(); in clone()
[all …]
/external/valgrind/main/coregrind/
Dm_stacks.c93 } Stack; typedef
95 static Stack *stacks;
103 static Stack *current_stack;
108 static void move_Stack_one_step_forward ( Stack* st ) in move_Stack_one_step_forward()
110 Stack *st0, *st1, *st2; in move_Stack_one_step_forward()
125 Stack* tmp; in move_Stack_one_step_forward()
148 static Stack* find_stack_by_addr(Addr sp) in find_stack_by_addr()
153 Stack *i = stacks; in find_stack_by_addr()
183 Stack *i; in VG_()
191 i = (Stack *)VG_(arena_malloc)(VG_AR_CORE, "stacks.rs.1", sizeof(Stack)); in VG_()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DStackExtensions.cs45 public static T elementAt<T>( this Stack<T> stack, int index ) in elementAt()
51 public static T peek<T>( this Stack<T> stack ) in peek()
57 public static T pop<T>( this Stack<T> stack ) in pop()
63 public static void push<T>( this Stack<T> stack, T obj ) in push()
69 public static int size<T>( this Stack<T> stack ) in size()
75 public static void setSize<T>( this Stack<T> stack, int size ) in setSize()
/external/llvm/include/llvm/Support/
DFileSystem.h815 std::stack<directory_iterator, std::vector<directory_iterator> > Stack; member
830 State->Stack.push(directory_iterator(path, ec)); in recursive_directory_iterator()
831 if (State->Stack.top() == directory_iterator()) in recursive_directory_iterator()
842 if ((ec = State->Stack.top()->status(st))) return *this; in increment()
844 State->Stack.push(directory_iterator(*State->Stack.top(), ec)); in increment()
846 if (State->Stack.top() != end_itr) { in increment()
850 State->Stack.pop(); in increment()
854 while (!State->Stack.empty() in increment()
855 && State->Stack.top().increment(ec) == end_itr) { in increment()
856 State->Stack.pop(); in increment()
[all …]
/external/chromium_org/base/android/jni_generator/
DtestMotionEvent.javap671 Stack=3, Locals=1, Args_size=1
690 Stack=3, Locals=1, Args_size=1
708 Stack=3, Locals=16, Args_size=14
738 Stack=3, Locals=15, Args_size=13
770 Stack=3, Locals=14, Args_size=12
798 Stack=3, Locals=15, Args_size=13
830 Stack=3, Locals=8, Args_size=6
852 Stack=3, Locals=1, Args_size=1
869 Stack=3, Locals=1, Args_size=1
886 Stack=3, Locals=1, Args_size=1
[all …]
DtestInputStream.javap59 Stack=3, Locals=1, Args_size=1
78 Stack=3, Locals=1, Args_size=1
96 Stack=3, Locals=1, Args_size=1
114 Stack=3, Locals=2, Args_size=2
132 Stack=3, Locals=1, Args_size=1
153 Stack=3, Locals=2, Args_size=2
172 Stack=3, Locals=4, Args_size=4
193 Stack=3, Locals=1, Args_size=1
211 Stack=3, Locals=3, Args_size=2
/external/proguard/src/proguard/evaluation/
DStack.java33 public class Stack class
47 public Stack(int maxSize) in Stack() method in Stack
56 public Stack(Stack stack) in Stack() method in Stack
98 public void copy(Stack other) in copy()
121 public boolean generalize(Stack other) in generalize()
507 Stack other = (Stack)object; in equals()
DTracedStack.java36 public class TracedStack extends Stack
39 private Stack producerStack;
49 producerStack = new Stack(maxSize); in TracedStack()
60 producerStack = new Stack(tracedStack.producerStack); in TracedStack()
/external/apache-xml/src/main/java/org/apache/xalan/processor/
DStylesheetHandler.java23 import java.util.Stack;
226 private boolean stackContains(Stack stack, String url) in stackContains()
1166 private Stack m_stylesheets = new Stack();
1253 private Stack m_processors = new Stack();
1307 private Stack m_elems = new Stack();
1369 Stack m_baseIdentifiers = new Stack();
1438 private Stack m_stylesheetLocatorStack = new Stack();
1466 private Stack m_importStack = new Stack();
1473 private Stack m_importSourceStack = new Stack();
1545 Stack m_nsSupportStack = new Stack();
/external/clang/lib/StaticAnalyzer/Core/
DCoreEngine.cpp44 SmallVector<WorkListUnit,20> Stack; member in __anon581800d00111::DFS
47 return !Stack.empty(); in hasWork()
51 Stack.push_back(U); in enqueue()
55 assert (!Stack.empty()); in dequeue()
56 const WorkListUnit& U = Stack.back(); in dequeue()
57 Stack.pop_back(); // This technically "invalidates" U, but we are fine. in dequeue()
63 I = Stack.begin(), E = Stack.end(); I != E; ++I) { in visitItemsInWorkList()
110 SmallVector<WorkListUnit,20> Stack; member in __anon581800d00211::BFSBlockDFSContents
113 return !Queue.empty() || !Stack.empty(); in hasWork()
120 Stack.push_back(U); in enqueue()
[all …]
/external/llvm/test/CodeGen/ARM/
D2013-04-16-AAPCS-C5-vs-VFP.ll31 double %p8, ; --> Stack
33 %struct_t* byval %p10) ; --> Stack+8
56 double 23.8, ; --> Stack
57 i32 43, ; --> R0, not Stack+8
58 %struct_t* byval @static_val) ; --> Stack+8, not R1
/external/clang/lib/Basic/
DModule.cpp172 SmallVector<Module *, 2> Stack; in markUnavailable() local
173 Stack.push_back(this); in markUnavailable()
174 while (!Stack.empty()) { in markUnavailable()
175 Module *Current = Stack.back(); in markUnavailable()
176 Stack.pop_back(); in markUnavailable()
187 Stack.push_back(*Sub); in markUnavailable()
278 SmallVector<Module *, 16> Stack(Imports.begin(), Imports.end()); in buildVisibleModulesCache() local
279 while (!Stack.empty()) { in buildVisibleModulesCache()
280 Module *CurrModule = Stack.pop_back_val(); in buildVisibleModulesCache()
284 CurrModule->getExportedModules(Stack); in buildVisibleModulesCache()
/external/mesa3d/src/mesa/main/
Dmatrix.c263 _math_matrix_copy( &stack->Stack[stack->Depth + 1], in _mesa_PushMatrix()
264 &stack->Stack[stack->Depth] ); in _mesa_PushMatrix()
266 stack->Top = &(stack->Stack[stack->Depth]); in _mesa_PushMatrix()
304 stack->Top = &(stack->Stack[stack->Depth]); in _mesa_PopMatrix()
674 stack->Stack = (GLmatrix *) CALLOC(maxDepth * sizeof(GLmatrix)); in init_matrix_stack()
676 _math_matrix_ctr(&stack->Stack[i]); in init_matrix_stack()
678 stack->Top = stack->Stack; in init_matrix_stack()
694 _math_matrix_dtr(&stack->Stack[i]); in free_matrix_stack()
696 FREE(stack->Stack); in free_matrix_stack()
697 stack->Stack = stack->Top = NULL; in free_matrix_stack()
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dmatrix.c263 _math_matrix_copy( &stack->Stack[stack->Depth + 1], in _mesa_PushMatrix()
264 &stack->Stack[stack->Depth] ); in _mesa_PushMatrix()
266 stack->Top = &(stack->Stack[stack->Depth]); in _mesa_PushMatrix()
304 stack->Top = &(stack->Stack[stack->Depth]); in _mesa_PopMatrix()
674 stack->Stack = (GLmatrix *) CALLOC(maxDepth * sizeof(GLmatrix)); in init_matrix_stack()
676 _math_matrix_ctr(&stack->Stack[i]); in init_matrix_stack()
678 stack->Top = stack->Stack; in init_matrix_stack()
694 _math_matrix_dtr(&stack->Stack[i]); in free_matrix_stack()
696 FREE(stack->Stack); in free_matrix_stack()
697 stack->Stack = stack->Top = NULL; in free_matrix_stack()
/external/apache-harmony/support/src/test/java/tests/util/
DCallVerificationStack.java20 import java.util.Stack;
25 public class CallVerificationStack extends Stack<Object> {
45 private final Stack<StackTraceElement> callStack = new Stack<StackTraceElement>();
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DProfiler.cs75 protected Stack<string> currentGrammarFileName = new Stack<string>();
76 protected Stack<string> currentRuleName = new Stack<string>();
77 protected Stack<int> currentLine = new Stack<int>();
78 protected Stack<int> currentPos = new Stack<int>();
86 protected Stack<DecisionEvent> decisionStack = new Stack<DecisionEvent>();
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DProfiler.cs75 protected Stack<string> currentGrammarFileName = new Stack<string>();
76 protected Stack<string> currentRuleName = new Stack<string>();
77 protected Stack<int> currentLine = new Stack<int>();
78 protected Stack<int> currentPos = new Stack<int>();
86 protected Stack<DecisionEvent> decisionStack = new Stack<DecisionEvent>();
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
DParseTreeBuilder.java34 import java.util.Stack;
44 Stack callStack = new Stack();
DProfiler.java130 protected Stack<String> currentGrammarFileName = new Stack();
131 protected Stack<String> currentRuleName = new Stack();
132 protected Stack<Integer> currentLine = new Stack();
133 protected Stack<Integer> currentPos = new Stack();
142 protected Stack<DecisionEvent> decisionStack = new Stack<DecisionEvent>();
/external/proguard/src/proguard/classfile/util/
DDescriptorClassEnumeration.java25 import java.util.Stack;
41 private Stack accumulatedClassNames;
105 accumulatedClassNames = new Stack(); in nextFluff()

12345678910