Lines Matching refs:env

41 static jboolean Unsafe_compareAndSwapInt(JNIEnv* env, jobject, jobject javaObj, jlong offset,  in Unsafe_compareAndSwapInt()  argument
43 ScopedFastNativeObjectAccess soa(env); in Unsafe_compareAndSwapInt()
54 static jboolean Unsafe_compareAndSwapLong(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_compareAndSwapLong() argument
56 ScopedFastNativeObjectAccess soa(env); in Unsafe_compareAndSwapLong()
65 static jboolean Unsafe_compareAndSwapObject(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_compareAndSwapObject() argument
67 ScopedFastNativeObjectAccess soa(env); in Unsafe_compareAndSwapObject()
93 static jint Unsafe_getInt(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getInt() argument
94 ScopedFastNativeObjectAccess soa(env); in Unsafe_getInt()
99 static jint Unsafe_getIntVolatile(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getIntVolatile() argument
100 ScopedFastNativeObjectAccess soa(env); in Unsafe_getIntVolatile()
105 static void Unsafe_putInt(JNIEnv* env, jobject, jobject javaObj, jlong offset, jint newValue) { in Unsafe_putInt() argument
106 ScopedFastNativeObjectAccess soa(env); in Unsafe_putInt()
112 static void Unsafe_putIntVolatile(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_putIntVolatile() argument
114 ScopedFastNativeObjectAccess soa(env); in Unsafe_putIntVolatile()
120 static void Unsafe_putOrderedInt(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_putOrderedInt() argument
122 ScopedFastNativeObjectAccess soa(env); in Unsafe_putOrderedInt()
130 static jlong Unsafe_getLong(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getLong() argument
131 ScopedFastNativeObjectAccess soa(env); in Unsafe_getLong()
136 static jlong Unsafe_getLongVolatile(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getLongVolatile() argument
137 ScopedFastNativeObjectAccess soa(env); in Unsafe_getLongVolatile()
142 static void Unsafe_putLong(JNIEnv* env, jobject, jobject javaObj, jlong offset, jlong newValue) { in Unsafe_putLong() argument
143 ScopedFastNativeObjectAccess soa(env); in Unsafe_putLong()
149 static void Unsafe_putLongVolatile(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_putLongVolatile() argument
151 ScopedFastNativeObjectAccess soa(env); in Unsafe_putLongVolatile()
157 static void Unsafe_putOrderedLong(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_putOrderedLong() argument
159 ScopedFastNativeObjectAccess soa(env); in Unsafe_putOrderedLong()
166 static jobject Unsafe_getObjectVolatile(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getObjectVolatile() argument
167 ScopedFastNativeObjectAccess soa(env); in Unsafe_getObjectVolatile()
173 static jobject Unsafe_getObject(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getObject() argument
174 ScopedFastNativeObjectAccess soa(env); in Unsafe_getObject()
180 static void Unsafe_putObject(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_putObject() argument
182 ScopedFastNativeObjectAccess soa(env); in Unsafe_putObject()
189 static void Unsafe_putObjectVolatile(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_putObjectVolatile() argument
191 ScopedFastNativeObjectAccess soa(env); in Unsafe_putObjectVolatile()
198 static void Unsafe_putOrderedObject(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_putOrderedObject() argument
200 ScopedFastNativeObjectAccess soa(env); in Unsafe_putOrderedObject()
208 static jint Unsafe_getArrayBaseOffsetForComponentType(JNIEnv* env, jclass, jclass component_class) { in Unsafe_getArrayBaseOffsetForComponentType() argument
209 ScopedFastNativeObjectAccess soa(env); in Unsafe_getArrayBaseOffsetForComponentType()
215 static jint Unsafe_getArrayIndexScaleForComponentType(JNIEnv* env, jclass, jclass component_class) { in Unsafe_getArrayIndexScaleForComponentType() argument
216 ScopedFastNativeObjectAccess soa(env); in Unsafe_getArrayIndexScaleForComponentType()
222 static jint Unsafe_addressSize(JNIEnv* env ATTRIBUTE_UNUSED, jobject ob ATTRIBUTE_UNUSED) { in Unsafe_addressSize()
226 static jint Unsafe_pageSize(JNIEnv* env ATTRIBUTE_UNUSED, jobject ob ATTRIBUTE_UNUSED) { in Unsafe_pageSize()
230 static jlong Unsafe_allocateMemory(JNIEnv* env, jobject, jlong bytes) { in Unsafe_allocateMemory() argument
231 ScopedFastNativeObjectAccess soa(env); in Unsafe_allocateMemory()
245 static void Unsafe_freeMemory(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { in Unsafe_freeMemory()
249 static void Unsafe_setMemory(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jlong bytes, jby… in Unsafe_setMemory()
253 static jbyte Unsafe_getByteJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { in Unsafe_getByteJ()
257 static void Unsafe_putByteJB(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jbyte value) { in Unsafe_putByteJB()
261 static jshort Unsafe_getShortJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { in Unsafe_getShortJ()
265 static void Unsafe_putShortJS(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jshort value) { in Unsafe_putShortJS()
269 static jchar Unsafe_getCharJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { in Unsafe_getCharJ()
273 static void Unsafe_putCharJC(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jchar value) { in Unsafe_putCharJC()
277 static jint Unsafe_getIntJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { in Unsafe_getIntJ()
281 static void Unsafe_putIntJI(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jint value) { in Unsafe_putIntJI()
285 static jlong Unsafe_getLongJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { in Unsafe_getLongJ()
289 static void Unsafe_putLongJJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jlong value) { in Unsafe_putLongJJ()
293 static jfloat Unsafe_getFloatJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { in Unsafe_getFloatJ()
297 static void Unsafe_putFloatJF(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jfloat value) { in Unsafe_putFloatJF()
300 static jdouble Unsafe_getDoubleJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { in Unsafe_getDoubleJ()
304 static void Unsafe_putDoubleJD(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jdouble value)… in Unsafe_putDoubleJD()
308 static void Unsafe_copyMemory(JNIEnv *env, jobject unsafe ATTRIBUTE_UNUSED, jlong src, in Unsafe_copyMemory() argument
315 ScopedFastNativeObjectAccess soa(env); in Unsafe_copyMemory()
350 static void Unsafe_copyMemoryToPrimitiveArray(JNIEnv *env, in Unsafe_copyMemoryToPrimitiveArray() argument
356 ScopedObjectAccess soa(env); in Unsafe_copyMemoryToPrimitiveArray()
385 static void Unsafe_copyMemoryFromPrimitiveArray(JNIEnv *env, in Unsafe_copyMemoryFromPrimitiveArray() argument
391 ScopedObjectAccess soa(env); in Unsafe_copyMemoryFromPrimitiveArray()
419 static jboolean Unsafe_getBoolean(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getBoolean() argument
420 ScopedFastNativeObjectAccess soa(env); in Unsafe_getBoolean()
425 static void Unsafe_putBoolean(JNIEnv* env, jobject, jobject javaObj, jlong offset, jboolean newValu… in Unsafe_putBoolean() argument
426 ScopedFastNativeObjectAccess soa(env); in Unsafe_putBoolean()
432 static jbyte Unsafe_getByte(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getByte() argument
433 ScopedFastNativeObjectAccess soa(env); in Unsafe_getByte()
438 static void Unsafe_putByte(JNIEnv* env, jobject, jobject javaObj, jlong offset, jbyte newValue) { in Unsafe_putByte() argument
439 ScopedFastNativeObjectAccess soa(env); in Unsafe_putByte()
445 static jchar Unsafe_getChar(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getChar() argument
446 ScopedFastNativeObjectAccess soa(env); in Unsafe_getChar()
451 static void Unsafe_putChar(JNIEnv* env, jobject, jobject javaObj, jlong offset, jchar newValue) { in Unsafe_putChar() argument
452 ScopedFastNativeObjectAccess soa(env); in Unsafe_putChar()
458 static jshort Unsafe_getShort(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getShort() argument
459 ScopedFastNativeObjectAccess soa(env); in Unsafe_getShort()
464 static void Unsafe_putShort(JNIEnv* env, jobject, jobject javaObj, jlong offset, jshort newValue) { in Unsafe_putShort() argument
465 ScopedFastNativeObjectAccess soa(env); in Unsafe_putShort()
471 static jfloat Unsafe_getFloat(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getFloat() argument
472 ScopedFastNativeObjectAccess soa(env); in Unsafe_getFloat()
479 static void Unsafe_putFloat(JNIEnv* env, jobject, jobject javaObj, jlong offset, jfloat newValue) { in Unsafe_putFloat() argument
480 ScopedFastNativeObjectAccess soa(env); in Unsafe_putFloat()
488 static jdouble Unsafe_getDouble(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getDouble() argument
489 ScopedFastNativeObjectAccess soa(env); in Unsafe_getDouble()
496 static void Unsafe_putDouble(JNIEnv* env, jobject, jobject javaObj, jlong offset, jdouble newValue)… in Unsafe_putDouble() argument
497 ScopedFastNativeObjectAccess soa(env); in Unsafe_putDouble()
517 static void Unsafe_park(JNIEnv* env, jobject, jboolean isAbsolute, jlong time) { in Unsafe_park() argument
518 ScopedObjectAccess soa(env); in Unsafe_park()
522 static void Unsafe_unpark(JNIEnv* env, jobject, jobject jthread) { in Unsafe_unpark() argument
523 art::ScopedFastNativeObjectAccess soa(env); in Unsafe_unpark()
524 if (jthread == nullptr || !env->IsInstanceOf(jthread, WellKnownClasses::java_lang_Thread)) { in Unsafe_unpark()
612 void register_sun_misc_Unsafe(JNIEnv* env) { in register_sun_misc_Unsafe() argument