HomeSort by relevance Sort by last modified time
    Searched refs:Stack (Results 1 - 25 of 257) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/valgrind/main/memcheck/tests/
deep_templates.cpp 11 class Stack
14 Stack(int = 10) { size=5; top=6; stackPtr=(T*)6; };
15 ~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/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
StackExtensions.cs 45 public static T elementAt<T>( this Stack<T> stack, int index )
47 return stack.ElementAt( index );
51 public static T peek<T>( this Stack<T> stack )
53 return stack.Peek();
57 public static T pop<T>( this Stack<T> stack )
59 return stack.Pop();
63 public static void push<T>( this Stack<T> stack, T obj
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
Stack.java 22 * Custom Stack implementation on top of an {@link ArrayList} instead of
23 * using {@link java.util.Stack} which is on top of a vector.
27 public class Stack<T> extends ArrayList<T> {
31 public Stack() {
35 public Stack(int size) {
40 * Pushes the given object to the stack
48 * Remove the object at the top of the stack and returns it.
49 * @return the removed object or null if the stack was empty.
60 * Returns the object at the top of the stack.
61 * @return the object at the top or null if the stack is empty
    [all...]
  /external/clang/lib/Format/
ContinuationIndenter.cpp 77 State.Stack.push_back(ParenState(FirstIndent, Line->Level, FirstIndent,
95 if (!Current.CanBreakBefore && !(State.Stack.back().BreakBeforeClosingBrace &&
113 if (Current.isMemberAccess() && State.Stack.back().ContainsUnwrappedBuilder)
119 Previous.is(tok::l_brace) && State.Stack.size() > 1 &&
120 State.Stack[State.Stack.size() - 2].JSFunctionInlined &&
121 State.Stack[State.Stack.size() - 2].HasMultipleNestedBlocks)
124 return !State.Stack.back().NoLineBreak;
132 if (State.Stack.back().BreakBeforeClosingBrace &
    [all...]
  /cts/tools/dasm/src/java_cup/runtime/
virtual_parse_stack.java 4 import java.util.Stack;
6 /** This class implements a temporary or "virtual" parse stack that
7 * replaces the top portion of the actual parse stack (the part that
13 * reverts to the original parse stack (which has not actually been
15 * state is maintained on the virtual stack, not full symbol objects.
27 /** Constructor to build a virtual stack out of a real stack. */
28 public virtual_parse_stack(Stack shadowing_stack) throws java.lang.Exception
33 "Internal parser error: attempt to create null virtual stack");
37 vstack = new Stack();
    [all...]
  /external/easymock/src/org/easymock/internal/
LastControl.java 21 import java.util.Stack;
31 private static final ThreadLocal<Stack<Invocation>> threadToCurrentInvocation = new ThreadLocal<Stack<Invocation>>();
33 private static final ThreadLocal<Stack<IArgumentMatcher>> threadToArgumentMatcherStack = new ThreadLocal<Stack<IArgumentMatcher>>();
48 Stack<IArgumentMatcher> stack = threadToArgumentMatcherStack.get(); local
49 if (stack == null) {
50 stack = new Stack<IArgumentMatcher>();
57 Stack<IArgumentMatcher> stack = threadToArgumentMatcherStack.get(); local
66 Stack<IArgumentMatcher> stack = threadToArgumentMatcherStack.get(); local
72 Stack<IArgumentMatcher> stack = threadToArgumentMatcherStack.get(); local
78 Stack<IArgumentMatcher> stack = threadToArgumentMatcherStack.get(); local
98 Stack<IArgumentMatcher> stack = threadToArgumentMatcherStack.get(); local
104 Stack<Invocation> stack = threadToCurrentInvocation.get(); local
112 Stack<Invocation> stack = threadToCurrentInvocation.get(); local
121 Stack<Invocation> stack = threadToCurrentInvocation.get(); local
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/serializer/
NamespaceMappings.java 31 * prefix/uri/depth triplets are pushed on a stack pushed on a stack. The depth
47 * "def" is pushed on the stack with depth 1.
52 * stack. Of course popNamespaces(2) would pop anything with depth 2 or
55 * So prefix/uri pairs are pushed and poped off the stack as elements are
57 * are on the stack and a prefix can be found given a uri, or a uri can be found
73 * Each entry (prefix) in this hashtable points to a Stack of URIs
74 * This table maps a prefix (String) to a Stack of NamespaceNodes.
75 * All Namespace nodes in that retrieved stack have the same prefix,
76 * though possibly different URI's or depths. Such a stack must hav
119 Stack stack; local
141 final Stack stack = getPrefixStack(prefix); local
152 final Stack stack = (Stack) m_namespaces.get(prefix); local
210 Stack stack; local
233 Stack stack; local
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
EmptyStackExceptionTest.java 21 import java.util.Stack;
26 Stack s;
51 s = new Stack();
StackTest.java 21 import java.util.Stack;
25 Stack s;
28 * java.util.Stack#Stack()
31 // Test for method java.util.Stack()
32 assertEquals("Stack creation failed", 0, s.size());
36 * java.util.Stack#empty()
39 // Test for method boolean java.util.Stack.empty()
40 assertTrue("New stack answers non-empty", s.empty());
42 assertTrue("Stack should not be empty but answers empty", !s.empty())
133 Stack<Object> stack = new Stack<Object>(); local
    [all...]
  /external/valgrind/main/coregrind/
m_stacks.c 3 /*--- Stack management. m_stacks.c ---*/
44 The stack
46 The stack's segment seems to be dynamically extended downwards by
47 the kernel as the stack pointer moves down. Initially, a 1-page
48 (4k) stack is allocated. When SP moves below that for the first
51 upwards to the current valid stack. It then extends the stack
56 That means that Valgrind can't spot when the stack segment is being
58 update stack permissions around SP, so we need to spot all writes
61 The deal is: when SP is assigned a lower value, the stack is bein
266 Stack* stack = find_stack_by_addr(SP); local
    [all...]
  /external/clang/lib/Sema/
SemaAttr.cpp 30 // We just use a sentinel to represent when the stack is set to mac68k
38 /// PragmaPackStack - Simple class to wrap the stack used by #pragma
46 /// Stack - Entries in the #pragma pack stack, consisting of saved
48 stack_ty Stack;
56 /// push - Push the current alignment onto the stack, optionally
60 Stack.push_back(PSE);
63 /// pop - Pop a record from the stack and restore the current
74 // An empty stack is a special case...
75 if (Stack.empty())
    [all...]
  /libcore/luni/src/main/java/java/util/
Stack.java 21 * {@code Stack} is a Last-In/First-Out(LIFO) data structure which represents a
22 * stack of objects. It enables users to pop to and push from the stack,
23 * including null objects. There is no limit to the size of the stack.
25 public class Stack<E> extends Vector<E> {
30 * Constructs a stack with the default size of {@code Vector}.
32 public Stack() {
36 * Returns whether the stack is empty or not.
38 * @return {@code true} if the stack is empty, {@code false} otherwise.
45 * Returns the element at the top of the stack without removing it
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
JJTAddressListParserState.java 6 private java.util.Stack<Node> nodes;
7 private java.util.Stack<Integer> marks;
9 private int sp; // number of nodes on stack
14 nodes = new java.util.Stack<Node>();
15 marks = new java.util.Stack<Integer>();
27 /* Call this to reinitialize the node stack. It is called
42 /* Pushes a node on to the stack. */
48 /* Returns the node on the top of the stack, and remove it from the
49 stack. */
57 /* Returns the node currently on the top of the stack. *
    [all...]
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
ParseTreeBuilder.java 34 import java.util.Stack;
44 Stack callStack = new Stack();
  /cts/tools/dasm/src/java_cup/
lalr_item.java 3 import java.util.Stack;
47 _propagate_items = new Stack();
85 protected Stack _propagate_items;
88 public Stack propagate_items() {return _propagate_items;}
  /external/chromium_org/third_party/skia/tools/lua/
dump_clipstack_at_restore.lua 14 -- io.write("Clip Stack at restore #", restoreCount, ":\n")
15 io.write("Reduced Clip Stack at restore #", restoreCount, ":\n")
  /external/proguard/src/proguard/evaluation/
InvocationUnit.java 30 * and it updates the stack for the invocation of a class member.
53 * Updates the given stack corresponding to the execution of the given
61 Stack stack);
Stack.java 28 * This class represents an operand stack that contains <code>Value</code>
33 public class Stack
44 * Creates a new Stack with a given maximum size, accounting for the double
47 public Stack(int maxSize)
54 * Creates a Stack that is a copy of the given Stack.
56 public Stack(Stack stack)
59 this(stack.values.length)
    [all...]
  /external/skia/tools/lua/
dump_clipstack_at_restore.lua 14 -- io.write("Clip Stack at restore #", restoreCount, ":\n")
15 io.write("Reduced Clip Stack at restore #", restoreCount, ":\n")
  /external/llvm/include/llvm/Support/
FileSystem.h 38 #include <stack>
815 std::stack<directory_iterator, std::vector<directory_iterator> > Stack;
830 State->Stack.push(directory_iterator(path, ec));
831 if (State->Stack.top() == directory_iterator())
842 if ((ec = State->Stack.top()->status(st))) return *this;
844 State->Stack.push(directory_iterator(*State->Stack.top(), ec));
846 if (State->Stack.top() != end_itr) {
850 State->Stack.pop()
    [all...]
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/omaha/
XMLParser.java 21 import java.util.Stack;
44 private final Stack<Node> mTagStack;
48 mTagStack = new Stack<Node>();
82 if (mTagStack.empty()) throw new SAXException("Tag stack is empty when it shouldn't be.");
98 throw new SAXException("Tried closing empty stack with " + qName);
  /external/mockito/src/org/mockito/internal/progress/
ArgumentMatcherStorageImpl.java 19 import java.util.Stack;
26 private Stack<LocalizedMatcher> matcherStack = new Stack<LocalizedMatcher>();
  /external/proguard/src/proguard/classfile/util/
DescriptorClassEnumeration.java 25 import java.util.Stack;
41 private Stack accumulatedClassNames;
102 // Make sure we have a stack.
105 accumulatedClassNames = new Stack();
  /external/apache-harmony/support/src/test/java/tests/util/
CallVerificationStack.java 20 import java.util.Stack;
23 * A stack to store the parameters of a call, as well as the call stack.
25 public class CallVerificationStack extends Stack<Object> {
44 // the call stack, store StackTraceElement
45 private final Stack<StackTraceElement> callStack = new Stack<StackTraceElement>();
76 * Pushes the call stack.
108 * Clear the parameter stack and the call stack
    [all...]
  /external/clang/lib/StaticAnalyzer/Core/
CoreEngine.cpp 44 SmallVector<WorkListUnit,20> Stack;
47 return !Stack.empty();
51 Stack.push_back(U);
55 assert (!Stack.empty());
56 const WorkListUnit& U = Stack.back();
57 Stack.pop_back(); // This technically "invalidates" U, but we are fine.
63 I = Stack.begin(), E = Stack.end(); I != E; ++I) {
110 SmallVector<WorkListUnit,20> Stack;
113 return !Queue.empty() || !Stack.empty()
    [all...]

Completed in 650 milliseconds

1 2 3 4 5 6 7 8 91011