/art/runtime/native/ |
java_lang_reflect_Proxy.cc | 19 #include "mirror/class_loader.h" 20 #include "mirror/object_array.h" 21 #include "mirror/string.h" 30 mirror::String* name = soa.Decode<mirror::String*>(javaName); 31 mirror::ObjectArray<mirror::Class>* interfaces = 32 soa.Decode<mirror::ObjectArray<mirror::Class>*>(javaInterfaces); 33 mirror::ClassLoader* loader = soa.Decode<mirror::ClassLoader*>(javaLoader) [all...] |
sun_misc_Unsafe.cc | 20 #include "mirror/object.h" 21 #include "mirror/object-inl.h" 28 mirror::Object* obj = soa.Decode<mirror::Object*>(javaObj); 38 mirror::Object* obj = soa.Decode<mirror::Object*>(javaObj); 48 mirror::Object* obj = soa.Decode<mirror::Object*>(javaObj); 49 mirror::Object* expectedValue = soa.Decode<mirror::Object*>(javaExpectedValue) [all...] |
java_lang_reflect_Array.cc | 21 #include "mirror/class-inl.h" 22 #include "mirror/object-inl.h" 32 mirror::Class* element_class = soa.Decode<mirror::Class*>(javaElementClass); 35 mirror::Object* dimensions_obj = soa.Decode<mirror::Object*>(javaDimArray); 38 mirror::IntArray* dimensions_array = down_cast<mirror::IntArray*>(dimensions_obj); 39 mirror::Array* new_array = mirror::Array::CreateMultiArray(soa.Self(), element_class, dimensions_array) [all...] |
/art/runtime/ |
class_linker-inl.h | 22 #include "mirror/art_field.h" 23 #include "mirror/dex_cache.h" 24 #include "mirror/iftable.h" 25 #include "mirror/object_array.h" 29 inline mirror::String* ClassLinker::ResolveString(uint32_t string_idx, 30 const mirror::ArtMethod* referrer) { 31 mirror::String* resolved_string = referrer->GetDexCacheStrings()->Get(string_idx); 33 mirror::Class* declaring_class = referrer->GetDeclaringClass(); 34 mirror::DexCache* dex_cache = declaring_class->GetDexCache(); 41 inline mirror::Class* ClassLinker::ResolveType(uint16_t type_idx [all...] |
reflection.h | 24 namespace mirror { namespace in namespace:art 29 } // namespace mirror 34 mirror::Object* BoxPrimitive(Primitive::Type src_class, const JValue& value) 36 bool UnboxPrimitiveForArgument(mirror::Object* o, mirror::Class* dst_class, JValue& unboxed_value, 37 mirror::ArtMethod* m, size_t index) 39 bool UnboxPrimitiveForField(mirror::Object* o, mirror::Class* dst_class, JValue& unboxed_value, 40 mirror::ArtField* f) 42 bool UnboxPrimitiveForResult(const ThrowLocation& throw_location, mirror::Object* o [all...] |
class_linker.h | 37 namespace mirror { namespace in namespace:art 44 } // namespace mirror 50 typedef bool (ClassVisitor)(mirror::Class* c, void* arg); 69 mirror::Class* FindClass(const char* descriptor, mirror::ClassLoader* class_loader) 72 mirror::Class* FindSystemClass(const char* descriptor) 76 mirror::Class* DefineClass(const char* descriptor, mirror::ClassLoader* class_loader, 82 mirror::Class* LookupClass(const char* descriptor, const mirror::ClassLoader* class_loader [all...] |
common_throws.h | 24 namespace mirror { namespace in namespace:art 29 } // namespace mirror 35 void ThrowAbstractMethodError(const mirror::ArtMethod* method) 49 void ThrowArrayStoreException(const mirror::Class* element_class, 50 const mirror::Class* array_class) 55 void ThrowClassCircularityError(mirror::Class* c) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 59 void ThrowClassCastException(const mirror::Class* dest_type, const mirror::Class* src_type) 67 void ThrowClassFormatError(const mirror::Class* referrer, const char* fmt, ...) 73 void ThrowIllegalAccessErrorClass(mirror::Class* referrer, mirror::Class* accessed [all...] |
intern_table_test.cc | 20 #include "mirror/object.h" 30 SirtRef<mirror::String> foo_1(soa.Self(), intern_table.InternStrong(3, "foo")); 31 SirtRef<mirror::String> foo_2(soa.Self(), intern_table.InternStrong(3, "foo")); 32 SirtRef<mirror::String> foo_3(soa.Self(), mirror::String::AllocFromModifiedUtf8(soa.Self(), "foo")); 33 SirtRef<mirror::String> bar(soa.Self(), intern_table.InternStrong(3, "bar")); 50 SirtRef<mirror::String> foo(soa.Self(), mirror::String::AllocFromModifiedUtf8(soa.Self(), "foo")); 59 bool IsMarked(const mirror::Object* s) const { 72 void Expect(const mirror::String* s) [all...] |
/art/runtime/entrypoints/quick/ |
quick_alloc_entrypoints.cc | 19 #include "mirror/art_method-inl.h" 20 #include "mirror/class-inl.h" 21 #include "mirror/object_array-inl.h" 22 #include "mirror/object-inl.h" 26 extern "C" mirror::Object* artAllocObjectFromCode(uint32_t type_idx, mirror::ArtMethod* method, 27 Thread* self, mirror::ArtMethod** sp) 33 extern "C" mirror::Object* artAllocObjectFromCodeWithAccessCheck(uint32_t type_idx, 34 mirror::ArtMethod* method, 36 mirror::ArtMethod** sp [all...] |
quick_dexcache_entrypoints.cc | 22 #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 const mirror::ArtMethod* referrer, 31 mirror::ArtMethod** sp) 40 extern "C" mirror::Class* artInitializeTypeFromCode(uint32_t type_idx, 41 const mirror::ArtMethod* referrer, 42 Thread* self, mirror::ArtMethod** sp) 49 extern "C" mirror::Class* artInitializeTypeAndVerifyAccessFromCode(uint32_t type_idx [all...] |
/external/chromium_org/v8/test/mjsunit/ |
mirror-script.js | 29 // Test the mirror object for scripts. 33 // Create mirror and JSON representation. 34 var mirror = debug.MakeMirror(f).script(); 36 var json = JSON.stringify(serializer.serializeValue(mirror)); 38 // Check the mirror hierachy. 39 assertTrue(mirror instanceof debug.Mirror); 40 assertFalse(mirror instanceof debug.ValueMirror); 41 assertTrue(mirror instanceof debug.ScriptMirror); 43 // Check the mirror properties 92 var mirror = debug.MakeMirror(eval('(function(){\\n 1;\\n})')).script(); variable [all...] |
mirror-unresolved-function.js | 29 // Test the mirror object for unresolved functions. 43 var mirror = new debug.UnresolvedFunctionMirror("f"); 45 var json = JSON.stringify(serializer.serializeValue(mirror)); 49 // Check the mirror hierachy for unresolved functions. 50 assertTrue(mirror instanceof debug.Mirror); 51 assertTrue(mirror instanceof debug.ValueMirror); 52 assertTrue(mirror instanceof debug.ObjectMirror); 53 assertTrue(mirror instanceof debug.FunctionMirror); 55 // Check the mirror properties for unresolved functions [all...] |
mirror-array.js | 29 // Test the mirror object for objects 44 // Create mirror and JSON representation. 45 var mirror = debug.MakeMirror(a); 47 var json = JSON.stringify(serializer.serializeValue(mirror)); 51 // Check the mirror hierachy. 52 assertTrue(mirror instanceof debug.Mirror, 'Unexpected mirror hierachy'); 53 assertTrue(mirror instanceof debug.ValueMirror, 'Unexpected mirror hierachy') [all...] |
mirror-function.js | 29 // Test the mirror object for functions. 44 // Create mirror and JSON representation. 45 var mirror = debug.MakeMirror(f); 47 var json = JSON.stringify(serializer.serializeValue(mirror)); 51 // Check the mirror hierachy. 52 assertTrue(mirror instanceof debug.Mirror); 53 assertTrue(mirror instanceof debug.ValueMirror); 54 assertTrue(mirror instanceof debug.ObjectMirror); 55 assertTrue(mirror instanceof debug.FunctionMirror) [all...] |
debug-referenced-by.js | 35 // Create mirror for the object. 36 var mirror = debug.MakeMirror(a); variable 39 assertEquals(1, mirror.referencedBy().length); 40 assertEquals(1, mirror.referencedBy(0).length); 41 assertEquals(1, mirror.referencedBy(1).length); 42 assertEquals(1, mirror.referencedBy(10).length); 47 assertEquals(2, mirror.referencedBy().length); 52 assertEquals(3, mirror.referencedBy().length); 55 assertEquals(4, mirror.referencedBy().length); 57 assertEquals(5, mirror.referencedBy().length) [all...] |
/external/v8/test/mjsunit/ |
mirror-script.js | 29 // Test the mirror object for scripts. 33 // Create mirror and JSON representation. 34 var mirror = debug.MakeMirror(f).script(); 36 var json = JSON.stringify(serializer.serializeValue(mirror)); 38 // Check the mirror hierachy. 39 assertTrue(mirror instanceof debug.Mirror); 40 assertFalse(mirror instanceof debug.ValueMirror); 41 assertTrue(mirror instanceof debug.ScriptMirror); 43 // Check the mirror properties 92 var mirror = debug.MakeMirror(eval('(function(){\\n 1;\\n})')).script(); variable [all...] |
mirror-object.js | 29 // Test the mirror object for objects 44 // Create mirror and JSON representation. 45 var mirror = debug.MakeMirror(obj); 47 var json = JSON.stringify(serializer.serializeValue(mirror)); 51 // Check the mirror hierachy. 52 assertTrue(mirror instanceof debug.Mirror, 'Unexpected mirror hierachy'); 53 assertTrue(mirror instanceof debug.ValueMirror, 'Unexpected mirror hierachy') [all...] |
mirror-unresolved-function.js | 29 // Test the mirror object for unresolved functions. 43 var mirror = new debug.UnresolvedFunctionMirror("f"); 45 var json = JSON.stringify(serializer.serializeValue(mirror)); 49 // Check the mirror hierachy for unresolved functions. 50 assertTrue(mirror instanceof debug.Mirror); 51 assertTrue(mirror instanceof debug.ValueMirror); 52 assertTrue(mirror instanceof debug.ObjectMirror); 53 assertTrue(mirror instanceof debug.FunctionMirror); 55 // Check the mirror properties for unresolved functions [all...] |
mirror-array.js | 29 // Test the mirror object for objects 44 // Create mirror and JSON representation. 45 var mirror = debug.MakeMirror(a); 47 var json = JSON.stringify(serializer.serializeValue(mirror)); 51 // Check the mirror hierachy. 52 assertTrue(mirror instanceof debug.Mirror, 'Unexpected mirror hierachy'); 53 assertTrue(mirror instanceof debug.ValueMirror, 'Unexpected mirror hierachy') [all...] |
mirror-function.js | 29 // Test the mirror object for functions. 44 // Create mirror and JSON representation. 45 var mirror = debug.MakeMirror(f); 47 var json = JSON.stringify(serializer.serializeValue(mirror)); 51 // Check the mirror hierachy. 52 assertTrue(mirror instanceof debug.Mirror); 53 assertTrue(mirror instanceof debug.ValueMirror); 54 assertTrue(mirror instanceof debug.ObjectMirror); 55 assertTrue(mirror instanceof debug.FunctionMirror) [all...] |
debug-referenced-by.js | 35 // Create mirror for the object. 36 var mirror = debug.MakeMirror(a); variable 39 assertEquals(1, mirror.referencedBy().length); 40 assertEquals(1, mirror.referencedBy(0).length); 41 assertEquals(1, mirror.referencedBy(1).length); 42 assertEquals(1, mirror.referencedBy(10).length); 47 assertEquals(2, mirror.referencedBy().length); 52 assertEquals(3, mirror.referencedBy().length); 55 assertEquals(4, mirror.referencedBy().length); 57 assertEquals(5, mirror.referencedBy().length) [all...] |
/art/runtime/entrypoints/portable/ |
portable_field_entrypoints.cc | 18 #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, 50 mirror::ArtMethod* referrer, 53 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveWrite, sizeof(uint64_t)); 72 mirror::ArtMethod* referrer, 73 mirror::Object* new_value) 75 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticObjectWrite [all...] |
portable_alloc_entrypoints.cc | 18 #include "mirror/art_method-inl.h" 19 #include "mirror/object-inl.h" 23 extern "C" mirror::Object* art_portable_alloc_object_from_code(uint32_t type_idx, 24 mirror::ArtMethod* referrer, 30 extern "C" mirror::Object* art_portable_alloc_object_from_code_with_access_check(uint32_t type_idx, 31 mirror::ArtMethod* referrer, 37 extern "C" mirror::Object* art_portable_alloc_array_from_code(uint32_t type_idx, 38 mirror::ArtMethod* referrer, 45 extern "C" mirror::Object* art_portable_alloc_array_from_code_with_access_check(uint32_t type_idx, 46 mirror::ArtMethod* referrer [all...] |
portable_dexcache_entrypoints.cc | 19 #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::ArtMethod* referrer [all...] |
portable_invoke_entrypoints.cc | 18 #include "mirror/art_method-inl.h" 19 #include "mirror/dex_cache-inl.h" 20 #include "mirror/object-inl.h" 24 static mirror::ArtMethod* FindMethodHelper(uint32_t method_idx, 25 mirror::Object* this_object, 26 mirror::ArtMethod* caller_method, 31 mirror::ArtMethod* method = FindMethodFast(method_idx, 56 extern "C" mirror::Object* art_portable_find_static_method_from_code_with_access_check(uint32_t method_idx, 57 mirror::Object* this_object, 58 mirror::ArtMethod* referrer [all...] |