Searched refs:commentSize (Results 1 – 2 of 2) sorted by relevance
976 int32_t commentSize = buffer->range_length() + 1; in verifyOpusComments() local977 sp<ABuffer> aBuf = new ABuffer(commentSize); in verifyOpusComments()989 buf.size = commentSize; in verifyOpusComments()996 ref.length = commentSize; in verifyOpusComments()1015 if (vendorLen < 0 || vendorLen > commentSize - 8) { in verifyOpusComments()1026 if (n < 0 || n > ((commentSize - oggpack_bytes(&bits)) >> 2)) { in verifyOpusComments()1032 if (len < 0 || len > (commentSize - oggpack_bytes(&bits))) { in verifyOpusComments()1040 if (framingBitOffset < 0 || framingBitOffset >= commentSize) { in verifyOpusComments()1046 buf.size = commentSize - headerLen; in verifyOpusComments()1052 ref.length = commentSize - headerLen; in verifyOpusComments()
193 final int commentSize = (footer[4] & 0xff) | ((footer[5] & 0xff) << 8); in verifyPackage() local196 byte[] eocd = new byte[commentSize + 22]; in verifyPackage()197 raf.seek(fileLen - (commentSize + 22)); in verifyPackage()216 … new PKCS7(new ByteArrayInputStream(eocd, commentSize+22-signatureStart, signatureStart)); in verifyPackage()255 long toRead = fileLen - commentSize - 2; in verifyPackage()