Lines Matching refs:index

137   int  index = 0; // Defined here for portability! Do not move
142 for (index = 0; index < table_size(); index++) {
143 for (DictionaryEntry** p = bucket_addr(index); *p != NULL; ) {
169 // do anything special with the index.
179 // do anything special with the index.
201 // do anything special with the index.
297 for (int index = 0; index < table_size(); index++) {
298 for (DictionaryEntry *probe = bucket(index);
317 for (int index = 0; index < table_size(); index++) {
318 for (DictionaryEntry* probe = bucket(index);
332 for (int index = 0; index < table_size(); index++) {
333 for (DictionaryEntry* probe = bucket(index);
349 for (int index = 0; index < table_size(); index++) {
350 for (DictionaryEntry* probe = bucket(index);
363 for (int index = 0; index < table_size(); index++) {
364 for (DictionaryEntry* probe = bucket(index);
375 for (int index = 0; index < table_size(); index++) {
376 for (DictionaryEntry* probe = bucket(index);
390 for (int index = 0; index < table_size(); index++) {
391 for (DictionaryEntry* probe = bucket(index);
431 int index = hash_to_index(hash);
433 add_entry(index, entry);
445 // _buckets[index] is read here, so the caller will not see the new entry.
446 DictionaryEntry* Dictionary::get_entry(int index, unsigned int hash,
451 for (DictionaryEntry* entry = bucket(index);
463 klassOop Dictionary::find(int index, unsigned int hash, Symbol* name,
465 DictionaryEntry* entry = get_entry(index, hash, name, loader);
474 klassOop Dictionary::find_class(int index, unsigned int hash,
477 assert (index == index_for(name, loader), "incorrect index?");
479 DictionaryEntry* entry = get_entry(index, hash, name, loader);
487 klassOop Dictionary::find_shared_class(int index, unsigned int hash,
489 assert (index == index_for(name, Handle()), "incorrect index?");
491 DictionaryEntry* entry = get_entry(index, hash, name, Handle());
496 void Dictionary::add_protection_domain(int index, unsigned int hash,
501 DictionaryEntry* entry = get_entry(index, hash, klass_name, loader);
514 bool Dictionary::is_valid_protection_domain(int index, unsigned int hash,
518 DictionaryEntry* entry = get_entry(index, hash, name, loader);
549 int index = hash_to_index(hash);
551 p->set_next(bucket(index));
552 set_entry(index, p);
567 SymbolPropertyEntry* SymbolPropertyTable::find_entry(int index, unsigned int hash,
570 assert(index == index_for(sym, sym_mode), "incorrect index?");
571 for (SymbolPropertyEntry* p = bucket(index); p != NULL; p = p->next()) {
580 SymbolPropertyEntry* SymbolPropertyTable::add_entry(int index, unsigned int hash,
583 assert(index == index_for(sym, sym_mode), "incorrect index?");
584 assert(find_entry(index, hash, sym, sym_mode) == NULL, "no double entry");
587 Hashtable<Symbol*, mtSymbol>::add_entry(index, p);
593 for (int index = 0; index < table_size(); index++) {
594 for (SymbolPropertyEntry* p = bucket(index); p != NULL; p = p->next()) {
603 for (int index = 0; index < table_size(); index++) {
604 for (SymbolPropertyEntry* p = bucket(index); p != NULL; p = p->next()) {
626 for (int index = 0; index < table_size(); index++) {
627 for (DictionaryEntry* probe = bucket(index);
630 if (Verbose) tty->print("%4d: ", index);
651 for (int index = 0; index < table_size(); index++) {
652 for (DictionaryEntry* probe = bucket(index);