/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/classes/sun/font/ |
H A D | FontDesignMetrics.java | 489 public int charsWidth(char data[], int off, int len) { argument 496 String str = new String(data, off, len); 503 int limit = off + len; 504 for (int i=off; i < limit; i++) { 509 String str = new String(data, off, len);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/ |
H A D | MIMEParser.java | 389 * @param off start index in mybuf 394 private int match(byte[] mybuf, int off, int len) { argument 398 NEXT: while (off <= last) { 401 byte ch = mybuf[off+j]; 405 off += Math.max(j + 1 - bcs[ch&0x7F], gss[j]); 409 // Entire pattern matched starting at off 410 return off;
|
/openjdk7/jdk/src/share/classes/sun/nio/cs/ |
H A D | SingleByte.java | 267 int off = 0; 274 c2bIndex[index] = (char)off; 275 off += 0x100; 288 c2bIndex[index] = (char)off; 289 off += 0x100;
|
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ |
H A D | ZipFileSystem.java | 873 int off = path.length - 1; 874 if (off > 0 && path[off] == '/') // isDirectory 875 off--; 876 while (off > 0 && path[off] != '/') { off--; } 877 if (off <= 0) 879 return Arrays.copyOf(path, off + 1); 939 final long readFullyAt(byte[] buf, int off, lon argument 1474 read(byte b[], int off, int len) argument 1550 write(byte b[], int off, int len) argument [all...] |
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/ |
H A D | mlib_v_ImageLookUpSIS16S16Func.c | 233 mlib_s32 off, s0, size = xsize; local 235 off = ((8 - ((mlib_addr)dp & 7)) & 7); 237 if ((off >= 4) && (size > 0)) { 391 mlib_s32 off, s0, size = xsize; local 393 off = ((mlib_addr)dp & 7) >> 1; 394 off = (off < size) ? off : size; 396 for (i = 0; i < off; i++) { 682 mlib_s32 off, s local [all...] |
H A D | mlib_v_ImageLookUpSIS16U16Func.c | 233 mlib_s32 off, s0, size = xsize; local 235 off = ((8 - ((mlib_addr)dp & 7)) & 7); 237 if ((off >= 4) && (size > 0)) { 391 mlib_s32 off, s0, size = xsize; local 393 off = ((mlib_addr)dp & 7) >> 1; 394 off = (off < size) ? off : size; 396 for (i = 0; i < off; i++) { 682 mlib_s32 off, s local [all...] |
H A D | mlib_v_ImageLookUpSIS32S16Func.c | 236 mlib_s32 off, s0, size = xsize; local 238 off = (mlib_s32) (((8 - ((mlib_addr) dp & 7)) & 7)); 240 if ((off >= 4) && (size > 0)) { 398 mlib_s32 off, s0, size = xsize; local 400 off = (mlib_s32) (((mlib_addr) dp & 7) >> 1); 401 off = (off < size) ? off : size; 403 for (i = 0; i < off; i++) { 691 mlib_s32 off, s local [all...] |
H A D | mlib_v_ImageLookUpSIS32U16Func.c | 236 mlib_s32 off, s0, size = xsize; local 238 off = (mlib_s32) (((8 - ((mlib_addr) dp & 7)) & 7)); 240 if ((off >= 4) && (size > 0)) { 398 mlib_s32 off, s0, size = xsize; local 400 off = (mlib_s32) (((mlib_addr) dp & 7) >> 1); 401 off = (off < size) ? off : size; 403 for (i = 0; i < off; i++) { 691 mlib_s32 off, s local [all...] |
H A D | mlib_v_ImageLookUpSIU16S16Func.c | 233 mlib_s32 off, s0, size = xsize; local 235 off = ((8 - ((mlib_addr)dp & 7)) & 7); 237 if ((off >= 4) && (size > 0)) { 391 mlib_s32 off, s0, size = xsize; local 393 off = ((mlib_addr)dp & 7) >> 1; 394 off = (off < size) ? off : size; 396 for (i = 0; i < off; i++) { 682 mlib_s32 off, s local [all...] |
H A D | mlib_v_ImageLookUpSIU16U16Func.c | 235 mlib_s32 off, s0, size = xsize; local 237 off = ((8 - ((mlib_addr) dp & 7)) & 7); 239 if ((off >= 4) && (size > 0)) { 395 mlib_s32 off, s0, size = xsize; local 397 off = ((mlib_addr) dp & 7) >> 1; 398 off = (off < size) ? off : size; 400 for (i = 0; i < off; i++) { 686 mlib_s32 off, s local [all...] |
/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/net/www/httptest/ |
H A D | HttpServer.java | 232 /* read all the data off the channel without looking at it 288 int c, off=0, remain=len; 289 while (remain > 0 && ((c=is.read (buf, off, remain))>0)) { 291 off += c; 433 public synchronized int read (byte[] b, int off, int srclen) throws IOException { argument 443 markBuf.get(b, off, willreturn); 454 chanbuf.get(b, off, willreturn); 459 markBuf.put (b, off, willreturn); 550 public synchronized void write (byte[] b, int off, int len) throws IOException { argument 555 buf.put (b, off, le [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xpath/regex/ |
H A D | RegexParser.java | 451 boolean checkQuestion(int off) { argument 452 return off < this.regexlen && this.regex.charAt(off) == '?'; 690 int off = this.offset; // this.offset -> next of '{' 693 if ((ch = this.regex.charAt(off++)) >= '0' && ch <= '9') { 696 while (off < this.regexlen 697 && (ch = this.regex.charAt(off++)) >= '0' && ch <= '9') { 710 if (off >= this.regexlen) { 713 else if ((ch = this.regex.charAt(off++)) >= '0' && ch <= '9') { 716 while (off < thi [all...] |
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | DirectAudioDevice.java | 722 public int write(byte[] b, int off, int len) { argument 736 if (off < 0) { 737 throw new ArrayIndexOutOfBoundsException(off); 739 if ((long)off + (long)len > (long)b.length) { 753 thisWritten = nWrite(id, b, off, len, 768 off += thisWritten; 952 public int read(byte[] b, int off, int len) { argument 966 if (off < 0) { 967 throw new ArrayIndexOutOfBoundsException(off); 969 if ((long)off 1476 nWrite(long id, byte[] b, int off, int len, int conversionSize, float volLeft, float volRight) argument 1478 nRead(long id, byte[] b, int off, int len, int conversionSize) argument [all...] |
H A D | SunFileWriter.java | 197 public int read(byte b[], int off, int len) throws IOException { argument 198 return in.read(b, off, len);
|
H A D | WaveFloatFileWriter.java | 103 public void write(byte[] b, int off, int len) throws IOException { argument 104 out.write(b, off, len);
|
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | Properties.java | 532 private String loadConvert (char[] in, int off, int len, char[] convtBuf) { argument 543 int end = off + len; 545 while (off < end) { 546 aChar = in[off++]; 548 aChar = in[off++]; 553 aChar = in[off++];
|
/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/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/hotspot/src/share/vm/prims/ |
H A D | jvm.cpp | 2899 // When ConvertYieldToSleep is off (default), this matches the classic VM use of yield. 3877 jsize off = 0; variable 3891 jboolean val = (dbuf->byte_at(off) != 0) ? JNI_TRUE : JNI_FALSE; 3894 off++; 3899 o->byte_field_put(field_offset, dbuf->byte_at(off)); 3901 off++; 3906 jchar val = ((dbuf->byte_at(off + 0) & 0xFF) << 8) 3907 + ((dbuf->byte_at(off + 1) & 0xFF) << 0); 3910 off += 2; 3915 jshort val = ((dbuf->byte_at(off 4005 jsize off = 0; variable [all...] |
/openjdk7/jdk/src/share/classes/sun/java2d/loops/ |
H A D | GeneralRenderer.java | 157 int xPoints[], int yPoints[], int off, int nPoints, 166 mx = x1 = xPoints[off] + transx; 167 my = y1 = yPoints[off] + transy; 169 ++off; 170 int x2 = xPoints[off] + transx; 171 int y2 = yPoints[off] + transy; 392 int off = 0; 394 off = cx1 - gx1; 398 off += (cy1 - gy1) * w; 408 if (alpha[off 156 doDrawPoly(SurfaceData sData, PixelWriter pw, int xPoints[], int yPoints[], int off, int nPoints, Region clip, int transx, int transy, boolean close) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/png/ |
H A D | PNGImageWriter.java | 81 public void update(byte[] data, int off, int len) { argument 83 crc = crcTable[(crc ^ data[off + n]) & 0xff] ^ (crc >>> 8); 115 public int read(byte[] b, int off, int len) throws IOException { argument 119 public void write(byte[] b, int off, int len) throws IOException { argument 120 crc.update(b, off, len); 121 stream.write(b, off, len); 203 public int read(byte[] b, int off, int len) throws IOException { argument 207 public void write(byte[] b, int off, int len) throws IOException { argument 213 def.setInput(b, off, len); 222 int off [all...] |
/openjdk7/jdk/src/share/classes/java/io/ |
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);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/util/ |
H A D | BASE64EncoderStream.java | 75 * <code>byte</code> array starting at offset <code>off</code> to 79 * @param off the start offset in the data. 83 public void write(byte[] b, int off, int len) throws IOException { argument 85 write(b[off + i]);
|