Lines Matching defs:string

69 #include "mirror/string-inl.h"
697 std::string error_msg;
840 std::string temp;
932 std::string temp;
967 std::string storage;
1130 // Strings do not need pruning, but the contents of the string array must be deterministic.
1137 ObjPtr<mirror::String> string = pair.object.Read();
1138 if (string == nullptr || i < stored_index) {
1139 string = class_linker->LookupString(string_idx, dex_cache);
1140 DCHECK(string == nullptr || dex_cache->GetResolvedString(string_idx) == string);
1210 std::string temp;
1224 for (const std::string& image_class : *image_classes) {
1229 mirror::String* ImageWriter::FindInternedString(mirror::String* string) {
1232 ObjPtr<mirror::String> const found = image_info.intern_table_->LookupStrong(self, string);
1233 DCHECK(image_info.intern_table_->LookupWeak(self, string) == nullptr)
1234 << string->ToModifiedUtf8();
1241 ObjPtr<mirror::String> found = runtime->GetInternTable()->LookupStrong(self, string);
1248 DCHECK(runtime->GetInternTable()->LookupWeak(self, string) == nullptr)
1249 << string->ToModifiedUtf8();
1352 // We want to intern all strings but also assign offsets for the source string. Since the
1353 // pruning phase has already happened, if we intern a string to one in the image we still
1354 // end up copying an unreachable string.
1356 // Need to check if the string is already interned in another image info so that we don't have
1357 // the intern tables of two different images contain the same string.
1500 // Always return the interned string if there exists one.
1724 mirror::String* string = intern_table->LookupStrong(self, utf16_length, utf8_data).Ptr();
1725 TryAssignBinSlot(work_stack, string, oat_index);
1909 // we load the boot image. This is more than sufficient for the string table alignment,
2302 std::string PrettyPrint(T* ptr) REQUIRES_SHARED(Locks::mutator_lock_) {
2309 std::string PrettyPrint(ArtMethod* method) REQUIRES_SHARED(Locks::mutator_lock_) {
2806 const std::unordered_set<std::string>* dirty_image_objects)