Searched refs:commentSize (Results 1 – 2 of 2) sorted by relevance
990 int32_t commentSize = buffer->range_length() + 1; in verifyOpusComments() local991 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()
201 final int commentSize = (footer[4] & 0xff) | ((footer[5] & 0xff) << 8); in verifyPackage() local204 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()