/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | GifImageDecoder.java | 90 private int readBytes(byte buf[], int off, int len) { argument 93 int n = input.read(buf, off, len); 97 off += n; 106 private static final int ExtractByte(byte buf[], int off) { argument 107 return (buf[off] & 0xFF); 110 private static final int ExtractWord(byte buf[], int off) { argument 111 return (buf[off] & 0xFF) | ((buf[off + 1] & 0xFF) << 8); 395 int off = y * global_width + x2; 399 for (int i = rasbeg; i < rasend; i++, off 656 setPixels(int x, int y, int w, int h, ColorModel cm, byte[] pix, int off, int scan) argument [all...] |
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | RandomAccessFile.java | 342 * @param off the start offset of the data. 346 private int readBytes(byte b[], int off, int len) throws IOException { argument 350 bytesRead = readBytes0(b, off, len); 357 private native int readBytes0(byte b[], int off, int len) throws IOException; argument 370 * @param off the start offset in array <code>b</code> 380 * @exception IndexOutOfBoundsException If <code>off</code> is negative, 382 * <code>b.length - off</code> 384 public int read(byte b[], int off, int len) throws IOException { argument 385 return readBytes(b, off, len); 435 * @param off th 441 readFully(byte b[], int off, int len) argument 516 writeBytes(byte b[], int off, int len) argument 527 writeBytes0(byte b[], int off, int len) argument 549 write(byte b[], int off, int len) argument [all...] |
/openjdk7/jdk/src/share/classes/java/security/ |
H A D | Signature.java | 706 * @param off the offset to start from in the array of bytes. 712 public final void update(byte[] data, int off, int len) argument 715 engineUpdate(data, off, len); 1147 protected void engineUpdate(byte[] b, int off, int len) argument 1150 sigSpi.engineUpdate(b, off, len); 1242 protected void engineUpdate(byte[] b, int off, int len) argument 1245 data.write(b, off, len); 1248 byte[] out = cipher.update(b, off, len);
|
/openjdk7/jdk/src/share/classes/java/util/jar/ |
H A D | JarVerifier.java | 205 public void update(int n, byte[] b, int off, int len, argument 211 baos.write(b, off, n); 213 mev.update(b, off, n); 461 public int read(byte b[], int off, int len) throws IOException { argument 467 int n = is.read(b, off, len); 468 jv.update(n, b, off, len, mev); 471 jv.update(-1, b, off, len, mev);
|
/openjdk7/jdk/src/share/classes/java/util/zip/ |
H A D | ZipFile.java | 666 public int read(byte b[], int off, int len) throws IOException { argument 680 off, len); 765 long pos, byte[] b, int off, int len); 764 read(long jzfile, long jzentry, long pos, byte[] b, int off, int len) argument
|
/openjdk7/jdk/src/share/classes/javax/imageio/stream/ |
H A D | ImageInputStreamImpl.java | 160 * them into <code>b</code> starting at index <code>off</code>. 172 * @param off the starting position within <code>b</code> to write to. 178 * @exception IndexOutOfBoundsException if <code>off</code> is 179 * negative, <code>len</code> is negative, or <code>off + 185 public abstract int read(byte[] b, int off, int len) throws IOException; argument 343 public void readFully(byte[] b, int off, int len) throws IOException { argument 344 // Fix 4430357 - if off + len < 0, overflow occurred 345 if (off < 0 || len < 0 || off + len > b.length || off 364 readFully(short[] s, int off, int len) argument 380 readFully(char[] c, int off, int len) argument 396 readFully(int[] i, int off, int len) argument 412 readFully(long[] l, int off, int len) argument 428 readFully(float[] f, int off, int len) argument 444 readFully(double[] d, int off, int len) argument 460 toShorts(byte[] b, short[] s, int off, int len) argument 479 toChars(byte[] b, char[] c, int off, int len) argument 498 toInts(byte[] b, int[] i, int off, int len) argument 521 toLongs(byte[] b, long[] l, int off, int len) argument 560 toFloats(byte[] b, float[] f, int off, int len) argument 585 toDoubles(byte[] b, double[] d, int off, int len) argument [all...] |
/openjdk7/hotspot/src/share/vm/opto/ |
H A D | idealKit.hpp | 201 Node* AddP(Node *base, Node *ptr, Node *off) { return _gvn.transform(new (C) AddPNode(base, ptr, off)); } argument
|
/openjdk7/jdk/src/share/classes/com/sun/jndi/dns/ |
H A D | DnsClient.java | 498 private void makeQueryName(DnsName fqdn, Packet pkt, int off) { argument 505 pkt.putByte(len, off++); 507 pkt.putByte(label.charAt(j), off++); 511 pkt.putByte(0, off); 668 void putInt(int x, int off) { argument 669 buf[off + 0] = (byte)(x >> 24); 670 buf[off + 1] = (byte)(x >> 16); 671 buf[off + 2] = (byte)(x >> 8); 672 buf[off + 3] = (byte)x; 675 void putShort(int x, int off) { argument 680 putByte(int x, int off) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | SoftMixingDataLine.java | 209 public int read(float[] b, int off, int len) throws IOException { argument
|
/openjdk7/hotspot/src/os/bsd/vm/ |
H A D | attachListener_bsd.cpp | 256 int off = 0; local 261 RESTARTABLE(read(s, buf+off, left), n); 269 if (buf[off+i] == 0) { 286 off += n;
|
/openjdk7/hotspot/src/os/linux/vm/ |
H A D | attachListener_linux.cpp | 251 int off = 0; local 256 RESTARTABLE(read(s, buf+off, left), n); 264 if (buf[off+i] == 0) { 281 off += n;
|
/openjdk7/hotspot/src/os/solaris/vm/ |
H A D | dtraceJSDT_solaris.cpp | 555 uint32_t* off = (uint32_t*)((char*)dof + tab + idx); local 556 tty->print_cr("// [0x%x + 0x%x]: %d", tab, idx, *off);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/org/objectweb/asm/ |
H A D | ClassReader.java | 190 * @param off the start offset of the class data. 193 public ClassReader(final byte[] b, final int off, final int len) { argument 196 items = new int[readUnsignedShort(off + 8)]; 200 int index = off + 10; 375 int off = items[1] - 1; 376 classWriter.pool.putByteArray(b, off, header - off); 1807 * @param off index of the first byte of the attribute's content in 1827 final int off, 1835 return attrs[i].read(this, off, le 1824 readAttribute( final Attribute[] attrs, final String type, final int off, final int len, final char[] buf, final int codeOff, final Label[] labels) argument [all...] |
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/ |
H A D | mlib_v_ImageAffine_BL.c | 175 mlib_s32 off, x0, x1, x2, x3, y0, y1, y2, y3; variable 190 off = (mlib_s32)dl & 3; 191 dp = (mlib_f32*)(dl - off); 193 x0 = X - off*dX; y0 = Y - off*dY; 201 if (off) { 202 mlib_s32 emask = vis_edge16((void*)(2*off), (void*)(2*(off + size - 1))); 204 off = 4 - off; 323 mlib_s32 off, x0, x1, y0, y1; variable [all...] |
H A D | mlib_v_ImageChannelExtract_1.c | 208 mlib_s32 off; /* offset of src over dst */ local 227 off = soff / 2 - doff; 230 off = (soff + 1) / 2 - doff; 235 if (off == 0) { /* src and dst have same alignment */ 273 vis_alignaddr((void *)0, off); 278 if (off < 0) { 327 if (off == 0) { /* src and dst have same alignment */ 363 vis_alignaddr((void *)0, off); 368 if (off < 0) { 599 mlib_s32 off; /* offse local 1160 mlib_s32 off; /* offset of src over dst */ local 1775 mlib_s32 off; /* offset of dst over src */ local 2160 mlib_s32 off; /* offset of src over dst */ local 2712 mlib_s32 off; /* offset of src over dst */ local [all...] |
H A D | mlib_v_ImageChannelInsert_1.c | 516 mlib_s32 off; /* offset of src over dst */ local 537 off = soff * 2 - doff; 543 if (off == 0) { /* src and dst have same alignment */ 584 else if (off < 0) { 585 vis_alignaddr((void *)0, off); 628 else if (off < 8) { 629 vis_alignaddr((void *)0, off); 676 else { /* (off >= 8) */ 677 vis_alignaddr((void *)0, off); 778 vis_alignaddr((void *)0, off); \ 854 mlib_s32 off; /* offset of address alignment in src */ local 1297 mlib_s32 off; /* offset of address alignment in src */ local 1423 mlib_s32 off; /* offset of address alignment in src */ local 1568 mlib_s32 off; /* offset of address alignment in src */ local [all...] |
H A D | mlib_v_ImageLookUpSIU8S32Func.c | 368 mlib_s32 off, size = xsize; local 370 off = (mlib_s32)((4 - ((mlib_addr)sp & 3)) & 3); 372 off = (off < size) ? off : size; 374 for (i = 0; i < off; i++) { 418 mlib_s32 off, size = xsize; local 420 off = (mlib_s32)((4 - ((mlib_addr)sp & 3)) & 3); 422 off = (off < siz 786 mlib_s32 off, size = xsize; local 842 mlib_s32 off, size = xsize; local 1268 mlib_s32 off, size = xsize; local 1330 mlib_s32 off, size = xsize; local [all...] |
H A D | mlib_v_ImageLookUpSIU8U8Func.c | 458 mlib_s32 off; /* offset */ local 465 off = (mlib_addr) dp - (mlib_addr) dl; 482 vis_alignaddr(dp, off); 534 vis_alignaddr(dp, off); 579 vis_alignaddr(dp, off); 607 vis_alignaddr(dp, off); 624 vis_alignaddr(dp, off); 633 num = (((mlib_u8*) dend - (mlib_u8*) dp) + off + 1) >> 1; 645 vis_alignaddr(dp, off); 884 mlib_s32 off, s local 936 mlib_s32 off, s0, size = xsize; local 1490 mlib_s32 off, s0, size = xsize; local 1543 mlib_s32 off, size = xsize; local 1664 mlib_s32 off; local 2154 mlib_s32 off, s0, size = xsize; local 2231 mlib_s32 off, size = xsize; local [all...] |
/openjdk7/jdk/src/windows/classes/java/io/ |
H A D | Win32FileSystem.java | 117 private String normalize(String path, int len, int off) { argument 119 if (off < 3) off = 0; /* Avoid fencepost cases with UNC pathnames */ 124 if (off == 0) { 129 src = off; 130 sb.append(path.substring(0, off));
|
/openjdk7/jdk/test/sun/security/ssl/sun/net/www/httpstest/ |
H A D | HttpServer.java | 36 * handle connections in parallel, and will spin off a new thread to handle 262 /* read all the data off the channel without looking at it 473 int c, off=0, remain=len; 474 while (remain > 0 && ((c=is.read (buf, off, remain))>0)) { 476 off += c; 615 public synchronized int read (byte[] b, int off, int srclen) throws IOException { argument 625 markBuf.get(b, off, willreturn); 636 inAppBB.get(b, off, willreturn); 641 markBuf.put (b, off, willreturn); 747 public synchronized void write (byte[] b, int off, in argument [all...] |
/openjdk7/jdk/test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/ |
H A D | TunnelProxy.java | 213 /* read all the data off the channel without looking at it 368 public synchronized int read (byte[] b, int off, int srclen) throws IOException { argument 378 markBuf.get(b, off, willreturn); 389 chanbuf.get(b, off, willreturn); 394 markBuf.put (b, off, willreturn); 485 public synchronized void write (byte[] b, int off, int len) throws IOException { argument 490 buf.put (b, off, len);
|
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ |
H A D | ZipPath.java | 455 private byte[] normalize(byte[] path, int off) { argument 458 while (n < off) {
|
/openjdk7/jdk/src/share/native/sun/awt/image/ |
H A D | awt_ImageRep.c | 60 if (off < 0 || off >= srcDataLength) { \ 72 if (off > (0x7fffffff - pixeloffset)) { \ 112 jbyteArray jpix, jint off, 214 srcyP = srcData + off; 237 jbyteArray jpix, jint off, 369 ypixP = srcData + off; 109 Java_sun_awt_image_ImageRepresentation_setICMpixels(JNIEnv *env, jclass cls, jint x, jint y, jint w, jint h, jintArray jlut, jbyteArray jpix, jint off, jint scansize, jobject jict) argument 232 Java_sun_awt_image_ImageRepresentation_setDiffICM(JNIEnv *env, jclass cls, jint x, jint y, jint w, jint h, jintArray jlut, jint transIdx, jint numLut, jobject jicm, jbyteArray jpix, jint off, jint scansize, jobject jbct, jint dstDataOff) argument
|
/openjdk7/jdk/src/share/native/sun/awt/medialib/ |
H A D | mlib_ImageConv_D64nw.c | 584 mlib_s32 off, kh; local 620 for (off = 0; off < (n - 4); off += 4) { 621 pk = k + off; 645 pk = k + off; 652 kh = n - off; 789 mlib_s32 l, off, kw; local 826 for (off = 0; off < [all...] |
H A D | mlib_ImageConv_F32nw.c | 584 mlib_s32 off, kh; local 620 for (off = 0; off < (n - 4); off += 4) { 621 pk = k + off; 645 pk = k + off; 652 kh = n - off; 789 mlib_s32 l, off, kw; local 826 for (off = 0; off < [all...] |