Home
last modified time | relevance | path

Searched refs:Object (Results 1 – 25 of 1157) sorted by relevance

12345678910>>...47

/art/test/125-gc-and-classloading/src/
DMain.java70 static Object sf1;
71 static Object sf2;
72 static Object sf3;
73 static Object sf4;
74 static Object sf5;
75 static Object sf6;
76 static Object sf7;
77 static Object sf8;
78 static Object sf9;
79 static Object sf10;
[all …]
/art/test/MyClassNatives/
DMyClassNatives.java43 native Object fooO(Object x); in fooO()
49 native Object fooIOO(int x, Object y, Object z); in fooIOO()
51 static native Object fooSIOO(int x, Object y, Object z); in fooSIOO()
57 static synchronized native Object fooSSIOO(int x, Object y, Object z); in fooSSIOO()
59 static native void arraycopy(Object src, int src_pos, Object dst, int dst_pos, int length); in arraycopy()
61 native boolean compareAndSwapInt(Object obj, long offset, int expected, int newval); in compareAndSwapInt()
63 static native int getText(long val1, Object obj1, long val2, Object obj2); in getText()
65 synchronized native Object[] getSinkPropertiesNative(String path); in getSinkPropertiesNative()
88 …native void maxParamNumber(Object o0, Object o1, Object o2, Object o3, Object o4, Object o5, Objec… in maxParamNumber()
89Object o8, Object o9, Object o10, Object o11, Object o12, Object o13, Object o14, Object o15, in maxParamNumber()
[all …]
/art/test/160-read-barrier-stress/src/
DManyFieldsBase1.java18 public Object testField1000 = new Integer(1000);
19 public Object testField1001 = new Integer(1001);
20 public Object testField1002 = new Integer(1002);
21 public Object testField1003 = new Integer(1003);
22 public Object testField1004 = new Integer(1004);
23 public Object testField1005 = new Integer(1005);
24 public Object testField1006 = new Integer(1006);
25 public Object testField1007 = new Integer(1007);
26 public Object testField1008 = new Integer(1008);
27 public Object testField1009 = new Integer(1009);
[all …]
DManyFieldsBase2.java18 public Object testField2000 = new Integer(2000);
19 public Object testField2001 = new Integer(2001);
20 public Object testField2002 = new Integer(2002);
21 public Object testField2003 = new Integer(2003);
22 public Object testField2004 = new Integer(2004);
23 public Object testField2005 = new Integer(2005);
24 public Object testField2006 = new Integer(2006);
25 public Object testField2007 = new Integer(2007);
26 public Object testField2008 = new Integer(2008);
27 public Object testField2009 = new Integer(2009);
[all …]
DManyFieldsBase3.java18 public Object testField3000 = new Integer(3000);
19 public Object testField3001 = new Integer(3001);
20 public Object testField3002 = new Integer(3002);
21 public Object testField3003 = new Integer(3003);
22 public Object testField3004 = new Integer(3004);
23 public Object testField3005 = new Integer(3005);
24 public Object testField3006 = new Integer(3006);
25 public Object testField3007 = new Integer(3007);
26 public Object testField3008 = new Integer(3008);
27 public Object testField3009 = new Integer(3009);
[all …]
DManyFieldsBase0.java18 public Object testField0000 = new Integer(0);
19 public Object testField0001 = new Integer(1);
20 public Object testField0002 = new Integer(2);
21 public Object testField0003 = new Integer(3);
22 public Object testField0004 = new Integer(4);
23 public Object testField0005 = new Integer(5);
24 public Object testField0006 = new Integer(6);
25 public Object testField0007 = new Integer(7);
26 public Object testField0008 = new Integer(8);
27 public Object testField0009 = new Integer(9);
[all …]
DMain.java33 Object f0000 = manyFields.testField0000; in testFieldReads()
34 Object f1024 = manyFields.testField1024; in testFieldReads()
35 Object f4444 = manyFields.testField4444; in testFieldReads()
36 Object f4999 = manyFields.testField4999; in testFieldReads()
56 Object f0000 = new Integer(0); in testArrayReadsWithConstIndex()
57 Object f1024 = new Integer(1024); in testArrayReadsWithConstIndex()
58 Object f4444 = new Integer(4444); in testArrayReadsWithConstIndex()
59 Object f4999 = new Integer(4999); in testArrayReadsWithConstIndex()
62 Object tmp = new Integer(1); in testArrayReadsWithConstIndex()
76 Object[] la = largeArray; // Load the volatile `largeArray` once on each iteration. in testArrayReadsWithConstIndex()
[all …]
/art/test/954-invoke-polymorphic-verifier/smali/
DVarHandleHappyAccessors.smali19 .super Ljava/lang/Object;
23 invoke-direct {p0}, Ljava/lang/Object;-><init>()V
29 …VarHandle;->compareAndExchange([Ljava/lang/Object;)Ljava/lang/Object;, ([Ljava/lang/Object;)Ljava/…
30 …le;->compareAndExchangeAcquire([Ljava/lang/Object;)Ljava/lang/Object;, ([Ljava/lang/Object;)Ljava/…
31 …le;->compareAndExchangeRelease([Ljava/lang/Object;)Ljava/lang/Object;, ([Ljava/lang/Object;)Ljava/…
32 …a/lang/invoke/VarHandle;->compareAndSet([Ljava/lang/Object;)Z, ([Ljava/lang/Object;)Ljava/lang/Obj…
33 …va/lang/invoke/VarHandle;->get([Ljava/lang/Object;)Ljava/lang/Object;, ([Ljava/lang/Object;)Ljava/…
34 …/invoke/VarHandle;->getAcquire([Ljava/lang/Object;)Ljava/lang/Object;, ([Ljava/lang/Object;)Ljava/…
35 …g/invoke/VarHandle;->getAndAdd([Ljava/lang/Object;)Ljava/lang/Object;, ([Ljava/lang/Object;)Ljava/…
36 …e/VarHandle;->getAndAddAcquire([Ljava/lang/Object;)Ljava/lang/Object;, ([Ljava/lang/Object;)Ljava/…
[all …]
/art/runtime/arch/arm64/
Dentrypoints_init_arm64.cc35 extern "C" size_t artInstanceOfFromCode(mirror::Object* obj, mirror::Class* ref_class);
42 extern "C" mirror::Object* art_quick_read_barrier_mark_reg00(mirror::Object*);
43 extern "C" mirror::Object* art_quick_read_barrier_mark_reg01(mirror::Object*);
44 extern "C" mirror::Object* art_quick_read_barrier_mark_reg02(mirror::Object*);
45 extern "C" mirror::Object* art_quick_read_barrier_mark_reg03(mirror::Object*);
46 extern "C" mirror::Object* art_quick_read_barrier_mark_reg04(mirror::Object*);
47 extern "C" mirror::Object* art_quick_read_barrier_mark_reg05(mirror::Object*);
48 extern "C" mirror::Object* art_quick_read_barrier_mark_reg06(mirror::Object*);
49 extern "C" mirror::Object* art_quick_read_barrier_mark_reg07(mirror::Object*);
50 extern "C" mirror::Object* art_quick_read_barrier_mark_reg08(mirror::Object*);
[all …]
/art/runtime/entrypoints/quick/
Dquick_entrypoints_list.h38 V(InstanceofNonTrivial, size_t, mirror::Object*, mirror::Class*) \
39 V(CheckInstanceOf, void, mirror::Object*, mirror::Class*) \
73 V(AputObject, void, mirror::Array*, int32_t, mirror::Object*) \
81 V(JniMethodEndWithReference, mirror::Object*, jobject, uint32_t, Thread*) \
82 V(JniMethodFastEndWithReference, mirror::Object*, jobject, uint32_t, Thread*) \
83 V(JniMethodEndWithReferenceSynchronized, mirror::Object*, jobject, uint32_t, jobject, Thread*) \
86 V(LockObject, void, mirror::Object*) \
87 V(UnlockObject, void, mirror::Object*) \
144 V(DeliverException, void, mirror::Object*) \
172 V(ReadBarrierJni, void, mirror::CompressedReference<mirror::Object>*, Thread*) \
[all …]
/art/test/980-redefine-object/
Dexpected.txt2 Allocating an j.l.Object before redefining Object class
3 Allocating a Transform before redefining Object class
4 Redefining the Object class to add a hook into the <init> method
5 Allocating an j.l.Object after redefining Object class
6 Object allocated of type 'java.lang.Object'
7 Allocating a Transform after redefining Object class
8 Object allocated of type 'Transform'
9 Allocating an int[] after redefining Object class
11 Object allocated of type 'java.util.ArrayList'
13 Object allocated of type 'java.lang.Object'
[all …]
/art/test/635-checker-arm64-volatile-load-cc/src/
DMain.java19 static volatile Object s000, s001, s002, s003, s004, s005, s006, s007, s008, s009;
20 static volatile Object s010, s011, s012, s013, s014, s015, s016, s017, s018, s019;
21 static volatile Object s020, s021, s022, s023, s024, s025, s026, s027, s028, s029;
22 static volatile Object s030, s031, s032, s033, s034, s035, s036, s037, s038, s039;
23 static volatile Object s040, s041, s042, s043, s044, s045, s046, s047, s048, s049;
24 static volatile Object s050, s051, s052, s053, s054, s055, s056, s057, s058, s059;
25 static volatile Object s060, s061, s062, s063, s064, s065, s066, s067, s068, s069;
26 static volatile Object s070, s071, s072, s073, s074, s075, s076, s077, s078, s079;
27 static volatile Object s080, s081, s082, s083, s084, s085, s086, s087, s088, s089;
28 static volatile Object s090, s091, s092, s093, s094, s095, s096, s097, s098, s099;
[all …]
/art/runtime/arch/x86_64/
Dentrypoints_init_x86_64.cc33 extern "C" size_t art_quick_instance_of(mirror::Object* obj, mirror::Class* ref_class);
40 extern "C" mirror::Object* art_quick_read_barrier_mark_reg00(mirror::Object*);
41 extern "C" mirror::Object* art_quick_read_barrier_mark_reg01(mirror::Object*);
42 extern "C" mirror::Object* art_quick_read_barrier_mark_reg02(mirror::Object*);
43 extern "C" mirror::Object* art_quick_read_barrier_mark_reg03(mirror::Object*);
44 extern "C" mirror::Object* art_quick_read_barrier_mark_reg05(mirror::Object*);
45 extern "C" mirror::Object* art_quick_read_barrier_mark_reg06(mirror::Object*);
46 extern "C" mirror::Object* art_quick_read_barrier_mark_reg07(mirror::Object*);
47 extern "C" mirror::Object* art_quick_read_barrier_mark_reg08(mirror::Object*);
48 extern "C" mirror::Object* art_quick_read_barrier_mark_reg09(mirror::Object*);
[all …]
/art/runtime/arch/mips64/
Dentrypoints_init_mips64.cc36 extern "C" size_t artInstanceOfFromCode(mirror::Object* obj, mirror::Class* ref_class);
43 extern "C" mirror::Object* art_quick_read_barrier_mark_reg01(mirror::Object*);
44 extern "C" mirror::Object* art_quick_read_barrier_mark_reg02(mirror::Object*);
45 extern "C" mirror::Object* art_quick_read_barrier_mark_reg03(mirror::Object*);
46 extern "C" mirror::Object* art_quick_read_barrier_mark_reg04(mirror::Object*);
47 extern "C" mirror::Object* art_quick_read_barrier_mark_reg05(mirror::Object*);
48 extern "C" mirror::Object* art_quick_read_barrier_mark_reg06(mirror::Object*);
49 extern "C" mirror::Object* art_quick_read_barrier_mark_reg07(mirror::Object*);
50 extern "C" mirror::Object* art_quick_read_barrier_mark_reg08(mirror::Object*);
51 extern "C" mirror::Object* art_quick_read_barrier_mark_reg09(mirror::Object*);
[all …]
/art/runtime/arch/arm/
Dentrypoints_init_arm.cc35 extern "C" size_t artInstanceOfFromCode(mirror::Object* obj, mirror::Class* ref_class);
42 extern "C" mirror::Object* art_quick_read_barrier_mark_reg00(mirror::Object*);
43 extern "C" mirror::Object* art_quick_read_barrier_mark_reg01(mirror::Object*);
44 extern "C" mirror::Object* art_quick_read_barrier_mark_reg02(mirror::Object*);
45 extern "C" mirror::Object* art_quick_read_barrier_mark_reg03(mirror::Object*);
46 extern "C" mirror::Object* art_quick_read_barrier_mark_reg04(mirror::Object*);
47 extern "C" mirror::Object* art_quick_read_barrier_mark_reg05(mirror::Object*);
48 extern "C" mirror::Object* art_quick_read_barrier_mark_reg06(mirror::Object*);
49 extern "C" mirror::Object* art_quick_read_barrier_mark_reg07(mirror::Object*);
50 extern "C" mirror::Object* art_quick_read_barrier_mark_reg08(mirror::Object*);
[all …]
/art/test/088-monitor-verification/src/
DMain.java67 Object obj1 = new Object(); in main()
68 Object obj2 = new Object(); in main()
98 synchronized (new Object()) { in nestedMayThrow()
201 private void doNothing(Object obj) {} in doNothing()
207 public void triplet(Object obj1, Object obj2, int x) { in triplet()
208 Object localObj; in triplet()
227 runTest("OK", new Object[] { new Object(), new Object() }, null); in runSmaliTests()
228 runTest("TooDeep", new Object[] { new Object() }, null); in runSmaliTests()
229 runTest("NotStructuredOverUnlock", new Object[] { new Object() }, in runSmaliTests()
231 runTest("NotStructuredUnderUnlock", new Object[] { new Object() }, in runSmaliTests()
[all …]
/art/test/477-checker-bound-type/src/
DMain.java22 public static Object boundTypeForIf(Object a) { in boundTypeForIf()
32 public static Object boundTypeForInstanceOf(Object a) { in boundTypeForInstanceOf()
42 public static Object noBoundTypeForIf(Object a) { in noBoundTypeForIf()
44 return new Object(); in noBoundTypeForIf()
52 public static Object noBoundTypeForInstanceOf(Object a) { in noBoundTypeForInstanceOf()
54 return new Object(); in noBoundTypeForInstanceOf()
126 private static void BoundTypeNoLICM(Object obj) { in BoundTypeNoLICM()
/art/runtime/mirror/
Dobject-inl.h47 inline uint32_t Object::ClassSize(PointerSize pointer_size) { in ClassSize()
53 inline Class* Object::GetClass() { in GetClass()
58 inline void Object::SetClass(ObjPtr<Class> new_klass) { in SetClass()
69 inline void Object::SetLockWord(LockWord new_val, bool as_volatile) { in SetLockWord()
78 inline uint32_t Object::GetLockOwnerThreadId() { in GetLockOwnerThreadId()
82 inline ObjPtr<mirror::Object> Object::MonitorEnter(Thread* self) { in MonitorEnter()
86 inline ObjPtr<mirror::Object> Object::MonitorTryEnter(Thread* self) { in MonitorTryEnter()
90 inline bool Object::MonitorExit(Thread* self) { in MonitorExit()
94 inline void Object::Notify(Thread* self) { in Notify()
98 inline void Object::NotifyAll(Thread* self) { in NotifyAll()
[all …]
/art/test/168-vmstack-annotated/src/
DMain.java29 List<Object> locks;
32 public Runner(List<Object> locks, List<CyclicBarrier> barriers) { in Runner()
42 private void step(List<Object> l, List<CyclicBarrier> b) { in step()
51 Object lockObject = l.remove(0); in step()
75 Object lockObject2 = l.remove(0); in step()
115 LinkedList<Object> l1 = new LinkedList<>(); in testCluster1()
117 LinkedList<Object> l2 = new LinkedList<>(); in testCluster1()
120 Object o1 = new Object(); in testCluster1()
121 Object o2 = new Object(); in testCluster1()
122 Object o3 = new Object(); in testCluster1()
[all …]
/art/test/530-instanceof-checkcast/src/
DMain.java19 static Object exactCheck = new ExactCheck();
20 static Object abstractCheckImpl = new AbstractCheckImpl();
21 static Object interfaceCheckImpl = new InterfaceCheckImpl();
22 static Object normalCheck = new NormalCheck();
23 static Object regularObject = new Object();
24 static Object objectArray = new Object[2];
25 static Object intArray = new int[2];
26 static Object doubleArray = new double[2];
27 static Object exactArray = new ExactCheck[2];
28 static Object normalArray = new NormalCheck[2];
[all …]
/art/test/537-checker-arraycopy/src/
DMain.java22 arraycopy(new Object()); in main()
35 arraycopy(new Object[1]); in main()
41 arraycopy(new Object[2]); in main()
42 arraycopy(new Object[2], 0); in main()
45 arraycopy(new Object[1], 1); in main()
60 Object[] obj = new Object[4]; in arraycopy()
64 public static void arraycopy(Object obj) { in arraycopy()
73 public static void arraycopy(Object[] obj, int pos) { in arraycopy()
83 public static int arraycopy2(Object[] obj, int pos) { in arraycopy2()
94 public static int arraycopy3(Object[] obj1, Object[] obj2, int input1, int input3, int input4) { in arraycopy3()
/art/test/521-checker-array-set-null/src/
DMain.java19 testWithNull(new Object[2]); in main()
20 testWithUnknown(new Object[2], new Object()); in main()
21 testWithSame(new Object[2]); in main()
26 public static void testWithNull(Object[] o) { in testWithNull()
32 public static void testWithUnknown(Object[] o, Object obj) { in testWithUnknown()
38 public static void testWithSame(Object[] o) { in testWithSame()
/art/test/088-monitor-verification/smali/
DOK.smali3 .super Ljava/lang/Object;
5 .method public static run(Ljava/lang/Object;Ljava/lang/Object;)V
8 invoke-static {v1, v2}, LOK;->runNoMonitors(Ljava/lang/Object;Ljava/lang/Object;)V
10 invoke-static {v1, v2}, LOK;->runStraightLine(Ljava/lang/Object;Ljava/lang/Object;)V
12 invoke-static {v1, v2}, LOK;->runBalancedJoin(Ljava/lang/Object;Ljava/lang/Object;)V
20 .method public static runNoMonitors(Ljava/lang/Object;Ljava/lang/Object;)V
29 .method public static runStraightLine(Ljava/lang/Object;Ljava/lang/Object;)V
44 .method public static runBalancedJoin(Ljava/lang/Object;Ljava/lang/Object;)V
/art/test/563-checker-fakestring/src/
DMain.java47 String result = (String) m.invoke(null, new Object[] { testData }); in main()
52 c.getMethod("compareNewInstance").invoke(null, (Object[]) null); in main()
58 m.invoke(null, new Object[] { new int[] { 1, 2, 3 }, testData }); in main()
70 String result = (String) m.invoke(null, new Object[] { testData }); in main()
76 String result = (String) m.invoke(null, new Object[] { testData, true }); in main()
78 result = (String) m.invoke(null, new Object[] { testData, false }); in main()
83 String result = (String) m.invoke(null, new Object[] { testData, true }); in main()
85 result = (String) m.invoke(null, new Object[] { testData, false }); in main()
90 String result = (String) m.invoke(null, new Object[] { testData, true }); in main()
92 result = (String) m.invoke(null, new Object[] { testData, false }); in main()
[all …]
/art/test/903-hello-tagging/src/art/
DTest903.java31 WeakReference<Object> weak = test(); in doTest()
42 Object o = new Object(); in testTags()
47 private static WeakReference<Object> test() { in test()
48 Object o1 = new Object(); in test()
51 Object o2 = new Object(); in test()
72 return new WeakReference<Object>(o1); in test()
75 private static void checkTag(Object o, long expectedTag) { in checkTag()
85 ArrayList<Object> l = new ArrayList<>(); in testGetTaggedObjects()
102 private static void testGetTaggedObjectsRun(ArrayList<Object> l, long[] searchTags, in testGetTaggedObjectsRun()
104 Object[] result = getTaggedObjects(searchTags, returnObjects, returnTags); in testGetTaggedObjectsRun()
[all …]

12345678910>>...47