Searched refs:stack (Results 1 - 25 of 169) sorted by relevance

1234567

/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_stack.c41 /* Simple stack storage mechanism (or simple List). */
45 * length but known at stack init time.
47 * Stack elements can be accessed via pointers (be careful, if stack
48 * moved while you point into stack you have problems)
50 * Pointers to stack elements passed in are copied.
52 * Since the stack can be inspected, it can be used for more than just
53 * a simple stack.
60 resize(Stack *stack) argument
67 HPROF_ASSERT(stack!=NULL);
68 HPROF_ASSERT(stack
89 Stack *stack; local
107 stack_element(Stack *stack, int i) argument
117 stack_top(Stack *stack) argument
130 stack_depth(Stack *stack) argument
137 stack_pop(Stack *stack) argument
149 stack_push(Stack *stack, void *element) argument
163 stack_term(Stack *stack) argument
[all...]
H A Dhprof_stack.h54 void *stack_element(Stack *stack, int i);
55 void *stack_top(Stack *stack);
56 int stack_depth(Stack *stack);
57 void *stack_pop(Stack *stack);
58 void stack_push(Stack *stack, void *element);
59 void stack_term(Stack *stack);
/openjdk7/langtools/test/tools/javac/generics/wildcards/neg/
H A DUnbounded.java36 Stack<?> stack = null;
37 String o = stack.pop();
/openjdk7/corba/src/share/classes/sun/rmi/rmic/iiop/
H A DNCClassType.java63 ContextStack stack) {
65 if (stack.anyErrors()) return null;
72 Type existing = getType(theType,stack);
84 NCClassType it = new NCClassType(stack, classDef);
85 putType(theType,it,stack);
86 stack.push(it);
89 if (it.initialize(stack)) {
90 stack.pop(true);
93 removeType(theType,stack);
94 stack
62 forNCClass(ClassDefinition classDef, ContextStack stack) argument
118 NCClassType(ContextStack stack, ClassDefinition classDef) argument
129 initialize(ContextStack stack) argument
[all...]
H A DRemoteType.java62 ContextStack stack,
65 if (stack.anyErrors()) return null;
74 Type existing = getType(theType,stack);
87 if (couldBeRemote(quiet,stack,classDef)) {
91 RemoteType it = new RemoteType(stack,classDef);
92 putType(theType,it,stack);
93 stack.push(it);
96 if (it.initialize(quiet,stack)) {
97 stack.pop(true);
100 removeType(theType,stack);
61 forRemote(ClassDefinition classDef, ContextStack stack, boolean quiet) argument
126 RemoteType(ContextStack stack, ClassDefinition classDef) argument
134 RemoteType(ContextStack stack, ClassDefinition classDef, int typeCode) argument
143 couldBeRemote(boolean quiet, ContextStack stack, ClassDefinition classDef) argument
167 initialize(boolean quiet,ContextStack stack) argument
204 isConformingRemoteInterface( Vector directInterfaces, Vector directMethods, Vector directConstants, boolean quiet, ContextStack stack) argument
[all...]
H A DNCInterfaceType.java60 ContextStack stack) {
61 if (stack.anyErrors()) return null;
68 Type existing = getType(theType,stack);
79 NCInterfaceType it = new NCInterfaceType(stack, classDef);
80 putType(theType,it,stack);
81 stack.push(it);
84 if (it.initialize(stack)) {
85 stack.pop(true);
88 removeType(theType,stack);
89 stack
59 forNCInterface( ClassDefinition classDef, ContextStack stack) argument
113 NCInterfaceType(ContextStack stack, ClassDefinition classDef) argument
124 initialize(ContextStack stack) argument
[all...]
H A DAbstractType.java62 ContextStack stack,
73 Type existing = getType(theType,stack);
87 if (couldBeAbstract(stack,classDef,quiet)) {
91 AbstractType it = new AbstractType(stack, classDef);
92 putType(theType,it,stack);
93 stack.push(it);
96 if (it.initialize(quiet,stack)) {
97 stack.pop(true);
100 removeType(theType,stack);
101 stack
61 forAbstract(ClassDefinition classDef, ContextStack stack, boolean quiet) argument
126 AbstractType(ContextStack stack, ClassDefinition classDef) argument
135 couldBeAbstract(ContextStack stack, ClassDefinition classDef, boolean quiet) argument
163 initialize(boolean quiet,ContextStack stack) argument
[all...]
H A DSpecialClassType.java67 ContextStack stack) {
68 if (stack.anyErrors()) return null;
74 String typeKey = type.toString() + stack.getContextCodeString();
76 Type existing = getType(typeKey,stack);
89 int typeCode = getTypeCode(type,theClass,stack);
95 SpecialClassType result = new SpecialClassType(stack,typeCode,theClass);
96 putType(typeKey,result,stack);
97 stack.push(result);
98 stack.pop(true);
121 private SpecialClassType(ContextStack stack, in argument
66 forSpecial(ClassDefinition theClass, ContextStack stack) argument
163 getTypeCode(sun.tools.java.Type type, ClassDefinition theClass, ContextStack stack) argument
[all...]
H A DImplementationType.java64 ContextStack stack,
66 if (stack.anyErrors()) return null;
75 Type existing = getType(theType,stack);
89 if (couldBeImplementation(quiet,stack,classDef)) {
93 ImplementationType it = new ImplementationType(stack, classDef);
94 putType(theType,it,stack);
95 stack.push(it);
98 if (it.initialize(stack,quiet)) {
99 stack.pop(true);
102 removeType(theType,stack);
63 forImplementation(ClassDefinition classDef, ContextStack stack, boolean quiet) argument
129 ImplementationType(ContextStack stack, ClassDefinition classDef) argument
134 couldBeImplementation(boolean quiet, ContextStack stack, ClassDefinition classDef) argument
157 initialize(ContextStack stack, boolean quiet) argument
242 checkMethods(ClassDefinition theClass, Vector list, ContextStack stack, boolean quiet) argument
267 updateExceptions(MemberDefinition implMethod, Method[] list, ContextStack stack, boolean quiet) argument
[all...]
H A DSpecialInterfaceType.java73 ContextStack stack) {
75 if (stack.anyErrors()) return null;
80 Type existing = getType(type,stack);
93 if (isSpecial(type,theClass,stack)) {
97 SpecialInterfaceType result = new SpecialInterfaceType(stack,0,theClass);
98 putType(type,result,stack);
99 stack.push(result);
101 if (result.initialize(type,stack)) {
102 stack.pop(true);
105 removeType(type,stack);
72 forSpecial( ClassDefinition theClass, ContextStack stack) argument
127 SpecialInterfaceType(ContextStack stack, int typeCode, ClassDefinition theClass) argument
133 isSpecial(sun.tools.java.Type type, ClassDefinition theClass, ContextStack stack) argument
154 initialize(sun.tools.java.Type type, ContextStack stack) argument
[all...]
H A DValueType.java69 ContextStack stack,
72 if (stack.anyErrors()) return null;
78 Type existing = getType(typeKey,stack);
99 BatchEnvironment env = stack.getEnv();
106 classNotFound(stack,ex);
115 if (couldBeValue(stack,classDef)) {
119 ValueType it = new ValueType(classDef,stack,javaLangClass);
120 putType(typeKey,it,stack);
121 stack.push(it);
123 if (it.initialize(stack,quie
68 forValue(ClassDefinition classDef, ContextStack stack, boolean quiet) argument
172 ValueType(ClassDefinition classDef, ContextStack stack, boolean isMappedJavaLangClass) argument
194 couldBeValue(ContextStack stack, ClassDefinition classDef) argument
225 initialize(ContextStack stack, boolean quiet) argument
[all...]
H A DClassType.java129 protected ClassType(ContextStack stack, int typeCode, ClassDefinition classDef) { argument
130 super(stack,typeCode,classDef); // Call special parent constructor.
141 protected ClassType(int typeCode, ClassDefinition classDef,ContextStack stack) { argument
142 super(stack,classDef,typeCode);
155 protected ClassType(ContextStack stack, argument
158 super(stack,classDef,typeCode);
190 protected boolean initParents(ContextStack stack) { argument
192 stack.setNewContextCode(ContextStack.EXTENDS);
193 BatchEnvironment env = stack.getEnv();
203 parent = (ClassType) makeType(parentDef.getType(),parentDef,stack);
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/xml/sax/
H A DXmlBaseHandler.java54 private Entry stack = null; field in class:XmlBaseHandler
72 if (stack != null && stack.depth == depth)
73 stack = stack.parent;
79 entry.parent = stack;
80 stack = entry;
91 return getBaseUri1(getSystemId(), stack);
94 private static String getBaseUri1(String baseUri, Entry stack) { argument
95 if (stack
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/
H A DDescendingVisitor.java73 private Stack stack = new Stack(); field in class:DescendingVisitor
86 int size = stack.size();
91 return stack.elementAt(size - (level + 2)); // size - 1 == current
97 return stack.peek();
115 stack.push(clazz);
131 stack.pop();
135 stack.push(field);
141 stack.pop();
145 stack.push(cv);
147 stack
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/util/
H A DClassStack.java64 * Utility class implementing a (typesafe) stack of JavaClass objects.
70 private Stack stack = new Stack(); field in class:ClassStack
72 public void push(JavaClass clazz) { stack.push(clazz); }
73 public JavaClass pop() { return (JavaClass)stack.pop(); }
74 public JavaClass top() { return (JavaClass)stack.peek(); }
75 public boolean empty() { return stack.empty(); }
/openjdk7/hotspot/src/share/vm/shark/
H A DsharkStateScanner.cpp35 // Expression stack
42 stack()->stack_slots_offset() +
52 stack()->monitor_offset(i),
53 stack()->monitor_object_offset(i));
60 state->oop_tmp_addr(), stack()->oop_tmp_slot_offset());
61 process_method_slot(state->method_addr(), stack()->method_slot_offset());
62 process_pc_slot(stack()->pc_slot_offset());
72 stack()->locals_slots_offset() + max_locals() - 1 - i);
82 if (state->stack(i)) {
83 if (state->stack(
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/
H A DLivenessPath.java41 stack = new Stack();
46 return stack.size();
51 return (LivenessPathElement) stack.get(index);
81 return (LivenessPathElement) stack.peek();
86 stack.push(el);
91 stack.pop();
98 for (int i = 0; i < stack.size(); i++) {
99 dup.stack.push(stack.get(i));
107 private Stack stack; field in class:LivenessPath
[all...]
/openjdk7/jdk/src/share/demo/jvmti/minst/
H A DMinst.java64 StackTraceElement[] stack = exp.getStackTrace();
65 if (stack.length > 1) {
66 StackTraceElement location = stack[1];
/openjdk7/jdk/test/java/lang/Thread/
H A DGenerifyStackTraces.java66 // Then dump stack trace and notify ThreadOne to continue.
99 // Get stack trace of current thread
100 StackTraceElement[] stack = getStackTrace();
102 checkStack(this, stack, DONE_DEPTH);
133 // Get stack trace of another thread
134 StackTraceElement[] stack = one.getStackTrace();
135 checkStack(one, stack, depth);
138 // Get stack traces of all Threads
142 stack = entry.getValue();
143 if (t == null || stack
152 checkStack(Thread t, StackTraceElement[] stack, int depth) argument
168 printStack(Thread t, StackTraceElement[] stack) argument
[all...]
H A DStackTraces.java66 // Then dump stack trace and notify ThreadOne to continue.
99 // Get stack trace of current thread
100 StackTraceElement[] stack = getStackTrace();
102 checkStack(this, stack, DONE_DEPTH);
133 // Get stack trace of another thread
134 StackTraceElement[] stack = one.getStackTrace();
135 checkStack(one, stack, depth);
137 // Get stack traces of all Threads
146 stack = (StackTraceElement[]) entry.getValue();
147 if (t == null || stack
156 checkStack(Thread t, StackTraceElement[] stack, int depth) argument
172 printStack(Thread t, StackTraceElement[] stack) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serializer/
H A DNamespaceMappings.java34 * prefix/uri/depth triplets are pushed on a stack pushed on a stack. The depth
50 * "def" is pushed on the stack with depth 1.
55 * stack. Of course popNamespaces(2) would pop anything with depth 2 or
58 * So prefix/uri pairs are pushed and poped off the stack as elements are
60 * are on the stack and a prefix can be found given a uri, or a uri can be found
78 * All mappings in that retrieved stack have the same prefix,
79 * though possibly different URI's or depths. Such a stack must have
80 * mappings at deeper depths push later on such a stack. Mappings pushed
81 * earlier on the stack wil
[all...]
/openjdk7/hotspot/src/cpu/zero/vm/
H A DstubGenerator_zero.cpp70 ZeroStack *stack = thread->zero_stack(); local
75 // Set up the stack if necessary
77 if (stack->needs_setup()) {
78 size_t zero_stack_size = stack->suggest_size(thread);
79 stack->setup(alloca(zero_stack_size), zero_stack_size);
98 *(jint *) result = *(jint *) stack->sp();
101 *(jlong *) result = *(jlong *) stack->sp();
104 *(jfloat *) result = *(jfloat *) stack->sp();
107 *(jdouble *) result = *(jdouble *) stack->sp();
110 *(oop *) result = *(oop *) stack
254 ZeroStack *stack = ((JavaThread *) THREAD)->zero_stack(); local
[all...]
/openjdk7/jaxp/src/com/sun/java_cup/internal/runtime/
H A Dlr_parser.java33 * parsers act by shifting input onto a parse stack until the Symbols
35 * stack. Once this occurs, a reduce is performed. This involves removing
43 * on top of the parse stack (stored as part of a Symbol object representing
48 * onto the stack. When the parser reduces, it pops the handle (right hand
49 * side of a production) off the stack. This leaves the parser in the state
54 * (also containing the new state) onto the stack.<p>
93 * pushed onto the stack for the reduce.
191 * is on top of the stack) and the given terminal is next on the input.
213 * the stack. The new top of stack indicate
275 protected Stack stack = new Stack(); field in class:lr_parser
322 do_action( int act_num, lr_parser parser, Stack stack, int top) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A DXPathParser.java836 java.util.Stack stack,
841 return action_obj.CUP$XPathParser$do_action(act_num, parser, stack, top);
1035 * the current template to create a new variable stack frame.
1124 java.util.Stack CUP$XPathParser$stack,
1139 CUP$XPathParser$result = new com.sun.java_cup.internal.runtime.Symbol(37/*QName*/, ((com.sun.java_cup.internal.runtime.Symbol)CUP$XPathParser$stack.elementAt(CUP$XPathParser$top-0)).left, ((com.sun.java_cup.internal.runtime.Symbol)CUP$XPathParser$stack.elementAt(CUP$XPathParser$top-0)).right, RESULT);
1148 CUP$XPathParser$result = new com.sun.java_cup.internal.runtime.Symbol(37/*QName*/, ((com.sun.java_cup.internal.runtime.Symbol)CUP$XPathParser$stack.elementAt(CUP$XPathParser$top-0)).left, ((com.sun.java_cup.internal.runtime.Symbol)CUP$XPathParser$stack.elementAt(CUP$XPathParser$top-0)).right, RESULT);
1157 CUP$XPathParser$result = new com.sun.java_cup.internal.runtime.Symbol(37/*QName*/, ((com.sun.java_cup.internal.runtime.Symbol)CUP$XPathParser$stack.elementAt(CUP$XPathParser$top-0)).left, ((com.sun.java_cup.internal.runtime.Symbol)CUP$XPathParser$stack
833 do_action( int act_num, com.sun.java_cup.internal.runtime.lr_parser parser, java.util.Stack stack, int top) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/bdi/
H A DThreadGroupIterator.java48 private final Stack<Iterator<ThreadGroupReference>> stack field in class:ThreadGroupIterator
68 return stack.peek();
73 * on the stack has more elements. If the stack is
78 stack.push(tgl.iterator());
79 while (!stack.isEmpty() && !top().hasNext()) {
80 stack.pop();
86 return !stack.isEmpty();

Completed in 111 milliseconds

1234567