Searched refs:last (Results 1 - 25 of 286) sorted by relevance

1234567891011>>

/openjdk7/hotspot/test/compiler/7048332/
H A DTest7048332.java38 static int last = 2; field in class:Test7048332
42 if (last >= first) {
43 result = last - first;
45 result = last - first + capacity;
52 last = (i & 1) << 1; // 0 or 2
/openjdk7/jdk/src/share/classes/javax/swing/undo/
H A DCompoundEdit.java81 * Returns the last <code>UndoableEdit</code> in
113 * <p>The last edit added to this <code>CompoundEdit</code>
116 * given a chance to <code>replaceEdit</code> the last edit.
128 UndoableEdit last = lastEdit();
131 // Otherwise, give the last one a chance to absorb the new
133 // the last one.
135 if (last == null) {
138 else if (!last.addEdit(anEdit)) {
139 if (anEdit.replaceEdit(last)) {
207 * last <cod
[all...]
/openjdk7/jdk/src/share/classes/sun/misc/
H A DSort.java50 * @param right - the last index.
54 int i, last;
60 last = left;
63 swap(arr, ++last, i);
66 swap(arr, left, last);
67 quicksort(arr, left, last-1, comp);
68 quicksort(arr, last+1, right, comp);
/openjdk7/jdk/test/sun/security/krb5/
H A DMicroTime.java36 KerberosTime last = t1;
41 if (!last.equals(t2)) {
42 last = t2;
/openjdk7/jdk/src/share/classes/java/text/
H A DCharacterIterator.java54 * by calling setIndex(), first(), and last().
76 * for(char c = iter.last(); c != CharacterIterator.DONE; c = iter.previous()) {
126 * @return the last character in the text, or DONE if the text is empty
129 public char last(); method in interface:CharacterIterator
177 * @return the index after the last character in the text
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/dtdparser/
H A DInputEntity.java401 int last; // last char to return
407 for (first = last = start, sawContent = false; ; last++) {
410 if (last >= finish) {
411 if (last > first) {
413 docHandler.characters(buf, first, last - first);
415 start = last;
420 last = first - 1; // incremented in loop
424 c = buf[last];
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/util/
H A DNamespaceContextIterator.java43 Attr last = null; field in class:NamespaceContextIterator
110 last = next;
112 return last;
116 if (last == null) {
119 ((Element) context).removeAttributeNode(last);
/openjdk7/jdk/test/javax/security/auth/Subject/
H A DSynch.java45 Principal last = new X500Principal("CN=Bob");
49 principals.remove(last);
50 last = next;
/openjdk7/jdk/src/share/classes/java/util/
H A DSortedSet.java216 * Returns the last (highest) element currently in this set.
218 * @return the last (highest) element currently in this set
221 E last(); method in interface:SortedSet
/openjdk7/jdk/test/javax/swing/JTable/8005019/
H A Dbug8005019.java51 int last = 2;
52 for (int i = 0; i <= last; i++) {
58 table.setRowSelectionInterval(last, last);
/openjdk7/jdk/src/share/classes/sun/nio/fs/
H A DUtil.java51 int last = 0;
54 result[n++] = s.substring(last, i);
55 last = i + 1;
58 result[n] = s.substring(last, s.length());
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DListBuffer.java57 /** A pointer pointing to the last, sentinel element of `elems'.
59 public List<A> last; field in class:ListBuffer
77 this.last = this.elems;
103 /** Copy list and sets last.
114 last = p;
131 last.head = x;
132 last.setTail(new List<A>(null,null));
133 last = last.tail;
195 if (elems != last) {
[all...]
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Filter/src/com/sun/hotspot/igv/filter/
H A DRemoveInputsFilter.java60 List<InputSlot> last = new ArrayList<InputSlot>();
77 last.add(is);
79 last.clear();
84 if (last.size() > 3) {
85 InputSlot first = last.get(0);
89 for (int i = 0; i < last.size(); i++) {
90 InputSlot is2 = last.get(i);
99 for (int i = 1; i < last.size(); i++) {
100 f.removeSlot(last.get(i));
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/trax/
H A DSAX2DOM.java112 final Node last = (Node)_nodeStk.peek();
115 if (last != _document) {
122 final Node last = (Node)_nodeStk.peek();
123 if (last == _root && _nextSiblingCache != null) {
124 _lastSibling = last.insertBefore(_document.createTextNode(_textBuffer.toString()), _nextSiblingCache);
127 _lastSibling = last.appendChild(_document.createTextNode(_textBuffer.toString()));
212 Node last = (Node)_nodeStk.peek();
216 if (last == _root && _nextSibling != null)
217 last.insertBefore(tmp, _nextSibling);
219 last
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/impl/
H A DDetailImpl.java83 SOAPElement last = null;
102 last = next;
104 return last;
108 if (last == null) {
111 SOAPElement target = last;
113 last = null;
/openjdk7/jdk/make/tools/src/build/tools/generatecharacter/
H A DCharacterScript.java70 //last one.
122 int[] last = scripts[0];
124 if (scripts[i][0] != (last[1] + 1)) {
127 for (int cp = last[1] + 1; cp < scripts[i][0]; cp++) {
137 a[0] = last[1] + 1;
142 if (last[2] == scripts[i][2]) {
144 last[1] = scripts[i][1];
147 // expand last
148 last[1] = scripts[i][0] - 1;
153 last
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/dom/
H A DCurrentNodeListIterator.java38 * (this is needed to determine the value of last, a parameter to
39 * CurrentNodeListFilter.test()). The method getLast() returns the last element
138 final int last = _nodes.cardinality();
142 for (int index = _currentIndex; index < last; ) {
143 final int position = _docOrder ? index + 1 : last - index;
146 if (_filter.test(node, position, last, currentNode, translet,
185 final int last = _nodes.cardinality();
190 for (int index = _currentIndex; index < last; ) {
191 final int position = _docOrder ? index + 1 : last - index;
194 if (_filter.test(nodeIndex, position, last, currNod
[all...]
H A DCurrentNodeListFilter.java35 public abstract boolean test(int node, int position, int last, int current, argument
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/axes/
H A DContextNodeList.java124 * Get the index of the last node in this list.
127 * @return the index of the last node in this list.
132 * Set the index of the last node in this list.
135 * @param last the index of the last node in this list.
137 public void setLast(int last); argument
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/server/
H A DQueryListener.java89 Thread last = null;
97 if (last != null) {
99 last.setPriority(Thread.NORM_PRIORITY-2);
107 last = t;
/openjdk7/hotspot/src/share/vm/utilities/
H A DnumberSeq.hpp39 ** TruncatedSeq: this class keeps track of the last L elements
68 virtual double last() const = 0; // last element added in the sequence
101 virtual double last() const { return _last; } function in class:NumberSeq
114 double *_sequence; // buffers the last L elements in the sequence
125 virtual double last() const; // the last value added to the sequence
/openjdk7/jdk/test/java/awt/event/MouseEvent/RobotLWTest/
H A DRobotLWTest.java82 b.last = null;
86 if (b.last == null) {
90 b.last = null;
94 if (b.last == null || b.last.getID() != MouseEvent.MOUSE_ENTERED) {
97 b.last = b.prev = null;
115 public MouseEvent last = null; field in class:MyLWContainer
123 prev = last;
124 last = e;
131 public MouseEvent last field in class:MyLWComponent
[all...]
/openjdk7/jdk/test/java/io/PushbackInputStream/
H A DSkip.java36 int one, two, last, got;
54 last = in.read();
55 got = (one + two + last);
/openjdk7/jdk/src/share/classes/com/sun/rmi/rmid/
H A DExecOptionPermission.java302 int last, offset;
306 while ((last = pname.lastIndexOf(".", offset)) != -1) {
308 pname = pname.substring(0, last+1) + "*";
314 offset = last - 1;
321 while ((last = pname.lastIndexOf("=", offset)) != -1) {
323 pname = pname.substring(0, last+1) + "*";
329 offset = last - 1;
/openjdk7/jdk/src/share/classes/sun/management/snmp/util/
H A DSnmpNamedListTableCache.java61 * The last allocate index.
63 protected long last = 0; field in class:SnmpNamedListTableCache
104 if (++last > 0x00000000FFFFFFFFL) {
107 last = 0;
111 // If we never wrapped, we can safely return last as new index.
112 if (!wrapped) return new SnmpOid(last);
116 if (++last > 0x00000000FFFFFFFFL) last = 1;
117 final SnmpOid testOid = new SnmpOid(last);

Completed in 401 milliseconds

1234567891011>>