Lines Matching refs:len
78 private int off, len;
119 * @param len the length of the input data
122 public void setInput(byte[] b, int off, int len) {
126 if (off < 0 || len < 0 || off > b.length - len) {
132 this.len = len;
154 * @param len the length of the data
158 public void setDictionary(byte[] b, int off, int len) {
162 if (off < 0 || len < 0 || off > b.length - len) {
167 setDictionary(zsRef.address(), b, off, len);
193 return len;
205 return len <= 0;
241 * @param len the maximum number of uncompressed bytes
247 public int inflate(byte[] b, int off, int len)
253 if (off < 0 || len < 0 || off > b.length - len) {
258 int thisLen = this.len;
259 int n = inflateBytes(zsRef.address(), b, off, len);
261 bytesRead += (thisLen - this.len);
356 off = len = 0;
401 int len);
402 private native int inflateBytes(long addr, byte[] b, int off, int len)