Lines Matching refs:sym

690       Symbol* sym = this_oop->unresolved_string_at(which);
691 str = StringTable::intern(sym, CHECK_(constantPoolOop(NULL)));
732 Symbol* sym = unresolved_string_at(index);
733 oop entry = StringTable::intern(sym, CHECK_(-1));
1551 Symbol* sym = symbol_at(idx);
1552 symmap->add_entry(sym, idx);
1553 DBG(printf("adding symbol entry %s = %d\n", sym->as_utf8(), idx));
1559 Symbol* sym = klass_name_at(idx);
1560 classmap->add_entry(sym, idx);
1561 DBG(printf("adding class entry %s = %d\n", sym->as_utf8(), idx));
1607 Symbol* sym = symbol_at(idx);
1608 char* str = sym->as_utf8();
1609 // Warning! It's crashing on x86 with len = sym->utf8_length()
1644 Symbol* sym = klass_name_at(idx);
1645 idx1 = tbl->symbol_to_value(sym);
1648 DBG(printf("JVM_CONSTANT_Class: idx=#%03hd, %s", idx1, sym->as_utf8()));
1654 TempNewSymbol sym = SymbolTable::lookup_only(str, (int) strlen(str), hash);
1655 if (sym == NULL) {
1656 // sym can be NULL if string refers to incorrectly encoded JVM_CONSTANT_Utf8
1675 idx1 = tbl->symbol_to_value(sym);
1684 Symbol* sym = unresolved_string_at(idx);
1685 idx1 = tbl->symbol_to_value(sym);
1688 DBG(char *str = sym->as_utf8());
1763 void SymbolHashMap::add_entry(Symbol* sym, u2 value) {
1764 char *str = sym->as_utf8();
1765 unsigned int hash = compute_hash(str, sym->utf8_length());
1773 if (en->hash() == hash && en->symbol() == sym) {
1778 SymbolHashMapEntry* entry = new SymbolHashMapEntry(hash, sym, value);
1784 SymbolHashMapEntry* SymbolHashMap::find_entry(Symbol* sym) {
1785 assert(sym != NULL, "SymbolHashMap::find_entry - symbol is NULL");
1786 char *str = sym->as_utf8();
1787 int len = sym->utf8_length();
1792 if (en->hash() == hash && en->symbol() == sym) {