/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | ImageFetcher.java | 56 private ImageFetcher(ThreadGroup threadGroup, int index) { argument 57 super(threadGroup, "Image Fetcher " + index); 251 int index = -1; 257 index = i; 260 if (index >= 0) { 261 info.fetchers[index] = me; 263 me.setName("Image Fetcher " + index);
|
/openjdk7/jdk/src/share/classes/sun/awt/util/ |
H A D | IdentityArrayList.java | 215 * Returns the index of the first occurrence of the specified element 217 * More formally, returns the lowest index <tt>i</tt> such that 219 * or -1 if there is no such index. 231 * Returns the index of the last occurrence of the specified element 233 * More formally, returns the highest index <tt>i</tt> such that 235 * or -1 if there is no such index. 303 * @param index index of the element to return 307 public E get(int index) { argument 308 rangeCheck(index); 322 set(int index, E element) argument 351 add(int index, E element) argument 370 remove(int index) argument 412 fastRemove(int index) argument 472 addAll(int index, Collection<? extends E> c) argument 520 rangeCheck(int index) argument 528 rangeCheckForAdd(int index) argument 538 outOfBoundsMsg(int index) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | Underline.java | 305 static Underline getUnderline(int index) { argument 306 return index < 0 ? null : UNDERLINE_LIST[index];
|
/openjdk7/jdk/src/share/classes/sun/invoke/anon/ |
H A D | ConstantPoolParser.java | 84 * @param index 87 public byte getTag(int index) { argument 89 return tags[index]; 109 /** Report the CP index of this class's own name. */ 318 int index = 0; 323 return getUTF8Extended(buffer, utfLimit, charArray, index); 325 charArray[index++] = (char)c; 327 return new String(charArray, 0, index); 330 private static String getUTF8Extended(ByteBuffer buffer, int utfLimit, char[] charArray, int index) throws InvalidConstantPoolFormatException { argument 337 charArray[index [all...] |
/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | PackedColorModel.java | 54 * <li> If an alpha sample is present, it corresponds the last index. 57 * the color space type (for example, TYPE_RGB), index 0 58 * corresponds to red, index 1 to green, and index 2 to blue. 226 * samples, <code>index</code> corresponds to the placement of color 227 * sample names in the color space. Thus, an <code>index</code> 229 * Cyan and an <code>index</code> equal to 1 would correspond to 230 * Magenta. If there is alpha, the alpha <code>index</code> would be: 234 * @param index the specified color or alpha sample 237 * by <code>index</cod 243 getMask(int index) argument [all...] |
/openjdk7/jdk/src/share/classes/java/beans/ |
H A D | PropertyChangeSupport.java | 351 * @param index the index of the property element that was changed 356 public void fireIndexedPropertyChange(String propertyName, int index, Object oldValue, Object newValue) { argument 358 firePropertyChange(new IndexedPropertyChangeEvent(source, propertyName, oldValue, newValue, index)); 373 * @param index the index of the property element that was changed 378 public void fireIndexedPropertyChange(String propertyName, int index, int oldValue, int newValue) { argument 380 fireIndexedPropertyChange(propertyName, index, Integer.valueOf(oldValue), Integer.valueOf(newValue)); 395 * @param index the index o 400 fireIndexedPropertyChange(String propertyName, int index, boolean oldValue, boolean newValue) argument [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...] |
H A D | StringBuilder.java | 159 * execution of the <tt>append</tt> method. Then the character at index 161 * index <i>k</i> in the old character sequence, if <i>k</i> is less than 162 * <i>n</i>; otherwise, it is equal to the character at index <i>k-n</i> 257 public StringBuilder deleteCharAt(int index) { argument 258 super.deleteCharAt(index); 273 public StringBuilder insert(int index, char[] str, int offset, argument 276 super.insert(index, str, offset, len);
|
/openjdk7/jdk/src/share/classes/java/lang/reflect/ |
H A D | Array.java | 128 * @param index the index 134 * @exception ArrayIndexOutOfBoundsException If the specified {@code index} 138 public static native Object get(Object array, int index) argument 146 * @param index the index 152 * @exception ArrayIndexOutOfBoundsException If the specified {@code index} 157 public static native boolean getBoolean(Object array, int index) argument 165 * @param index the index 176 getByte(Object array, int index) argument 195 getChar(Object array, int index) argument 214 getShort(Object array, int index) argument 233 getInt(Object array, int index) argument 252 getLong(Object array, int index) argument 271 getFloat(Object array, int index) argument 290 getDouble(Object array, int index) argument 310 set(Object array, int index, Object value) argument 330 setBoolean(Object array, int index, boolean z) argument 350 setByte(Object array, int index, byte b) argument 370 setChar(Object array, int index, char c) argument 390 setShort(Object array, int index, short s) argument 410 setInt(Object array, int index, int i) argument 430 setLong(Object array, int index, long l) argument 450 setFloat(Object array, int index, float f) argument 470 setDouble(Object array, int index, double d) argument [all...] |
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | InMemoryCookieStore.java | 53 // presence of cookie when retrieve one form index store. 90 // and add it to domain index 95 // add it to uri index, too 318 // @param cookieIndex the index 320 // a cookie in index should be returned 325 for (T index : cookieIndex.keySet()) { 326 if (comparator.compareTo(index) == 0) { 327 List<HttpCookie> indexedCookies = cookieIndex.get(index); 351 } // end of comparator.compareTo(index) == 0 355 // add 'cookie' indexed by 'index' int 356 addIndex(Map<T, List<HttpCookie>> indexStore, T index, HttpCookie cookie) argument [all...] |
/openjdk7/jdk/src/share/classes/java/nio/file/ |
H A D | Path.java | 173 * <p> The {@code index} parameter is the index of the name element to return. 175 * has index {@code 0}. The element that is <em>farthest</em> from the root 176 * has index {@link #getNameCount count}{@code -1}. 178 * @param index 179 * the index of the element 184 * if {@code index} is negative, {@code index} is greater than or 188 Path getName(int index); argument 196 * in the directory hierarchy has index { [all...] |
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | List.java | 31 * inserted. The user can access elements by their integer index (position in 50 * that these operations may execute in time proportional to the index value 89 * <a href="{@docRoot}/../technotes/guides/collections/index.html"> 241 * the lowest index <tt>i</tt> such that 317 * @param index index at which to insert the first element from the 330 * @throws IndexOutOfBoundsException if the index is out of range 331 * (<tt>index < 0 || index > size()</tt>) 333 boolean addAll(int index, Collectio argument 435 get(int index) argument 455 set(int index, E element) argument 476 add(int index, E element) argument 491 remove(int index) argument 561 listIterator(int index) argument [all...] |
/openjdk7/hotspot/src/share/vm/ci/ |
H A D | ciField.cpp | 70 ciField::ciField(ciInstanceKlass* klass, int index): _known_to_link_with_put(NULL), _known_to_link_with_get(NULL) { argument 78 _cp_index = index; 82 Symbol* name = cpool->name_ref_at(index); 85 int nt_index = cpool->name_and_type_ref_index_at(index); 96 // This is not really a class reference; the index always refers to the 109 int holder_index = cpool->klass_ref_index_at(index);
|
/openjdk7/hotspot/src/share/vm/classfile/ |
H A D | javaAssertions.cpp | 132 int index; local 133 for (index = len - 1; p != 0; p = p->next(), --index) { 134 assert(index >= 0, "length does not match list"); 137 names->obj_at_put(index, s()); 138 enabled->bool_at_put(index, p->enabled()); 140 assert(index == -1, "length does not match list");
|
H A D | placeholders.cpp | 63 void PlaceholderTable::add_entry(int index, unsigned int hash, argument 72 add_entry(index, entry); 77 void PlaceholderTable::remove_entry(int index, unsigned int hash, argument 81 PlaceholderEntry** p = bucket_addr(index); 94 PlaceholderEntry* PlaceholderTable::get_entry(int index, unsigned int hash, argument 101 for (PlaceholderEntry *place_probe = bucket(index); 112 Symbol* PlaceholderTable::find_entry(int index, unsigned int hash, argument 115 PlaceholderEntry* probe = get_entry(index, hash, class_name, class_loader); 124 PlaceholderEntry* PlaceholderTable::find_and_add(int index, unsigned int hash, Symbol* name, Handle loader, classloadAction action, Symbol* supername, Thread* thread) { argument 125 PlaceholderEntry* probe = get_entry(index, has 155 find_and_remove(int index, unsigned int hash, Symbol* name, Handle loader, Thread* thread) argument [all...] |
/openjdk7/hotspot/src/share/vm/code/ |
H A D | oopRecorder.hpp | 38 // The zero index is reserved for a constant (sharable) null. 45 // Generate a new index on which CodeBlob::oop_addr_at will work. 46 // allocate_index and find_index never return the same index, 47 // and allocate_index never returns the same index twice. 53 // For a given jobject, this will return the same index repeatedly. 54 // The index can later be given to oop_at to retrieve the oop. 57 int index = maybe_find_index(h); local 58 if (index < 0) { // previously unallocated 59 index = add_handle(h, true); 61 return index; 116 set_cache_location_index(int* cloc, int index) argument [all...] |
H A D | vtableStubs.hpp | 31 // A VtableStub holds an individual code stub for a pair (vtable index, #args) for either itables or vtables 43 const short _index; // vtable index 51 VtableStub(bool is_vtable_stub, int index) argument 53 _index(index), _ame_offset(-1), _npe_offset(-1) {} 55 int index() const { return _index; } function in class:VtableStub 65 bool matches(bool is_vtable_stub, int index) const { 66 return _index == index && _is_vtable_stub == is_vtable_stub; 105 // There is one stub per (vtable index, args_size) pair, and the stubs are
|
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/ |
H A D | collectionSetChooser.cpp | 97 uint index = 0; local 99 while (index < _curr_index) { 100 guarantee(regions_at(index) == NULL, 102 index += 1; 105 while (index < _length) { 106 HeapRegion *curr = regions_at(index++); 189 void CollectionSetChooser::set_region(uint index, HeapRegion* hr) { argument 190 assert(regions_at(index) == NULL, "precondition"); 192 regions_at_put(index, hr);
|
H A D | g1MMUTracker.cpp | 66 int index = trim_index(_tail_index + i); local 67 G1MMUTrackerQueueElem *elem = &_array[index]; 171 int index = _tail_index; local 173 G1MMUTrackerQueueElem *elem = &_array[index]; 182 index = trim_index(index+1); 183 guarantee(index != trim_index(_head_index + 1), "should not go past head");
|
H A D | ptrQueue.cpp | 233 void PtrQueueSet::enqueue_complete_buffer(void** buf, size_t index) { argument 236 cbn->set_index(index);
|
H A D | survRateGroup.cpp | 210 size_t index = 0; local 212 while (index < limit) { 214 index, _summary_surv_rates[index]->avg() * 100.0, 215 (double) _summary_surv_rates[index]->num()); 216 ++index; 224 while (index < length) { 226 sum += _summary_surv_rates[index]->avg() * 100.0; 227 samples += _summary_surv_rates[index]->num(); 228 ++index; [all...] |
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/ |
H A D | psCompactionManager.cpp | 127 // Get the next available index 142 // Get the next available index 172 ParCompactionManager::gc_thread_compaction_manager(int index) { argument 173 assert(index >= 0 && index < (int)ParallelGCThreads, "index out of range"); 175 return _manager_array[index]; 200 k->oop_follow_contents(this, task.obj(), task.index()); 203 k->oop_follow_contents(this, task.obj(), task.index());
|
/openjdk7/hotspot/src/share/vm/interpreter/ |
H A D | bytecode.cpp | 107 assert((Bytecodes::flags(bc, is_wide) & Bytecodes::_fmt_has_nbo) != 0, "native index"); 128 return constants()->klass_ref_at_noresolve(index()); 133 return constants()->name_ref_at(index()); 138 return constants()->signature_ref_at(index()); 155 LinkResolver::resolve_method_statically(m, resolved_klass, bc, constants, index(), CHECK_(methodHandle())); 166 int Bytecode_member_ref::index() const { function in class:Bytecode_member_ref 181 int index = this->index(); local 184 index = constantPoolOopDesc::get_cpcache_index(index); 208 int index = raw_index(); local 216 int index = pool_index(); local 223 int index = raw_index(); local [all...] |
H A D | bytecodeHistogram.cpp | 75 HistoEntry(int index, int count) { _index = index; _count = count; } argument 76 int index() const { return _index; } function in class:HistoEntry 135 tty->print_cr("%10d %7.2f%% %02x %s", abs, rel, e->index(), name_for(e->index())); 177 int c1 = e->index() % number_of_codes; 178 int c2 = e->index() / number_of_codes;
|
/openjdk7/hotspot/src/share/vm/oops/ |
H A D | fieldInfo.hpp | 68 static FieldInfo* from_field_array(typeArrayOop fields, int index) { argument 69 return ((FieldInfo*)fields->short_at_addr(index * field_slots)); 71 static FieldInfo* from_field_array(u2* fields, int index) { argument 72 return ((FieldInfo*)(fields + index * field_slots)); 91 int index = name_index(); local 93 return lookup_symbol(index); 95 return cp->symbol_at(index); 99 int index = signature_index(); local 101 return lookup_symbol(index); 103 return cp->symbol_at(index); [all...] |