Searched defs:off (Results 126 - 150 of 457) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/java/awt/image/
H A DRGBImageFilter.java188 * @param off the offset into the <code>pixels</code> array
195 int pixels[], int off, int scansize) {
196 int index = off;
205 pixels, off, scansize);
225 ColorModel model, byte pixels[], int off,
228 consumer.setPixels(x, y, w, h, newmodel, pixels, off, scansize);
231 int index = off;
262 ColorModel model, int pixels[], int off,
265 consumer.setPixels(x, y, w, h, newmodel, pixels, off, scansize);
268 int index = off;
194 filterRGBPixels(int x, int y, int w, int h, int pixels[], int off, int scansize) argument
224 setPixels(int x, int y, int w, int h, ColorModel model, byte pixels[], int off, int scansize) argument
261 setPixels(int x, int y, int w, int h, ColorModel model, int pixels[], int off, int scansize) argument
[all...]
H A DReplicateScaleFilter.java187 ColorModel model, byte pixels[], int off,
203 int srcoff = off + scansize * (sy - y);
228 ColorModel model, int pixels[], int off,
244 int srcoff = off + scansize * (sy - y);
186 setPixels(int x, int y, int w, int h, ColorModel model, byte pixels[], int off, int scansize) argument
227 setPixels(int x, int y, int w, int h, ColorModel model, int pixels[], int off, int scansize) argument
/openjdk7/jdk/src/share/classes/java/io/
H A DBufferedInputStream.java265 private int read1(byte[] b, int off, int len) throws IOException { argument
273 return getInIfOpen().read(b, off, len);
280 System.arraycopy(getBufIfOpen(), pos, b, off, cnt);
314 * @param off offset at which to start storing bytes.
322 public synchronized int read(byte b[], int off, int len) argument
326 if ((off | len | (off + len) | (b.length - (off + len))) < 0) {
334 int nread = read1(b, off + n, len - n);
H A DBufferedWriter.java168 * @param off Offset from which to start reading characters
173 public void write(char cbuf[], int off, int len) throws IOException { argument
176 if ((off < 0) || (off > cbuf.length) || (len < 0) ||
177 ((off + len) > cbuf.length) || ((off + len) < 0)) {
188 out.write(cbuf, off, len);
192 int b = off, t = off + len;
214 * @param off Offse
219 write(String s, int off, int len) argument
[all...]
H A DByteArrayOutputStream.java129 * starting at offset <code>off</code> to this byte array output stream.
132 * @param off the start offset in the data.
135 public synchronized void write(byte b[], int off, int len) { argument
136 if ((off < 0) || (off > b.length) || (len < 0) ||
137 ((off + len) - b.length > 0)) {
141 System.arraycopy(b, off, buf, count, len);
H A DCharArrayReader.java113 * @param off Offset at which to start storing characters
120 public int read(char b[], int off, int len) throws IOException { argument
123 if ((off < 0) || (off > b.length) || (len < 0) ||
124 ((off + len) > b.length) || ((off + len) < 0)) {
139 System.arraycopy(buf, pos, b, off, len);
H A DCharArrayWriter.java92 * @param off the start offset in the data
95 public void write(char c[], int off, int len) { argument
96 if ((off < 0) || (off > c.length) || (len < 0) ||
97 ((off + len) > c.length) || ((off + len) < 0)) {
107 System.arraycopy(c, off, buf, count, len);
115 * @param off Offset from which to start reading characters
118 public void write(String str, int off, int len) { argument
124 str.getChars(off, of
[all...]
H A DDataInput.java262 * If <code>off</code> is negative, or <code>len</code>
263 * is negative, or <code>off+len</code> is
269 * byte read is stored into element <code>b[off]</code>,
270 * the next one into <code>b[off+1]</code>,
275 * @param off an int specifying the offset into the data.
281 void readFully(byte b[], int off, int len) throws IOException; argument
H A DDataInputStream.java119 * <p> The first byte read is stored into element <code>b[off]</code>, the
120 * next one into <code>b[off+1]</code>, and so on. The number of bytes read
123 * <code>b[off]</code> through <code>b[off+</code><i>k</i><code>-1]</code>,
124 * leaving elements <code>b[off+</code><i>k</i><code>]</code> through
125 * <code>b[off+len-1]</code> unaffected.
128 * <code>b[off]</code> and elements <code>b[off+len]</code> through
132 * @param off the start offset in the destination array <code>b</code>
138 * @exception IndexOutOfBoundsException If <code>off</cod
148 read(byte b[], int off, int len) argument
190 readFully(byte b[], int off, int len) argument
[all...]
H A DFileOutputStream.java305 * @param off the start offset in the data
311 private native void writeBytes(byte b[], int off, int len, boolean append) argument
334 * starting at offset <code>off</code> to this file output stream.
337 * @param off the start offset in the data.
341 public void write(byte b[], int off, int len) throws IOException { argument
345 writeBytes(b, off, len, append);
H A DLineNumberReader.java150 * @param off
162 public int read(char cbuf[], int off, int len) throws IOException { argument
164 int n = super.read(cbuf, off, len);
166 for (int i = off; i < off + n; i++) {
H A DPipedInputStream.java220 * @param off the start offset of the data
226 synchronized void receive(byte b[], int off, int len) throws IOException { argument
247 System.arraycopy(b, off, buffer, in, nextTransferAmount);
249 off += nextTransferAmount;
355 * @param off the start offset in the destination array <code>b</code>
361 * @exception IndexOutOfBoundsException If <code>off</code> is negative,
363 * <code>b.length - off</code>
368 public synchronized int read(byte b[], int off, int len) throws IOException { argument
371 } else if (off < 0 || len < 0 || len > b.length - off) {
[all...]
H A DPipedReader.java205 synchronized void receive(char c[], int off, int len) throws IOException { argument
207 receive(c[off++]);
281 * @param off the start offset of the data.
291 public synchronized int read(char cbuf[], int off, int len) throws IOException { argument
301 if ((off < 0) || (off > cbuf.length) || (len < 0) ||
302 ((off + len) > cbuf.length) || ((off + len) < 0)) {
313 cbuf[off] = (char)c;
316 cbuf[off
[all...]
H A DPushbackInputStream.java151 * @param off the start offset in the destination array <code>b</code>
157 * @exception IndexOutOfBoundsException If <code>off</code> is negative,
159 * <code>b.length - off</code>
165 public int read(byte[] b, int off, int len) throws IOException { argument
169 } else if (off < 0 || len < 0 || len > b.length - off) {
180 System.arraycopy(buf, pos, b, off, avail);
182 off += avail;
186 len = super.read(b, off, len);
217 * read will have the value <code>b[off]</cod
229 unread(byte[] b, int off, int len) argument
[all...]
H A DPushbackReader.java98 * @param off Offset at which to start writing characters
106 public int read(char cbuf[], int off, int len) throws IOException { argument
113 } else if ((off < 0) || (off > cbuf.length)) {
122 System.arraycopy(buf, pos, cbuf, off, avail);
124 off += avail;
128 len = super.read(cbuf, off, len);
163 * character to be read will have the value <code>cbuf[off]</code>, the
164 * character after that will have the value <code>cbuf[off+1]</code>, and
168 * @param off Offse
174 unread(char cbuf[], int off, int len) argument
[all...]
/openjdk7/jdk/src/share/classes/java/net/
H A DSocketInputStream.java88 * @param off the start offset of the data
96 byte b[], int off, int len,
112 * Reads into a byte array <i>b</i> at offset <i>off</i>,
115 * @param off the start offset of the data
121 public int read(byte b[], int off, int length) throws IOException { argument
122 return read(b, off, length, impl.getTimeout());
125 int read(byte b[], int off, int length, int timeout) throws IOException { argument
139 if (length <= 0 || off < 0 || off + length > b.length) {
152 n = socketRead0(fd, b, off, lengt
95 socketRead0(FileDescriptor fd, byte b[], int off, int len, int timeout) argument
[all...]
/openjdk7/jdk/src/share/classes/java/rmi/server/
H A DLogStream.java215 public void write(byte b[], int off, int len) argument
220 write(b[off + i]);
/openjdk7/jdk/src/share/classes/java/security/
H A DSignatureSpi.java122 * @param off the offset to start from in the array of bytes
128 protected abstract void engineUpdate(byte[] b, int off, int len) argument
/openjdk7/jdk/src/share/classes/java/util/jar/
H A DJarInputStream.java191 * @param off the start offset in the destination array <code>b</code>
196 * @exception IndexOutOfBoundsException If <code>off</code> is negative,
198 * <code>b.length - off</code>
204 public int read(byte[] b, int off, int len) throws IOException { argument
207 n = super.read(b, off, len);
212 jv.update(n, b, off, len, mev);
/openjdk7/jdk/src/share/classes/java/util/zip/
H A DDeflaterInputStream.java162 * @param off starting offset of the data within {@code b}
167 * off}
171 public int read(byte[] b, int off, int len) throws IOException { argument
176 } else if (off < 0 || len < 0 || len > b.length - off) {
199 n = def.deflate(b, off, len);
201 off += n;
H A DGZIPOutputStream.java139 * @param off the start offset of the data
143 public synchronized void write(byte[] buf, int off, int len) argument
146 super.write(buf, off, len);
147 crc.update(buf, off, len);
H A DInflaterInputStream.java130 * @param off the start offset in the destination array <code>b</code>
135 * @exception IndexOutOfBoundsException If <code>off</code> is negative,
137 * <code>b.length - off</code>
141 public int read(byte[] b, int off, int len) throws IOException { argument
145 } else if (off < 0 || len < 0 || len > b.length - off) {
152 while ((n = inf.inflate(b, off, len)) == 0) {
/openjdk7/jdk/src/share/classes/javax/crypto/
H A DCipherInputStream.java210 * @param off the start offset in the destination array
220 public int read(byte b[], int off, int len) throws IOException { argument
233 System.arraycopy(obuffer, ostart, b, off, available);
/openjdk7/jdk/src/share/classes/javax/imageio/stream/
H A DFileCacheImageInputStream.java169 public int read(byte[] b, int off, int len) throws IOException { argument
175 // Fix 4430357 - if off + len < 0, overflow occurred
176 if (off < 0 || len < 0 || off + len > b.length || off + len < 0) {
178 ("off < 0 || len < 0 || off+len > b.length || off+len < 0!");
193 cache.readFully(b, off, len);
H A DFileCacheImageOutputStream.java108 public int read(byte[] b, int off, int len) throws IOException { argument
114 if (off < 0 || len < 0 || off + len > b.length || off + len < 0) {
116 ("off < 0 || len < 0 || off+len > b.length || off+len < 0!");
125 int nbytes = cache.read(b, off, len);
139 public void write(byte[] b, int off, int len) throws IOException { argument
141 cache.write(b, off, le
[all...]

Completed in 67 milliseconds

1234567891011>>