Home
last modified time | relevance | path

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

/libcore/luni/src/main/native/
Dlibcore_io_Memory.cpp100 ScopedBytesRO srcBytes(env, srcObject); in Memory_memmove() local
101 if (srcBytes.get() == NULL) { in Memory_memmove()
104 memmove(dstBytes.get() + dstOffset, srcBytes.get() + srcOffset, length); in Memory_memmove()
260 ScopedByteArrayRO srcBytes(env, srcArray); in Memory_unsafeBulkGet() local
261 if (srcBytes.get() == NULL) { in Memory_unsafeBulkGet()
270 const jbyte* src = srcBytes.get() + srcOffset; in Memory_unsafeBulkGet()
282 jbyte* srcBytes = reinterpret_cast<jbyte*>(env->GetPrimitiveArrayCritical(srcArray, NULL)); in Memory_unsafeBulkPut() local
283 if (srcBytes == NULL) { in Memory_unsafeBulkPut()
287 const jbyte* src = srcBytes + srcOffset*sizeofElement; in Memory_unsafeBulkPut()
289 env->ReleasePrimitiveArrayCritical(srcArray, srcBytes, 0); in Memory_unsafeBulkPut()