Lines Matching refs:address

245 static void Unsafe_freeMemory(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) {  in Unsafe_freeMemory()  argument
246 free(reinterpret_cast<void*>(static_cast<uintptr_t>(address))); in Unsafe_freeMemory()
249 static void Unsafe_setMemory(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jlong bytes, jby… in Unsafe_setMemory() argument
250 memset(reinterpret_cast<void*>(static_cast<uintptr_t>(address)), value, bytes); in Unsafe_setMemory()
253 static jbyte Unsafe_getByteJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { in Unsafe_getByteJ() argument
254 return *reinterpret_cast<jbyte*>(address); in Unsafe_getByteJ()
257 static void Unsafe_putByteJB(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jbyte value) { in Unsafe_putByteJB() argument
258 *reinterpret_cast<jbyte*>(address) = value; in Unsafe_putByteJB()
261 static jshort Unsafe_getShortJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { in Unsafe_getShortJ() argument
262 return *reinterpret_cast<jshort*>(address); in Unsafe_getShortJ()
265 static void Unsafe_putShortJS(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jshort value) { in Unsafe_putShortJS() argument
266 *reinterpret_cast<jshort*>(address) = value; in Unsafe_putShortJS()
269 static jchar Unsafe_getCharJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { in Unsafe_getCharJ() argument
270 return *reinterpret_cast<jchar*>(address); in Unsafe_getCharJ()
273 static void Unsafe_putCharJC(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jchar value) { in Unsafe_putCharJC() argument
274 *reinterpret_cast<jchar*>(address) = value; in Unsafe_putCharJC()
277 static jint Unsafe_getIntJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { in Unsafe_getIntJ() argument
278 return *reinterpret_cast<jint*>(address); in Unsafe_getIntJ()
281 static void Unsafe_putIntJI(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jint value) { in Unsafe_putIntJI() argument
282 *reinterpret_cast<jint*>(address) = value; in Unsafe_putIntJI()
285 static jlong Unsafe_getLongJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { in Unsafe_getLongJ() argument
286 return *reinterpret_cast<jlong*>(address); in Unsafe_getLongJ()
289 static void Unsafe_putLongJJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jlong value) { in Unsafe_putLongJJ() argument
290 *reinterpret_cast<jlong*>(address) = value; in Unsafe_putLongJJ()
293 static jfloat Unsafe_getFloatJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { in Unsafe_getFloatJ() argument
294 return *reinterpret_cast<jfloat*>(address); in Unsafe_getFloatJ()
297 static void Unsafe_putFloatJF(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jfloat value) { in Unsafe_putFloatJF() argument
298 *reinterpret_cast<jfloat*>(address) = value; in Unsafe_putFloatJF()
300 static jdouble Unsafe_getDoubleJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { in Unsafe_getDoubleJ() argument
301 return *reinterpret_cast<jdouble*>(address); in Unsafe_getDoubleJ()
304 static void Unsafe_putDoubleJD(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jdouble value)… in Unsafe_putDoubleJD() argument
305 *reinterpret_cast<jdouble*>(address) = value; in Unsafe_putDoubleJD()