Home
last modified time | relevance | path

Searched refs:len1 (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/keystore/java/android/security/keystore/
DArrayUtils.java44 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/
DAPacketSource.cpp380 size_t len1 = config->size() + GetSizeWidth(config->size()) + 1; in MakeMPEG4VideoCodecSpecificData() local
381 size_t len2 = len1 + GetSizeWidth(len1 + 13) + 1 + 13; in MakeMPEG4VideoCodecSpecificData()
393 dst = EncodeSize(dst, len1 + 13); in MakeMPEG4VideoCodecSpecificData()
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp1563 size_t len1 = 0; in addVorbisCodecInfo() local
1565 if (len1 > (SIZE_MAX - 0xff)) { in addVorbisCodecInfo()
1568 len1 += 0xff; in addVorbisCodecInfo()
1574 if (len1 > (SIZE_MAX - codecPrivate[offset])) { in addVorbisCodecInfo()
1577 len1 += codecPrivate[offset++]; in addVorbisCodecInfo()
1595 if (len1 > SIZE_MAX - len2 || offset > SIZE_MAX - (len1 + len2) || in addVorbisCodecInfo()
1596 codecPrivateSize < offset + len1 + len2) { in addVorbisCodecInfo()
1604 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CSD_0, &codecPrivate[offset], len1); in addVorbisCodecInfo()
1606 offset += len1; in addVorbisCodecInfo()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp4540 size_t len1 = 0; in updateAudioTrackInfoFromESDS_MPEG4Audio() local
4542 if (__builtin_add_overflow(len1, 0xff, &len1)) { in updateAudioTrackInfoFromESDS_MPEG4Audio()
4550 if (__builtin_add_overflow(len1, csd[offset], &len1)) { in updateAudioTrackInfoFromESDS_MPEG4Audio()
4554 if (len1 == 0) { in updateAudioTrackInfoFromESDS_MPEG4Audio()
4580 AMEDIAFORMAT_KEY_CSD_0, &csd[offset], len1); in updateAudioTrackInfoFromESDS_MPEG4Audio()
4582 if (__builtin_add_overflow(offset, len1, &offset) || in updateAudioTrackInfoFromESDS_MPEG4Audio()