Home
last modified time | relevance | path

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

/art/runtime/native/
Dsun_misc_Unsafe.cc42 jint expectedValue, jint newValue) { in Unsafe_compareAndSwapInt() argument
48 newValue, in Unsafe_compareAndSwapInt()
55 jlong expectedValue, jlong newValue) { in Unsafe_compareAndSwapLong() argument
61 newValue); in Unsafe_compareAndSwapLong()
70 ObjPtr<mirror::Object> newValue = soa.Decode<mirror::Object>(javaNewValue); in Unsafe_compareAndSwapObject() local
87 newValue, in Unsafe_compareAndSwapObject()
105 static void Unsafe_putInt(JNIEnv* env, jobject, jobject javaObj, jlong offset, jint newValue) { in Unsafe_putInt() argument
109 obj->SetField32<false>(MemberOffset(offset), newValue); in Unsafe_putInt()
113 jint newValue) { in Unsafe_putIntVolatile() argument
117 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.cc1457 int64_t newValue = shadow_frame->GetVRegLong(arg_offset + 6); in UnstartedUnsafeCompareAndSwapLong() local
1463 newValue); in UnstartedUnsafeCompareAndSwapLong()
1467 newValue); in UnstartedUnsafeCompareAndSwapLong()
1482 mirror::Object* newValue = shadow_frame->GetVRegReference(arg_offset + 5); in UnstartedUnsafeCompareAndSwapObject() local
1505 newValue, in UnstartedUnsafeCompareAndSwapObject()
1511 newValue, in UnstartedUnsafeCompareAndSwapObject()
1560 mirror::Object* newValue = shadow_frame->GetVRegReference(arg_offset + 4); in UnstartedUnsafePutOrderedObject() local
1563 obj->SetFieldObject<true>(MemberOffset(offset), newValue); in UnstartedUnsafePutOrderedObject()
1565 obj->SetFieldObject<false>(MemberOffset(offset), newValue); in UnstartedUnsafePutOrderedObject()
1891 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()