Lines Matching refs:off
220 * buf} starting at {@code off}.
224 * @param off
233 public synchronized int inflate(byte[] buf, int off, int nbytes)
236 if (off > buf.length || nbytes < 0 || off < 0
237 || buf.length - off < nbytes) {
255 int result = inflateImpl(buf, off, nbytes, streamHandle);
264 private native synchronized int inflateImpl(byte[] buf, int off,
332 * @param off
338 public synchronized void setDictionary(byte[] buf, int off, int nbytes) {
343 if (off <= buf.length && nbytes >= 0 && off >= 0
344 && buf.length - off >= nbytes) {
345 setDictionaryImpl(buf, off, nbytes, streamHandle);
351 private native synchronized void setDictionaryImpl(byte[] buf, int off,
368 * {@code off} and ending at {@code nbytes - 1} where data is written after
374 * @param off
380 public synchronized void setInput(byte[] buf, int off, int nbytes) {
385 if (off <= buf.length && nbytes >= 0 && off >= 0
386 && buf.length - off >= nbytes) {
389 setInputImpl(buf, off, nbytes, streamHandle);
398 * off} and ending at {@code nbytes - 1}. This method should only be called
403 * @param off
409 synchronized int setFileInput(FileDescriptor fd, long off, int nbytes) {
414 inLength = setFileInputImpl(fd, off, nbytes, streamHandle);
419 private native synchronized void setInputImpl(byte[] buf, int off,
423 private native synchronized int setFileInputImpl(FileDescriptor fd, long off,