Searched refs:index (Results 226 - 250 of 2073) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/java/awt/geom/
H A DQuadIterator.java39 int index; field in class:QuadIterator
61 return (index > 1);
70 index++;
96 if (index == 0) {
108 affine.transform(coords, 0, coords, 0, index == 0 ? 1 : 2);
136 if (index == 0) {
148 affine.transform(coords, 0, coords, 0, index == 0 ? 1 : 2);
/openjdk7/jdk/test/java/util/Collections/
H A DRotate.java55 int index =0;
56 for (int k=totalDist; k<SIZE; k++, index++)
57 if (((Integer)lst.get(k)).intValue() != index)
59 ", should be "+index);
60 for (int k=0; k<totalDist; k++, index++)
61 if (((Integer)lst.get(k)).intValue() != index)
63 ", should be "+index);
/openjdk7/jdk/src/share/classes/sun/management/snmp/util/
H A DSnmpLoadedClassData.java61 public final Object getData(SnmpOid index) { argument
65 pos = (int) index.getOidArc(0);
75 public final SnmpOid getNext(SnmpOid index) { argument
77 if (index == null) {
82 pos = (int) index.getOidArc(0);
94 public final boolean contains(SnmpOid index) { argument
98 pos = (int) index.getOidArc(0);
/openjdk7/jdk/test/com/sun/jdi/
H A DArrayRangeTest.java94 void getValueGood(Sample samp, int index) { argument
96 Value val = samp.arrRef.getValue(index);
98 if (ival != samp.expected[index]) {
100 ".getValue(" + index + ") - wrong value=" + ival);
103 ".getValue(" + index + ") - value=" + ival);
107 ".getValue(" + index + ") - unexpected: " + exc);
111 void getValueBad(Sample samp, int index) { argument
113 Value val = samp.arrRef.getValue(index);
115 ".getValue(" + index + ") - no expected exception");
118 ".getValue(" + index
149 getValuesGood(Sample samp, int index, int length) argument
175 getValuesBad(Sample samp, int index, int length) argument
189 setValueGood(Sample samp, int index, int ival) argument
201 setValueBad(Sample samp, int index, int ival) argument
231 setValuesGood(Sample samp, int index, int[] valArray, int srcInx, int length) argument
248 setValuesBad(Sample samp, int index, int[] valArray, int srcInx, int length) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/util/
H A DObjectListImpl.java74 public Object item(int index) { argument
75 if (index < 0 || index >= fLength) {
78 return fArray[index];
84 public Object get(int index) { argument
85 if (index >= 0 && index < fLength) {
86 return fArray[index];
88 throw new IndexOutOfBoundsException("Index: " + index);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/soql/
H A DMapScriptObject.java64 public Object get(int index) { argument
65 if (has(index)) {
66 Object key = Integer.valueOf(index);
77 public void put(int index, Object value) { argument
78 map.put(Integer.valueOf(index), value);
85 public boolean has(int index) { argument
86 return map.containsKey(Integer.valueOf(index));
98 public boolean delete(int index) { argument
99 Object key = Integer.valueOf(index);
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DPortMixerProvider.java119 int index = info.getIndex();
120 if (devices[index] == null) {
121 devices[index] = new PortMixer(info);
123 return devices[index];
130 * Info class for PortMixers. Adds an index value for
135 private final int index; field in class:PortMixerProvider.PortMixerInfo
137 private PortMixerInfo(int index, String name, String vendor, String description, String version) { argument
139 this.index = index;
143 return index;
[all...]
/openjdk7/hotspot/src/share/vm/utilities/
H A Dhashtable.inline.hpp42 for (int index = 0; index < _table_size; index++) {
43 _buckets[index].clear();
83 // via a store to _buckets[index].
92 // via a store to _buckets[index].
97 template <MEMFLAGS F> inline void BasicHashtable<F>::set_entry(int index, BasicHashtableEntry<F>* entry) { argument
98 _buckets[index].set_entry(entry);
102 template <MEMFLAGS F> inline void BasicHashtable<F>::add_entry(int index, BasicHashtableEntry<F>* entry) { argument
103 entry->set_next(bucket(index));
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/
H A DXMLStreamReaderUtil.java326 int index = 0;
337 atInfos[index++] = new AttributeInfo(
344 atInfos[index++] = new AttributeInfo(
355 public String getLocalName(int index) { argument
356 if (index >= 0 && index < atInfos.length) {
357 return atInfos[index].getLocalName();
362 public QName getName(int index) { argument
363 if (index >= 0 && index < atInfo
369 getPrefix(int index) argument
376 getURI(int index) argument
383 getValue(int index) argument
414 isNamespaceDeclaration(int index) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DNative.java74 static boolean getBool(long ptr, int index) { return getInt(ptr, index) != 0; } argument
76 static void putBool(long ptr, int index, boolean data) { putInt(ptr, index, (data)?(1):(0)); } argument
85 static byte getByte(long ptr, int index) { argument
86 return getByte(ptr+index);
93 static void putByte(long ptr, int index, byte data) { argument
94 putByte(ptr+index, data);
133 static short getUByte(long ptr, int index) { argument
134 return getUByte(ptr+index);
142 putUByte(long ptr, int index, short data) argument
188 putShort(long ptr, int index, short data) argument
212 putUShort(long ptr, int index, int data) argument
237 getInt(long ptr, int index) argument
242 putInt(long ptr, int index, int data) argument
261 getUInt(long ptr, int index) argument
266 putUInt(long ptr, int index, long data) argument
312 putLong(long ptr, int index, long data) argument
319 getLong(long ptr, int index) argument
407 getWindow(long ptr, int index) argument
415 putWindow(long ptr, int index, long window) argument
440 getCard32(long ptr, int index) argument
443 putCard32(long ptr, int index, long value) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/
H A DDTMIterator.java238 * the <code>setItem(int node, int index)</code> method.
247 * take place at index 1.
254 * If an index is requested, NodeSetDTM will call this method
255 * to run the iterator to the index. By default this sets
256 * m_next to the index. If the index argument is -1, this
260 * @param index The index to run to, or -1 if the iterator should be run
263 public void runTo(int index); argument
268 * @param i Must be a valid index
282 item(int index) argument
297 setItem(int node, int index) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/memory/
H A DDictionary.java63 for (int index = 0; index < tblSize; index++) {
64 for (DictionaryEntry probe = (DictionaryEntry) bucket(index); probe != null;
78 for (int index = 0; index < tblSize; index++) {
79 for (DictionaryEntry probe = (DictionaryEntry) bucket(index); probe != null;
89 public Klass find(int index, long hash, Symbol className, Oop classLoader, Oop protectionDomain) { argument
90 DictionaryEntry entry = getEntry(index, has
99 getEntry(int index, long hash, Symbol className, Oop classLoader) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DColorType.java99 private int index; field in class:ColorType
118 this.index = nextID++;
128 return index;
/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/jdk/src/share/classes/com/sun/tools/hat/internal/server/
H A DRootStackQuery.java51 int index = (int) parseHex(query);
52 Root root = snapshot.getRootAt(index);
54 error("Root at " + index + " not found");
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Filter/src/com/sun/hotspot/igv/filter/
H A DFilterChain.java59 public Filter getFilterAt(int index) { argument
60 assert index >= 0 && index < filters.size();
61 return filters.get(index);
126 int index = filters.indexOf(filter);
127 if (index != 0) {
128 filters.remove(index);
129 filters.add(index - 1, filter);
138 int index = filters.indexOf(filter);
139 if (index !
[all...]
/openjdk7/hotspot/test/compiler/7024475/
H A DTest7024475.java45 int index = c0 * 256 + c1;
46 if (index == -1) return;
47 i = bucket_B[index];
/openjdk7/jdk/test/java/net/NetworkInterface/
H A DIndexTest.java38 int index = nif.getIndex();
39 if (index >= 0) {
40 NetworkInterface nif2 = NetworkInterface.getByIndex(index);
/openjdk7/langtools/src/share/classes/com/sun/tools/classfile/
H A DDescriptor.java44 this.index = -1;
47 InvalidDescriptor(String desc, int index) { argument
49 this.index = index;
55 if (index == -1)
58 return "descriptor is invalid at offset " + index + " in \"" + desc + "\"";
62 public final int index; field in class:Descriptor.InvalidDescriptor
70 public Descriptor(int index) { argument
71 this.index = index;
197 public final int index; field in class:Descriptor
[all...]
/openjdk7/jdk/make/mkdemo/jvmti/
H A DMakefile55 all build :: $(DEMODIR)/jvmti/index.html
57 $(DEMODIR)/jvmti/index.html: $(SHARE_SRC)/demo/jvmti/index.html
/openjdk7/hotspot/src/share/vm/code/
H A DscopeDesc.cpp94 for (int index = 0; index < length; index++) {
105 for (int index = 0; index < length; index++) {
120 for (int index = 0; index < length; index++) {
195 for (int index
[all...]
/openjdk7/jdk/src/share/classes/sun/security/util/
H A DDerIndefLenConverter.java52 private int newDataPos, dataPos, dataSize, index; field in class:DerIndefLenConverter
98 int index;
99 for (index = ndefsList.size()-1; index >= 0; index--) {
102 elem = ndefsList.get(index);
109 if (index < 0) {
116 ndefsList.set(index, sectionLenBytes);
183 byte[] lenBytes = (byte[])ndefsList.get(index++);
229 int index
[all...]
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_reference.c78 ObjectIndex object_index; /* If an object reference, the referree index */
79 jint index; /* If array or field, array or field index */ member in struct:RefInfo
91 get_info(RefIndex index) argument
95 info = (RefInfo*)table_get_info(gdata->reference_table, index);
101 get_key_value(RefIndex index) argument
109 table_get_key(gdata->reference_table, index, &key, &len);
161 get_key_elements(RefIndex index, jvmtiPrimitiveType primType, argument
170 table_get_key(gdata->reference_table, index, &key, &byteLen);
189 info->index,
203 RefIndex index; local
216 dump_field(FieldInfo *fields, jvalue *fvalues, int n_fields, jint index, jvalue value, jvmtiPrimitiveType primType) argument
269 verify_field(RefIndex list, FieldInfo *fields, jvalue *fvalues, int n_fields, jint index, jvalue value, jvmtiPrimitiveType primType) argument
295 fill_in_field_value(RefIndex list, FieldInfo *fields, jvalue *fvalues, int n_fields, jint index, jvalue value, jvmtiPrimitiveType primType) argument
316 RefIndex index; local
507 RefIndex index; local
728 reference_obj(RefIndex next, jvmtiHeapReferenceKind refKind, ObjectIndex object_index, jint index, jint length) argument
[all...]
/openjdk7/jaxp/src/com/sun/xml/internal/stream/writers/
H A DWriterUtility.java135 int index;
143 for ( index = start ; index < end ; index++ ) {
144 ch = content[ index ];
148 fWriter.write(content, startWritePos, index - startWritePos );
156 startWritePos = index + 1;
161 System.out.println("index = " + index);
170 fWriter.write(content, startWritePos, index
[all...]

Completed in 94 milliseconds

1234567891011>>