Lines Matching defs:string
58 #include "mirror/string-inl.h"
71 using ::art::mirror::String;
663 std::string error_msg;
739 std::string temp;
814 std::string temp;
858 std::string temp;
937 std::string temp;
947 for (const std::string& image_class : *image_classes) {
952 mirror::String* ImageWriter::FindInternedString(mirror::String* string) {
955 mirror::String* const found = image_info.intern_table_->LookupStrong(self, string);
956 DCHECK(image_info.intern_table_->LookupWeak(self, string) == nullptr)
957 << string->ToModifiedUtf8();
964 mirror::String* found = runtime->GetInternTable()->LookupStrong(self, string);
971 DCHECK(runtime->GetInternTable()->LookupWeak(self, string) == nullptr)
972 << string->ToModifiedUtf8();
1070 // We want to intern all strings but also assign offsets for the source string. Since the
1071 // pruning phase has already happened, if we intern a string to one in the image we still
1072 // end up copying an unreachable string.
1074 // Need to check if the string is already interned in another image info so that we don't have
1075 // the intern tables of two different images contain the same string.
1076 mirror::String* interned = FindInternedString(obj->AsString());
1206 // Always return the interned string if there exists one.
1207 mirror::String* interned = FindInternedString(obj->AsString());
1436 mirror::String* string = intern_table->LookupStrong(self, utf16_length, utf8_data);
1437 TryAssignBinSlot(work_stack, string, oat_index);
1592 // Round up to the alignment the string table expects. See HashSet::WriteToMemory.
1979 std::string PrettyPrint(T* ptr) SHARED_REQUIRES(Locks::mutator_lock_) {
1986 std::string PrettyPrint(ArtMethod* method) SHARED_REQUIRES(Locks::mutator_lock_) {
2113 GcRoot<mirror::String>* orig_strings = orig_dex_cache->GetStrings();