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