Searched refs:top (Results 1 - 25 of 496) sorted by relevance

1234567891011>>

/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/orbutil/
H A DStackImpl.java37 private int top = -1 ; field in class:StackImpl
41 return top == -1;
44 // Looks at the object at the top of this stack without removing it
50 return data[ top ];
53 // Removes the object at the top of this stack and returns that
57 data[top] = null ;
58 top-- ;
64 if (top == (data.length-1)) {
72 // Pushes an item onto the top of the stack
75 top
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_Insets.h29 jfieldID top; member in struct:InsetsIDs
/openjdk7/jdk/src/share/classes/java/awt/
H A DInsets.java43 * The inset from the top.
50 public int top; field in class:Insets
97 * specified top, left, bottom, and right insets.
98 * @param top the inset from the top.
103 public Insets(int top, int left, int bottom, int right) { argument
104 this.top = top;
111 * Set top, left, bottom, and right to the specified values
113 * @param top th
119 set(int top, int left, int bottom, int right) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/border/
H A DEmptyBorder.java51 protected int left, right, top, bottom; field in class:EmptyBorder
55 * @param top the top inset of the border
60 public EmptyBorder(int top, int left, int bottom, int right) { argument
61 this.top = top;
73 this.top = borderInsets.top;
92 insets.top = top;
[all...]
H A DMatteBorder.java56 * @param top the top inset of the border
62 public MatteBorder(int top, int left, int bottom, int right, Color matteColor) { argument
63 super(top, left, bottom, right);
80 * @param top the top inset of the border
86 public MatteBorder(int top, int left, int bottom, int right, Icon tileIcon) { argument
87 super(top, left, bottom, right);
105 * the tile icon, where the top and bottom will be equal to the
129 g.fillRect(0, 0, width - insets.right, insets.top);
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/
H A DInsetsUIResource.java52 public InsetsUIResource(int top, int left, int bottom, int right) { argument
53 super(top, left, bottom, right);
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/
H A DspaceDecorator.cpp55 // Mangle between top and the high water mark. Safeguard
59 if (top() < mangled_end) {
60 MemRegion mangle_mr(top(), mangled_end);
78 MemRegion mangle_mr(top(), end());
96 // Check that top, top_for_allocations and the last
107 assert(top() == end() ||
108 (is_mangled(top())), "Top not mangled");
109 assert((top_for_allocations() < top()) ||
113 assert(top() == end() ||
127 HeapWord* q = top();
[all...]
H A DliveRange.hpp38 LiveRange(HeapWord* bottom, HeapWord* top): MemRegion(bottom, top) {} argument
H A DspaceDecorator.hpp54 // the region between the new top and the top just before a
64 // The class SpaceMangler keeps a pointer to the top of the allocated
79 // and remangling is needed between the current top and this
87 // makes it always below top so that mangling done as part
93 // Methods for top and end that delegate to the specific
95 virtual HeapWord* top() const = 0;
105 // Mangle only the region not previously mangled [top, top_previously_mangled)
107 // Mangle all the unused region [top, end)
130 HeapWord* top() cons function in class:GenSpaceMangler
143 HeapWord* top() const { return _sp->top(); } function in class:MutableSpaceMangler
[all...]
/openjdk7/jdk/test/com/sun/jdi/redefineMethod/
H A DDifferent_RedefineSubTarg.java4 void top() { method in class:RedefineSubTarg
9 top(); // 9
H A DRedefineSubTarg.java2 void top() { method in class:RedefineSubTarg
6 top(); // 6
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/memory/
H A DContiguousSpace.java55 public Address top() { method in class:ContiguousSpace
66 return top().minus(bottom());
71 return end().minus(top());
77 return new MemRegion(bottom(), top());
83 res.add(new MemRegion(bottom(), top()));
89 return (bottom().lessThanOrEqual(p) && top().greaterThan(p));
94 top() + "," + end() + ")");
/openjdk7/jdk/test/java/nio/file/WatchService/
H A DFileTreeModifier.java60 static void doTest(Path top) throws IOException { argument
61 FileSystem fs = top.getFileSystem();
65 Path subdir = Files.createDirectories(top.resolve("a").resolve("b").resolve("c"));
69 WatchKey key = top.register(watcher,
74 checkExpectedEvent(watcher, ENTRY_CREATE, top.relativize(file));
79 WatchKey k = top.register(watcher,
86 checkExpectedEvent(watcher, ENTRY_DELETE, top.relativize(file));
91 k = top.register(watcher, new WatchEvent.Kind<?>[]{ ENTRY_CREATE });
109 file = Files.createFile(top.resolve("bar"));
110 checkExpectedEvent(watcher, ENTRY_CREATE, top
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A Ddefault.css36 p {margin-top: 15}
40 margin-top: 10;
45 margin-top: 10;
50 margin-top: 10;
55 margin-top: 10;
60 margin-top: 10;
65 margin-top: 10;
68 li p {margin-top: 0;
71 td p {margin-top: 0}
73 menu li p {margin-top
[all...]
/openjdk7/hotspot/src/share/vm/memory/
H A Dgeneration.inline.hpp63 if (addr < the_space()->top()) return oop(addr)->size();
65 assert(addr == the_space()->top(), "non-block head arg to block_size");
66 return the_space()->_end - the_space()->top();
71 return addr < the_space()->top();
H A DcompactingPermGenGen.hpp190 if (addr < the_space()->top()) return true;
192 else if (addr < ro_space()->top()) return true;
194 else if (addr < rw_space()->top()) return true;
200 if (addr < the_space()->top()) {
204 assert(addr == the_space()->top(), "non-block head arg to block_size");
205 return the_space()->end() - the_space()->top();
208 else if (addr < ro_space()->top()) {
212 assert(addr == ro_space()->top(), "non-block head arg to block_size");
213 return ro_space()->end() - ro_space()->top();
216 else if (addr < rw_space()->top()) {
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A DXPathParser.java837 int top)
841 return action_obj.CUP$XPathParser$do_action(act_num, parser, stack, top);
1125 int CUP$XPathParser$top)
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.elementAt(CUP$XPathParser$top-0)).right, RESULT);
1166 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
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/macosx/classes/com/apple/laf/
H A DAquaOptionPaneUI.java62 * The icon and body should be aligned on their top edges
65 final JPanel top = new JPanel();
66 top.setBorder(UIManager.getBorder("OptionPane.messageAreaBorder"));
67 top.setLayout(new BoxLayout(top, BoxLayout.X_AXIS));
80 top.add(iconPanel);
81 top.add(Box.createHorizontalStrut(kDialogLargePadding));
93 top.add(body);
95 return top;
124 final int yLocation = container.getInsets().top;
[all...]
/openjdk7/hotspot/src/share/vm/opto/
H A Drootnode.cpp64 Node* top = Compile::current()->top(); local
66 init_req(TypeFunc::I_O, top);
67 init_req(TypeFunc::Memory, top);
69 init_req(TypeFunc::ReturnAdr,top);
/openjdk7/jdk/src/share/demo/jfc/Metalworks/
H A DMetalworksInBox.java65 DefaultMutableTreeNode top = new DefaultMutableTreeNode("Mail Boxes");
67 top.add(unread = new DefaultMutableTreeNode("Unread Mail"));
68 top.add(personal = new DefaultMutableTreeNode("Personal"));
69 top.add(business = new DefaultMutableTreeNode("Business"));
70 top.add(spam = new DefaultMutableTreeNode("Spam"));
102 JTree tree = new JTree(top);
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DpsPromotionLAB.cpp54 debug_only(Copy::fill_to_words(top(), free()/HeapWordSize, badHeapWord));
67 assert(this->top() <= this->end(), "pointers out of order");
74 assert(top() <= end(), "pointers out of order");
84 typeArrayOop filler_oop = (typeArrayOop) top();
88 pointer_delta(tlab_end, top()) - typeArrayOopDesc::header_size(T_INT);
110 assert(object_end == top(), "Not matching last allocation");
123 assert(top() <= end(), "pointers out of order");
128 HeapWord* obj = top();
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/gc_implementation/shared/
H A DMutableSpace.java57 public Address top() { return topField.getValue(addr); } method in class:MutableSpace
61 return top().minus(bottom());
67 res.add(new MemRegion(bottom(), top()));
73 top() + "," + end() + "] ");
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/
H A DThreadLocalAllocBuffer.java67 public Address top() { return topField.getValue(addr); } method in class:ThreadLocalAllocBuffer
90 if (top() == null) {
93 return (start().lessThanOrEqual(p) && top().greaterThan(p));
98 top() + "," + end() + ")");
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A DheapRegion.inline.hpp60 _next_top_at_mark_start = top();
83 // know where the top of this region will end up, we simply set
85 // NTAMS. We'll set it to the actual top when we retire this region.
91 // copied up to and including initial-mark and [NTAMS, top)
93 assert(top() >= _next_top_at_mark_start, "invariant");
107 _next_top_at_mark_start = top();
111 assert(top() >= _next_top_at_mark_start, "invariant");
/openjdk7/jdk/test/java/lang/management/ThreadMXBean/
H A DThreadLists.java37 // get top-level thread group
38 ThreadGroup top = Thread.currentThread().getThreadGroup();
41 parent = top.getParent();
42 if (parent != null) top = parent;
46 int activeCount = top.activeCount();

Completed in 69 milliseconds

1234567891011>>