Home
last modified time | relevance | path

Searched refs:newValue (Results 1 – 6 of 6) sorted by relevance

/art/runtime/native/
Dsun_misc_Unsafe.cc40 jint expectedValue, jint newValue) { in Unsafe_compareAndSwapInt() argument
46 newValue); in Unsafe_compareAndSwapInt()
51 jlong expectedValue, jlong newValue) { in Unsafe_compareAndSwapLong() argument
57 newValue); in Unsafe_compareAndSwapLong()
66 ObjPtr<mirror::Object> newValue = soa.Decode<mirror::Object>(javaNewValue); in Unsafe_compareAndSwapObject() local
83 newValue); in Unsafe_compareAndSwapObject()
99 static void Unsafe_putInt(JNIEnv* env, jobject, jobject javaObj, jlong offset, jint newValue) { in Unsafe_putInt() argument
103 obj->SetField32<false>(MemberOffset(offset), newValue); in Unsafe_putInt()
107 jint newValue) { in Unsafe_putIntVolatile() argument
111 obj->SetField32Volatile<false>(MemberOffset(offset), newValue); in Unsafe_putIntVolatile()
[all …]
/art/test/141-class-unload/src-ex/
DIntHolder.java22 public static void setValue(int newValue) { in setValue() argument
23 value = newValue; in setValue()
/art/test/004-checker-UnsafeTest18/src/
DMain.java53 private static int set32(Object o, long offset, int newValue) { in set32() argument
54 return unsafe.getAndSetInt(o, offset, newValue); in set32()
60 private static long set64(Object o, long offset, long newValue) { in set64() argument
61 return unsafe.getAndSetLong(o, offset, newValue); in set64()
67 private static Object setObj(Object o, long offset, Object newValue) { in setObj() argument
68 return unsafe.getAndSetObject(o, offset, newValue); in setObj()
/art/test/712-varhandle-invocations/src/
DVarHandleTypeConversionTests.java76 Boolean newValue = null; in doTest() local
78 vh.getAndSet(newValue); in doTest()
104 Byte newValue = null; in doTest() local
106 vh.getAndSet(this, newValue); in doTest()
131 Character newValue = null; in doTest() local
133 vh.getAndSet(values, 0, newValue); in doTest()
160 Short newValue = null; in doTest() local
162 vh.set(bytes, index, newValue); in doTest()
188 Integer newValue = null; in doTest() local
190 vh.setVolatile(bytes, index, newValue); in doTest()
[all …]
/art/runtime/interpreter/
Dunstarted_runtime.cc1443 int64_t newValue = shadow_frame->GetVRegLong(arg_offset + 6); in UnstartedUnsafeCompareAndSwapLong() local
1449 newValue); in UnstartedUnsafeCompareAndSwapLong()
1453 newValue); in UnstartedUnsafeCompareAndSwapLong()
1468 mirror::Object* newValue = shadow_frame->GetVRegReference(arg_offset + 5); in UnstartedUnsafeCompareAndSwapObject() local
1491 newValue); in UnstartedUnsafeCompareAndSwapObject()
1495 newValue); in UnstartedUnsafeCompareAndSwapObject()
1542 mirror::Object* newValue = shadow_frame->GetVRegReference(arg_offset + 4); in UnstartedUnsafePutOrderedObject() local
1545 obj->SetFieldObject<true>(MemberOffset(offset), newValue); in UnstartedUnsafePutOrderedObject()
1547 obj->SetFieldObject<false>(MemberOffset(offset), newValue); in UnstartedUnsafePutOrderedObject()
1856 jint newValue = args[4]; in UnstartedJNIUnsafeCompareAndSwapInt() local
[all …]
/art/test/959-invoke-polymorphic-accessors/src/
DMain.java964 int newValue = savedValue + 1; in main() local
965 MethodHandles.lookup().unreflectSetter(f).invokeExact(newValue); in main()
966 assertEquals(newValue, (int) MethodHandles.lookup().unreflectGetter(f).invokeExact() in main()