/art/libelffile/elf/ |
D | elf_debug_reader.h | 64 header_ = Read<Elf_Ehdr>(/*offset=*/ 0); in ElfDebugReader() 74 sections_ = Read<Elf_Shdr>(header_->e_shoff, header_->e_shnum); in ElfDebugReader() 76 const char* name = Read<char>(sections_[header_->e_shstrndx].sh_offset + section.sh_name); in ElfDebugReader() 83 auto compressed = Read<uint8_t>(gnu_debugdata->sh_offset, gnu_debugdata->sh_size); in ElfDebugReader() 112 for (const Elf_Phdr& phdr : Read<Elf_Phdr>(header_->e_phoff, header_->e_phnum)) { in GetLoadAddress() 129 for (const Elf_Sym& symbol : Read<Elf_Sym>(symtab->sh_offset, count)) { in VisitFunctionSymbols() 131 visit_sym(symbol, Read<char>(strtab->sh_offset + symbol.st_name)); in VisitFunctionSymbols() 147 for (const Elf_Sym& symbol : Read<Elf_Sym>(dynsym->sh_offset, count)) { in VisitDynamicSymbols() 148 visit_sym(symbol, Read<char>(dynstr->sh_offset + symbol.st_name)); in VisitDynamicSymbols() 158 const CFI* entry = Read<CFI>(debug_frame->sh_offset + offset); in VisitDebugFrame() [all …]
|
/art/runtime/ |
D | class_table-inl.h | 35 return ComputeModifiedUtf8Hash(slot.Read<kWithoutReadBarrier>()->GetDescriptor(&temp)); in operator() 49 DCHECK(!a.Read<kWithoutReadBarrier>()->DescriptorEquals( in operator() 50 b.Read<kWithoutReadBarrier>()->GetDescriptor(&temp))); in operator() 54 return a.Read<kWithoutReadBarrier>()->DescriptorEquals( in operator() 55 b.Read<kWithoutReadBarrier>()->GetDescriptor(&temp)); in operator() 63 DCHECK(!a.Read<kWithoutReadBarrier>()->DescriptorEquals(b.first)); in operator() 66 return a.Read<kWithoutReadBarrier>()->DescriptorEquals(b.first); in operator() 110 if (!visitor(table_slot.Read<kReadBarrierOption>())) { in Visit() 123 if (!visitor(table_slot.Read<kReadBarrierOption>())) { in Visit() 132 return Read<kWithoutReadBarrier>() == nullptr; in IsNull() [all …]
|
D | intern_table-inl.h | 37 static_cast<uint32_t>(root.Read<kWithoutReadBarrier>()->GetHashCode())); in operator() 45 return a.Read<kWithoutReadBarrier>()->Equals(b.Read<kWithoutReadBarrier>()); in operator() 53 ObjPtr<mirror::String> a_string = a.Read<kWithoutReadBarrier>(); in operator() 115 CHECK(Find(string.Read<kWithoutReadBarrier>()) == nullptr) in AddInternStrings() 116 << "Already found " << string.Read<kWithoutReadBarrier>()->ToModifiedUtf8() in AddInternStrings()
|
D | reference_table.cc | 62 ObjPtr<mirror::Object> entry = entries_[i].Read(); in Remove() 136 ObjPtr<mirror::Object> obj1 = root1.Read<kWithoutReadBarrier>(); in Dump() 137 ObjPtr<mirror::Object> obj2 = root2.Read<kWithoutReadBarrier>(); in Dump() 173 ObjPtr<mirror::Object> ref = entries[idx].Read(); in Dump() 224 if (stack_for_object.Read() == to_print.Ptr()) { in Dump() 264 if (!root.IsNull() && !runtime->IsClearedJniWeakGlobal(root.Read())) { in Dump() 299 ObjPtr<mirror::Object> current = root.Read<kWithoutReadBarrier>(); in Dump() 306 ObjPtr<mirror::Object> prevObj = prev.root.Read<kWithoutReadBarrier>(); in Dump() 351 ObjPtr<mirror::Object> elemObj = elem.root.Read<kWithoutReadBarrier>(); in Dump()
|
D | class_table.cc | 51 const ObjPtr<mirror::Class> existing = existing_it->Read(); in UpdateClass() 67 if (root.Read()->GetClassLoader() == defining_loader) { in CountDefiningLoaderClasses() 108 return it->Read(); in Lookup() 140 if (root.Read() == obj) { in InsertStrongRoot()
|
D | intern_table.cc | 69 ObjPtr<mirror::String> old_ref = root.Read<kWithoutReadBarrier>(); in VisitRoots() 71 ObjPtr<mirror::String> new_ref = root.Read<kWithoutReadBarrier>(); in VisitRoots() 282 DCHECK(LookupStrongLocked(entry.Read()) == nullptr); in PromoteWeakToStrong() 283 InsertStrong(entry.Read()); in PromoteWeakToStrong() 326 return it->Read(); in Find() 337 return it->Read(); in Find() 373 mirror::Object* object = it->Read<kWithoutReadBarrier>(); in SweepWeaks()
|
D | gc_root-inl.h | 31 inline MirrorType* GcRoot<MirrorType>::Read(GcRootSource* gc_root_source) const { in Read() function
|
D | runtime-inl.h | 40 mirror::Object* obj = sentinel_.Read(); in GetClearedJniWeakGlobal()
|
D | monitor-inl.h | 29 return obj_.Read<kReadBarrierOption>(); in GetObject()
|
/art/libartbase/base/unix_file/ |
D | random_access_file_test.h | 59 while ((n = f->Read(buf, sizeof(buf), offset)) > 0) { in ReadString() 72 ASSERT_EQ(0, file->Read(buf, 0, 0)); in TestRead() 73 ASSERT_EQ(0, file->Read(buf, 123, 0)); in TestRead() 87 ASSERT_EQ(-EINVAL, file->Read(buf.get(), 0, -123)); in TestReadContent() 90 ASSERT_EQ(content.size(), static_cast<uint64_t>(file->Read(buf.get(), buf_size, 0))); in TestReadContent() 96 ASSERT_EQ(short_request, static_cast<uint64_t>(file->Read(buf.get(), short_request, 0))); in TestReadContent() 103 ASSERT_EQ(short_request, static_cast<uint64_t>(file->Read(buf.get(), short_request, in TestReadContent() 109 ASSERT_EQ(0, file->Read(buf.get(), buf_size, file->GetLength())); in TestReadContent() 110 ASSERT_EQ(0, file->Read(buf.get(), buf_size, file->GetLength() + 1)); in TestReadContent() 160 ASSERT_EQ(content.size(), static_cast<uint64_t>(file->Read(buf, sizeof(buf), 0))); in TestWrite()
|
D | random_access_file_utils.cc | 31 while ((n = src.Read(&buf[0], buf.size(), offset)) > 0) { in CopyFile()
|
D | random_access_file.h | 45 virtual int64_t Read(char* buf, int64_t byte_count, int64_t offset) const = 0;
|
/art/test/1979-threaded-structural-transformation/ |
D | expected-stdout.txt | 7 Read BAR field: (ID: 0) value of <BAR FIELD> 8 Read FOO field: (ID: 1) value of <FOO FIELD> 15 Read FOO field: (ID: 1) value of <FOO FIELD> 16 Read BAR field: (ID: 0) value of <BAR FIELD>
|
/art/test/1975-hello-structural-transformation/ |
D | expected-stdout.txt | 17 Read CUR_CLASS field: (ID: 5) class art.Transform1975 18 Read REDEFINED_DEX_BYTES field: (ID: 6) [100, 101, 120, 10, 48, 51, 53, 0, -51, 24, ...] 34 Read CUR_CLASS field: (ID: 5) class art.Transform1975 35 Read REDEFINED_DEX_BYTES field: (ID: 6) [100, 101, 120, 10, 48, 51, 53, 0, -51, 24, ...] 53 Read CUR_CLASS field: (ID: 5) class art.Transform1975 54 Read REDEFINED_DEX_BYTES field: (ID: 6) [100, 101, 120, 10, 48, 51, 53, 0, -51, 24, ...] 55 Read NEW_STRING field: (ID: 11) <NULL> 75 Read CUR_CLASS field: (ID: 5) class art.Transform1975 76 Read REDEFINED_DEX_BYTES field: (ID: 6) [100, 101, 120, 10, 48, 51, 53, 0, -51, 24, ...] 77 Read NEW_STRING field: (ID: 15) I did something!
|
/art/runtime/mirror/ |
D | dex_cache-inl.h | 62 return object.Read(); in GetObjectForIndex() 94 mirror::String* string = preresolved_strings[string_idx.index_].Read(); in GetResolvedString() 215 return ref.load(std::memory_order_seq_cst).Read(); in GetResolvedCallSite() 235 return target.Read(); in SetResolvedCallSite() 320 T* const before = source.object.template Read<kReadBarrierOption>(); in VisitDexCachePairs() 322 if (source.object.template Read<kReadBarrierOption>() != before) { in VisitDexCachePairs() 367 String* ptr = source.object.Read<kReadBarrierOption>(); in FixupStrings() 379 Class* ptr = source.object.Read<kReadBarrierOption>(); in FixupResolvedTypes() 392 MethodType* ptr = source.object.Read<kReadBarrierOption>(); in FixupResolvedMethodTypes() 404 mirror::CallSite* source = src[i].Read<kReadBarrierOption>(); in FixupResolvedCallSites()
|
/art/test/1982-no-virtuals-structural-redefinition/ |
D | expected-stdout.txt | 9 Read BAR field: (ID: 1) value of <BAR FIELD> 10 Read FOO field: (ID: 2) value of <FOO FIELD> 24 Read FOO field: (ID: 2) value of <FOO FIELD> 25 Read BAR field: (ID: 1) value of <BAR FIELD>
|
/art/runtime/gc/ |
D | system_weak_test.cc | 77 mirror::Object* old_object = weak_.Read<kWithoutReadBarrier>(); in Sweep() 156 EXPECT_EQ(cswh.Get().Read(), s.Get()); in TEST_F() 201 ASSERT_EQ(cswh.Get().Read(), s.Get()); in TEST_F()
|
D | allocation_record.cc | 39 return klass_.IsNull() ? "null" : klass_.Read()->GetDescriptor(storage); in GetClassDescriptor() 80 mirror::Object* old_object = klass.Read<kWithoutReadBarrier>(); in SweepClassObject() 100 mirror::Object* old_object = it->first.Read<kWithoutReadBarrier>(); in SweepAllocationRecords()
|
/art/runtime/entrypoints/quick/ |
D | quick_field_entrypoints.cc | 77 field_idx, referrer, Static ## PrimitiveOrObject ## Read, \ 82 field = FindFieldFromCode<Static ## PrimitiveOrObject ## Read, true>( \ 98 field_idx, referrer, Instance ## PrimitiveOrObject ## Read, \ 103 field = FindInstanceField<Instance ## PrimitiveOrObject ## Read, true>( \ 420 return root->Read(); in artReadBarrierForRootSlow()
|
/art/openjdkjvmti/ |
D | jvmti_weak_table.h | 201 return reinterpret_cast<uintptr_t>(r.Read<art::kWithoutReadBarrier>()); in operator() 209 return r1.Read<art::kWithoutReadBarrier>() == r2.Read<art::kWithoutReadBarrier>(); in operator()
|
D | jvmti_weak_table-inl.h | 73 return original_root.Read<art::kWithReadBarrier>(); in UpdateTableWithReadBarrier() 223 art::mirror::Object* original_obj = it->first.template Read<art::kWithoutReadBarrier>(); in UpdateTableWith() 365 art::ObjPtr<art::mirror::Object> obj = pair.first.template Read<art::kWithReadBarrier>(); 396 art::ObjPtr<art::mirror::Object> obj = pair.first.template Read<art::kWithReadBarrier>();
|
/art/libdexfile/dex/ |
D | class_accessor-inl.h | 66 inline void ClassAccessor::Method::Read() { in Read() function 81 inline void ClassAccessor::Field::Read() { in Read() function 96 data->Read(); in VisitMembers()
|
D | class_accessor.h | 122 void Read(); 166 void Read(); 256 data_.Read(); in ReadData()
|
/art/odrefresh/ |
D | odr_compilation_log.cc | 86 if (!Read()) { in OdrCompilationLog() 98 bool OdrCompilationLog::Read() { in Read() function in art::odrefresh::OdrCompilationLog
|
D | odr_compilation_log.h | 94 bool Read();
|