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.java79 public static int copy(byte[] src, int srcOffset, byte[] dst, int dstOffset, int length) { in copy() argument
83 if (length > dst.length - dstOffset) { in copy()
84 length = dst.length - dstOffset; in copy()
92 System.arraycopy(src, srcOffset, dst, dstOffset, length); in copy()
/frameworks/av/media/libstagefright/rtsp/
DAAMRAssembler.cpp188 size_t dstOffset = 0; in addPacket() local
203 accessUnit->data()[dstOffset++] = toc; in addPacket()
204 memcpy(accessUnit->data() + dstOffset, in addPacket()
208 dstOffset += frameSize - 1; in addPacket()
DARTPWriter.cpp1588 size_t dstOffset = 13; in sendAMRData() local
1599 data[dstOffset++] = toc; in sendAMRData()
1609 memcpy(&data[dstOffset], &mediaData[srcOffset], frameSize - 1); in sendAMRData()
1611 dstOffset += frameSize - 1; in sendAMRData()
1614 buffer->setRange(0, dstOffset); in sendAMRData()
/frameworks/base/media/java/android/media/
DImageUtils.java189 int dstOffset = dstBuffer.position(); in imageCopy() local
202 directByteBufferCopy(srcBuffer, srcOffset, dstBuffer, dstOffset, srcByteCount); in imageCopy()
204 dstOffset += dstRowStride; in imageCopy()
317 ByteBuffer dstBuffer, int dstOffset, int srcByteCount) { in directByteBufferCopy() argument
318 Memory.memmove(dstBuffer, dstOffset, srcBuffer, srcOffset, srcByteCount); in directByteBufferCopy()
DMediaDescrambler.java251 ByteBuffer dstBuf, int dstOffset, int dstLimit) throws RemoteException; in native_descramble() argument
/frameworks/base/media/jni/
Dandroid_media_MediaDescrambler.cpp60 jint dstOffset,
209 jint dstOffset, in descramble() argument
251 memcpy((void*)((uint8_t*)dstPtr + dstOffset), mMem->unsecurePointer(), in descramble()
381 jobject dstBuf, jint dstOffset, jint dstLimit) { in android_media_MediaDescrambler_native_descramble() argument
409 env, dstBuf, dstOffset, dstLimit, totalLength, &dstPtr, &dstArray); in android_media_MediaDescrambler_native_descramble()
431 srcPtr, srcOffset, dstPtr, dstOffset, in android_media_MediaDescrambler_native_descramble()
/frameworks/native/headers/media_plugin/media/cas/
DDescramblerAPI.h95 int32_t dstOffset,
/frameworks/base/services/core/java/com/android/server/utils/
DWatchedSparseBooleanMatrix.java537 int dstOffset = (dst / PACKING); in pack() local
541 mValues[dstOffset] &= ~dstMask; in pack()
543 mValues[dstOffset] |= dstMask; in pack()
546 dstOffset += mOrder / PACKING; in pack()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp6443 size_t dstOffset = 0; in read() local
6446 dstData[dstOffset++] = 0xAC; in read()
6447 dstData[dstOffset++] = 0x40; in read()
6448 dstData[dstOffset++] = 0xFF; in read()
6449 dstData[dstOffset++] = 0xFF; in read()
6450 dstData[dstOffset++] = (uint8_t)((size >> 16) & 0xFF); in read()
6451 dstData[dstOffset++] = (uint8_t)((size >> 8) & 0xFF); in read()
6452 dstData[dstOffset++] = (uint8_t)((size >> 0) & 0xFF); in read()
6454 ssize_t numBytesRead = mDataSource->readAt(offset, dstData + dstOffset, size); in read()
6462 mBuffer->set_range(0, dstOffset + size); in read()
[all …]
/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/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/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()
1440 memcpy(accessUnit->data() + dstOffset + 4, in dequeueAccessUnitH264()
1443 dstOffset += newSize + 4; in dequeueAccessUnitH264()
1452 memcpy(accessUnit->data() + dstOffset + 4, in dequeueAccessUnitH264()
1456 dstOffset += pos.nalSize + 4; in dequeueAccessUnitH264()
1504 dstOffset, nals.size(), totalSize); in dequeueAccessUnitH264()
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp1138 size_t dstOffset = 0; in read() local
1160 memcpy(&dstPtr[dstOffset], "\x00\x00\x00\x01", 4); in read()
1163 memcpy(&dstPtr[dstOffset + 4], in read()
1169 dstOffset += 4; // 0x00 00 00 01 in read()
1170 dstOffset += NALsize; in read()
1186 dstSize = dstOffset; in read()
/frameworks/native/vulkan/nulldrv/
Dnull_driver_gen.h150 …eBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize da…
151 …lBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize si…
164 …t32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize st…
/frameworks/native/vulkan/libvulkan/
Dapi_gen.cpp512 …eBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize da…
513 …lBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize si…
526 …t32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize st…
1397 …eBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize da… in CmdUpdateBuffer() argument
1398 …GetData(commandBuffer).dispatch.CmdUpdateBuffer(commandBuffer, dstBuffer, dstOffset, dataSize, pDa… in CmdUpdateBuffer()
1401 …lBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize si… in CmdFillBuffer() argument
1402 GetData(commandBuffer).dispatch.CmdFillBuffer(commandBuffer, dstBuffer, dstOffset, size, data); in CmdFillBuffer()
1453 …t32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize st… in CmdCopyQueryPoolResults() argument
1454 …PoolResults(commandBuffer, queryPool, firstQuery, queryCount, dstBuffer, dstOffset, stride, flags); in CmdCopyQueryPoolResults()
2455 …eBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize da… in vkCmdUpdateBuffer() argument
[all …]