Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/libcore/io/
DBridgeBufferIterator.java55 public void readByteArray(byte[] dst, int dstOffset, int byteCount) { in readByteArray() argument
56 assert dst.length >= dstOffset + byteCount; in readByteArray()
57 mByteBuffer.get(dst, dstOffset, byteCount); in readByteArray()
71 public void readIntArray(int[] dst, int dstOffset, int intCount) { in readIntArray() argument
73 dst[dstOffset++] = mByteBuffer.getInt(); in readIntArray()
78 public void readLongArray(long[] dst, int dstOffset, int longCount) { in readLongArray() argument
80 dst[dstOffset++] = mByteBuffer.getLong(); in readLongArray()
/frameworks/base/keystore/java/android/security/keystore/
DArrayUtils.java69 public static int copy(byte[] src, int srcOffset, byte[] dst, int dstOffset, int length) { in copy() argument
73 if (length > dst.length - dstOffset) { in copy()
74 length = dst.length - dstOffset; in copy()
82 System.arraycopy(src, srcOffset, dst, dstOffset, length); in copy()
/frameworks/base/media/java/android/media/
DImageUtils.java154 int dstOffset = dstBuffer.position(); in imageCopy() local
167 directByteBufferCopy(srcBuffer, srcOffset, dstBuffer, dstOffset, srcByteCount); in imageCopy()
169 dstOffset += dstRowStride; in imageCopy()
278 ByteBuffer dstBuffer, int dstOffset, int srcByteCount) { in directByteBufferCopy() argument
279 Memory.memmove(dstBuffer, dstOffset, srcBuffer, srcOffset, srcByteCount); in directByteBufferCopy()
DMediaDescrambler.java251 ByteBuffer dstBuf, int dstOffset, int dstLimit) throws RemoteException; in native_descramble() argument
/frameworks/av/media/libstagefright/rtsp/
DAAMRAssembler.cpp189 size_t dstOffset = 0; in addPacket() local
204 accessUnit->data()[dstOffset++] = toc; in addPacket()
205 memcpy(accessUnit->data() + dstOffset, in addPacket()
209 dstOffset += frameSize - 1; in addPacket()
DARTPWriter.cpp799 size_t dstOffset = 13; in sendAMRData() local
810 data[dstOffset++] = toc; in sendAMRData()
820 memcpy(&data[dstOffset], &mediaData[srcOffset], frameSize - 1); in sendAMRData()
822 dstOffset += frameSize - 1; in sendAMRData()
825 buffer->setRange(0, dstOffset); in sendAMRData()
/frameworks/base/media/jni/
Dandroid_media_MediaDescrambler.cpp60 jint dstOffset,
209 jint dstOffset, in descramble() argument
251 memcpy((void*)((uint8_t*)dstPtr + dstOffset), mMem->pointer(), *bytesWritten); in descramble()
380 jobject dstBuf, jint dstOffset, jint dstLimit) { in android_media_MediaDescrambler_native_descramble() argument
408 env, dstBuf, dstOffset, dstLimit, totalLength, &dstPtr, &dstArray); in android_media_MediaDescrambler_native_descramble()
430 srcPtr, srcOffset, dstPtr, dstOffset, in android_media_MediaDescrambler_native_descramble()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp5921 size_t dstOffset = 0; in read() local
5924 dstData[dstOffset++] = 0xAC; in read()
5925 dstData[dstOffset++] = 0x40; in read()
5926 dstData[dstOffset++] = 0xFF; in read()
5927 dstData[dstOffset++] = 0xFF; in read()
5928 dstData[dstOffset++] = (uint8_t)((size >> 16) & 0xFF); in read()
5929 dstData[dstOffset++] = (uint8_t)((size >> 8) & 0xFF); in read()
5930 dstData[dstOffset++] = (uint8_t)((size >> 0) & 0xFF); in read()
5932 ssize_t numBytesRead = mDataSource->readAt(offset, dstData + dstOffset, size); in read()
5940 mBuffer->set_range(0, dstOffset + size); in read()
[all …]
/frameworks/native/headers/media_plugin/media/cas/
DDescramblerAPI.h95 int32_t dstOffset,
/frameworks/av/drm/mediacas/plugins/mock/
DMockCasPlugin.cpp254 int32_t dstOffset, in descramble() argument
260 srcPtr, dstPtr, srcOffset, dstOffset); in descramble()
DMockCasPlugin.h127 int32_t dstOffset,
/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp1401 size_t dstOffset = 0; in dequeueAccessUnitH264() local
1415 seiPos.nalOffset = dstOffset + 4; in dequeueAccessUnitH264()
1428 memcpy(accessUnit->data() + dstOffset, "\x00\x00\x00\x01", 4); in dequeueAccessUnitH264()
1434 memcpy(accessUnit->data() + dstOffset + 4, in dequeueAccessUnitH264()
1437 dstOffset += newSize + 4; in dequeueAccessUnitH264()
1446 memcpy(accessUnit->data() + dstOffset + 4, in dequeueAccessUnitH264()
1450 dstOffset += pos.nalSize + 4; in dequeueAccessUnitH264()
1498 dstOffset, nals.size(), totalSize); in dequeueAccessUnitH264()
/frameworks/av/drm/mediacas/plugins/clearkey/
DClearKeyCasPlugin.cpp500 int32_t dstOffset, in descramble() argument
507 srcPtr, dstPtr, srcOffset, dstOffset); in descramble()
520 dstPtr == NULL ? NULL : ((uint8_t*)dstPtr + dstOffset), in descramble()
DClearKeyCasPlugin.h137 int32_t dstOffset,
/frameworks/native/vulkan/libvulkan/
Dapi_gen.cpp462 …eBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize da…
463 …lBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize si…
476 …t32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize st…
1236 …eBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize da… in CmdUpdateBuffer() argument
1237 …GetData(commandBuffer).dispatch.CmdUpdateBuffer(commandBuffer, dstBuffer, dstOffset, dataSize, pDa… in CmdUpdateBuffer()
1240 …lBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize si… in CmdFillBuffer() argument
1241 GetData(commandBuffer).dispatch.CmdFillBuffer(commandBuffer, dstBuffer, dstOffset, size, data); in CmdFillBuffer()
1292 …t32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize st… in CmdCopyQueryPoolResults() argument
1293 …PoolResults(commandBuffer, queryPool, firstQuery, queryCount, dstBuffer, dstOffset, stride, flags); in CmdCopyQueryPoolResults()
2088 …eBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize da… in vkCmdUpdateBuffer() argument
[all …]
/frameworks/native/vulkan/nulldrv/
Dnull_driver_gen.h148 …eBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize da…
149 …lBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize si…
162 …t32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize st…
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp1129 size_t dstOffset = 0; in read() local
1151 memcpy(&dstPtr[dstOffset], "\x00\x00\x00\x01", 4); in read()
1154 memcpy(&dstPtr[dstOffset + 4], in read()
1160 dstOffset += 4; // 0x00 00 00 01 in read()
1161 dstOffset += NALsize; in read()
1177 dstSize = dstOffset; in read()
/frameworks/native/vulkan/api/
Dvulkan.api3967 VkDeviceSize dstOffset /// Specified in bytes
4032 …VkOffset3D dstOffset /// Specified in pixels for both…
4056 VkOffset3D dstOffset
9671 VkDeviceSize dstOffset,
9689 VkDeviceSize dstOffset,
9928 VkDeviceSize dstOffset,
11776 VkDeviceSize dstOffset,