/openjdk7/jdk/test/java/awt/FontClass/CreateFont/ |
H A D | DeleteFont.java | 77 public int read(byte[] buff, int off, int len) { 78 int read = super.read(buff, off, len);
|
/openjdk7/jdk/test/java/io/BufferedInputStream/ |
H A D | Fill.java | 55 public int read(byte[] buf, int off, int len) throws IOException { argument 57 for (int i = off; i < n; i++)
|
/openjdk7/jdk/test/java/io/charStreams/ |
H A D | SmallReads.java | 39 public int read(byte[] b, int off, int len) throws IOException { argument 40 return in.read(b, off, 1);
|
/openjdk7/jdk/test/sun/security/ssl/sanity/pluggability/ |
H A D | MySSLEngineImpl.java | 48 public SSLEngineResult wrap(ByteBuffer [] src, int off, int len, argument 51 ByteBuffer [] dst, int off, int len) 50 unwrap(ByteBuffer src, ByteBuffer [] dst, int off, int len) argument
|
/openjdk7/jdk/test/sun/security/util/DerValue/ |
H A D | BadValue.java | 109 public int read(byte b[], int off, int len) throws IOException { argument 113 b[off] = 0;
|
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable/ |
H A D | CompressInputStream.java | 63 public int read(byte b[], int off, int len) throws IOException { argument 72 b[off] = (byte)c; 83 b[off + i] = (byte)c;
|
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/unicast/ |
H A D | CompressInputStream.java | 63 public int read(byte b[], int off, int len) throws IOException { argument 72 b[off] = (byte)c; 83 b[off + i] = (byte)c;
|
/openjdk7/jdk/src/share/classes/sun/net/httpserver/ |
H A D | FixedLengthOutputStream.java | 66 public void write (byte[]b, int off, int len) throws IOException { argument 78 out.write(b, off, len);
|
H A D | Request.java | 258 public synchronized int read (byte[] b, int off, int srclen) throws IOException { argument 271 if (off < 0 || srclen < 0|| srclen > (b.length-off)) { 278 markBuf.get(b, off, willreturn); 295 chanbuf.get(b, off, willreturn); 299 markBuf.put (b, off, willreturn); 380 public synchronized void write (byte[] b, int off, int len) throws IOException { argument 391 buf.put (b, off, len);
|
/openjdk7/jdk/src/share/classes/sun/rmi/log/ |
H A D | LogInputStream.java | 78 * @param off the start offset of the data 84 public int read(byte b[], int off, int len) throws IOException { argument 88 int n = in.read(b, off, len);
|
/openjdk7/jdk/src/share/classes/sun/rmi/transport/proxy/ |
H A D | HttpSendInputStream.java | 76 * @param off the start offset of the data 79 public int read(byte b[], int off, int len) throws IOException argument 85 return in.read(b, off, len);
|
/openjdk7/jdk/src/solaris/classes/sun/tools/attach/ |
H A D | LinuxVirtualMachine.java | 252 public synchronized int read(byte[] bs, int off, int len) throws IOException { argument 253 if ((off < 0) || (off > bs.length) || (len < 0) || 254 ((off + len) > bs.length) || ((off + len) < 0)) { 259 return LinuxVirtualMachine.read(s, bs, off, len); 331 static native int read(int fd, byte buf[], int off, int bufLen) throws IOException; argument 333 static native void write(int fd, byte buf[], int off, int bufLen) throws IOException; argument
|
/openjdk7/jdk/src/share/classes/java/util/zip/ |
H A D | ZipOutputStream.java | 293 * @param off the start offset in the data 298 public synchronized void write(byte[] b, int off, int len) argument 302 if (off < 0 || len < 0 || off > b.length - len) { 314 super.write(b, off, len); 322 out.write(b, off, len); 327 crc.update(b, off, len); 346 long off = written; 349 writeEND(off, written - off); 523 writeEND(long off, long len) argument 616 writeBytes(byte[] b, int off, int len) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | ShortComponentRaster.java | 274 int off = (y-minY)*scanlineStride + 278 outData[band] = data[dataOffsets[band] + off]; 326 int off = 0; 334 outData[off++] = data[dataOffsets[c] + xoff]; 375 int off = 0; 385 System.arraycopy(data, yoff, outData, off, w); 386 off += w; 394 outData[off++] = data[xoff]; 435 int off = 0; 443 outData[off [all...] |
H A D | IntegerInterleavedRaster.java | 228 int off = (y-minY)*scanlineStride + (x-minX) + dataOffsets[0]; 229 outData[0] = data[off]; 274 int off = 0; 277 System.arraycopy(data, yoff, outData, off, w); 278 off += w; 306 int off = (y-minY)*scanlineStride + (x-minX) + dataOffsets[0]; 308 data[off] = inData[0]; 426 int off = 0; 429 System.arraycopy(inData, off, data, yoff, w); 430 off [all...] |
/openjdk7/jdk/src/share/classes/javax/imageio/stream/ |
H A D | FileCacheImageInputStream.java | 169 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);
|
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | SoftJitterCorrector.java | 248 public int read(byte[] b, int off, int len) { argument 252 int offlen = off + len; 253 while (off < offlen) { 259 while (off < offlen && bbuffer_pos < bbuffer_len) 260 b[off++] = bbuffer[bbuffer_pos++];
|
H A D | AudioFloatInputStream.java | 77 public int read(float[] b, int off, int len) throws IOException { argument 80 if (off < 0 || len < 0 || len > b.length - off) 89 b, off, len); 174 public int read(float[] b, int off, int len) throws IOException { argument 181 converter.toFloatArray(buffer, b, off, ret / framesize_pc); 256 public abstract int read(float[] b, int off, int len) throws IOException; argument
|
H A D | SoftMixingClip.java | 63 public int read(byte[] b, int off, int len) throws IOException { 72 int offend = off + len; 73 int o = off; 74 while (off != offend) { 82 len = offend - off; 86 System.arraycopy(data, pos, b, off, len); 87 off += len; 90 len = offend - off; 94 System.arraycopy(data, pos, b, off, len); 95 off [all...] |
/openjdk7/hotspot/src/share/vm/classfile/ |
H A D | altHashing.cpp | 125 int off = 0; local 130 jchar d1 = data[off++] & 0xFFFF; 131 jchar d2 = data[off++]; 148 int k1 = data[off]; 173 int off = 0; local 177 while (off < end) { 178 jint k1 = data[off++];
|
/openjdk7/jdk/src/windows/instrument/ |
H A D | FileSystemSupport_md.c | 129 static char* normalizePath(const char* path, int len, int off) { argument 135 if (off < 3) off = 0; /* Avoid fencepost cases with UNC pathnames */ 140 if (off == 0) { 145 src = off; 146 memcpy(sb+sbLen, path, off); 147 sbLen += off;
|
/openjdk7/jdk/test/java/util/zip/ |
H A D | DeflateIn_InflateOut.java | 100 int off = 0; 105 if (off == 8192) { 106 ios.write(buf, 0, off); 107 off = 0; 109 buf[off++] = (byte) (datum & 0xff); 112 if (off > 0) { 113 ios.write(buf, 0, off);
|
/openjdk7/jdk/src/share/classes/java/nio/ |
H A D | ByteBufferAs-X-Buffer.java.template | 61 int off) 66 offset = off; 68 super(bb, mark, pos, lim, cap, off); 77 int off = (pos << $LG_BYTES_PER_VALUE$) + offset; 78 assert (off >= 0); 79 return new ByteBufferAs$Type$Buffer$RW$$BO$(bb, -1, 0, rem, rem, off);
|
/openjdk7/jdk/src/share/classes/java/util/jar/ |
H A D | JarInputStream.java | 191 * @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/hotspot/src/share/vm/code/ |
H A D | vtableStubs.hpp | 87 uintptr_t off = (uintptr_t)( _chunk + sizeof(VtableStub) ) % pd_code_alignment(); local 88 if (off != 0) _chunk += pd_code_alignment() - off;
|