Home
last modified time | relevance | path

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

/frameworks/av/media/extractors/ogg/
DOggExtractor.cpp1087 int32_t commentSize = buffer->range_length() + 1; in verifyOpusComments() local
1088 auto tmp = heapbuffer<uint8_t>(commentSize); in verifyOpusComments()
1100 buf.size = commentSize; in verifyOpusComments()
1107 ref.length = commentSize; in verifyOpusComments()
1126 if (vendorLen < 0 || vendorLen > commentSize - 8) { in verifyOpusComments()
1137 if (n < 0 || n > ((commentSize - oggpack_bytes(&bits)) >> 2)) { in verifyOpusComments()
1143 if (len < 0 || len > (commentSize - oggpack_bytes(&bits))) { in verifyOpusComments()
1151 if (framingBitOffset < 0 || framingBitOffset >= commentSize) { in verifyOpusComments()
1157 buf.size = commentSize - headerLen; in verifyOpusComments()
1163 ref.length = commentSize - headerLen; in verifyOpusComments()
/frameworks/base/core/java/android/os/
DRecoverySystem.java240 final int commentSize = (footer[4] & 0xff) | ((footer[5] & 0xff) << 8); in verifyPackage() local
243 byte[] eocd = new byte[commentSize + 22]; in verifyPackage()
244 raf.seek(fileLen - (commentSize + 22)); in verifyPackage()
263 … new PKCS7(new ByteArrayInputStream(eocd, commentSize+22-signatureStart, signatureStart)); in verifyPackage()
302 long toRead = fileLen - commentSize - 2; in verifyPackage()