Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DMemoryFile.java51 int srcOffset, int destOffset, int count, boolean isUnpinned) throws IOException; in native_read() argument
53 int srcOffset, int destOffset, int count, boolean isUnpinned) throws IOException; in native_write() argument
198 public int readBytes(byte[] buffer, int srcOffset, int destOffset, int count) in readBytes() argument
203 if (destOffset < 0 || destOffset > buffer.length || count < 0 in readBytes()
204 || count > buffer.length - destOffset in readBytes()
209 return native_read(mFD, mAddress, buffer, srcOffset, destOffset, count, mAllowPurging); in readBytes()
222 public void writeBytes(byte[] buffer, int srcOffset, int destOffset, int count) in writeBytes() argument
229 || destOffset < 0 || destOffset > mLength in writeBytes()
230 || count > mLength - destOffset) { in writeBytes()
233 native_write(mFD, mAddress, buffer, srcOffset, destOffset, count, mAllowPurging); in writeBytes()
/frameworks/base/core/jni/
Dandroid_os_MemoryFile.cpp74 jobject fileDescriptor, jlong address, jbyteArray buffer, jint srcOffset, jint destOffset, in android_os_MemoryFile_read() argument
84 env->SetByteArrayRegion(buffer, destOffset, count, (const jbyte *)address + srcOffset); in android_os_MemoryFile_read()
93 jobject fileDescriptor, jlong address, jbyteArray buffer, jint srcOffset, jint destOffset, in android_os_MemoryFile_write() argument
103 env->GetByteArrayRegion(buffer, srcOffset, count, (jbyte *)address + destOffset); in android_os_MemoryFile_write()
/frameworks/native/vulkan/nulldrv/
Dnull_driver.cpp1337 void CmdUpdateBuffer(VkCommandBuffer cmdBuffer, VkBuffer destBuffer, VkDeviceSize destOffset, VkDev… in CmdUpdateBuffer() argument
1340 void CmdFillBuffer(VkCommandBuffer cmdBuffer, VkBuffer destBuffer, VkDeviceSize destOffset, VkDevic… in CmdFillBuffer() argument
1379 …2_t startQuery, uint32_t queryCount, VkBuffer destBuffer, VkDeviceSize destOffset, VkDeviceSize de… in CmdCopyQueryPoolResults() argument