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.java45 int len2) { in concat() argument
47 return subarray(arr2, offset2, len2); in concat()
48 } else if (len2 == 0) { in concat()
51 byte[] result = new byte[len1 + len2]; in concat()
53 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.cpp381 size_t len2 = len1 + GetSizeWidth(len1 + 13) + 1 + 13; in MakeMPEG4VideoCodecSpecificData() local
382 size_t len3 = len2 + GetSizeWidth(len2 + 3) + 1 + 3; in MakeMPEG4VideoCodecSpecificData()
387 dst = EncodeSize(dst, len2 + 3); in MakeMPEG4VideoCodecSpecificData()
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp1579 size_t len2 = 0; in addVorbisCodecInfo() local
1581 if (len2 > (SIZE_MAX - 0xff)) { in addVorbisCodecInfo()
1584 len2 += 0xff; in addVorbisCodecInfo()
1590 if (len2 > (SIZE_MAX - codecPrivate[offset])) { in addVorbisCodecInfo()
1593 len2 += codecPrivate[offset++]; in addVorbisCodecInfo()
1595 if (len1 > SIZE_MAX - len2 || offset > SIZE_MAX - (len1 + len2) || in addVorbisCodecInfo()
1596 codecPrivateSize < offset + len1 + len2) { in addVorbisCodecInfo()
1611 offset += len2; in addVorbisCodecInfo()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp4558 size_t len2 = 0; in updateAudioTrackInfoFromESDS_MPEG4Audio() local
4560 if (__builtin_add_overflow(len2, 0xff, &len2)) { in updateAudioTrackInfoFromESDS_MPEG4Audio()
4568 if (__builtin_add_overflow(len2, csd[offset], &len2)) { in updateAudioTrackInfoFromESDS_MPEG4Audio()
4572 if (len2 == 0) { in updateAudioTrackInfoFromESDS_MPEG4Audio()
4587 if (__builtin_add_overflow(offset, len2, &offset) || in updateAudioTrackInfoFromESDS_MPEG4Audio()