Home
last modified time | relevance | path

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

123

/art/runtime/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.cc29 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()
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 …]
Dclass_table-inl.h68 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()
Dreference_table.cc60 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()
Dintern_table.cc68 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()
Dgc_root-inl.h31 inline MirrorType* GcRoot<MirrorType>::Read(GcRootSource* gc_root_source) const { in Read() function
/art/runtime/mirror/
Dmethod.h36 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()
Dmethod.cc33 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()
Dmethod_handle_impl.cc46 return static_class_.Read(); in StaticClass()
50 CHECK(static_class_.IsNull()) << static_class_.Read() << " " << klass; in SetClass()
Dfield.cc31 CHECK(static_class_.IsNull()) << static_class_.Read() << " " << klass; in SetClass()
42 CHECK(array_class_.IsNull()) << array_class_.Read() << " " << klass; in SetArrayClass()
Ddex_cache-inl.h156 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()
Dclass_ext.cc105 DCHECK(dalvik_system_ClassExt_.Read() != nullptr); in Alloc()
106 return down_cast<ClassExt*>(dalvik_system_ClassExt_.Read()->AllocObject(self).Ptr()); in Alloc()
Dreference-inl.h55 return java_lang_ref_Reference_.Read<kReadBarrierOption>(); in GetJavaLangRefReference()
Dfield.h41 return static_class_.Read(); in StaticClass()
45 return array_class_.Read(); in ArrayClass()
Dcall_site.cc37 CHECK(static_class_.IsNull()) << static_class_.Read() << " " << klass; in SetClass()
Dcall_site.h37 return static_class_.Read(); in StaticClass()
Dmethod_handles_lookup.h44 return static_class_.Read(); in StaticClass()
Dthrowable.h50 return java_lang_Throwable_.Read(); in GetJavaLangThrowable()
/art/runtime/gc/
Dsystem_weak_test.cc76 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()
Dallocation_record.cc40 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/
Dquick_field_entrypoints.cc79 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/
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.h72 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>();

123