Home
last modified time | relevance | path

Searched refs:Read (Results 1 – 25 of 54) 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.cc42 return it->Read() == klass; in Contains()
54 return it->Read(); in LookupByDescriptor()
73 mirror::Class* const existing = existing_it->Read(); in UpdateClass()
89 if (root.Read()->GetClassLoader() == defining_loader) { in CountDefiningLoaderClasses()
130 return it->Read(); in Lookup()
142 return it->Read(); in TryInsert()
194 return ComputeModifiedUtf8Hash(slot.Read()->GetDescriptor(&temp)); in operator ()()
201 DCHECK(!a.Read()->DescriptorEquals(b.Read()->GetDescriptor(&temp))); in operator ()()
205 return a.Read()->DescriptorEquals(b.Read()->GetDescriptor(&temp)); in operator ()()
211 DCHECK(!a.Read()->DescriptorEquals(b.first)); in operator ()()
[all …]
Dclass_table-inl.h70 if (!visitor(table_slot.Read<kReadBarrierOption>())) { in Visit()
83 if (!visitor(table_slot.Read<kReadBarrierOption>())) { in Visit()
92 inline mirror::Class* ClassTable::TableSlot::Read() const { in Read() function
96 GcRoot<mirror::Class>(before_ptr).Read<kReadBarrierOption>()); in Read()
111 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()
Dmonitor-inl.h29 return obj_.Read<kReadBarrierOption>(); in GetObject()
Dintern_table.cc69 ObjPtr<mirror::String> old_ref = root.Read<kWithoutReadBarrier>(); in VisitRoots()
71 ObjPtr<mirror::String> new_ref = root.Read<kWithoutReadBarrier>(); in VisitRoots()
306 static_cast<uint32_t>(root.Read<kWithoutReadBarrier>()->GetHashCode())); in operator ()()
314 return a.Read<kWithoutReadBarrier>()->Equals(b.Read<kWithoutReadBarrier>()); in operator ()()
322 ObjPtr<mirror::String> a_string = a.Read<kWithoutReadBarrier>(); in operator ()()
381 return it->Read(); in Find()
392 return it->Read(); in Find()
428 mirror::Object* object = it->Read<kWithoutReadBarrier>(); in SweepWeaks()
Dintern_table-inl.h65 CHECK(Find(string.Read<kWithoutReadBarrier>()) == nullptr) in AddInternStrings()
66 << "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()
Dindirect_reference_table-inl.h95 ObjPtr<mirror::Object> obj = table_[idx].GetReference()->Read<kReadBarrierOption>(); in Get()
Dindirect_reference_table.cc404 << table_[collapse_top_index - 1].GetReference()->Read<kWithoutReadBarrier>(); in Remove()
467 ObjPtr<mirror::Object> obj = table_[i].GetReference()->Read<kWithoutReadBarrier>(); in Dump()
469 obj = table_[i].GetReference()->Read(); in Dump()
/art/runtime/mirror/
Ddex_cache-inl.h62 return object.Read(); in GetObjectForIndex()
95 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()
352 T* const before = source.object.template Read<kReadBarrierOption>(); in VisitDexCachePairs()
354 if (source.object.template Read<kReadBarrierOption>() != before) { in VisitDexCachePairs()
397 String* ptr = source.object.Read<kReadBarrierOption>(); in FixupStrings()
409 Class* ptr = source.object.Read<kReadBarrierOption>(); in FixupResolvedTypes()
422 MethodType* ptr = source.object.Read<kReadBarrierOption>(); in FixupResolvedMethodTypes()
434 mirror::CallSite* source = src[i].Read<kReadBarrierOption>(); in FixupResolvedCallSites()
Ddex_cache_test.cc173 ASSERT_EQ(method1_type.Get(), pair.object.Read()); in TEST_F()
175 ASSERT_EQ(method2_type.Get(), pair.object.Read()); in TEST_F()
/art/runtime/gc/
Dsystem_weak_test.cc77 mirror::Object* old_object = weak_.Read<kWithoutReadBarrier>(); in Sweep()
157 EXPECT_EQ(cswh.Get().Read(), s.Get()); in TEST_F()
202 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>( \
404 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.h121 void Read();
165 void Read();
255 data_.Read(); in ReadData()
/art/runtime/jit/
Dprofiling_info.cc85 mirror::Class* existing = cache->classes_[i].Read<kWithoutReadBarrier>(); in AddInvokeInfo()
/art/
D.vpython22 # Read more about `vpython` and how to modify this file here:

123