/openjdk10/jdk/test/java/beans/XMLDecoder/spec/ |
H A D | TestProperty.java | 40 + " <property name=\"indexed\" index=\"1\">\n" 43 + " <property id=\"indexed\" name=\"indexed\" index=\"1\"/>\n" 53 private int index; field in class:TestProperty 64 public String getIndexed(int index) { argument 65 if (this.index != index) { 66 throw new Error("unexpected index"); 71 public void setIndexed(int index, String message) { argument 72 this.index = index; [all...] |
/openjdk10/nashorn/samples/ |
H A D | BufferArray.java | 73 public boolean hasSlot(final int index) { argument 74 return index > 0 && index < buf.capacity(); 77 // get the value from that index 79 public Object getSlot(final int index) { argument 80 return buf.get(index); 83 // set the value at that index 85 public void setSlot(final int index, final Object value) { argument 86 buf.put(index, ((Number)value).doubleValue());
|
/openjdk10/jdk/src/java.desktop/share/classes/sun/awt/util/ |
H A D | IdentityArrayList.java | 216 * Returns the index of the first occurrence of the specified element 218 * More formally, returns the lowest index {@code i} such that 220 * or -1 if there is no such index. 232 * Returns the index of the last occurrence of the specified element 234 * More formally, returns the highest index {@code i} such that 236 * or -1 if there is no such index. 305 * @param index index of the element to return 309 public E get(int index) { argument 310 rangeCheck(index); 326 set(int index, E element) argument 356 add(int index, E element) argument 375 remove(int index) argument 417 fastRemove(int index) argument 477 addAll(int index, Collection<? extends E> c) argument 525 rangeCheck(int index) argument 533 rangeCheckForAdd(int index) argument 543 outOfBoundsMsg(int index) argument [all...] |
/openjdk10/hotspot/src/share/vm/runtime/ |
H A D | task.cpp | 70 for(int index = 0; index < _num_tasks; index++) { 71 _tasks[index]->execute_if_pending(delay_time); 73 index--; // re-do current slot as it has changed 88 for (int index = 1; index < _num_tasks; index++) { 89 delay = MIN2(delay, _tasks[index]->time_to_next_interval()); 141 int index; local [all...] |
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xalan/internal/utils/ |
H A D | FeaturePropertyBase.java | 73 * Set the value of a property by its index 74 * @param index the index of the property 78 public void setValue(int index, State state, String value) { argument 80 if (state.compareTo(states[index]) >= 0) { 81 values[index] = value; 82 states[index] = state; 95 int index = getIndex(propertyName); 96 if (index > -1) { 97 setValue(index, stat 169 getValueByIndex(int index) argument [all...] |
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/ |
H A D | DefaultComboBoxModel.java | 109 public E getElementAt(int index) { argument 110 if ( index >= 0 && index < objects.size() ) 111 return objects.elementAt(index); 117 * Returns the index-position of the specified object in the list. 119 * @param anObject the object to return the index of 120 * @return an int representing the index position, where 0 is 137 public void insertElementAt(E anObject,int index) { argument 138 objects.insertElementAt(anObject,index); 139 fireIntervalAdded(this, index, inde 143 removeElementAt(int index) argument [all...] |
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/ |
H A D | IndexNode.java | 38 /** Property index. */ 39 private final Expression index; field in class:IndexNode 47 * @param index index for access 49 public IndexNode(final long token, final int finish, final Expression base, final Expression index) { argument 51 this.index = index; 54 private IndexNode(final IndexNode indexNode, final Expression base, final Expression index, final boolean isFunction, argument 57 this.index = index; 113 setIndex(final Expression index) argument [all...] |
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ |
H A D | ByteBufferArrayData.java | 56 * Returns property descriptor for element at a given index 59 * @param index the index 64 public PropertyDescriptor getDescriptor(final Global global, final int index) { argument 65 // make the index properties not configurable 66 return global.newDataDescriptor(getObject(index), false, true, true); 109 public ArrayData set(final int index, final Object value, final boolean strict) { argument 111 buf.put(index, ((Number)value).byteValue()); 119 public ArrayData set(final int index, final int value, final boolean strict) { argument 120 buf.put(index, (byt 125 set(final int index, final double value, final boolean strict) argument 131 getInt(final int index) argument 136 getDouble(final int index) argument 141 getObject(final int index) argument 146 has(final int index) argument 151 canDelete(final int index, final boolean strict) argument 161 delete(final int index) argument [all...] |
/openjdk10/jdk/src/java.desktop/share/native/libfontmanager/layout/ |
H A D | GlyphPositionAdjustments.h | 131 inline le_bool isCursiveGlyph(le_int32 index) const; 132 inline le_bool baselineIsLogicalEnd(le_int32 index) const; 134 const LEPoint *getEntryPoint(le_int32 index, LEPoint &entryPoint) const; 135 const LEPoint *getExitPoint(le_int32 index, LEPoint &exitPoint) const; 137 inline float getXPlacement(le_int32 index) const; 138 inline float getYPlacement(le_int32 index) const; 139 inline float getXAdvance(le_int32 index) const; 140 inline float getYAdvance(le_int32 index) const; 142 inline le_int32 getBaseOffset(le_int32 index) const; 144 inline void setXPlacement(le_int32 index, floa 350 setXPlacement(le_int32 index, float newXPlacement) argument 355 setYPlacement(le_int32 index, float newYPlacement) argument 360 setXAdvance(le_int32 index, float newXAdvance) argument 365 setYAdvance(le_int32 index, float newYAdvance) argument 370 setBaseOffset(le_int32 index, le_int32 newBaseOffset) argument 375 adjustXPlacement(le_int32 index, float xAdjustment) argument 380 adjustYPlacement(le_int32 index, float yAdjustment) argument 385 adjustXAdvance(le_int32 index, float xAdjustment) argument 390 adjustYAdvance(le_int32 index, float yAdjustment) argument [all...] |
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/image/renderable/ |
H A D | ParameterBlock.java | 194 * @param index the index of the source to be returned. 196 * at the specified index in the {@code sources} 200 public Object getSource(int index) { argument 201 return sources.elementAt(index); 206 * If the index lies beyond the current source list, 209 * @param index the index into the {@code sources} 214 * {@code index}. 217 public ParameterBlock setSource(Object source, int index) { argument 237 getRenderedSource(int index) argument 251 getRenderableSource(int index) argument 421 set(Object obj, int index) argument 443 set(byte b, int index) argument 459 set(char c, int index) argument 475 set(short s, int index) argument 491 set(int i, int index) argument 507 set(long l, int index) argument 523 set(float f, int index) argument 539 set(double d, int index) argument 551 getObjectParameter(int index) argument 571 getByteParameter(int index) argument 591 getCharParameter(int index) argument 611 getShortParameter(int index) argument 631 getIntParameter(int index) argument 651 getLongParameter(int index) argument 671 getFloatParameter(int index) argument 691 getDoubleParameter(int index) argument [all...] |
/openjdk10/hotspot/src/share/vm/classfile/ |
H A D | protectionDomainCache.cpp | 74 for (int index = 0; index < table_size(); index++) { 75 for (ProtectionDomainCacheEntry* probe = bucket(index); 86 for (int index = 0; index < table_size(); index++) { 87 for (ProtectionDomainCacheEntry* probe = bucket(index); 90 st->print_cr("%4d: protection_domain: " PTR_FORMAT, index, p2i(probe->literal())); 105 int index local 114 find_entry(int index, Handle protection_domain) argument 124 add_entry(int index, unsigned int hash, Handle protection_domain) argument [all...] |
/openjdk10/jdk/src/java.security.jgss/share/classes/sun/security/krb5/internal/ktab/ |
H A D | KeyTabInputStream.java | 52 int index; field in class:KeyTabInputStream 66 index = entryLen; 67 if (index == 0) { //in native implementation, when the last entry is deleted, a byte 0 is left. 70 if (index < 0) { //in native implementation, when one of the entries is deleted, the entry length turns to be negative, and 71 skip(Math.abs(index)); //the fields are left with 0 bytes 75 index -= 2; 85 index -= 4; 90 index -= 1; 92 index -= 2; 94 index [all...] |
/openjdk10/jdk/test/sun/util/calendar/zi/ |
H A D | ZoneInfoFile.java | 587 int index = 0; 598 for (index = 0; index < JAVAZI_LABEL.length; index++) { 599 if (buf[index] != JAVAZI_LABEL[index]) { 604 if (buf[index++] > JAVAZI_VERSION) { 606 + buf[index - 1] + "): " + id); 610 while (index < filesize) { 611 byte tag = buf[index [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.phases.common/src/org/graalvm/compiler/phases/common/inlining/info/ |
H A D | ExactInlineInfo.java | 69 public ResolvedJavaMethod methodAt(int index) { argument 70 assert index == 0; 75 public double probabilityAt(int index) { argument 76 assert index == 0; 81 public double relevanceAt(int index) { argument 82 assert index == 0; 92 public Inlineable inlineableElementAt(int index) { argument 93 assert index == 0; 98 public void setInlinableElement(int index, Inlineable inlineableElement) { argument 99 assert index [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.debug/src/org/graalvm/compiler/debug/ |
H A D | AbstractKey.java | 26 * A name and index for a metric value. 35 private int index; field in class:AbstractKey 42 this.index = -1; 61 return debug.getMetricValue(index); 66 debug.setMetricValue(index, l); 70 if (index == -1) { 71 index = KeyRegistry.register(this); 77 debug.setMetricValue(index, debug.getMetricValue(index) + value); 81 * Gets the globally unique index fo [all...] |
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/ |
H A D | ObjArray.java | 57 public OopHandle getOopHandleAt(long index) { argument 58 long offset = baseOffsetInBytes(BasicType.T_OBJECT) + (index * elementSize); 66 public Oop getObjAt(long index) { argument 67 return getHeap().newOop(getOopHandleAt(index)); 78 for (int index = 0; index < length; index++) { 79 long offset = baseOffset + (index * elementSize); 82 field = new NarrowOopField(new IndexableFieldIdentifier(index), offset, false); 84 field = new OopField(new IndexableFieldIdentifier(index), offse [all...] |
/openjdk10/hotspot/src/cpu/arm/vm/ |
H A D | templateTable_arm.hpp | 30 Register index = noreg, // itable index, MethodType, etc. 35 static void invokevirtual_helper(Register index, Register recv, 44 static void index_check(Register array, Register index); 45 static void index_check_without_pop(Register array, Register index); 47 static void get_local_base_addr(Register r, Register index); 49 static Address load_iaddress(Register index, Register scratch); 50 static Address load_aaddress(Register index, Register scratch); 51 static Address load_faddress(Register index, Register scratch); 52 static Address load_daddress(Register index, Registe [all...] |
/openjdk10/jdk/src/java.base/share/classes/sun/text/normalizer/ |
H A D | Trie2_16.java | 95 // BMP uses a single level lookup. BMP index starts at offset 0 in the Trie2 index. 96 // 16 bit data is stored in the index array itself. 97 ix = index[codePoint >> UTRIE2_SHIFT_2]; 99 value = index[ix]; 103 // Lead Surrogate Code Point. A Separate index section is stored for 105 // The main index has the code unit data. 109 ix = index[UTRIE2_LSCP_INDEX_2_OFFSET + ((codePoint - 0xd800) >> UTRIE2_SHIFT_2)]; 111 value = index[ix]; 117 ix = index[i [all...] |
/openjdk10/jdk/src/java.base/share/classes/java/nio/ |
H A D | CharBufferSpliterator.java | 41 private int index; // current index, modified on advance/split field in class:CharBufferSpliterator 51 this.index = (origin <= limit) ? origin : limit; 57 int lo = index, mid = (lo + limit) >>> 1; 60 : new CharBufferSpliterator(buffer, lo, index = mid); 68 int i = index; 70 index = hi; 80 if (index >= 0 && index < limit) { 81 action.accept(buffer.getUnchecked(index [all...] |
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/reflect/ |
H A D | ByteVectorImpl.java | 45 public byte get(int index) { argument 46 if (index >= data.length) { 47 resize(index); 48 pos = index; 50 return data[index]; 53 public void put(int index, byte value) { argument 54 if (index >= data.length) { 55 resize(index); 56 pos = index; 58 data[index] [all...] |
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/soql/ |
H A D | JSList.java | 48 public Object get(int index) { argument 49 if (isInRange(index)) { 50 Object item = list.get(index); 53 return super.get(index); 76 public boolean has(int index) { argument 77 if (isInRange(index)) { 80 return super.has(index); 90 public void put(int index, Object value) { argument 91 if (! isInRange(index)) { 92 super.put(index, valu 110 isInRange(int index) argument [all...] |
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/ |
H A D | CPInstruction.java | 32 * Abstract super class for instructions that use an index into the constant 44 private int index; // index to constant pool field in class:CPInstruction 54 * @param index to constant pool 56 protected CPInstruction(final short opcode, final int index) { argument 58 setIndex(index); 69 out.writeShort(index); 76 * instruction>")" "<"< constant pool index>">" 83 return super.toString(verbose) + " " + index; 91 final Constant c = cp.getConstant(index); 125 setIndex(final int index) argument [all...] |
/openjdk10/jdk/src/java.base/share/classes/java/security/cert/ |
H A D | CertPathValidatorException.java | 43 * 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} and {@code index} i 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...] |
/openjdk10/jdk/src/java.base/share/classes/sun/text/ |
H A D | IntHashtable.java | 61 int index = find(key); 62 if (keyList[index] <= MAX_UNUSED) { // deleted or empty 63 keyList[index] = key; 66 values[index] = value; // reset value 74 int index = find(key); 75 if (keyList[index] > MAX_UNUSED) { // neither deleted nor empty 76 keyList[index] = DELETED; // set to deleted 77 values[index] = defaultValue; // set to default 147 // primes, we just keep a table, with the current index we are using. 210 int index [all...] |
/openjdk10/jdk/src/jdk.charsets/share/classes/sun/nio/cs/ext/ |
H A D | SimpleEUCEncoder.java | 66 int index; 69 index = index1[((ch & mask1) >> shift)] + (ch & mask2); 71 if (index < 7500) 74 if (index < 15000) { 75 index = index - 7500; 79 if (index < 22500){ 80 index = index - 15000; 84 index [all...] |