Home
last modified time | relevance | path

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

123

/art/libelffile/elf/
Delf_debug_reader.h63 header_ = Read<Elf_Ehdr>(/*offset=*/ 0); in ElfDebugReader()
72 sections_ = Read<Elf_Shdr>(header_->e_shoff, header_->e_shnum); in ElfDebugReader()
74 const char* name = Read<char>(sections_[header_->e_shstrndx].sh_offset + section.sh_name); in ElfDebugReader()
81 auto compressed = Read<uint8_t>(gnu_debugdata->sh_offset, gnu_debugdata->sh_size); in ElfDebugReader()
105 for (const Elf_Sym& symbol : Read<Elf_Sym>(symtab->sh_offset, count)) { in VisitFunctionSymbols()
107 visit_sym(symbol, Read<char>(strtab->sh_offset + symbol.st_name)); in VisitFunctionSymbols()
123 for (const Elf_Sym& symbol : Read<Elf_Sym>(dynsym->sh_offset, count)) { in VisitDynamicSymbols()
124 visit_sym(symbol, Read<char>(dynstr->sh_offset + symbol.st_name)); in VisitDynamicSymbols()
134 const CFI* entry = Read<CFI>(debug_frame->sh_offset + offset); in VisitDebugFrame()
137 visit_cie(Read<CIE>(debug_frame->sh_offset + offset)); in VisitDebugFrame()
[all …]
/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/runtime/
Dclass_table.cc46 return it->Read(); in LookupByDescriptor()
67 const ObjPtr<mirror::Class> existing = existing_it->Read(); in UpdateClass()
83 if (root.Read()->GetClassLoader() == defining_loader) { in CountDefiningLoaderClasses()
124 return it->Read(); in Lookup()
136 return it->Read(); in TryInsert()
190 return ComputeModifiedUtf8Hash(slot.Read<kWithoutReadBarrier>()->GetDescriptor(&temp)); in operator ()()
199 DCHECK(!a.Read<kWithoutReadBarrier>()->DescriptorEquals( in operator ()()
200 b.Read<kWithoutReadBarrier>()->GetDescriptor(&temp))); in operator ()()
204 return a.Read<kWithoutReadBarrier>()->DescriptorEquals( in operator ()()
205 b.Read<kWithoutReadBarrier>()->GetDescriptor(&temp)); in operator ()()
[all …]
Dclass_table-inl.h71 if (!visitor(table_slot.Read<kReadBarrierOption>())) { in Visit()
84 if (!visitor(table_slot.Read<kReadBarrierOption>())) { in Visit()
93 return Read<kWithoutReadBarrier>() == nullptr; in IsNull()
97 inline ObjPtr<mirror::Class> ClassTable::TableSlot::Read() const { in Read() function
101 GcRoot<mirror::Class>(before_ptr).Read<kReadBarrierOption>()); in Read()
116 ObjPtr<mirror::Class> after_ptr(root.Read<kWithoutReadBarrier>()); in VisitRoot()
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()
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()
321 static_cast<uint32_t>(root.Read<kWithoutReadBarrier>()->GetHashCode())); in operator ()()
329 return a.Read<kWithoutReadBarrier>()->Equals(b.Read<kWithoutReadBarrier>()); in operator ()()
337 ObjPtr<mirror::String> a_string = a.Read<kWithoutReadBarrier>(); in operator ()()
396 return it->Read(); in Find()
407 return it->Read(); in Find()
443 mirror::Object* object = it->Read<kWithoutReadBarrier>(); in SweepWeaks()
Dintern_table-inl.h66 CHECK(Find(string.Read<kWithoutReadBarrier>()) == nullptr) in AddInternStrings()
67 << "Already found " << string.Read<kWithoutReadBarrier>()->ToModifiedUtf8() in AddInternStrings()
Dgc_root-inl.h31 inline MirrorType* GcRoot<MirrorType>::Read(GcRootSource* gc_root_source) const { in Read() function
Druntime-inl.h40 mirror::Object* obj = sentinel_.Read(); in GetClearedJniWeakGlobal()
Dmonitor-inl.h29 return obj_.Read<kReadBarrierOption>(); in GetObject()
Dindirect_reference_table-inl.h95 ObjPtr<mirror::Object> obj = table_[idx].GetReference()->Read<kReadBarrierOption>(); in Get()
/art/test/1979-threaded-structural-transformation/
Dexpected.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.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.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.h62 return object.Read(); in GetObjectForIndex()
95 mirror::String* string = preresolved_strings[string_idx.index_].Read(); in GetResolvedString()
216 return ref.load(std::memory_order_seq_cst).Read(); in GetResolvedCallSite()
236 return target.Read(); in SetResolvedCallSite()
353 T* const before = source.object.template Read<kReadBarrierOption>(); in VisitDexCachePairs()
355 if (source.object.template Read<kReadBarrierOption>() != before) { in VisitDexCachePairs()
400 String* ptr = source.object.Read<kReadBarrierOption>(); in FixupStrings()
412 Class* ptr = source.object.Read<kReadBarrierOption>(); in FixupResolvedTypes()
425 MethodType* ptr = source.object.Read<kReadBarrierOption>(); in FixupResolvedMethodTypes()
437 mirror::CallSite* source = src[i].Read<kReadBarrierOption>(); in FixupResolvedCallSites()
/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/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()
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/runtime/jit/
Dprofiling_info.cc84 mirror::Class* existing = cache->classes_[i].Read<kWithoutReadBarrier>(); in AddInvokeInfo()

123