Home
last modified time | relevance | path

Searched refs:instance (Results 1 – 20 of 20) sorted by relevance

/art/test/046-reflect/src/
DMain.java62 private void showStrings(Target instance) in showStrings() argument
70 one = (String) field.get(instance); in showStrings()
73 two = (String) field.get(instance); in showStrings()
76 three = (String) field.get(instance); in showStrings()
84 Object instance = new otherpackage.Other(); in checkAccess() local
88 meth.invoke(instance); in checkAccess()
98 instance = otherpackage.Other.getInnerClassInstance(); in checkAccess()
99 target = instance.getClass(); in checkAccess()
103 meth.invoke(instance); in checkAccess()
111 int x = field.getInt(instance); in checkAccess()
[all …]
/art/test/800-smali/smali/
Db_22331663.smali14 new-instance v4, Ljava/lang/Object;
17 new-instance v3, Ljava/lang/RuntimeException;
23 new-instance v4, Ljava/lang/Object;
25 new-instance v3, Ljava/lang/RuntimeException;
Db_22331663_pass.smali10 new-instance v4, Ljava/lang/Object;
18 new-instance v0, Ljava/lang/Object;
Db_21902684.smali13 new-instance v0, Ljava/lang/String;
Db_22331663_fail.smali10 new-instance v4, Ljava/lang/Object;
Db_22881413.smali52 new-instance v0, La/b/c/dBaseInit;
/art/test/426-monitor/
Dexpected.txt2 In instance method
4 In second instance method
/art/test/034-call-null/src/
DMain.java25 Main instance = null; in main() local
26 instance.doStuff(0, null, null, null); in main()
/art/test/435-new-instance/smali/
Dinstance.smali27 new-instance v1, LTestInterface;
35 new-instance v1, LTestClass;
43 new-instance v1, Lpkg/ProtectedClass;
51 new-instance v1, LUnknownClass;
/art/test/080-oom-throw/src/
DMain.java51 static void confuseCompilerOptimization(InstanceMemEater instance) { in confuseCompilerOptimization() argument
52 hook = instance; in confuseCompilerOptimization()
/art/test/108-check-cast/
Dinfo.txt1 This test relies on the correct behavior of instance-of to test check-cast behavior,
/art/test/073-mismatched-field/
Dinfo.txt1 Test behavior when an instance field is overlapped (through separate
/art/test/435-new-instance/
Dinfo.txt1 Tests that new-instance throws:
/art/test/069-field-type/
Dinfo.txt2 inappropriate object type in an instance field. By compiling two
/art/test/134-reg-promotion/smali/
DTest.smali22 new-instance v2, Ljava/lang/String;
42 new-instance v2, Ljava/lang/String;
/art/test/010-instance/
Dexpected.txt1 instance begin
/art/test/107-int-math2/src/
DMain.java99 Main instance = new Main(); in superTest() local
100 Main base = instance; in superTest()
101 int val1 = instance.tryThing(); in superTest()
/art/runtime/
Djni_internal_test.cc1647 #define EXPECT_PRIMITIVE_FIELD(expect_eq, instance, type, field_name, sig, value1, value2) \ argument
1651 env_->Set ## type ## Field(instance, fid, value1); \
1652 expect_eq(value1, env_->Get ## type ## Field(instance, fid)); \
1653 env_->Set ## type ## Field(instance, fid, value2); \
1654 expect_eq(value2, env_->Get ## type ## Field(instance, fid)); \
1662 env_->Get ## type ## Field(instance, nullptr); \
1664 env_->Set ## type ## Field(instance, nullptr, value1); \
1671 env_->Get ## type ## Field(instance, nullptr); \
1673 env_->Set ## type ## Field(instance, nullptr, value1); \
Djni_internal.cc1255 #define GET_PRIMITIVE_FIELD(fn, instance) \ argument
1256 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(instance); \
1259 mirror::Object* o = soa.Decode<mirror::Object*>(instance); \
1269 #define SET_PRIMITIVE_FIELD(fn, instance, value) \ argument
1270 CHECK_NON_NULL_ARGUMENT_RETURN_VOID(instance); \
1273 mirror::Object* o = soa.Decode<mirror::Object*>(instance); \
/art/runtime/jdwp/
Djdwp_handler.cc1292 ObjectId instance = request->ReadObjectId(); in ER_Set() local
1293 mod.instanceOnly.objectId = instance; in ER_Set()