Searched refs:len1 (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/keystore/java/android/security/keystore/ |
D | ArrayUtils.java | 44 public static byte[] concat(byte[] arr1, int offset1, int len1, byte[] arr2, int offset2, in concat() argument 46 if (len1 == 0) { in concat() 49 return subarray(arr1, offset1, len1); in concat() 51 byte[] result = new byte[len1 + len2]; in concat() 52 System.arraycopy(arr1, offset1, result, 0, len1); in concat() 53 System.arraycopy(arr2, offset2, result, len1, len2); in concat()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | APacketSource.cpp | 378 size_t len1 = config->size() + GetSizeWidth(config->size()) + 1; in MakeMPEG4VideoCodecSpecificData() local 379 size_t len2 = len1 + GetSizeWidth(len1 + 13) + 1 + 13; in MakeMPEG4VideoCodecSpecificData() 391 dst = EncodeSize(dst, len1 + 13); in MakeMPEG4VideoCodecSpecificData()
|
/frameworks/av/media/extractors/mkv/ |
D | MatroskaExtractor.cpp | 1554 size_t len1 = 0; in addVorbisCodecInfo() local 1556 if (len1 > (SIZE_MAX - 0xff)) { in addVorbisCodecInfo() 1559 len1 += 0xff; in addVorbisCodecInfo() 1565 if (len1 > (SIZE_MAX - codecPrivate[offset])) { in addVorbisCodecInfo() 1568 len1 += codecPrivate[offset++]; in addVorbisCodecInfo() 1586 if (len1 > SIZE_MAX - len2 || offset > SIZE_MAX - (len1 + len2) || in addVorbisCodecInfo() 1587 codecPrivateSize < offset + len1 + len2) { in addVorbisCodecInfo() 1595 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CSD_0, &codecPrivate[offset], len1); in addVorbisCodecInfo() 1597 offset += len1; in addVorbisCodecInfo()
|
/frameworks/av/media/extractors/mp4/ |
D | MPEG4Extractor.cpp | 4369 size_t len1 = 0; in updateAudioTrackInfoFromESDS_MPEG4Audio() local 4371 if (__builtin_add_overflow(len1, 0xff, &len1)) { in updateAudioTrackInfoFromESDS_MPEG4Audio() 4379 if (__builtin_add_overflow(len1, csd[offset], &len1)) { in updateAudioTrackInfoFromESDS_MPEG4Audio() 4383 if (len1 == 0) { in updateAudioTrackInfoFromESDS_MPEG4Audio() 4409 AMEDIAFORMAT_KEY_CSD_0, &csd[offset], len1); in updateAudioTrackInfoFromESDS_MPEG4Audio() 4411 if (__builtin_add_overflow(offset, len1, &offset) || in updateAudioTrackInfoFromESDS_MPEG4Audio()
|