/frameworks/av/drm/mediadrm/plugins/clearkey/aidl/ |
D | CryptoPlugin.cpp | 96 size_t srcSize = 0; in decrypt() local 101 __builtin_add_overflow(srcSize, subSample.numBytesOfClearData, &srcSize)) { in decrypt() 106 __builtin_add_overflow(srcSize, subSample.numBytesOfEncryptedData, &srcSize)) { in decrypt() 115 if (destSize > destBuffer.size || srcSize > in_args.source.size) { in decrypt()
|
/frameworks/base/libs/hwui/jni/ |
D | BufferUtils.cpp | 20 static void copyToVector(std::vector<uint8_t>& dst, const void* src, size_t srcSize) { in copyToVector() argument 22 dst.resize(srcSize); in copyToVector() 23 memcpy(dst.data(), src, srcSize); in copyToVector()
|
/frameworks/base/media/java/android/media/ |
D | ImageUtils.java | 156 Size srcSize = new Size(src.getWidth(), src.getHeight()); in imageCopy() local 158 if (!srcSize.equals(dstSize)) { in imageCopy() 159 throw new IllegalArgumentException("source image size " + srcSize + " is different" in imageCopy()
|
/frameworks/av/media/libstagefright/omx/ |
D | SoftVideoEncoderOMXComponent.cpp | 523 const uint8_t *src, size_t srcSize, in extractGraphicBuffer() argument 540 if (srcSize < sizeof(VideoNativeMetadata)) { in extractGraphicBuffer() 541 ALOGE("Metadata is too small (%zu vs %zu)", srcSize, sizeof(VideoNativeMetadata)); in extractGraphicBuffer() 571 if (srcSize < sizeof(VideoGrallocMetadata)) { in extractGraphicBuffer() 572 ALOGE("Metadata is too small (%zu vs %zu)", srcSize, sizeof(VideoGrallocMetadata)); in extractGraphicBuffer()
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/ |
D | SoftVideoEncoderOMXComponent.h | 67 uint8_t *dst, size_t dstSize, const uint8_t *src, size_t srcSize,
|
/frameworks/rs/ |
D | rsScriptGroup.cpp | 194 ScriptKernelID ** src, size_t srcSize, in create() argument 368 RsScriptKernelID * src, size_t srcSize, in rsi_ScriptGroupCreate() argument 376 (ScriptKernelID **) src, srcSize, in rsi_ScriptGroupCreate()
|
D | rsScriptGroup.h | 84 ScriptKernelID ** src, size_t srcSize,
|
D | rsHidlAdaptation.cpp | 961 RsScriptKernelID * src, size_t srcSize, in ScriptGroupCreate() argument 967 std::vector<ScriptKernelID> _src(srcSize / sizeof(RsScriptKernelID)); in ScriptGroupCreate()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | AutoScrollHelper.java | 537 int direction, float coordinate, float srcSize, float dstSize) { in computeTargetVelocity() argument 540 final float value = getEdgeValue(relativeEdge, srcSize, maximumEdge, coordinate); in computeTargetVelocity()
|
/frameworks/av/media/module/extractors/mkv/ |
D | MatroskaExtractor.cpp | 1136 size_t srcSize = frame->range_length(); in read() local 1145 while (srcOffset + mNALSizeLen <= srcSize) { in read() 1161 } else if (srcOffset + mNALSizeLen + NALsize > srcSize) { in read() 1181 if (srcOffset < srcSize) { in read() 1194 if (dstSize == srcSize && mNALSizeLen == 4) { in read()
|
/frameworks/base/media/jni/ |
D | android_media_tv_Tuner.cpp | 3499 jsize srcSize = env->GetArrayLength(jsrcIpAddress); in getDemuxIpAddress() local 3506 if (srcSize != dstSize) { in getDemuxIpAddress() 3509 "IP address lengths don't match. srcLength=%d, dstLength=%d", srcSize, dstSize); in getDemuxIpAddress() 3513 if (srcSize == IP_V4_LENGTH) { in getDemuxIpAddress() 3518 env->GetByteArrayRegion(jsrcIpAddress, 0, srcSize, reinterpret_cast<jbyte *>(&srcAddr[0])); in getDemuxIpAddress() 3522 } else if (srcSize == IP_V6_LENGTH) { in getDemuxIpAddress() 3527 env->GetByteArrayRegion(jsrcIpAddress, 0, srcSize, reinterpret_cast<jbyte *>(&srcAddr[0])); in getDemuxIpAddress() 3534 "Invalid IP address length %d", srcSize); in getDemuxIpAddress()
|