/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | AbstractMidiDeviceProvider.java | 136 int index = thisInfo.getIndex(); 137 if (index >= 0 && index < devices.length && infos[index] == info) { 138 if (devices[index] == null) { 139 devices[index] = createDevice(thisInfo); 141 if (devices[index] != null) { 142 return devices[index]; 156 * Info class for MidiDevices. Adds an index value for 160 private int index; field in class:AbstractMidiDeviceProvider.Info 162 Info(String name, String vendor, String description, String version, int index) argument 179 setIndex(int index) argument 194 createInfo(int index) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | JTabbedPane.java | 51 * A tab is represented by an index corresponding 52 * to the position it was added in, where the first tab has an index equal to 0 53 * and the last tab has an index equal to the tab count minus 1. 57 * of tab indices and the currently selected index. If the tab count 58 * is greater than 0, then there will always be a selected index, which 60 * 0, then the selected index will be -1. 322 * a change to either the selected index or the selected tab in the 323 * {@code JTabbedPane}. Usually, the selected index and selected tab change 325 * selected index changes and the same tab remains selected. There are other 326 * cases, such as deleting the selected tab, where the index remain 587 setSelectedIndex(int index) argument 595 setSelectedIndexImpl(int index, boolean doAccessibleChanges) argument 699 insertTab(String title, Icon icon, Component component, String tip, int index) argument 854 add(Component component, int index) argument 907 add(Component component, Object constraints, int index) argument 932 removeTabAt(int index) argument 1050 remove(int index) argument 1111 getTitleAt(int index) argument 1125 getIconAt(int index) argument 1144 getDisabledIconAt(int index) argument 1163 getToolTipTextAt(int index) argument 1178 getBackgroundAt(int index) argument 1193 getForegroundAt(int index) argument 1209 isEnabledAt(int index) argument 1223 getComponentAt(int index) argument 1286 getBoundsAt(int index) argument 1315 setTitleAt(int index, String title) argument 1359 setIconAt(int index, Icon icon) argument 1400 setDisabledIconAt(int index, Icon disabledIcon) argument 1425 setToolTipTextAt(int index, String toolTipText) argument 1461 setBackgroundAt(int index, Color background) argument 1494 setForegroundAt(int index, Color foreground) argument 1517 setEnabledAt(int index, boolean enabled) argument 1540 setComponentAt(int index, Component component) argument 1766 checkIndex(int index) argument 2368 setTabComponentAt(int index, Component component) argument 2394 getTabComponentAt(int index) argument [all...] |
H A D | ListCellRenderer.java | 44 * int index, 57 * && dropLocation.getIndex() == index) { 100 * @param value The value returned by list.getModel().getElementAt(index). 101 * @param index The cells index. 113 int index, 110 getListCellRendererComponent( JList<? extends E> list, E value, int index, boolean isSelected, boolean cellHasFocus) argument
|
H A D | ListModel.java | 52 * Returns the value at the specified index. 53 * @param index the requested index 54 * @return the value at <code>index</code> 56 E getElementAt(int index); argument
|
H A D | SingleSelectionModel.java | 45 * Sets the model's selected index to <I>index</I>. 49 * @param index an int specifying the model selection 53 public void setSelectedIndex(int index); argument
|
H A D | SizeSequence.java | 62 * 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/jaxp/src/com/sun/org/apache/bcel/internal/generic/ |
H A D | ConstantPoolGen.java | 68 * etc.. These methods return an index into the constant 81 protected int index = 1; // First entry (0) used by JVM field in class:ConstantPoolGen 89 int index; field in class:ConstantPoolGen.Index 90 Index(int i) { index = i; } 107 index = cs.length; 109 for(int i=1; i < index; i++) { 173 if(index + 3 >= size) { 178 System.arraycopy(cs, 0, constants, 0, index); 188 * @return index on success, -1 otherwise 191 Index index [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serialize/ |
H A D | XML11Serializer.java | 209 for ( int index = start; index < end; ++index ) { 210 ch = chars[index]; 211 if ( ch == ']' && index + 2 < end && 212 chars[ index + 1 ] == ']' && chars[ index + 2 ] == '>' ) { 214 index +=2; 219 if (++index < end) { 220 surrogates(ch, chars[index]); [all...] |
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | ConditionalSpecialCasing.java | 110 static int toLowerCaseEx(String src, int index, Locale locale) { argument 111 char[] result = lookUpTable(src, index, locale, true); 121 return Character.toLowerCase(src.codePointAt(index)); 125 static int toUpperCaseEx(String src, int index, Locale locale) { argument 126 char[] result = lookUpTable(src, index, locale, false); 136 return Character.toUpperCaseEx(src.codePointAt(index)); 140 static char[] toLowerCaseCharArray(String src, int index, Locale locale) { argument 141 return lookUpTable(src, index, locale, true); 144 static char[] toUpperCaseCharArray(String src, int index, Locale locale) { argument 145 char[] result = lookUpTable(src, index, local 153 lookUpTable(String src, int index, Locale locale, boolean bLowerCasing) argument 172 isConditionMet(String src, int index, Locale locale, int condition) argument 204 isFinalCased(String src, int index, Locale locale) argument 244 isAfterI(String src, int index) argument 276 isAfterSoftDotted(String src, int index) argument 307 isMoreAbove(String src, int index) argument 340 isBeforeDot(String src, int index) argument [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/bugspot/tree/ |
H A D | ObjectTreeNodeAdapter.java | 63 public SimpleTreeNode getChild(int index) { argument 68 Fetcher f = new Fetcher(index); 113 private int index; field in class:ObjectTreeNodeAdapter.Fetcher 117 public Fetcher(int index) { argument 118 this.index = index; 126 if (curField == index) { 133 if (curField == index) { 140 if (curField == index) { 147 if (curField == index) { 193 private int index = -1; field in class:ObjectTreeNodeAdapter.Finder [all...] |
/openjdk7/hotspot/src/share/vm/classfile/ |
H A D | stackMapFrame.cpp | 275 int32_t index, VerificationType type, TRAPS) { 276 if (index >= _max_locals) { 278 ErrorContext::bad_local_index(_offset, index), 282 bool subtype = type.is_assignable_from(_locals[index], 287 TypeOrigin::local(index, this), 292 if(index >= _locals_size) { _locals_size = index + 1; } 293 return _locals[index]; 297 int32_t index, VerificationType type1, VerificationType type2, TRAPS) { 300 if (index > 274 get_local( int32_t index, VerificationType type, TRAPS) argument 296 get_local_2( int32_t index, VerificationType type1, VerificationType type2, TRAPS) argument 326 set_local(int32_t index, VerificationType type, TRAPS) argument 356 set_local_2( int32_t index, VerificationType type1, VerificationType type2, TRAPS) argument [all...] |
/openjdk7/jdk/src/share/back/ |
H A D | ArrayReferenceImpl.c | 71 jarray array, jint index, jint length) 78 JNI_FUNC_PTR(env,GetBooleanArrayRegion)(env, array, index, length, components); 88 jarray array, jint index, jint length) 95 JNI_FUNC_PTR(env,GetByteArrayRegion)(env, array, index, length, components); 105 jarray array, jint index, jint length) 112 JNI_FUNC_PTR(env,GetCharArrayRegion)(env, array, index, length, components); 122 jarray array, jint index, jint length) 129 JNI_FUNC_PTR(env,GetShortArrayRegion)(env, array, index, length, components); 139 jarray array, jint index, jint length) 146 JNI_FUNC_PTR(env,GetIntArrayRegion)(env, array, index, lengt 70 writeBooleanComponents(JNIEnv *env, PacketOutputStream *out, jarray array, jint index, jint length) argument 87 writeByteComponents(JNIEnv *env, PacketOutputStream *out, jarray array, jint index, jint length) argument 104 writeCharComponents(JNIEnv *env, PacketOutputStream *out, jarray array, jint index, jint length) argument 121 writeShortComponents(JNIEnv *env, PacketOutputStream *out, jarray array, jint index, jint length) argument 138 writeIntComponents(JNIEnv *env, PacketOutputStream *out, jarray array, jint index, jint length) argument 155 writeLongComponents(JNIEnv *env, PacketOutputStream *out, jarray array, jint index, jint length) argument 172 writeFloatComponents(JNIEnv *env, PacketOutputStream *out, jarray array, jint index, jint length) argument 189 writeDoubleComponents(JNIEnv *env, PacketOutputStream *out, jarray array, jint index, jint length) argument 206 writeObjectComponents(JNIEnv *env, PacketOutputStream *out, jarray array, jint index, jint length) argument 234 jint index; local 342 readBooleanComponents(JNIEnv *env, PacketInputStream *in, jarray array, int index, int length) argument 356 readByteComponents(JNIEnv *env, PacketInputStream *in, jarray array, int index, int length) argument 370 readCharComponents(JNIEnv *env, PacketInputStream *in, jarray array, int index, int length) argument 384 readShortComponents(JNIEnv *env, PacketInputStream *in, jarray array, int index, int length) argument 398 readIntComponents(JNIEnv *env, PacketInputStream *in, jarray array, int index, int length) argument 412 readLongComponents(JNIEnv *env, PacketInputStream *in, jarray array, int index, int length) argument 426 readFloatComponents(JNIEnv *env, PacketInputStream *in, jarray array, int index, int length) argument 440 readDoubleComponents(JNIEnv *env, PacketInputStream *in, jarray array, int index, int length) argument 455 readObjectComponents(JNIEnv *env, PacketInputStream *in, jarray array, int index, int length) argument 482 jint index; local [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/ |
H A D | QualifiedName.java | 37 public int index; field in class:QualifiedName 52 this.index = -1; 63 this.index = -1; 70 public QualifiedName(String prefix, String namespaceName, String localName, String qName, int index) { argument 75 this.index = index; 81 public final QualifiedName set(String prefix, String namespaceName, String localName, String qName, int index) { argument 86 this.index = index; 94 public QualifiedName(String prefix, String namespaceName, String localName, String qName, int index, argument 106 set(String prefix, String namespaceName, String localName, String qName, int index, int prefixIndex, int namespaceNameIndex, int localNameIndex) argument 204 QualifiedName(String prefix, String namespaceName, String localName, int index) argument 215 set(String prefix, String namespaceName, String localName, int index) argument 228 QualifiedName(String prefix, String namespaceName, String localName, int index, int prefixIndex, int namespaceNameIndex, int localNameIndex) argument 240 set(String prefix, String namespaceName, String localName, int index, int prefixIndex, int namespaceNameIndex, int localNameIndex) argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/xs/ |
H A D | PSVIProvider.java | 64 * Provides <code>AttributePSVI</code> given the index of an attribute 72 * @param index The attribute index. 75 public AttributePSVI getAttributePSVI(int index); argument
|
H A D | ShortList.java | 47 * Returns the <code>index</code>th item in the collection. The index 49 * @param index index into the collection. 50 * @return The <code>unsigned short</code> at the <code>index</code>th 53 * INDEX_SIZE_ERR: if <code>index</code> is greater than or equal to the 56 public short item(int index) argument
|
H A D | StringList.java | 47 * Returns the <code>index</code>th item in the collection or 48 * <code>null</code> if <code>index</code> is greater than or equal to 49 * the number of objects in the list. The index starts at 0. 50 * @param index index into the collection. 51 * @return The <code>GenericString</code> at the <code>index</code>th 53 * the index specified is not valid. 55 public String item(int index); argument
|
H A D | XSNamespaceItemList.java | 38 * Returns the <code>index</code>th item in the collection or 39 * <code>null</code> if <code>index</code> is greater than or equal to 40 * the number of objects in the list. The index starts at 0. 41 * @param index index into the collection. 42 * @return The <code>XSNamespaceItem</code> at the <code>index</code>th 44 * <code>null</code> if the index specified is not valid. 46 public XSNamespaceItem item(int index); argument
|
H A D | XSObjectList.java | 38 * Returns the <code>index</code>th item in the collection or 39 * <code>null</code> if <code>index</code> is greater than or equal to 40 * the number of objects in the list. The index starts at 0. 41 * @param index index into the collection. 42 * @return The <code>XSObject</code> at the <code>index</code>th 44 * the index specified is not valid. 46 public XSObject item(int index); argument
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/xs/datatypes/ |
H A D | ObjectList.java | 51 * Returns the <code>index</code>th item in the collection or 52 * <code>null</code> if <code>index</code> is greater than or equal to 53 * the number of objects in the list. The index starts at 0. 54 * @param index index into the collection. 55 * @return The <code>Object</code> at the <code>index</code>th 57 * the index specified is not valid - greater than or equal to the 60 public Object item(int index); argument
|
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/ |
H A D | VariableStack.java | 86 * The bottom index of the current frame (relative to <code>_stackFrames</code>). 105 * Get the element at the given index, regardless of stackframe. 107 * @param i index from zero. 109 * @return The item at the given index. 236 * @param index Local variable index relative to the current stack 241 public void setLocalVariable(int index, XObject val) argument 243 _stackFrames[index + _currentFrameBottom] = val; 250 * @param index Local variable index relativ 256 setLocalVariable(int index, XObject val, int stackFrame) argument 275 getLocalVariable(XPathContext xctxt, int index) argument 307 getLocalVariable(int index, int frame) argument 332 getLocalVariable(XPathContext xctxt, int index, boolean destructiveOK) argument 362 isLocalSet(int index) argument 396 setGlobalVariable(final int index, final XObject val) argument 415 getGlobalVariable(XPathContext xctxt, final int index) argument 442 getGlobalVariable(XPathContext xctxt, final int index, boolean destructiveOK) argument [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/corba/ |
H A D | ContextListImpl.java | 64 public String item(int index) argument 68 return (String) _contexts.elementAt(index); 74 public void remove(int index) argument 78 _contexts.removeElementAt(index);
|
H A D | ExceptionListImpl.java | 63 public TypeCode item(int index) argument 67 return (TypeCode) _exceptions.elementAt(index); 73 public void remove(int index) argument 77 _exceptions.removeElementAt(index);
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/orbutil/ |
H A D | DenseIntMapImpl.java | 69 private void extend( int index ) 71 if (index >= list.size()) { 72 list.ensureCapacity( index + 1 ) ; 74 while (max++ <= index)
|
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/ |
H A D | JavaGenerator.java | 52 int helperType (int index, String indent, TCOffsets tcoffsets, String name, SymtabEntry entry, PrintWriter stream); argument 62 int read (int index, String indent, String name, SymtabEntry entry, PrintWriter stream); argument 64 int write (int index, String indent, String name, SymtabEntry entry, PrintWriter stream); argument 66 int type (int index, String indent, TCOffsets tcoffsets, String name, SymtabEntry entry, PrintWriter stream); argument
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/jdi/ |
H A D | ArrayReferenceImpl.java | 58 public Value getValue(int index) { argument 59 List list = getValues(index, 1); 72 private void validateArrayAccess(int index, int len) { argument 73 // because length can be computed from index, 74 // index must be tested first for correct error message 75 if ((index < 0) || (index > length())) { 77 "Invalid array index: " + index); 83 if (index 90 getValues(int index, int len) argument 146 setValue(int index, Value value) argument 158 setValues(int index, List values, int srcIndex, int length) argument [all...] |