Searched refs:mirror (Results 1 - 25 of 338) sorted by relevance

1234567891011>>

/art/runtime/entrypoints/portable/
H A Dportable_entrypoints.h24 namespace mirror { namespace in namespace:art
27 } // namespace mirror
37 void (*pPortableImtConflictTrampoline)(mirror::ArtMethod*);
38 void (*pPortableResolutionTrampoline)(mirror::ArtMethod*);
39 void (*pPortableToInterpreterBridge)(mirror::ArtMethod*);
H A Dportable_dexcache_entrypoints.cc19 #include "mirror/art_method-inl.h"
20 #include "mirror/object-inl.h"
24 extern "C" mirror::Object* art_portable_initialize_static_storage_from_code(uint32_t type_idx,
25 mirror::ArtMethod* referrer,
31 extern "C" mirror::Object* art_portable_initialize_type_from_code(uint32_t type_idx,
32 mirror::ArtMethod* referrer,
38 extern "C" mirror::Object* art_portable_initialize_type_and_verify_access_from_code(uint32_t type_idx,
39 mirror::ArtMethod* referrer,
47 extern "C" mirror::Object* art_portable_resolve_string_from_code(mirror
[all...]
H A Dportable_invoke_entrypoints.cc18 #include "mirror/art_method-inl.h"
19 #include "mirror/dex_cache-inl.h"
20 #include "mirror/object-inl.h"
25 mirror::ArtMethod* FindMethodHelper(uint32_t method_idx, mirror::Object* this_object,
26 mirror::ArtMethod* caller_method, Thread* self) {
27 mirror::ArtMethod* method = FindMethodFast(method_idx, this_object, caller_method,
57 mirror::ArtMethod* FindMethodHelper<_type, _access_check>(uint32_t method_idx, \
58 mirror::Object* this_object, \
59 mirror
[all...]
H A Dportable_field_entrypoints.cc18 #include "mirror/art_field-inl.h"
19 #include "mirror/art_method-inl.h"
20 #include "mirror/object-inl.h"
25 mirror::ArtMethod* referrer,
28 mirror::ArtField* field = FindFieldFast(field_idx,
48 mirror::ArtMethod* referrer,
51 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveWrite, sizeof(uint64_t));
68 mirror::ArtMethod* referrer,
69 mirror::Object* new_value)
71 mirror
[all...]
H A Dportable_alloc_entrypoints.cc18 #include "mirror/art_method-inl.h"
19 #include "mirror/object-inl.h"
26 extern "C" mirror::Object* art_portable_alloc_object_from_code(uint32_t type_idx,
27 mirror::ArtMethod* referrer,
33 extern "C" mirror::Object* art_portable_alloc_object_from_code_with_access_check(uint32_t type_idx,
34 mirror::ArtMethod* referrer,
40 extern "C" mirror::Object* art_portable_alloc_array_from_code(uint32_t type_idx,
41 mirror::ArtMethod* referrer,
49 extern "C" mirror::Object* art_portable_alloc_array_from_code_with_access_check(uint32_t type_idx,
50 mirror
[all...]
H A Dportable_cast_entrypoints.cc19 #include "mirror/object-inl.h"
23 extern "C" int32_t art_portable_is_assignable_from_code(mirror::Class* dest_type,
24 mirror::Class* src_type)
31 extern "C" void art_portable_check_cast_from_code(mirror::Class* dest_type,
32 mirror::Class* src_type)
41 extern "C" void art_portable_check_put_array_element_from_code(mirror::Object* element,
42 mirror::Object* array)
48 mirror::Class* array_class = array->GetClass();
50 mirror::Class* component_type = array_class->GetComponentType();
51 mirror
[all...]
/art/runtime/
H A Dobject_callbacks.h30 namespace mirror { namespace in namespace:art
35 } // namespace mirror
57 typedef void (RootCallback)(mirror::Object** root, void* arg, uint32_t thread_id,
60 typedef void (ObjectCallback)(mirror::Object* obj, void* arg);
62 typedef mirror::Object* (MarkObjectCallback)(mirror::Object* obj, void* arg) WARN_UNUSED;
64 typedef void (VerifyRootCallback)(const mirror::Object* root, void* arg, size_t vreg,
67 typedef void (MarkHeapReferenceCallback)(mirror::HeapReference<mirror::Object>* ref, void* arg);
68 typedef void (DelayReferenceReferentCallback)(mirror
[all...]
H A Dclass_linker-inl.h23 #include "mirror/art_field.h"
24 #include "mirror/class_loader.h"
25 #include "mirror/dex_cache-inl.h"
26 #include "mirror/iftable.h"
27 #include "mirror/object_array.h"
32 inline mirror::Class* ClassLinker::FindSystemClass(Thread* self, const char* descriptor) {
33 return FindClass(self, descriptor, NullHandle<mirror::ClassLoader>());
36 inline mirror::Class* ClassLinker::FindArrayClass(Thread* self, mirror::Class** element_class) {
39 mirror
[all...]
H A Dintern_table.h31 namespace mirror { namespace in namespace:art
33 } // namespace mirror
51 mirror::String* InternStrong(int32_t utf16_length, const char* utf8_data)
55 mirror::String* InternStrong(const char* utf8_data)
59 mirror::String* InternStrong(mirror::String* s) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
62 mirror::String* InternWeak(mirror::String* s) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
67 bool ContainsWeak(mirror::String* s) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
84 std::size_t operator()(const GcRoot<mirror
[all...]
H A Dthrow_location.h29 namespace mirror { namespace in namespace:art
32 } // mirror
40 ThrowLocation(mirror::Object* throw_this_object, mirror::ArtMethod* throw_method,
55 mirror::Object* GetThis() const {
59 mirror::ArtMethod* GetMethod() const {
79 mirror::Object* this_object_;
81 mirror::ArtMethod* method_;
H A Dclass_linker.h41 namespace mirror { namespace in namespace:art
48 } // namespace mirror
55 typedef bool (ClassVisitor)(mirror::Class* c, void* arg);
73 mirror::Class* FindClass(Thread* self, const char* descriptor,
74 Handle<mirror::ClassLoader> class_loader)
78 mirror::Class* FindClassInPathClassLoader(ScopedObjectAccessAlreadyRunnable& soa,
80 Handle<mirror::ClassLoader> class_loader)
85 mirror::Class* FindSystemClass(Thread* self, const char* descriptor)
89 mirror::Class* FindArrayClass(Thread* self, mirror
[all...]
H A Dintern_table.cc22 #include "mirror/dex_cache.h"
23 #include "mirror/object_array-inl.h"
24 #include "mirror/object-inl.h"
25 #include "mirror/string-inl.h"
61 const_cast<GcRoot<mirror::String>&>(strong_intern).
67 mirror::String* old_ref = root.Read<kWithoutReadBarrier>();
69 mirror::String* new_ref = root.Read<kWithoutReadBarrier>();
74 auto it = strong_interns_.find(GcRoot<mirror::String>(old_ref));
77 strong_interns_.insert(GcRoot<mirror::String>(new_ref));
93 mirror
[all...]
H A Dtrace.h35 namespace mirror { namespace in namespace:art
38 } // namespace mirror
74 void CompareAndUpdateStackTrace(Thread* thread, std::vector<mirror::ArtMethod*>* stack_trace)
78 void MethodEntered(Thread* thread, mirror::Object* this_object,
79 mirror::ArtMethod* method, uint32_t dex_pc)
81 void MethodExited(Thread* thread, mirror::Object* this_object,
82 mirror::ArtMethod* method, uint32_t dex_pc,
85 void MethodUnwind(Thread* thread, mirror::Object* this_object,
86 mirror::ArtMethod* method, uint32_t dex_pc)
88 void DexPcMoved(Thread* thread, mirror
[all...]
H A Dintern_table_test.cc20 #include "mirror/object.h"
22 #include "mirror/string.h"
33 Handle<mirror::String> foo_1(hs.NewHandle(intern_table.InternStrong(3, "foo")));
34 Handle<mirror::String> foo_2(hs.NewHandle(intern_table.InternStrong(3, "foo")));
35 Handle<mirror::String> foo_3(
36 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "foo")));
37 Handle<mirror::String> bar(hs.NewHandle(intern_table.InternStrong(3, "bar")));
55 Handle<mirror::String> foo(
56 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "foo")));
65 bool IsMarked(const mirror
[all...]
/art/compiler/
H A Dcompiled_class.h20 #include "mirror/class.h"
26 explicit CompiledClass(mirror::Class::Status status) : status_(status) {}
28 mirror::Class::Status GetStatus() const {
32 const mirror::Class::Status status_;
/art/runtime/entrypoints/quick/
H A Dquick_dexcache_entrypoints.cc22 #include "mirror/art_method-inl.h"
23 #include "mirror/object_array-inl.h"
24 #include "mirror/object-inl.h"
28 extern "C" mirror::Class* artInitializeStaticStorageFromCode(uint32_t type_idx,
29 mirror::ArtMethod* referrer,
31 StackReference<mirror::ArtMethod>* sp)
40 extern "C" mirror::Class* artInitializeTypeFromCode(uint32_t type_idx,
41 mirror::ArtMethod* referrer,
43 StackReference<mirror::ArtMethod>* sp)
50 extern "C" mirror
[all...]
H A Dquick_field_entrypoints.cc20 #include "mirror/art_field-inl.h"
21 #include "mirror/art_method-inl.h"
22 #include "mirror/class-inl.h"
29 mirror::ArtMethod* referrer,
30 Thread* self, StackReference<mirror::ArtMethod>* sp)
32 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveRead,
46 mirror::ArtMethod* referrer,
47 Thread* self, StackReference<mirror::ArtMethod>* sp)
49 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveRead,
62 extern "C" mirror
[all...]
/art/runtime/native/
H A Djava_lang_reflect_Array.cc21 #include "mirror/class-inl.h"
22 #include "mirror/object-inl.h"
32 Handle<mirror::Class> element_class(hs.NewHandle(soa.Decode<mirror::Class*>(javaElementClass)));
35 mirror::Object* dimensions_obj = soa.Decode<mirror::Object*>(javaDimArray);
39 Handle<mirror::IntArray> dimensions_array(
40 hs.NewHandle(down_cast<mirror::IntArray*>(dimensions_obj)));
41 mirror::Array* new_array = mirror
[all...]
H A Dsun_misc_Unsafe.cc19 #include "mirror/array.h"
20 #include "mirror/object.h"
21 #include "mirror/object-inl.h"
29 mirror::Object* obj = soa.Decode<mirror::Object*>(javaObj);
39 mirror::Object* obj = soa.Decode<mirror::Object*>(javaObj);
49 mirror::Object* obj = soa.Decode<mirror::Object*>(javaObj);
50 mirror
[all...]
/art/test/004-UnsafeTest/
H A Dunsafe_test.cc18 #include "mirror/array.h"
19 #include "mirror/art_method-inl.h"
20 #include "mirror/class.h"
21 #include "mirror/class-inl.h"
22 #include "mirror/object-inl.h"
29 mirror::Class* klass = soa.Decode<mirror::Class*>(classObj);
30 return mirror::Array::DataOffset(
36 mirror::Class* klass = soa.Decode<mirror
[all...]
/art/runtime/entrypoints/
H A Dentrypoint_utils.h31 namespace mirror { namespace in namespace:art
38 } // namespace mirror
44 ALWAYS_INLINE static inline mirror::Class* CheckObjectAlloc(uint32_t type_idx,
45 mirror::ArtMethod* method,
50 ALWAYS_INLINE static inline mirror::Class* CheckClassInitializedForObjectAlloc(mirror::Class* klass,
59 ALWAYS_INLINE static inline mirror::Object* AllocObjectFromCode(uint32_t type_idx,
60 mirror::ArtMethod* method,
67 ALWAYS_INLINE static inline mirror::Object* AllocObjectFromCodeResolved(mirror
[all...]
/art/runtime/gc/collector/
H A Dimmune_region.cc20 #include "mirror/object.h"
41 mirror::Object* space_begin = reinterpret_cast<mirror::Object*>(space->Begin());
42 mirror::Object* space_limit = reinterpret_cast<mirror::Object*>(space->Limit());
60 begin_ <= reinterpret_cast<mirror::Object*>(space->Begin()) &&
61 end_ >= reinterpret_cast<mirror::Object*>(space->Limit());
H A Dimmune_region.h24 namespace mirror { namespace in namespace:art
26 } // namespace mirror
47 bool ContainsObject(const mirror::Object* obj) const ALWAYS_INLINE {
51 void SetBegin(mirror::Object* begin) {
55 void SetEnd(mirror::Object* end) {
68 mirror::Object* begin_;
69 mirror::Object* end_;
/art/runtime/mirror/
H A Dreference-inl.h23 namespace mirror { namespace in namespace:art
33 const Object* queue = GetFieldObject<mirror::Object>(QueueOffset());
34 const Object* queue_next = GetFieldObject<mirror::Object>(QueueNextOffset());
38 } // namespace mirror
/art/runtime/gc/
H A Dreference_processor-inl.h26 return mirror::Reference::GetJavaLangRefReference()->GetSlowPathEnabled();

Completed in 8878 milliseconds

1234567891011>>