Lines Matching refs:String
62 mirror::String* old_ref = root.Read<kWithoutReadBarrier>(); in VisitRoots()
64 mirror::String* new_ref = root.Read<kWithoutReadBarrier>(); in VisitRoots()
85 mirror::String* InternTable::LookupStrong(mirror::String* s) { in LookupStrong()
89 mirror::String* InternTable::LookupWeak(mirror::String* s) { in LookupWeak()
99 mirror::String* InternTable::InsertStrong(mirror::String* s) { in InsertStrong()
105 new_strong_intern_roots_.push_back(GcRoot<mirror::String>(s)); in InsertStrong()
111 mirror::String* InternTable::InsertWeak(mirror::String* s) { in InsertWeak()
120 void InternTable::RemoveStrong(mirror::String* s) { in RemoveStrong()
124 void InternTable::RemoveWeak(mirror::String* s) { in RemoveWeak()
133 mirror::String* InternTable::InsertStrongFromTransaction(mirror::String* s) { in InsertStrongFromTransaction()
137 mirror::String* InternTable::InsertWeakFromTransaction(mirror::String* s) { in InsertWeakFromTransaction()
141 void InternTable::RemoveStrongFromTransaction(mirror::String* s) { in RemoveStrongFromTransaction()
145 void InternTable::RemoveWeakFromTransaction(mirror::String* s) { in RemoveWeakFromTransaction()
161 mirror::String* image_string = dex_cache->GetResolvedString(j); in AddImageStringsToTable()
163 mirror::String* found = LookupStrong(image_string); in AddImageStringsToTable()
176 mirror::String* InternTable::LookupStringFromImage(mirror::String* s) in LookupStringFromImage()
195 mirror::String* image = dex_cache->GetResolvedString(string_idx); in LookupStringFromImage()
217 mirror::String* InternTable::Insert(mirror::String* s, bool is_strong) { in Insert()
227 mirror::String* strong = LookupStrong(s); in Insert()
232 mirror::String* image = LookupStringFromImage(s); in Insert()
237 mirror::String* weak = LookupWeak(s); in Insert()
250 mirror::String* InternTable::InternStrong(int32_t utf16_length, const char* utf8_data) { in InternStrong()
252 return InternStrong(mirror::String::AllocFromModifiedUtf8( in InternStrong()
256 mirror::String* InternTable::InternStrong(const char* utf8_data) { in InternStrong()
258 return InternStrong(mirror::String::AllocFromModifiedUtf8(Thread::Current(), utf8_data)); in InternStrong()
261 mirror::String* InternTable::InternStrong(mirror::String* s) { in InternStrong()
265 mirror::String* InternTable::InternWeak(mirror::String* s) { in InternWeak()
269 bool InternTable::ContainsWeak(mirror::String* s) { in ContainsWeak()
279 std::size_t InternTable::StringHashEquals::operator()(const GcRoot<mirror::String>& root) const { in operator ()()
286 bool InternTable::StringHashEquals::operator()(const GcRoot<mirror::String>& a, in operator ()()
287 const GcRoot<mirror::String>& b) const { in operator ()()
294 void InternTable::Table::Remove(mirror::String* s) { in Remove()
295 auto it = post_zygote_table_.Find(GcRoot<mirror::String>(s)); in Remove()
299 it = pre_zygote_table_.Find(GcRoot<mirror::String>(s)); in Remove()
305 mirror::String* InternTable::Table::Find(mirror::String* s) { in Find()
307 auto it = pre_zygote_table_.Find(GcRoot<mirror::String>(s)); in Find()
311 it = post_zygote_table_.Find(GcRoot<mirror::String>(s)); in Find()
324 void InternTable::Table::Insert(mirror::String* s) { in Insert()
327 post_zygote_table_.Insert(GcRoot<mirror::String>(s)); in Insert()
352 *it = GcRoot<mirror::String>(new_object->AsString()); in SweepWeaks()