Searched refs:mirror (Results 251 - 275 of 373) sorted by relevance

<<1112131415

/art/runtime/interpreter/
H A Dinterpreter_common.h44 #include "mirror/class-inl.h"
45 #include "mirror/method.h"
46 #include "mirror/object-inl.h"
47 #include "mirror/object_array-inl.h"
48 #include "mirror/string-inl.h"
54 using ::art::mirror::Array;
55 using ::art::mirror::BooleanArray;
56 using ::art::mirror::ByteArray;
57 using ::art::mirror::CharArray;
58 using ::art::mirror
[all...]
/art/runtime/
H A Ddebugger.h38 namespace mirror { namespace in namespace:art
42 } // namespace mirror
56 mirror::Object* invoke_receiver, mirror::Class* invoke_class,
71 GcRoot<mirror::Object> receiver; // not used for ClassType.InvokeMethod.
72 GcRoot<mirror::Class> klass;
264 static std::string GetClassName(mirror::Class* klass)
320 static bool MatchType(mirror::Class* event_class, JDWP::RefTypeId class_id)
327 static bool MatchInstance(JDWP::ObjectId expected_instance_id, mirror::Object* event_instance)
448 static void GetThreads(mirror
[all...]
H A Dinstrumentation_test.cc46 mirror::Object* this_object ATTRIBUTE_UNUSED,
54 mirror::Object* this_object ATTRIBUTE_UNUSED,
63 mirror::Object* this_object ATTRIBUTE_UNUSED,
71 mirror::Object* this_object ATTRIBUTE_UNUSED,
79 mirror::Object* this_object ATTRIBUTE_UNUSED,
88 mirror::Object* this_object ATTRIBUTE_UNUSED,
98 mirror::Throwable* exception_object ATTRIBUTE_UNUSED)
112 mirror::Object* this_object ATTRIBUTE_UNUSED,
183 mirror::Object* const event_obj = nullptr;
320 Thread* self, ArtMethod* method, mirror
[all...]
H A Djni_env_ext.cc27 #include "mirror/object-inl.h"
79 jobject JNIEnvExt::NewLocalRef(mirror::Object* obj) {
165 mirror::Object* o = self->DecodeJObject(obj);
192 mirror::Object* o = self->DecodeJObject(pair.second);
210 mirror::Object* mirror_obj = self->DecodeJObject(obj);
H A Doat_file.h29 #include "mirror/class.h"
165 mirror::Class::Status GetStatus() const {
192 return OatClass(nullptr, mirror::Class::kStatusError, kOatClassNoneCompiled, 0, nullptr,
198 mirror::Class::Status status,
206 const mirror::Class::Status status_;
H A Druntime_android.cc51 heap->DumpObject(LOG(INTERNAL_FATAL), reinterpret_cast<mirror::Object*>(info->si_addr));
H A Dindirect_reference_table.cc121 IndirectRef IndirectReferenceTable::Add(uint32_t cookie, mirror::Object* obj) {
234 *table_[idx].GetReference() = GcRoot<mirror::Object>(nullptr);
270 *table_[idx].GetReference() = GcRoot<mirror::Object>(nullptr);
302 mirror::Object* obj = table_[i].GetReference()->Read<kWithoutReadBarrier>();
305 entries.push_back(GcRoot<mirror::Object>(obj));
H A Dindirect_reference_table_test.cc21 #include "mirror/object-inl.h"
55 mirror::Class* c = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;");
57 mirror::Object* obj0 = c->AllocObject(soa.Self());
59 mirror::Object* obj1 = c->AllocObject(soa.Self());
61 mirror::Object* obj2 = c->AllocObject(soa.Self());
63 mirror::Object* obj3 = c->AllocObject(soa.Self());
H A Djava_vm_ext.cc30 #include "mirror/class-inl.h"
31 #include "mirror/class_loader.h"
240 mirror::ClassLoader* const declaring_class_loader = m->GetDeclaringClass()->GetClassLoader();
521 jobject JavaVMExt::AddGlobalRef(Thread* self, mirror::Object* obj) {
531 jweak JavaVMExt::AddWeakGlobalRef(Thread* self, mirror::Object* obj) {
629 mirror::Object* JavaVMExt::DecodeGlobal(IndirectRef ref) {
633 void JavaVMExt::UpdateGlobal(Thread* self, IndirectRef ref, mirror::Object* result) {
649 mirror::Object* JavaVMExt::DecodeWeakGlobal(Thread* self, IndirectRef ref) {
664 mirror::Object* JavaVMExt::DecodeWeakGlobalLocked(Thread* self, IndirectRef ref) {
674 mirror
[all...]
H A Dstack.cc29 #include "mirror/class-inl.h"
30 #include "mirror/object-inl.h"
31 #include "mirror/object_array-inl.h"
43 mirror::Object* ShadowFrame::GetThisObject() const {
57 mirror::Object* ShadowFrame::GetThisObject(uint16_t num_ins) const {
81 bool ManagedStack::ShadowFramesContain(StackReference<mirror::Object>* shadow_frame_entry) const {
172 extern "C" mirror::Object* artQuickGetProxyThisObject(ArtMethod** sp)
175 mirror::Object* StackVisitor::GetThisObject() const {
206 return reinterpret_cast<mirror::Object*>(value);
442 shadow_frame->SetVRegReference(vreg, reinterpret_cast<mirror
[all...]
/art/runtime/mirror/
H A Dclass-inl.h41 namespace mirror { namespace in namespace:art
378 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(referrer_dex_cache));
379 Handle<mirror::ClassLoader> h_class_loader(hs.NewHandle(access_to->GetClassLoader()));
421 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(referrer_dex_cache));
422 Handle<mirror::ClassLoader> h_class_loader(hs.NewHandle(access_to->GetClassLoader()));
551 sizeof(mirror::HeapReference<mirror::Object>)))
558 uint32_t base = sizeof(mirror::Class); // Static fields come after the class.
561 base = mirror::Class::ComputeClassSize(
569 uint32_t base = sizeof(mirror
[all...]
H A Dstack_trace_element.cc27 namespace mirror { namespace in namespace:art
75 } // namespace mirror
H A Dthrowable.h29 namespace mirror { namespace in namespace:art
31 // C++ mirror of java.lang.Throwable
82 } // namespace mirror
H A Dobject-inl.h41 namespace mirror { namespace in namespace:art
108 inline mirror::Object* Object::MonitorEnter(Thread* self) {
112 inline mirror::Object* Object::MonitorTryEnter(Thread* self) {
352 mirror::Class* klass = GetClass<kVerifyFlags, kReadBarrierOption>();
353 mirror::Class* component_type = klass->GetComponentType<kVerifyFlags, kReadBarrierOption>();
366 mirror::Class* klass = GetClass<kVerifyFlags, kReadBarrierOption>();
367 mirror::Class* component_type = klass->GetComponentType<kVerifyFlags, kReadBarrierOption>();
853 mirror::Object* obj;
1046 if (!kIsStatic && (ref_offsets != mirror::Class::kClassWalkSuper)) {
1048 uint32_t field_offset = mirror
[all...]
/art/compiler/optimizing/
H A Dsharpening.cc28 #include "mirror/dex_cache.h"
29 #include "mirror/string.h"
171 Handle<mirror::DexCache> dex_cache = IsSameDexFile(dex_file, *compilation_unit_.GetDexFile())
178 mirror::String* string = class_linker->ResolveString(dex_file, string_index, dex_cache);
193 mirror::String* string = dex_cache->GetResolvedString(string_index);
209 mirror::String* string = class_linker->LookupString(dex_file, string_index, dex_cache);
H A Dinstruction_builder.cc673 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(
674 soa.Decode<mirror::ClassLoader*>(dex_compilation_unit_->GetClassLoader())));
675 Handle<mirror::Class> compiling_class(hs.NewHandle(GetCompilingClass()));
678 Handle<mirror::Class> methods_class(hs.NewHandle(class_linker->ResolveReferencedClassOfMethod(
906 Handle<mirror::DexCache> dex_cache = dex_compilation_unit_->GetDexCache();
907 Handle<mirror::Class> resolved_class(hs.NewHandle(dex_cache->GetResolvedType(type_index)));
909 Handle<mirror::DexCache> outer_dex_cache = outer_compilation_unit_->GetDexCache();
954 static bool IsSubClass(mirror::Class* to_test, mirror::Class* super_class)
959 bool HInstructionBuilder::IsInitialized(Handle<mirror
[all...]
/art/runtime/entrypoints/quick/
H A Dquick_instrumentation_entrypoints.cc21 #include "mirror/object-inl.h"
28 mirror::Object* this_object,
/art/runtime/interpreter/mterp/
H A Dmterp.cc287 extern "C" bool MterpCheckCast(uint32_t index, StackReference<mirror::Object>* vreg_addr,
303 extern "C" bool MterpInstanceOf(uint32_t index, StackReference<mirror::Object>* vreg_addr,
329 mirror::SetStringCountVisitor visitor(0);
547 extern "C" int artSet8InstanceFromMterp(uint32_t field_idx, mirror::Object* obj, uint8_t new_value,
564 extern "C" int artSet16InstanceFromMterp(uint32_t field_idx, mirror::Object* obj, uint16_t new_value,
582 extern "C" int artSet32InstanceFromMterp(uint32_t field_idx, mirror::Object* obj,
594 extern "C" int artSet64InstanceFromMterp(uint32_t field_idx, mirror::Object* obj,
606 extern "C" int artSetObjInstanceFromMterp(uint32_t field_idx, mirror::Object* obj,
607 mirror::Object* new_value, ArtMethod* referrer)
610 sizeof(mirror
[all...]
/art/runtime/native/
H A Dlibcore_util_CharsetUtils.cc18 #include "mirror/string.h"
19 #include "mirror/string-inl.h"
157 Handle<mirror::String> string(hs.NewHandle(soa.Decode<mirror::String*>(java_string)));
195 Handle<mirror::String> string(hs.NewHandle(soa.Decode<mirror::String*>(java_string)));
/art/runtime/verifier/
H A Dmethod_verifier_test.cc36 mirror::Class* klass = class_linker_->FindSystemClass(self, descriptor.c_str());
/art/test/1337-gc-coverage/
H A Dgc_coverage.cc46 return reinterpret_cast<jlong>(soa.Decode<mirror::Object*>(object));
/art/test/595-profile-saving/
H A Dprofile-saving.cc24 #include "mirror/class-inl.h"
77 const DexFile* dex_file = soa.Decode<mirror::Class*>(cls)->GetDexCache()->GetDexFile();
/art/runtime/lambda/
H A Dclosure.cc21 #include "runtime/mirror/object_reference.h"
278 mirror::Object* Closure::GetCapturedObject(size_t index) const {
289 mirror::Object* result = nullptr;
298 mirror::CompressedReference<mirror::Object> compressed_result;
379 static_assert(!std::is_base_of<mirror::Object, Closure>::value,
382 // Safe as long as it's not a mirror Object.
384 // we aren't trying to copy mirror::Object data around.
/art/oatdump/
H A Doatdump.cc48 #include "mirror/array-inl.h"
49 #include "mirror/class-inl.h"
50 #include "mirror/dex_cache-inl.h"
51 #include "mirror/object-inl.h"
52 #include "mirror/object_array-inl.h"
324 Handle<mirror::ClassLoader>* class_loader_;
1120 Handle<mirror::DexCache> dex_cache(
1319 mirror::Object* image_root_object = image_header_.GetImageRoot(image_root);
1322 mirror::ObjectArray<mirror
[all...]
/art/compiler/debug/
H A Delf_debug_info_writer.h33 #include "mirror/array.h"
34 #include "mirror/class-inl.h"
35 #include "mirror/class.h"
278 void Write(const ArrayRef<mirror::Class*>& types) SHARED_REQUIRES(Locks::mutator_lock_) {
286 std::map<size_t, mirror::Class*> base_class_references;
289 std::map<mirror::Class*, size_t> class_declarations;
292 for (mirror::Class* type : types) {
299 mirror::Class* element_type = type->GetComponentType();
301 uint32_t data_offset = mirror::Array::DataOffset(component_size).Uint32Value();
302 uint32_t length_offset = mirror
[all...]

Completed in 496 milliseconds

<<1112131415