Searched defs:index (Results 526 - 550 of 1255) sorted by relevance

<<21222324252627282930>>

/openjdk7/hotspot/src/share/vm/oops/
H A Dsymbol.hpp119 void byte_at_put(int index, int value) { argument
120 assert(index >=0 && index < _length, "symbol index overflow");
121 _body[index] = value;
144 int byte_at(int index) const {
145 assert(index >=0 && index < _length, "symbol index overflow");
146 return base()[index];
[all...]
/openjdk7/hotspot/src/share/vm/opto/
H A Ddomgraph.cpp164 int index; // Index of block's successor pushed on stack member in struct:Block_Stack::Block_Descr
198 _stack_top->index = -1;
199 // Find the index into b->succs[] array of the most frequent successor.
204 bool last_successor() { return (_stack_top->index == _stack_top->freq_idx); }
206 int i = _stack_top->index;
212 _stack_top->index = i;
218 // Find the index into the b->succs[] array of the most frequent successor.
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsTabbedPaneUI.java96 protected void setRolloverTab(int index) { argument
100 super.setRolloverTab(index);
106 if (index >= 0) {
107 r2 = getTabBounds(tabPane, index);
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/
H A DFixedList.java105 public boolean addAll(int index, Collection<? extends E> c) throws UnsupportedOperationException { argument
125 public E get(int index) { argument
126 return flist.get(index);
130 public E set(int index, E element) { argument
131 return flist.set(index, element);
135 public void add(int index, E element) throws UnsupportedOperationException { argument
140 public E remove(int index) throws UnsupportedOperationException { argument
160 public ListIterator<E> listIterator(int index) { argument
161 return flist.listIterator(index);
/openjdk7/jdk/src/share/classes/com/sun/jdi/
H A DThreadReference.java201 * Returns the {@link StackFrame} at the given index in the
208 * @param index the desired frame
212 * @throws java.lang.IndexOutOfBoundsException if the index is greater than
215 StackFrame frame(int index) throws IncompatibleThreadStateException; argument
224 * @param start the index of the first frame to retrieve.
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/agent/
H A DSnmpMibOid.java225 long index= oid[pos];
230 final SnmpMibNode child = getChild(index);
235 // validateVarId(index);
239 checker.add(depth, index);
250 result[depth] = index;
256 index= getNextVarId(index,data,pduVersion);
259 newOid[0]=index;
476 // We need to get the next index ...
493 final int index
556 elementAtNonSync(int index) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/management/
H A DGcInfo.java68 private final long index; field in class:GcInfo
78 long index, long startTime, long endTime,
83 this.index = index;
100 this.index = GcInfoCompositeData.getId(cd);
118 return index;
194 * <td>index</td>
77 GcInfo(GcInfoBuilder builder, long index, long startTime, long endTime, MemoryUsage[] muBeforeGc, MemoryUsage[] muAfterGc, Object[] extAttributes) argument
/openjdk7/jdk/src/share/classes/com/sun/script/javascript/
H A DExternalScriptable.java122 * @param index the numeric index for the property
126 public synchronized Object get(int index, Scriptable start) { argument
127 Integer key = new Integer(index);
128 if (indexedProps.containsKey(index)) {
153 * Returns true if the property index is defined.
155 * @param index the numeric index for the property
159 public synchronized boolean has(int index, Scriptable start) { argument
160 Integer key = new Integer(index);
198 put(int index, Scriptable start, Object value) argument
235 delete(int index) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DSourceModel.java112 public Object getElementAt(int index) { argument
116 return sourceLines.get(index);
141 int index = lineNo - 1; // list is 0-indexed
142 if (index >= sourceLines.size() || index < 0) {
145 return sourceLines.get(index);
H A DStackTraceTool.java113 int index = list.getSelectedIndex();
114 if (index != -1) {
117 context.setCurrentFrameIndex(index);
129 int index,
138 super.getListCellRendererComponent(list, value, index,
160 this.setText("[" + (index+1) +"] " + methName + position);
185 public Object getElementAt(int index) { argument
187 return tinfo == null? null : tinfo.getFrame(index);
127 getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) argument
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/model/
H A DJavaLazyReadObject.java118 // read object ID from given index from given byte array
119 protected final long objectIdAt(int index, byte[] data) { argument
122 return ((long)intAt(index, data)) & Snapshot.SMALL_ID_MASK;
124 return longAt(index, data);
129 protected static byte byteAt(int index, byte[] value) { argument
130 return value[index];
133 protected static boolean booleanAt(int index, byte[] value) { argument
134 return (value[index] & 0xff) == 0? false: true;
137 protected static char charAt(int index, byte[] value) { argument
138 int b1 = ((int) value[index
143 shortAt(int index, byte[] value) argument
149 intAt(int index, byte[] value) argument
157 longAt(int index, byte[] value) argument
167 floatAt(int index, byte[] value) argument
172 doubleAt(int index, byte[] value) argument
[all...]
H A DRoot.java52 private int index = -1; // Index in Snapshot.roots field in class:Root
155 * @return The index of this root in Snapshot.roots
158 return index;
171 index = i;
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DArrayReferenceImpl.java72 public Value getValue(int index) { argument
73 List list = getValues(index, 1);
86 private void validateArrayAccess(int index, int length) { argument
87 // because length can be computed from index,
88 // index must be tested first for correct error message
89 if ((index < 0) || (index > length())) {
91 "Invalid array index: " + index);
97 if (index
109 getValues(int index, int length) argument
128 setValue(int index, Value value) argument
142 setValues(int index, List<? extends Value> values, int srcIndex, int length) argument
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DMenuBar.java241 * index from this menu bar.
242 * @param index the position of the menu to be removed.
245 public void remove(int index) { argument
247 Menu m = getMenu(index);
248 menus.removeElementAt(index);
253 peer.delMenu(index);
265 int index = menus.indexOf(m);
266 if (index >= 0) {
267 remove(index);
300 * @param i the index positio
[all...]
/openjdk7/hotspot/src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/
H A DLogCleanupReader.java48 private int index; field in class:LogCleanupReader
129 index = 0;
142 index = 0;
170 if (index == length) {
176 int n = Math.min(length - index, Math.min(b.length - off, len));
177 // System.out.printf("%d %d %d %d %d\n", index, length, off, len, n);
178 System.arraycopy(line, index, b, off, n);
179 index += n;
204 index = 0;
210 index
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaComboBoxRenderer.java82 public Component getListCellRendererComponent(final JList list, final Object value, int index, final boolean isSelected, final boolean cellHasFocus) { argument
83 fInList = (index >= 0); // When the button wants the item painted, it passes in -1
85 if (index < 0) {
86 index = fComboBox.getSelectedIndex();
89 // changed this to not ask for selected index but directly compare the current item and selected item
94 // we have a 5000 element list we will 5000 * (selected index) .equals() of objects.
97 // Fix for Radar # 3204287 where we ask for an item at a negative index!
98 if (index >= 0) {
99 final Object item = fComboBox.getItemAt(index);
/openjdk7/jdk/src/macosx/classes/sun/font/
H A DCCharToGlyphMapper.java178 public synchronized int get(final int index) { argument
179 if (index < FIRST_LAYER_SIZE) {
181 return firstLayerCache[index];
184 if (index < SECOND_LAYER_SIZE) {
187 return secondLayerCache.get(index);
191 final Integer value = generalCache.get(index);
196 public synchronized void put(final int index, final int value) { argument
197 if (index < FIRST_LAYER_SIZE) {
199 firstLayerCache[index] = value;
203 if (index < SECOND_LAYER_SIZ
232 get(final int index) argument
239 put(final int index, final int value) argument
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/
H A DLWContainerPeer.java62 void addChildPeer(LWComponentPeer child, int index) { argument
64 childPeers.add(index, child);
80 int index = (above != null) ? childPeers.indexOf(above) : childPeers.size();
81 if (index >= 0) {
82 childPeers.add(index, peer);
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCAccessibleText.java167 static int getLineNumberForIndex(final Accessible a, final Component c, final int index) { argument
171 return Integer.valueOf(getLineNumberForIndex(a, index));
194 static int[] getRangeForIndex(final Accessible a, final Component c, final int index) { argument
206 if (index >= charCount) return new int[2];
208 final String foundWord = aet.getAtIndex(AccessibleText.WORD, index);
212 // now we need to find the index of the foundWord in wholeString. It's somewhere pretty close to the passed-in index,
213 // but we don't know if it's before or after the passed-in index. So, look behind and ahead of the passed-in index
217 if (wholeString.regionMatches(true, index
312 getLineNumberForIndex(final Accessible a, int index) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/common/
H A DLZWStringTable.java73 * @param index value of -1 indicates no predecessor [used in initialisation]
75 * the predecessor string specified the index.
77 * index and byte b. Else return the code allocated for combination index + b.
79 public int addCharString(short index, byte b) { argument
86 hshidx = hash(index, b);
93 if (index == HASH_FREE) {
97 strNxt[numStrings] = index;
98 strLen[numStrings] = strLen[index] + 1;
105 * @param index inde
110 findCharString(short index, byte b) argument
145 hash(short index, byte lastbyte) argument
[all...]
/openjdk7/hotspot/src/share/vm/prims/
H A DjvmtiCodeBlobEvents.cpp163 int index = 0; local
165 while ((desc = StubCodeDesc::desc_for_index(++index)) != NULL) {
/openjdk7/hotspot/src/share/vm/runtime/
H A DfieldDescriptor.hpp43 int _index; // the field index
49 ik->field(index())->set_access_flags(_access_flags.as_short());
71 int index() const { return _index; } function in class:VALUE_OBJ_CLASS_SPEC
116 void initialize(klassOop k, int index);
H A DreflectionUtils.hpp69 int index() const { return _index; } function in class:VALUE_OBJ_CLASS_SPEC
94 methodOop method() const { return methodOop(methods()->obj_at(index())); }
135 return _klass->field_offset( index() );
H A DstubCodeGenerator.cpp61 StubCodeDesc* StubCodeDesc::desc_for_index(int index) { argument
63 while (p != NULL && p->index() != index) p = p->_next;
91 int ai = (*((StubCodeDesc**) void_a))->index();
92 int bi = (*((StubCodeDesc**) void_b))->index();
H A DstubCodeGenerator.hpp67 static StubCodeDesc* desc_for_index(int); // returns the code descriptor for the index or NULL
83 int index() const { return _index; } function in class:StubCodeDesc

Completed in 598 milliseconds

<<21222324252627282930>>