Lines Matching refs:table
42 os << "Intern table: " << strong_interns_.size() << " strong; "
57 // Note: we deliberately don't visit the weak_interns_ table and the immutable
61 mirror::String* InternTable::Lookup(Table& table, mirror::String* s,
64 for (auto it = table.find(hash_code), end = table.end(); it != end; ++it) {
73 mirror::String* InternTable::Insert(Table& table, mirror::String* s,
76 table.insert(std::make_pair(hash_code, s));
80 void InternTable::Remove(Table& table, const mirror::String* s,
83 for (auto it = table.find(hash_code), end = table.end(); it != end; ++it) {
85 table.erase(it);
141 // Check the strong table for a match.
156 // There is no match in the strong table, check the weak table.
159 // A match was found in the weak table. Promote to the strong table.
164 // No match in the strong table or the weak table. Insert into the strong
165 // table.
169 // Check the strong table for a match.
179 // Check the weak table for a match.
184 // Insert into the weak table.