Searched defs:index (Results 426 - 450 of 1255) sorted by relevance

<<11121314151617181920>>

/openjdk7/jdk/test/java/beans/VetoableChangeSupport/
H A DTestSerialization.java95 private static void check(VetoableChangeListener listener, int index) { argument
100 if (index != object.index)
101 throw new Error("Unexpected index: " + index + " != " + object.index);
104 private static void check(VetoableChangeListener listener, int index, String name) { argument
112 check((VetoableChangeListener)object.getListener(), index);
170 private int index; field in class:TestSerialization
172 public TestSerialization(int index) { argument
[all...]
/openjdk7/jdk/test/java/beans/XMLEncoder/
H A Djavax_swing_JTree.java60 public Object getChild(Object parent, int index) { argument
/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...]
H A DSignature.java42 public Signature(int index) { argument
43 super(index);
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/
H A DIndexBuilder.java89 * Constructor. Build the index map.
100 * Constructor. Build the index map.
105 * @param classesOnly Include only classes in index.
123 * Sort the index map. Traverse the index map for all it's elements and
207 * Should this doc element be added to the index map?
230 // Do not add to index map if -nodeprecated option is set and the
234 // Do not add to index map if -nodeprecated option is set and if the
245 * @return Map index map.
254 * @param index inde
257 getMemberList(Character index) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/
H A DDocLocale.java173 int index = s.indexOf("-->");
174 if(s.trim().startsWith("<!--") && index != -1) {
175 return localeSpecificFirstSentence(doc, s.substring(index + 3, s.length()));
229 private boolean htmlSentenceTerminatorFound(String str, int index) { argument
232 if (str.regionMatches(true, index, terminator,
/openjdk7/langtools/src/share/classes/com/sun/tools/javap/
H A DAnnotationWriter.java97 private void writeDescriptor(int index, boolean resolveIndices) { argument
101 Descriptor d = new Descriptor(index);
109 print("#" + index);
112 private void writeIndex(int index, boolean resolveIndices) { argument
114 print(constantWriter.stringValue(index));
116 print("#" + index);
H A DCodeWriter.java146 public Void visitConstantPoolRef(Instruction instr, int index, Integer indent) {
147 print("#" + index);
150 printConstant(index);
154 public Void visitConstantPoolRefAndValue(Instruction instr, int index, int value, Integer indent) {
155 print("#" + index + ", " + value);
158 printConstant(index);
162 public Void visitLocal(Instruction instr, int index, Integer indent) {
163 print(index);
167 public Void visitLocalAndValue(Instruction instr, int index, int value, Integer indent) {
168 print(index
232 printConstant(int index) argument
[all...]
/openjdk7/jdk/src/share/native/com/sun/media/sound/
H A DMidiInDevice.c46 Java_com_sun_media_sound_MidiInDevice_nOpen(JNIEnv* e, jobject thisObj, jint index) { argument
51 TRACE1("> Java_com_sun_media_sound_MidiInDevice_nOpen: index: %d\n", index);
54 err = MIDI_IN_OpenDevice((INT32) index, &deviceHandle);
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DContextualGlyphInsertionProc2.cpp68 le_int16 &index,
93 insertGlyphs[targetIndex++] = insertionTable.getObject(index++, success);
99 EntryTableIndex2 index, LEErrorCode &success)
101 const ContextualGlyphInsertionStateEntry2 *entry = entryTable.getAlias(index, success);
66 doInsertion(LEGlyphStorage &glyphStorage, le_int16 atGlyph, le_int16 &index, le_int16 count, le_bool , le_bool isBefore, LEErrorCode &success) argument
98 processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph, EntryTableIndex2 index, LEErrorCode &success) argument
H A DContextualGlyphSubstProc2.cpp66 EntryTableIndex2 index, LEErrorCode &success)
69 const ContextualGlyphStateEntry2 *entry = entryTable.getAlias(index, success);
65 processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph, EntryTableIndex2 index, LEErrorCode &success) argument
H A DIndicRearrangementProcessor.cpp66 ByteOffset IndicRearrangementProcessor::processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph, EntryTableIndex index) argument
69 const IndicRearrangementStateEntry *entry = entryTable.getAlias(index,success);
H A DIndicRearrangementProcessor2.cpp64 EntryTableIndex2 index, LEErrorCode &success)
66 const IndicRearrangementStateEntry2 *entry = entryTable.getAlias(index, success);
68 le_uint16 newState = SWAPW(entry->newStateIndex); // index to the new state
85 return newState; // index to new state
63 processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph, EntryTableIndex2 index, LEErrorCode &success) argument
H A DLigatureSubstProc.cpp70 ByteOffset LigatureSubstitutionProcessor::processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph, EntryTableIndex index) argument
73 const LigatureSubstitutionStateEntry *entry = entryTable.getAlias(index, success);
H A DLigatureSubstProc2.cpp73 le_uint16 LigatureSubstitutionProcessor2::processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph, EntryTableIndex2 index, LEErrorCode &success) argument
75 const LigatureSubstitutionStateEntry2 *entry = entryTable.getAlias(index, success);
98 ap.addObject(ligActionIndex - 1, success); // index offset ( one before the actual start, because we will pre-increment)
/openjdk7/jdk/src/share/classes/sun/security/util/
H A DBitArray.java70 * index zero in the BitArray. The array a must be large enough
127 public boolean get(int index) throws ArrayIndexOutOfBoundsException { argument
128 if (index < 0 || index >= length) {
129 throw new ArrayIndexOutOfBoundsException(Integer.toString(index));
132 return (repn[subscript(index)] & position(index)) != 0;
138 public void set(int index, boolean value) argument
140 if (index < 0 || index >
[all...]
/openjdk7/jdk/src/share/classes/sun/text/
H A DUCompactIntArray.java47 * @param index the character to get the mapped value with
50 public int elementAt(int index) { argument
51 int plane = (index & PLANEMASK) >> PLANESHIFT;
55 index &= CODEPOINTMASK;
56 return values[plane][(indices[plane][index >> BLOCKSHIFT] & 0xFFFF)
57 + (index & BLOCKMASK)];
64 * @param index the character to set the mapped value with
67 public void setElementAt(int index, int value) { argument
71 int plane = (index & PLANEMASK) >> PLANESHIFT;
75 index
[all...]
/openjdk7/jdk/src/share/classes/sun/text/normalizer/
H A DIntTrie.java133 * <p>Parses the input stream and stores its trie content into a index and
178 * Gets the value at the argument index.
180 * @param index value at index will be retrieved
185 protected final int getValue(int index) argument
187 return m_data_[index];
204 * @param index the index array to be slotted into this trie
210 IntTrie(char index[], int data[], int initialvalue, int options, argument
213 super(index, option
[all...]
H A DUCharacterIterator.java115 * Returns the code unit at the current index. If index is out
131 * Gets the current index in text.
132 * @return current index in text.
139 * Returns the UTF16 code unit at index, and increments to the next
140 * code unit (post-increment semantics). If index is out of
143 * @return the next UTF16 code unit, or DONE if the index is at the limit
150 * Returns the code point at index, and increments to the next code
151 * point (post-increment semantics). If index does not point to a
156 * @return the next codepoint in text, or DONE if the index i
193 setIndex(int index) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/asm/
H A DSwitchData.java97 public void addTableCase(int index, long where) { argument
99 whereCaseTab.put(new Integer(index), new Long(where));
/openjdk7/jdk/test/java/util/Currency/
H A DValidateISO4217.java161 int index = toIndex(country);
163 Integer.parseInt(minorUnit), index);
168 int index = toIndex(additionalCodes[i][0]);
172 Integer.parseInt(additionalCodes[i][3]), index);
175 codes[index] = SKIPPED;
185 int numericCode, int digits, int index) {
201 if (codes[index] != UNDEFINED) {
206 codes[index] = DEFINED;
184 testCountryCurrency(String country, String currencyCode, int numericCode, int digits, int index) argument
/openjdk7/jdk/test/javax/swing/JColorChooser/
H A DTest6524757.java221 private static Component getC(Component component, int index) { argument
223 return container.getComponent(index);
/openjdk7/jdk/test/javax/swing/JInternalFrame/6725409/
H A Dbug6725409.java123 private void checkMenuItemText(int index, String text) { argument
125 testTitlePane.getSystemPopupMenu().getComponent(index);
/openjdk7/jdk/src/share/classes/sun/management/snmp/jvminstr/
H A DJvmMemGCTableMetaImpl.java74 * Returns the index that immediately follows the given
75 * <var>index</var>. The returned index is strictly greater
76 * than the given <var>index</var>, and is contained in the table.
77 * <br>If the given <var>index</var> is null, returns the first
78 * index in the table.
79 * <br>If there are no index after the given <var>index</var>,
84 public SnmpOid getNext(SnmpCachedData datas, SnmpOid index) { argument
90 // the next element whose OID follows the given index
138 getNext(SnmpTableHandler handler, SnmpOid index) argument
163 getData(SnmpTableHandler handler, SnmpOid index) argument
174 contains(SnmpTableHandler handler, SnmpOid index) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/misc/
H A DCache.java190 int index = (hash & 0x7FFFFFFF) % tab.length;
191 for (CacheEntry e = tab[index]; e != null; e = e.next) {
222 int index = (e.hash & 0x7FFFFFFF) % newCapacity;
223 e.next = newTable[index];
224 newTable[index] = e;
250 int index = (hash & 0x7FFFFFFF) % tab.length;
252 for (CacheEntry e = tab[index]; e != null; e = e.next) {
269 ne.next = tab[index];
270 tab[index] = ne;
288 int index
310 int index; field in class:CacheEnumerator
[all...]

Completed in 93 milliseconds

<<11121314151617181920>>