Home
last modified time | relevance | path

Searched refs:intOffset (Results 1 – 2 of 2) sorted by relevance

/art/test/004-UnsafeTest/src/
DMain.java90 long intOffset = unsafe.objectFieldOffset(intField); in main() local
91 check(unsafe.getInt(t, intOffset), 0, "Unsafe.getInt(Object, long) - initial"); in main()
92 unsafe.putInt(t, intOffset, intValue); in main()
94 check(unsafe.getInt(t, intOffset), intValue, "Unsafe.getInt(Object, long)"); in main()
112 if (unsafe.compareAndSwapInt(t, intOffset, 0, 1)) { in main()
115 if (!unsafe.compareAndSwapInt(t, intOffset, intValue, 0)) { in main()
119 if (!unsafe.compareAndSwapInt(t, intOffset, 0, 1)) { in main()
124 if (!unsafe.compareAndSwapInt(t, intOffset, 1, 1)) { in main()
/art/test/004-checker-UnsafeTest18/src/
DMain.java165 final long intOffset, longOffset, objOffset; in main() local
171 intOffset = unsafe.objectFieldOffset(intField); in main()
181 set32(m, intOffset, 3); in main()
190 add32(m, intOffset, 11); in main()
201 set32(m, intOffset, i); in main()
230 add32(m, intOffset, i + 1); in main()