Searched defs:index (Results 351 - 375 of 1255) sorted by relevance

<<11121314151617181920>>

/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/
H A DArguments.java92 private static String getStringAt(AddressField field, long index) { argument
94 return CStringUtilities.getString(addr.getAddressAt(index * VM.getVM().getAddressSize()));
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/tools/jcore/
H A DByteCodeRewriter.java58 // get ConstantPool index from ConstantPoolCacheIndex at given bci
88 static private void writeShort(byte[] buf, int index, short value) { argument
89 buf[index] = (byte) ((value >> 8) & 0x00FF);
90 buf[index + 1] = (byte) (value & 0x00FF);
114 // bytecodes with ConstantPoolCache index
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/
H A DProcessListPanel.java219 private synchronized int getPid(java.util.List els, int index) { argument
220 return ((ProcessInfo) els.get(index)).getPid();
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/tree/
H A DSimpleTreeModel.java40 public SimpleTreeNode getChild(int index) { return null; }
64 public Object getChild(Object parent, int index) { argument
65 return ((SimpleTreeNode) parent).getChild(index);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DCellRendererPane.java101 protected void addImpl(Component x, Object constraints, int index) { argument
106 super.addImpl(x, constraints, index);
H A DSizeSequence.java62 * In the figure, the first index (0) corresponds to the first column,
63 * the second index (1) to the second column, and so on.
88 * and <code>setSize(index, size)</code>.
91 * If sizes are stored, finding the index of the entry
94 * the size of an entry at a particular index requires updating
255 * <p>Note that if <code>index</code> is greater than
259 * @param index the index of the entry whose position is desired
262 public int getPosition(int index) { argument
263 return getPosition(0, a.length, index);
266 getPosition(int from, int to, int index) argument
315 getSize(int index) argument
329 setSize(int index, int size) argument
333 changeSize(int from, int to, int index, int delta) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/colorchooser/
H A DColorModel.java60 int getMinimum(int index) { argument
64 int getMaximum(int index) { argument
68 float getDefault(int index) { argument
72 final String getLabel(Component component, int index) { argument
73 return getText(component, this.labels[index]);
H A DColorModelHSL.java49 int getMaximum(int index) { argument
50 return (index == 0) ? 360 : 100;
54 float getDefault(int index) { argument
55 return (index == 0) ? -1.0f : (index == 2) ? 0.5f : 1.0f;
H A DColorPanel.java203 private int getColor(int index) { argument
204 while (index < this.model.getCount()) {
205 setValue(index++);
210 private void setValue(int index) { argument
211 this.values[index] = this.spinners[index].getValue();
214 private void setDefaultValue(int index) { argument
215 float value = this.model.getDefault(index);
216 this.values[index] = (value < 0.0f)
217 ? this.spinners[index]
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/table/
H A DTableRowSorter.java296 public Integer getIdentifier(int index) { argument
297 return index;
/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DTreePath.java219 * Returns the path element at the specified index.
221 * @param index the index of the element requested
222 * @return the element at the specified index
223 * @throws IllegalArgumentException if the index is outside the
226 public Object getPathComponent(int index) { argument
229 if(index < 0 || index >= pathLength)
230 throw new IllegalArgumentException("Index " + index +
235 for(int i = pathLength-1; i != index;
[all...]
/openjdk7/jdk/src/share/classes/sun/font/
H A DFontResolver.java70 // array at index (value-1).
92 * font, (or not found at all), or the index of the first font
139 * The index that is returned is into the "allFonts" array so that
157 * Return an index for the given character. The index identifies a
172 int index = c & MASK;
173 if (block[index] == 0) {
174 block[index] = getIndexFor(c);
176 return block[index];
187 * Determines the font index fo
225 getFont(int index, Map attributes) argument
[all...]
/openjdk7/jdk/src/share/classes/java/awt/geom/
H A DArcIterator.java39 int index; field in class:ArcIterator
99 return index > arcSegs + lineSegs;
108 index++;
216 if (index == 0) {
224 if (index > arcSegs) {
225 if (index == arcSegs + lineSegs) {
235 angle += increment * (index - 1);
276 if (index == 0) {
284 if (index > arcSegs) {
285 if (index
[all...]
H A DEllipseIterator.java39 int index; field in class:EllipseIterator
48 index = 6;
67 return index > 5;
76 index++;
118 if (index == 5) {
121 if (index == 0) {
130 double ctrls[] = ctrlpts[index - 1];
165 if (index == 5) {
168 if (index == 0) {
177 double ctrls[] = ctrlpts[index
[all...]
H A DRoundRectIterator.java39 int index; field in class:RoundRectIterator
51 index = ctrlpts.length;
70 return index >= ctrlpts.length;
79 index++;
144 double ctrls[] = ctrlpts[index];
153 return types[index];
178 double ctrls[] = ctrlpts[index];
187 return types[index];
/openjdk7/jdk/src/share/classes/java/beans/
H A DXMLDecoder.java72 private int index; field in class:XMLDecoder
251 ? this.array[this.index++]
/openjdk7/jdk/src/share/classes/java/nio/
H A DStringCharBuffer.java76 public final char get(int index) { argument
77 return str.charAt(checkIndex(index) + offset);
86 public final CharBuffer put(int index, char c) { argument
/openjdk7/jdk/src/share/classes/java/security/cert/
H A DCertPathValidatorException.java43 * the index of the certificate in the certification path that caused the
67 * @serial the index of the certificate in the certification path
70 private int index = -1; field in class:CertPathValidatorException
134 * detail message, cause, certification path, and index.
140 * @param index the index of the certificate in the certification path
143 * @throws IndexOutOfBoundsException if the index is out of range
144 * <code>(index < -1 || (certPath != null && index >=
147 * <code>null</code> and <code>index</cod
149 CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index) argument
175 CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index, Reason reason) argument
[all...]
/openjdk7/jdk/src/share/classes/java/text/
H A DCalendarBuilder.java55 public static final int ISO_DAY_OF_WEEK = 1000; // pseudo field index
68 CalendarBuilder set(int index, int value) { argument
69 if (index == ISO_DAY_OF_WEEK) {
70 index = DAY_OF_WEEK;
73 field[index] = nextStamp++;
74 field[MAX_FIELD + index] = value;
75 if (index > maxFieldIndex && index < FIELD_COUNT) {
76 maxFieldIndex = index;
87 boolean isSet(int index) { argument
94 clear(int index) argument
[all...]
H A DMergeCollation.java197 * @param index the offset of the desired pattern entry
200 public PatternEntry getItemAt(int index) { argument
201 return (PatternEntry) patterns.get(index);
314 int index = entry.chars.charAt(0) >> BYTEPOWER;
315 if ((statusArray[index] &
/openjdk7/jdk/src/share/classes/javax/accessibility/
H A DAccessibleText.java92 * Given a point in local coordinates, return the zero-based index
97 * @return the zero-based index of the character under Point p; if
104 * index into the string. The bounds are returned in local
105 * coordinates. If the index is invalid an empty rectangle is returned.
107 * @param i the index into the String
109 * if index is invalid return an empty rectangle.
123 * Note: That to the right of the caret will have the same index
130 * Returns the String at a given index.
133 * @param index an index withi
136 getAtIndex(int part, int index) argument
145 getAfterIndex(int part, int index) argument
154 getBeforeIndex(int part, int index) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/management/relation/
H A DRoleList.java170 * Elements with an index greater than or equal to the current position are
173 * @param index The position in the list where the new Role
178 * @exception IndexOutOfBoundsException if accessing with an index
181 public void add(int index, argument
191 super.add(index, role);
199 * @param index The position specified.
203 * @exception IndexOutOfBoundsException if accessing with an index
206 public void set(int index, argument
217 super.set(index, role);
229 * @exception IndexOutOfBoundsException if accessing with an index
261 addAll(int index, RoleList roleList) argument
291 add(int index, Object element) argument
309 addAll(int index, Collection<?> c) argument
318 set(int index, Object element) argument
[all...]
H A DRoleUnresolvedList.java171 * Elements with an index greater than or equal to the current position are
174 * @param index - The position in the list where the new
179 * @exception IndexOutOfBoundsException if index is out of range
180 * (<code>index &lt; 0 || index &gt; size()</code>).
182 public void add(int index, argument
192 super.add(index, role);
200 * @param index - The position specified.
205 * @exception IndexOutOfBoundsException if index is out of range
206 * (<code>index
208 set(int index, RoleUnresolved role) argument
259 addAll(int index, RoleUnresolvedList roleList) argument
288 add(int index, Object element) argument
306 addAll(int index, Collection<?> c) argument
315 set(int index, Object element) argument
[all...]
/openjdk7/hotspot/src/share/vm/code/
H A DoopRecorder.cpp45 assert(first_index > 0, "initial zero state of cache must be invalid index");
74 jobject OopRecorder::handle_at(int index) { argument
76 if (index == null_index) return NULL;
77 return _handles->at(index - first_index);
91 int index = _handles->length() + first_index; local
97 // This index may be returned from find_index().
100 _indexes->set_cache_location_index(cloc, index);
101 } else if (index == index_cache_threshold && _arena != NULL) {
112 // Remember that this index is not to be returned from find_index().
116 _no_finds->append(index);
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A Dg1MMUTracker.hpp118 inline int trim_index(int index) { argument
119 return (index + QueueLength) % QueueLength;

Completed in 158 milliseconds

<<11121314151617181920>>