/art/runtime/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 | 29 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/runtime/ |
D | class_table.cc | 42 return it->Read() == klass; in Contains() 54 return it->Read(); in LookupByDescriptor() 79 mirror::Class* const existing = existing_it->Read(); in UpdateClass() 97 if (root.Read()->GetClassLoader() == defining_loader) { in CountDefiningLoaderClasses() 138 return it->Read(); in Lookup() 150 return it->Read(); in TryInsert() 202 return ComputeModifiedUtf8Hash(slot.Read()->GetDescriptor(&temp)); in operator ()() 209 DCHECK(!a.Read()->DescriptorEquals(b.Read()->GetDescriptor(&temp))); in operator ()() 213 return a.Read()->DescriptorEquals(b.Read()->GetDescriptor(&temp)); in operator ()() 219 DCHECK(!a.Read()->DescriptorEquals(b.first)); in operator ()() [all …]
|
D | class_table-inl.h | 68 if (!visitor(table_slot.Read())) { in Visit() 81 if (!visitor(table_slot.Read())) { in Visit() 90 inline mirror::Class* ClassTable::TableSlot::Read() const { in Read() function 94 GcRoot<mirror::Class>(before_ptr).Read<kReadBarrierOption>()); in Read() 109 ObjPtr<mirror::Class> after_ptr(root.Read<kWithoutReadBarrier>()); in VisitRoot()
|
D | reference_table.cc | 60 ObjPtr<mirror::Object> entry = entries_[i].Read(); in Remove() 134 ObjPtr<mirror::Object> obj1 = root1.Read<kWithoutReadBarrier>(); in Dump() 135 ObjPtr<mirror::Object> obj2 = root2.Read<kWithoutReadBarrier>(); in Dump() 171 ObjPtr<mirror::Object> ref = entries[idx].Read(); in Dump() 214 if (!root.IsNull() && !runtime->IsClearedJniWeakGlobal(root.Read())) { in Dump() 249 ObjPtr<mirror::Object> current = root.Read<kWithoutReadBarrier>(); in Dump() 256 ObjPtr<mirror::Object> prevObj = prev.root.Read<kWithoutReadBarrier>(); in Dump() 301 ObjPtr<mirror::Object> elemObj = elem.root.Read<kWithoutReadBarrier>(); in Dump()
|
D | intern_table.cc | 68 ObjPtr<mirror::String> old_ref = root.Read<kWithoutReadBarrier>(); in VisitRoots() 70 ObjPtr<mirror::String> new_ref = root.Read<kWithoutReadBarrier>(); in VisitRoots() 326 static_cast<uint32_t>(root.Read<kWithoutReadBarrier>()->GetHashCode())); in operator ()() 334 return a.Read<kWithoutReadBarrier>()->Equals(b.Read<kWithoutReadBarrier>()); in operator ()() 342 ObjPtr<mirror::String> a_string = a.Read<kWithoutReadBarrier>(); in operator ()() 377 CHECK(Find(string.Read()) == nullptr) << "Already found " << string.Read()->ToModifiedUtf8(); in AddTableFromMemory() 420 return it->Read(); in Find() 431 return it->Read(); in Find() 467 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
|
/art/runtime/mirror/ |
D | method.h | 36 return static_class_.Read(); in StaticClass() 44 return array_class_.Read(); in ArrayClass() 68 return static_class_.Read(); in StaticClass() 76 return array_class_.Read(); in ArrayClass()
|
D | method.cc | 33 CHECK(static_class_.IsNull()) << static_class_.Read() << " " << klass; in SetClass() 44 CHECK(array_class_.IsNull()) << array_class_.Read() << " " << klass; in SetArrayClass() 80 CHECK(static_class_.IsNull()) << static_class_.Read() << " " << klass; in SetClass() 91 CHECK(array_class_.IsNull()) << array_class_.Read() << " " << klass; in SetArrayClass()
|
D | method_handle_impl.cc | 46 return static_class_.Read(); in StaticClass() 50 CHECK(static_class_.IsNull()) << static_class_.Read() << " " << klass; in SetClass()
|
D | field.cc | 31 CHECK(static_class_.IsNull()) << static_class_.Read() << " " << klass; in SetClass() 42 CHECK(array_class_.IsNull()) << array_class_.Read() << " " << klass; in SetArrayClass()
|
D | dex_cache-inl.h | 156 return ref.LoadSequentiallyConsistent().Read(); in GetResolvedCallSite() 175 return target.Read(); in SetResolvedCallSite() 318 T* const before = source.object.template Read<kReadBarrierOption>(); in VisitDexCachePairs() 320 if (source.object.template Read<kReadBarrierOption>() != before) { in VisitDexCachePairs() 356 String* ptr = source.object.Read<kReadBarrierOption>(); in FixupStrings() 368 Class* ptr = source.object.Read<kReadBarrierOption>(); in FixupResolvedTypes() 381 MethodType* ptr = source.object.Read<kReadBarrierOption>(); in FixupResolvedMethodTypes() 393 mirror::CallSite* source = src[i].Read<kReadBarrierOption>(); in FixupResolvedCallSites()
|
D | class_ext.cc | 105 DCHECK(dalvik_system_ClassExt_.Read() != nullptr); in Alloc() 106 return down_cast<ClassExt*>(dalvik_system_ClassExt_.Read()->AllocObject(self).Ptr()); in Alloc()
|
D | reference-inl.h | 55 return java_lang_ref_Reference_.Read<kReadBarrierOption>(); in GetJavaLangRefReference()
|
D | field.h | 41 return static_class_.Read(); in StaticClass() 45 return array_class_.Read(); in ArrayClass()
|
D | call_site.cc | 37 CHECK(static_class_.IsNull()) << static_class_.Read() << " " << klass; in SetClass()
|
D | call_site.h | 37 return static_class_.Read(); in StaticClass()
|
D | method_handles_lookup.h | 44 return static_class_.Read(); in StaticClass()
|
D | throwable.h | 50 return java_lang_Throwable_.Read(); in GetJavaLangThrowable()
|
/art/runtime/gc/ |
D | system_weak_test.cc | 76 mirror::Object* old_object = weak_.Read<kWithoutReadBarrier>(); in Sweep() 154 EXPECT_EQ(cswh.Get().Read(), s.Get()); in TEST_F() 199 ASSERT_EQ(cswh.Get().Read(), s.Get()); in TEST_F()
|
D | allocation_record.cc | 40 return klass_.IsNull() ? "null" : klass_.Read()->GetDescriptor(storage); in GetClassDescriptor() 128 mirror::Object* old_object = klass.Read<kWithoutReadBarrier>(); in SweepClassObject() 148 mirror::Object* old_object = it->first.Read<kWithoutReadBarrier>(); in SweepAllocationRecords()
|
/art/runtime/entrypoints/quick/ |
D | quick_field_entrypoints.cc | 79 field_idx, referrer, Static ## PrimitiveOrObject ## Read, \ 84 field = FindFieldFromCode<Static ## PrimitiveOrObject ## Read, true>( \ 100 field_idx, referrer, Instance ## PrimitiveOrObject ## Read, \ 105 field = FindInstanceField<Instance ## PrimitiveOrObject ## Read, true>( \ 319 return root->Read(); in artReadBarrierForRootSlow()
|
/art/runtime/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 | 72 return original_root.Read<art::kWithReadBarrier>(); in UpdateTableWithReadBarrier() 222 art::mirror::Object* original_obj = it->first.template Read<art::kWithoutReadBarrier>(); in UpdateTableWith() 364 art::mirror::Object* obj = pair.first.template Read<art::kWithReadBarrier>(); 395 art::mirror::Object* obj = pair.first.template Read<art::kWithReadBarrier>();
|