/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/unicast/ |
H A D | MultiSocketFactory.java | 177 public void write(byte b[], int off, int len) throws IOException { argument 179 write(b[off + i]); 197 public int read(byte b[], int off, int len) throws IOException { argument 206 b[off] = (byte)c; 217 b[off + i] = (byte)c;
|
/openjdk7/jdk/src/share/classes/sun/net/httpserver/ |
H A D | ChunkedInputStream.java | 113 protected int readImpl (byte[]b, int off, int len) throws IOException { argument 130 int n = in.read(b, off, len);
|
/openjdk7/jdk/src/share/classes/sun/net/www/ |
H A D | MeteredStream.java | 129 public synchronized int read(byte b[], int off, int len) argument 134 int n = in.read(b, off, len);
|
/openjdk7/jdk/src/share/classes/sun/rmi/rmic/ |
H A D | IndentingWriter.java | 110 public void write(char[] cbuf, int off, int len) throws IOException { argument 114 super.write(cbuf, off, len); 120 public void write(String s, int off, int len) throws IOException { argument 124 super.write(s, off, len);
|
/openjdk7/jdk/src/share/classes/sun/rmi/rmic/newrmic/ |
H A D | IndentingWriter.java | 102 public void write(char[] cbuf, int off, int len) throws IOException { argument 106 super.write(cbuf, off, len); 112 public void write(String s, int off, int len) throws IOException { argument 116 super.write(s, off, len);
|
/openjdk7/jdk/src/share/classes/sun/rmi/transport/tcp/ |
H A D | MultiplexInputStream.java | 111 * @param off offset of beginning of bytes to read into 114 public synchronized int read(byte b[], int off, int len) throws IOException argument 146 System.arraycopy(buffer, pos, b, off, len); 151 System.arraycopy(buffer, pos, b, off, available);
|
H A D | MultiplexOutputStream.java | 105 * @param off offset of beginning of bytes to write 108 public synchronized void write(byte b[], int off, int len) argument 117 System.arraycopy(b, off, buffer, pos, len); 138 manager.sendTransmit(info, b, off, local_requested); 139 off += local_requested; 146 manager.sendTransmit(info, b, off, len);
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/ |
H A D | InputLexer.java | 113 public void readBytes(byte[] buf, int off, int len) throws IOException { argument 114 int startIdx = off;
|
/openjdk7/jdk/src/share/classes/javax/sound/sampled/ |
H A D | AudioInputStream.java | 245 * @param off the offset, from the beginning of array <code>b</code>, at which 256 public int read(byte[] b, int off, int len) throws IOException { argument 279 int thisOff = off; 285 b, off, pushBackLen); 307 System.arraycopy(b, off + bytesRead - pushBackLen, 507 public int read(byte[] b, int off, int len) throws IOException { argument 509 return line.read(b, off, len);
|
/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | ImageDecoder.java | 121 byte pix[], int off, int scansize) { 126 cq.consumer.setPixels(x, y, w, h, model, pix, off, scansize); 133 int pix[], int off, int scansize) { 138 cq.consumer.setPixels(x, y, w, h, model, pix, off, scansize); 120 setPixels(int x, int y, int w, int h, ColorModel model, byte pix[], int off, int scansize) argument 132 setPixels(int x, int y, int w, int h, ColorModel model, int pix[], int off, int scansize) argument
|
/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | AreaAveragingScaleFilter.java | 46 * will back off to a simple pixel replication behavior and utilize the 135 ColorModel model, Object pixels, int off, 173 rgb = ((byte[]) pixels)[off + sx] & 0xff; 175 rgb = ((int[]) pixels)[off + sx]; 223 off += scansize; 247 ColorModel model, byte pixels[], int off, 250 super.setPixels(x, y, w, h, model, pixels, off, scansize); 252 accumPixels(x, y, w, h, model, pixels, off, scansize); 273 ColorModel model, int pixels[], int off, 276 super.setPixels(x, y, w, h, model, pixels, off, scansiz 134 accumPixels(int x, int y, int w, int h, ColorModel model, Object pixels, int off, int scansize) argument 246 setPixels(int x, int y, int w, int h, ColorModel model, byte pixels[], int off, int scansize) argument 272 setPixels(int x, int y, int w, int h, ColorModel model, int pixels[], int off, int scansize) argument [all...] |
H A D | ImageConsumer.java | 144 * at index (n * scansize + m + off). The pixels delivered using 154 * @param off the offset into the <code>pixels</code> array 160 ColorModel model, byte pixels[], int off, int scansize); 169 * at index (n * scansize + m + off). The pixels delivered using 180 * @param off the offset into the <code>pixels</code> array 186 ColorModel model, int pixels[], int off, int scansize); 159 setPixels(int x, int y, int w, int h, ColorModel model, byte pixels[], int off, int scansize) argument 185 setPixels(int x, int y, int w, int h, ColorModel model, int pixels[], int off, int scansize) argument
|
H A D | ImageFilter.java | 159 ColorModel model, byte pixels[], int off, 161 consumer.setPixels(x, y, w, h, model, pixels, off, scansize); 176 ColorModel model, int pixels[], int off, 178 consumer.setPixels(x, y, w, h, model, pixels, off, scansize); 158 setPixels(int x, int y, int w, int h, ColorModel model, byte pixels[], int off, int scansize) argument 175 setPixels(int x, int y, int w, int h, ColorModel model, int pixels[], int off, int scansize) argument
|
H A D | RescaleOp.java | 192 float off[], 200 float bandOff = off[band]; 227 float off[], 235 float bandOff = off[band]; 191 createByteLut(float scale[], float off[], int nBands, int nElems) argument 226 createShortLut(float scale[], float off[], int nBands, int nElems) argument
|
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | BufferedReader.java | 195 private int read1(char[] cbuf, int off, int len) throws IOException { argument 203 return in.read(cbuf, off, len); 219 System.arraycopy(cb, nextChar, cbuf, off, n); 261 * @param off Offset at which to start storing characters 269 public int read(char cbuf[], int off, int len) throws IOException { argument 272 if ((off < 0) || (off > cbuf.length) || (len < 0) || 273 ((off + len) > cbuf.length) || ((off + len) < 0)) { 279 int n = read1(cbuf, off, le [all...] |
H A D | DataOutputStream.java | 94 * starting at offset <code>off</code> to the underlying output stream. 99 * @param off the start offset in the data. 104 public synchronized void write(byte b[], int off, int len) argument 107 out.write(b, off, len);
|
H A D | FileInputStream.java | 222 * @param off the start offset in the data 226 private native int readBytes(byte b[], int off, int len) throws IOException; argument 257 * @param off the start offset in the destination array <code>b</code> 263 * @exception IndexOutOfBoundsException If <code>off</code> is negative, 265 * <code>b.length - off</code> 268 public int read(byte b[], int off, int len) throws IOException { argument 272 bytesRead = readBytes(b, off, len);
|
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | StringCoding.java | 147 char[] decode(byte[] ba, int off, int len) { argument 153 int clen = ((ArrayDecoder)cd).decode(ba, off, len, ca); 157 ByteBuffer bb = ByteBuffer.wrap(ba, off, len); 176 static char[] decode(String charsetName, byte[] ba, int off, int len) argument 193 return sd.decode(ba, off, len); 196 static char[] decode(Charset cs, byte[] ba, int off, int len) { argument 221 ba = Arrays.copyOfRange(ba, off, off + len); 222 off = 0; 229 int clen = ((ArrayDecoder)cd).decode(ba, off, le 250 decode(byte[] ba, int off, int len) argument 298 encode(char[] ca, int off, int len) argument 327 encode(String charsetName, char[] ca, int off, int len) argument 347 encode(Charset cs, char[] ca, int off, int len) argument 383 encode(char[] ca, int off, int len) argument [all...] |
/openjdk7/jdk/src/share/classes/java/lang/reflect/ |
H A D | Proxy.java | 806 byte[] b, int off, int len); 805 defineClass0(ClassLoader loader, String name, byte[] b, int off, int len) argument
|
/openjdk7/jdk/src/share/classes/java/nio/ |
H A D | Buffer.java | 557 static void checkBounds(int off, int len, int size) { // package-private argument 558 if ((off | len | (off + len) | (size - (off + len))) < 0)
|
/openjdk7/jdk/src/share/classes/java/util/zip/ |
H A D | GZIPInputStream.java | 98 * @param off the start offset in the destination array <code>b</code> 104 * @exception IndexOutOfBoundsException If <code>off</code> is negative, 106 * <code>buf.length - off</code> 111 public int read(byte[] buf, int off, int len) throws IOException { argument 116 int n = super.read(buf, off, len); 121 return this.read(buf, off, len); 123 crc.update(buf, off, n);
|
H A D | Inflater.java | 78 private int off, len; field in class:Inflater 118 * @param off the start offset of the input data 122 public void setInput(byte[] b, int off, int len) { argument 126 if (off < 0 || len < 0 || off > b.length - len) { 131 this.off = off; 153 * @param off the start offset of the data 158 public void setDictionary(byte[] b, int off, int len) { argument 162 if (off < 247 inflate(byte[] b, int off, int len) argument 400 setDictionary(long addr, byte[] b, int off, int len) argument 402 inflateBytes(long addr, byte[] b, int off, int len) argument [all...] |
H A D | ZipInputStream.java | 169 * @param off the start offset in the destination array <code>b</code> 174 * @exception IndexOutOfBoundsException if <code>off</code> is negative, 176 * <code>b.length - off</code> 180 public int read(byte[] b, int off, int len) throws IOException { argument 182 if (off < 0 || len < 0 || off > b.length - len) { 193 len = super.read(b, off, len); 199 crc.update(b, off, len); 211 len = in.read(b, off, len); 215 crc.update(b, off, le 422 readFully(byte[] b, int off, int len) argument 437 get16(byte b[], int off) argument 445 get32(byte b[], int off) argument 453 get64(byte b[], int off) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/imageio/stream/ |
H A D | ImageOutputStream.java | 95 * The byte <code>b[off]</code> is written first, then the byte 96 * <code>b[off + 1]</code>, and so on. 107 * @param off the start offset in the data. 110 * @exception IndexOutOfBoundsException if <code>off</code> is 111 * negative, <code>len</code> is negative, or <code>off + 117 void write(byte b[], int off, int len) throws IOException; argument 442 * The short <code>s[off]</code> is written first, then the short 443 * <code>s[off + 1]</code>, and so on. The byte order of the 453 * @param off the start offset in the data. 456 * @exception IndexOutOfBoundsException if <code>off</cod 463 writeShorts(short[] s, int off, int len) argument 489 writeChars(char[] c, int off, int len) argument 515 writeInts(int[] i, int off, int len) argument 541 writeLongs(long[] l, int off, int len) argument 567 writeFloats(float[] f, int off, int len) argument 593 writeDoubles(double[] d, int off, int len) argument [all...] |
H A D | ImageOutputStreamImpl.java | 54 public abstract void write(byte b[], int off, int len) throws IOException; argument 201 public void writeShorts(short[] s, int off, int len) throws IOException { argument 202 // Fix 4430357 - if off + len < 0, overflow occurred 203 if (off < 0 || len < 0 || off + len > s.length || off + len < 0) { 205 ("off < 0 || len < 0 || off + len > s.length!"); 212 short v = s[off + i]; 218 short v = s[off 227 writeChars(char[] c, int off, int len) argument 253 writeInts(int[] i, int off, int len) argument 283 writeLongs(long[] l, int off, int len) argument 321 writeFloats(float[] f, int off, int len) argument 351 writeDoubles(double[] d, int off, int len) argument [all...] |