Home
last modified time | relevance | path

Searched refs:Read (Results 1 – 25 of 61) 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.h37 return slot.Read<kWithoutReadBarrier>()->DescriptorHash(); in operator()
51 DCHECK(!a.Read<kWithoutReadBarrier>()->DescriptorEquals( in operator()
52 b.Read<kWithoutReadBarrier>()->GetDescriptor(&temp))); in operator()
56 return a.Read<kWithoutReadBarrier>()->DescriptorEquals( in operator()
57 b.Read<kWithoutReadBarrier>()->GetDescriptor(&temp)); in operator()
65 DCHECK(!a.Read<kWithoutReadBarrier>()->DescriptorEquals(b.first)); in operator()
68 return a.Read<kWithoutReadBarrier>()->DescriptorEquals(b.first); in operator()
149 if (!visitor(table_slot.Read<kReadBarrierOption>())) { in Visit()
162 if (!visitor(table_slot.Read<kReadBarrierOption>())) { in Visit()
171 return Read<kWithoutReadBarrier>() == nullptr; in IsNull()
[all …]
Dintern_table-inl.h48 ObjPtr<mirror::String> s = root.Read<kWithoutReadBarrier>(); in operator()
61 return a.Read<kWithoutReadBarrier>()->Equals(b.Read<kWithoutReadBarrier>()); in operator()
70 ObjPtr<mirror::String> a_string = a.Read<kWithoutReadBarrier>(); in operator()
128 ObjPtr<mirror::String> s = string.Read<kWithoutReadBarrier>(); in AddInternStrings()
132 << "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.cc56 const ObjPtr<mirror::Class> existing = existing_it->Read(); in UpdateClass()
72 if (root.Read()->GetClassLoader() == defining_loader) { in CountDefiningLoaderClasses()
118 return it->Read(); in Lookup()
137 if (root.Read() == obj) { in InsertStrongRoot()
Dindirect_reference_table.cc272 << table_[collapse_top_index - 1].GetReference()->Read<kWithoutReadBarrier>(); in Remove()
346 mirror::Object* obj = entry->Read<kWithoutReadBarrier>(); in SweepJniWeakGlobals()
360 ObjPtr<mirror::Object> obj = table_[i].GetReference()->Read<kWithoutReadBarrier>(); in Dump()
362 obj = table_[i].GetReference()->Read(); in Dump()
Dgc_root-inl.h31 inline MirrorType* GcRoot<MirrorType>::Read(GcRootSource* gc_root_source) const { in Read() function
Dintern_table.cc70 ObjPtr<mirror::String> old_ref = root.Read<kWithoutReadBarrier>(); in VisitRoots()
72 ObjPtr<mirror::String> new_ref = root.Read<kWithoutReadBarrier>(); in VisitRoots()
348 return it->Read(); in Find()
362 return it->Read(); in Find()
403 mirror::Object* object = it->Read<kWithoutReadBarrier>(); in SweepWeaks()
Druntime-inl.h39 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/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/mirror/
Ddex_cache-inl.h96 return object.Read(); in GetObjectForIndex()
126 return entries_[index].load(std::memory_order_relaxed).Read(); in Get()
218 return target->load(std::memory_order_seq_cst).Read(); in GetResolvedCallSite()
240 return target->load(std::memory_order_relaxed).Read(); in SetResolvedCallSite()
276 auto const before = source.object.template Read<kReadBarrierOption>(); in VisitDexCachePairs()
278 if (source.object.template Read<kReadBarrierOption>() != before) { in VisitDexCachePairs()
/art/runtime/gc/
Dsystem_weak_test.cc81 mirror::Object* old_object = weak_.Read<kWithoutReadBarrier>(); in Sweep()
167 EXPECT_EQ(cswh.Get().Read(), s.Get()); in TEST_F()
222 ASSERT_EQ(cswh.Get().Read(), s.Get()); in TEST_F()
Dallocation_record.cc47 return klass_.IsNull() ? "null" : klass_.Read()->GetDescriptor(storage); in GetClassDescriptor()
93 mirror::Object* old_object = klass.Read<kWithoutReadBarrier>(); in SweepClassObject()
116 mirror::Object* old_object = it->first.Read<kWithoutReadBarrier>(); in SweepAllocationRecords()
/art/runtime/entrypoints/quick/
Dquick_field_entrypoints.cc117 field_idx, referrer, Static ## PrimitiveOrObject ## Read); \
121 field = FindFieldFromCode<Static ## PrimitiveOrObject ## Read>( \
137 field_idx, referrer, Instance ## PrimitiveOrObject ## Read); \
141 field = FindInstanceField<Instance ## PrimitiveOrObject ## Read>( \
441 return root->Read(); in artReadBarrierForRootSlow()
/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/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()
367 art::ObjPtr<art::mirror::Object> obj = pair.first.template Read<art::kWithReadBarrier>();
398 art::ObjPtr<art::mirror::Object> obj = pair.first.template Read<art::kWithReadBarrier>();
/art/odrefresh/
Dodr_compilation_log.h91 bool Read();
Dodr_compilation_log.cc86 if (!Read()) { in OdrCompilationLog()
98 bool OdrCompilationLog::Read() { in Read() function in art::odrefresh::OdrCompilationLog

123