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->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/av/media/extractors/mp4/
DMPEG4Extractor.cpp6199 size_t dstOffset = 0; in read() local
6202 dstData[dstOffset++] = 0xAC; in read()
6203 dstData[dstOffset++] = 0x40; in read()
6204 dstData[dstOffset++] = 0xFF; in read()
6205 dstData[dstOffset++] = 0xFF; in read()
6206 dstData[dstOffset++] = (uint8_t)((size >> 16) & 0xFF); in read()
6207 dstData[dstOffset++] = (uint8_t)((size >> 8) & 0xFF); in read()
6208 dstData[dstOffset++] = (uint8_t)((size >> 0) & 0xFF); in read()
6210 ssize_t numBytesRead = mDataSource->readAt(offset, dstData + dstOffset, size); in read()
6218 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/media/libstagefright/mpeg2ts/
DESQueue.cpp1404 size_t dstOffset = 0; in dequeueAccessUnitH264() local
1418 seiPos.nalOffset = dstOffset + 4; in dequeueAccessUnitH264()
1431 memcpy(accessUnit->data() + dstOffset, "\x00\x00\x00\x01", 4); in dequeueAccessUnitH264()
1437 memcpy(accessUnit->data() + dstOffset + 4, in dequeueAccessUnitH264()
1440 dstOffset += newSize + 4; in dequeueAccessUnitH264()
1449 memcpy(accessUnit->data() + dstOffset + 4, in dequeueAccessUnitH264()
1453 dstOffset += pos.nalSize + 4; in dequeueAccessUnitH264()
1501 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/nulldrv/
Dnull_driver_gen.h149 …eBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize da…
150 …lBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize si…
163 …t32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize st…
/frameworks/native/vulkan/libvulkan/
Dapi_gen.cpp461 …eBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize da…
462 …lBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize si…
475 …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()
2093 …eBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize da… in vkCmdUpdateBuffer() argument
[all …]
/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/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...