Home
last modified time | relevance | path

Searched refs:len2 (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/keystore/java/android/security/keystore/
DArrayUtils.java55 int len2) { in concat() argument
57 return subarray(arr2, offset2, len2); in concat()
58 } else if (len2 == 0) { in concat()
61 byte[] result = new byte[len1 + len2]; in concat()
63 System.arraycopy(arr2, offset2, result, len1, len2); in concat()
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
Dball_physics.rscript61 float len2 = vec2.x + vec2.y;
63 if ((len2 < 10000.f) && (len2 > 0.001f)) {
64 float len = rsqrt(len2 + 4.f);
80 float len2 = max(2.f, vec2.x + vec2.y);
81 float2 pfv = (vec / len2) * touchPressure[i] * 500.f * gScale;
/frameworks/av/media/libstagefright/rtsp/
DAPacketSource.cpp380 size_t len2 = len1 + GetSizeWidth(len1 + 13) + 1 + 13; in MakeMPEG4VideoCodecSpecificData() local
381 size_t len3 = len2 + GetSizeWidth(len2 + 3) + 1 + 3; in MakeMPEG4VideoCodecSpecificData()
386 dst = EncodeSize(dst, len2 + 3); in MakeMPEG4VideoCodecSpecificData()
/frameworks/av/media/module/extractors/mkv/
DMatroskaExtractor.cpp1585 size_t len2 = 0; in addVorbisCodecInfo() local
1587 if (len2 > (SIZE_MAX - 0xff)) { in addVorbisCodecInfo()
1590 len2 += 0xff; in addVorbisCodecInfo()
1596 if (len2 > (SIZE_MAX - codecPrivate[offset])) { in addVorbisCodecInfo()
1599 len2 += codecPrivate[offset++]; in addVorbisCodecInfo()
1601 if (len1 > SIZE_MAX - len2 || offset > SIZE_MAX - (len1 + len2) || in addVorbisCodecInfo()
1602 codecPrivateSize < offset + len1 + len2) { in addVorbisCodecInfo()
1617 offset += len2; in addVorbisCodecInfo()
/frameworks/av/media/module/extractors/mp4/
DMPEG4Extractor.cpp4787 size_t len2 = 0; in updateAudioTrackInfoFromESDS_MPEG4Audio() local
4789 if (__builtin_add_overflow(len2, 0xff, &len2)) { in updateAudioTrackInfoFromESDS_MPEG4Audio()
4797 if (__builtin_add_overflow(len2, csd[offset], &len2)) { in updateAudioTrackInfoFromESDS_MPEG4Audio()
4801 if (len2 == 0) { in updateAudioTrackInfoFromESDS_MPEG4Audio()
4820 if (__builtin_add_overflow(offset, len2, &offset) || in updateAudioTrackInfoFromESDS_MPEG4Audio()