Searched refs:off (Results 126 - 150 of 571) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/java/io/
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 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
/openjdk7/jdk/src/share/classes/java/nio/
H A DHeap-X-Buffer.java.template68 Heap$Type$Buffer$RW$($type$[] buf, int off, int len) { // package-private
70 super(-1, off, off + len, buf.length, buf, 0);
76 super(buf, off, len);
83 int off)
86 super(mark, pos, lim, cap, buf, off);
89 offset = off;
92 super(buf, mark, pos, lim, cap, off);
282 int off = offset + position();
289 off))
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/parser/
H A DPositionInputStream.java57 public int read(byte[] b, int off, int len) throws IOException { argument
58 int res = super.read(b, off, len);
/openjdk7/jdk/src/share/classes/java/awt/
H A DSplashScreen.java154 int off = 0;
165 if (off + available > length) {
166 length = off*2;
167 if (off + available > length) {
168 length = available+off;
172 System.arraycopy(oldBuf, 0, buf, 0, off);
175 int result = stream.read(buf, off, available);
179 off += result;
/openjdk7/jdk/make/tools/src/build/tools/charsetmapping/
H A DEUC_TW.java43 int off = 0;
46 ca[off++] = (char)(db[b1 * 256 + b2] & 0xffff);
57 int off = 0;
61 ca[off++] = (char)(((ba[b1 * 256 + b2++] & 0xff) << 8) |
69 int off = 0;
72 index[i] = (char)off;
73 off += 0x100;
78 return off;
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/common/
H A DSubImageInputStream.java55 public int read(byte[] b, int off, int len) throws IOException { argument
61 int bytes = stream.read(b, off, len);
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/
H A Dmlib_v_ImageLookUpS16U8Func.c241 mlib_s32 off, size = xsize; local
243 off = (8 - ((mlib_addr) dp & 7)) & 7;
245 off = (off < size) ? off : size;
247 for (i = 0; i < off; i++, sp++) {
282 mlib_s32 off, size = xsize * 2; local
286 off = (8 - ((mlib_addr) dp & 7)) & 7;
288 off = (off < siz
339 mlib_s32 off, size = xsize * 4; local
575 mlib_s32 off, size = xsize * 3; local
[all...]
H A Dmlib_v_ImageLookUpS32U8Func.c240 mlib_s32 off, size = xsize; local
242 off = (mlib_s32) ((8 - ((mlib_addr) dp & 7)) & 7);
244 off = (off < size) ? off : size;
246 for (i = 0; i < off; i++, sp++) {
281 mlib_s32 off, size = xsize * 2; local
285 off = (mlib_s32) ((8 - ((mlib_addr) dp & 7)) & 7);
287 off = (off < siz
338 mlib_s32 off, size = xsize * 4; local
574 mlib_s32 off, size = xsize * 3; local
[all...]
H A Dmlib_v_ImageLookUpU16U8Func.c240 mlib_s32 off, size = xsize; local
242 off = (8 - ((mlib_addr) dp & 7)) & 7;
244 off = (off < size) ? off : size;
246 for (i = 0; i < off; i++, sp++) {
281 mlib_s32 off, size = xsize * 2; local
285 off = (8 - ((mlib_addr) dp & 7)) & 7;
287 off = (off < siz
338 mlib_s32 off, size = xsize * 4; local
574 mlib_s32 off, size = xsize * 3; local
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWFontMetrics.java174 public native int charsWidth(char data[], int off, int len); argument
179 public native int bytesWidth(byte data[], int off, int len); argument
/openjdk7/jdk/test/java/io/BufferedInputStream/
H A DCountUpdate.java89 public int read(byte b[], int off, int len) throws IOException { argument
92 System.arraycopy(buffer, 0, b, off, len);
H A DSkipTest.java91 public int read(byte b[], int off, int len) throws IOException { argument
93 System.arraycopy(buffer, aposition, b, off, len);
/openjdk7/jdk/test/java/io/BufferedReader/
H A DFill.java51 public int read(char[] cbuf, int off, int len) throws IOException { argument
53 for (int i = off; i < n; i++)
/openjdk7/jdk/test/java/io/Serializable/readPastObject/
H A DReadPastObject.java53 public int read(byte[] b, int off, int len) { argument
56 int n = super.read(b, off, len);
/openjdk7/jdk/test/java/lang/Character/
H A DCheckScript.java84 int off = 0;
85 while (off < ranges.length) {
86 int start = ranges[off++];
87 int end = ranges[off++];
116 int off = 0;
118 while (off < ranges.length) {
119 int start = ranges[off++];
120 int end = ranges[off++];
/openjdk7/jdk/src/share/native/java/util/zip/
H A DCRC32.c47 jarray b, jint off, jint len)
51 crc = crc32(crc, buf + off, len);
46 Java_java_util_zip_CRC32_updateBytes(JNIEnv *env, jclass cls, jint crc, jarray b, jint off, jint len) argument
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable/
H A DCompressOutputStream.java56 public void write(byte b[], int off, int len) throws IOException { argument
64 write(b[off + i]);
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/unicast/
H A DCompressOutputStream.java56 public void write(byte b[], int off, int len) throws IOException { argument
64 write(b[off + i]);
/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DFixedLengthInputStream.java35 * number of bytes off an underlying stream
47 protected int readImpl (byte[]b, int off, int len) throws IOException { argument
56 int n = in.read(b, off, len);
H A DUndefLengthOutputStream.java57 public void write (byte[]b, int off, int len) throws IOException { argument
61 out.write(b, off, len);
/openjdk7/jdk/src/share/classes/sun/rmi/transport/proxy/
H A DHttpSendOutputStream.java76 * @param off the start offset of the data
79 public void write(byte b[], int off, int len) throws IOException argument
85 out.write(b, off, len);
/openjdk7/jdk/src/solaris/classes/sun/tools/attach/
H A DBsdVirtualMachine.java236 public synchronized int read(byte[] bs, int off, int len) throws IOException { argument
237 if ((off < 0) || (off > bs.length) || (len < 0) ||
238 ((off + len) > bs.length) || ((off + len) < 0)) {
243 return BsdVirtualMachine.read(s, bs, off, len);
291 static native int read(int fd, byte buf[], int off, int bufLen) throws IOException; argument
293 static native void write(int fd, byte buf[], int off, int bufLen) throws IOException; argument
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DByteBandedRaster.java244 int off = (y-minY)*scanlineStride + (x-minX);
247 outData[band] = data[band][dataOffsets[band] + off];
294 int off = c;
302 outData[off] = bank[xoff++];
303 off += numDataElements;
346 int off = 0;
348 System.arraycopy(data[band], yoff, outData, off, w);
349 off += w;
389 int off = c;
398 outData[off]
[all...]
H A DShortBandedRaster.java241 int off = (y-minY)*scanlineStride + (x-minX);
244 outData[band] = data[band][dataOffsets[band] + off];
289 int off = c;
297 outData[off] = bank[xoff++];
298 off += numDataElements;
341 int off = 0;
343 System.arraycopy(data[band], yoff, outData, off, w);
344 off += w;
385 int off = c;
393 outData[off]
[all...]

Completed in 63 milliseconds

1234567891011>>