• Home
  • Raw
  • Download

Lines Matching refs:offset

41 static jboolean Unsafe_compareAndSwapInt(JNIEnv* env, jobject, jobject javaObj, jlong offset,  in Unsafe_compareAndSwapInt()  argument
46 bool success = obj->CasField32<false>(MemberOffset(offset), in Unsafe_compareAndSwapInt()
54 static jboolean Unsafe_compareAndSwapLong(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_compareAndSwapLong() argument
59 bool success = obj->CasFieldStrongSequentiallyConsistent64<false>(MemberOffset(offset), in Unsafe_compareAndSwapLong()
65 static jboolean Unsafe_compareAndSwapObject(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_compareAndSwapObject() argument
78 reinterpret_cast<uint8_t*>(obj.Ptr()) + static_cast<size_t>(offset)); in Unsafe_compareAndSwapObject()
82 MemberOffset(offset), in Unsafe_compareAndSwapObject()
85 bool success = obj->CasFieldObject<false>(MemberOffset(offset), in Unsafe_compareAndSwapObject()
93 static jint Unsafe_getInt(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getInt() argument
96 return obj->GetField32(MemberOffset(offset)); in Unsafe_getInt()
99 static jint Unsafe_getIntVolatile(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getIntVolatile() argument
102 return obj->GetField32Volatile(MemberOffset(offset)); in Unsafe_getIntVolatile()
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()
112 static void Unsafe_putIntVolatile(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_putIntVolatile() argument
117 obj->SetField32Volatile<false>(MemberOffset(offset), newValue); in Unsafe_putIntVolatile()
120 static void Unsafe_putOrderedInt(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_putOrderedInt() argument
127 obj->SetField32<false>(MemberOffset(offset), newValue); in Unsafe_putOrderedInt()
130 static jlong Unsafe_getLong(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getLong() argument
133 return obj->GetField64(MemberOffset(offset)); in Unsafe_getLong()
136 static jlong Unsafe_getLongVolatile(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getLongVolatile() argument
139 return obj->GetField64Volatile(MemberOffset(offset)); in Unsafe_getLongVolatile()
142 static void Unsafe_putLong(JNIEnv* env, jobject, jobject javaObj, jlong offset, jlong newValue) { in Unsafe_putLong() argument
146 obj->SetField64<false>(MemberOffset(offset), newValue); in Unsafe_putLong()
149 static void Unsafe_putLongVolatile(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_putLongVolatile() argument
154 obj->SetField64Volatile<false>(MemberOffset(offset), newValue); in Unsafe_putLongVolatile()
157 static void Unsafe_putOrderedLong(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_putOrderedLong() argument
163 obj->SetField64<false>(MemberOffset(offset), newValue); in Unsafe_putOrderedLong()
166 static jobject Unsafe_getObjectVolatile(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getObjectVolatile() argument
169 ObjPtr<mirror::Object> value = obj->GetFieldObjectVolatile<mirror::Object>(MemberOffset(offset)); in Unsafe_getObjectVolatile()
173 static jobject Unsafe_getObject(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getObject() argument
176 ObjPtr<mirror::Object> value = obj->GetFieldObject<mirror::Object>(MemberOffset(offset)); in Unsafe_getObject()
180 static void Unsafe_putObject(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_putObject() argument
186 obj->SetFieldObject<false>(MemberOffset(offset), newValue); in Unsafe_putObject()
189 static void Unsafe_putObjectVolatile(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_putObjectVolatile() argument
195 obj->SetFieldObjectVolatile<false>(MemberOffset(offset), newValue); in Unsafe_putObjectVolatile()
198 static void Unsafe_putOrderedObject(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_putOrderedObject() argument
205 obj->SetFieldObject<false>(MemberOffset(offset), newValue); in Unsafe_putOrderedObject()
419 static jboolean Unsafe_getBoolean(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getBoolean() argument
422 return obj->GetFieldBoolean(MemberOffset(offset)); in Unsafe_getBoolean()
425 static void Unsafe_putBoolean(JNIEnv* env, jobject, jobject javaObj, jlong offset, jboolean newValu… in Unsafe_putBoolean() argument
429 obj->SetFieldBoolean<false>(MemberOffset(offset), newValue); in Unsafe_putBoolean()
432 static jbyte Unsafe_getByte(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getByte() argument
435 return obj->GetFieldByte(MemberOffset(offset)); in Unsafe_getByte()
438 static void Unsafe_putByte(JNIEnv* env, jobject, jobject javaObj, jlong offset, jbyte newValue) { in Unsafe_putByte() argument
442 obj->SetFieldByte<false>(MemberOffset(offset), newValue); in Unsafe_putByte()
445 static jchar Unsafe_getChar(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getChar() argument
448 return obj->GetFieldChar(MemberOffset(offset)); in Unsafe_getChar()
451 static void Unsafe_putChar(JNIEnv* env, jobject, jobject javaObj, jlong offset, jchar newValue) { in Unsafe_putChar() argument
455 obj->SetFieldChar<false>(MemberOffset(offset), newValue); in Unsafe_putChar()
458 static jshort Unsafe_getShort(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getShort() argument
461 return obj->GetFieldShort(MemberOffset(offset)); in Unsafe_getShort()
464 static void Unsafe_putShort(JNIEnv* env, jobject, jobject javaObj, jlong offset, jshort newValue) { in Unsafe_putShort() argument
468 obj->SetFieldShort<false>(MemberOffset(offset), newValue); in Unsafe_putShort()
471 static jfloat Unsafe_getFloat(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getFloat() argument
475 conv.val = obj->GetField32(MemberOffset(offset)); in Unsafe_getFloat()
479 static void Unsafe_putFloat(JNIEnv* env, jobject, jobject javaObj, jlong offset, jfloat newValue) { in Unsafe_putFloat() argument
485 obj->SetField32<false>(MemberOffset(offset), conv.converted); in Unsafe_putFloat()
488 static jdouble Unsafe_getDouble(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getDouble() argument
492 conv.val = obj->GetField64(MemberOffset(offset)); in Unsafe_getDouble()
496 static void Unsafe_putDouble(JNIEnv* env, jobject, jobject javaObj, jlong offset, jdouble newValue)… in Unsafe_putDouble() argument
502 obj->SetField64<false>(MemberOffset(offset), conv.converted); in Unsafe_putDouble()