Home
last modified time | relevance | path

Searched refs:commentSize (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/
DOggExtractor.cpp990 int32_t commentSize = buffer->range_length() + 1; in verifyOpusComments() local
991 sp<ABuffer> aBuf = new ABuffer(commentSize); in verifyOpusComments()
1003 buf.size = commentSize; in verifyOpusComments()
1010 ref.length = commentSize; in verifyOpusComments()
1029 if (vendorLen < 0 || vendorLen > commentSize - 8) { in verifyOpusComments()
1040 if (n < 0 || n > ((commentSize - oggpack_bytes(&bits)) >> 2)) { in verifyOpusComments()
1046 if (len < 0 || len > (commentSize - oggpack_bytes(&bits))) { in verifyOpusComments()
1054 if (framingBitOffset < 0 || framingBitOffset >= commentSize) { in verifyOpusComments()
1060 buf.size = commentSize - headerLen; in verifyOpusComments()
1066 ref.length = commentSize - headerLen; in verifyOpusComments()
/frameworks/base/core/java/android/os/
DRecoverySystem.java201 final int commentSize = (footer[4] & 0xff) | ((footer[5] & 0xff) << 8); in verifyPackage() local
204 byte[] eocd = new byte[commentSize + 22]; in verifyPackage()
205 raf.seek(fileLen - (commentSize + 22)); in verifyPackage()
224 … new PKCS7(new ByteArrayInputStream(eocd, commentSize+22-signatureStart, signatureStart)); in verifyPackage()
263 long toRead = fileLen - commentSize - 2; in verifyPackage()