Home
last modified time | relevance | path

Searched refs:Read (Results 1 – 25 of 64) sorted by relevance

123

/art/libelffile/elf/
Delf_debug_reader.h64 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/
Dclass_table-inl.h35 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 …]
Dintern_table-inl.h37 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()
Dreference_table.cc62 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()
Dclass_table.cc51 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()
Dintern_table.cc69 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()
Dgc_root-inl.h31 inline MirrorType* GcRoot<MirrorType>::Read(GcRootSource* gc_root_source) const { in Read() function
Dmonitor-inl.h29 return obj_.Read<kReadBarrierOption>(); in GetObject()
Druntime-inl.h40 mirror::Object* obj = sentinel_.Read(); in GetClearedJniWeakGlobal()
/art/libartbase/base/unix_file/
Drandom_access_file_test.h59 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()
Drandom_access_file_utils.cc31 while ((n = src.Read(&buf[0], buf.size(), offset)) > 0) { in CopyFile()
Drandom_access_file.h45 virtual int64_t Read(char* buf, int64_t byte_count, int64_t offset) const = 0;
/art/test/1979-threaded-structural-transformation/
Dexpected-stdout.txt7 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/
Dexpected-stdout.txt17 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/
Ddex_cache-inl.h62 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/
Dexpected-stdout.txt9 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/
Dsystem_weak_test.cc77 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()
Dallocation_record.cc39 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/
Dquick_field_entrypoints.cc77 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/
Djvmti_weak_table.h201 return reinterpret_cast<uintptr_t>(r.Read<art::kWithoutReadBarrier>()); in operator()
209 return r1.Read<art::kWithoutReadBarrier>() == r2.Read<art::kWithoutReadBarrier>(); in operator()
Djvmti_weak_table-inl.h73 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/
Dclass_accessor-inl.h66 inline void ClassAccessor::Method::Read() { in Read() function
81 inline void ClassAccessor::Field::Read() { in Read() function
96 data->Read(); in VisitMembers()
Dclass_accessor.h122 void Read();
166 void Read();
256 data_.Read(); in ReadData()
/art/odrefresh/
Dodr_compilation_log.cc86 if (!Read()) { in OdrCompilationLog()
98 bool OdrCompilationLog::Read() { in Read() function in art::odrefresh::OdrCompilationLog
Dodr_compilation_log.h94 bool Read();

123