/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | GradientPaintContext.java | 235 int off = irast.getDataOffset(0); 240 cycleFillRaster(pixels, off, adjust, w, h, rowrel, dx, dy); 242 clipFillRaster(pixels, off, adjust, w, h, rowrel, dx, dy); 250 void cycleFillRaster(int[] pixels, int off, int adjust, int w, int h, argument 259 pixels[off++] = interp[icolrel >>> 23]; 263 off += adjust; 268 void clipFillRaster(int[] pixels, int off, int adjust, int w, int h, argument 276 pixels[off++] = rgb; 281 pixels[off++] = interp[(int) (colrel * 256)]; 287 pixels[off [all...] |
H A D | RadialGradientPaintContext.java | 173 protected void fillRaster(int pixels[], int off, int adjust, argument 177 simpleNonCyclicFillRaster(pixels, off, adjust, x, y, w, h); 179 cyclicCircularGradientFillRaster(pixels, off, adjust, x, y, w, h); 188 private void simpleNonCyclicFillRaster(int pixels[], int off, int adjust, argument 262 pixels[off + i] = rgbclip; 283 pixels[off + i] = gradient[gIndex]; 292 pixels[off + i] = rgbclip; 296 off += adjust; 330 private void cyclicCircularGradientFillRaster(int pixels[], int off, argument 372 int indexer = off; [all...] |
/openjdk7/jdk/src/share/classes/sun/nio/cs/ |
H A D | StreamEncoder.java | 116 public void write(char cbuf[], int off, int len) throws IOException { argument 119 if ((off < 0) || (off > cbuf.length) || (len < 0) || 120 ((off + len) > cbuf.length) || ((off + len) < 0)) { 125 implWrite(cbuf, off, len); 129 public void write(String str, int off, int len) throws IOException { argument 134 str.getChars(off, off + len, cbuf, 0); 262 void implWrite(char cbuf[], int off, in argument [all...] |
/openjdk7/jdk/src/share/classes/javax/imageio/stream/ |
H A D | FileCacheImageOutputStream.java | 108 public int read(byte[] b, int off, int len) throws IOException { argument 114 if (off < 0 || len < 0 || off + len > b.length || off + len < 0) { 116 ("off < 0 || len < 0 || off+len > b.length || off+len < 0!"); 125 int nbytes = cache.read(b, off, len); 139 public void write(byte[] b, int off, int len) throws IOException { argument 141 cache.write(b, off, le [all...] |
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | Hashing.java | 123 int off = offset; 128 int k1 = (data[off++] & 0xFFFF) | (data[off++] << 16); 144 int k1 = data[off]; 177 int off = offset; 181 while (off < end) { 182 int k1 = data[off++];
|
/openjdk7/jdk/src/solaris/classes/sun/tools/attach/ |
H A D | SolarisVirtualMachine.java | 180 public synchronized int read(byte[] bs, int off, int len) throws IOException { argument 181 if ((off < 0) || (off > bs.length) || (len < 0) || 182 ((off + len) > bs.length) || ((off + len) < 0)) { 187 return SolarisVirtualMachine.read(s, bs, off, len); 234 static native int read(int fd, byte buf[], int off, int buflen) throws IOException; argument
|
/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | ByteInterleavedRaster.java | 327 int off = (y-minY)*scanlineStride + 331 outData[band] = data[dataOffsets[band] + off]; 400 int off = 0; 409 System.arraycopy(data, yoff, outData, off, w); 410 off += w; 417 outData[off++] = data[xoff]; 458 int off = 0; 466 System.arraycopy(data, yoff, outData, off, rowBytes*h); 469 System.arraycopy(data, yoff, outData, off, rowBytes); 470 off [all...] |
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/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/ |
H A D | PerfDataEntry.java | 127 int off = nameOffset(); 128 return CStringUtilities.getString(addr.addOffsetTo(off)); 203 final int off = dataOffset(); 206 res[i] = addr.getJBooleanAt(off + i * size); 218 final int off = dataOffset(); 221 res[i] = addr.getJCharAt(off + i * size); 233 final int off = dataOffset(); 236 res[i] = addr.getJByteAt(off + i * size); 248 final int off = dataOffset(); 251 res[i] = addr.getJShortAt(off [all...] |
H A D | PerfMemory.java | 98 int off = header.entryOffset(); 104 PerfDataEntry.class, addr.addOffsetTo(off)); 105 off += pde.entryLength();
|
/openjdk7/jdk/src/share/classes/sun/java2d/pisces/ |
H A D | Dasher.java | 111 private void emitSeg(float[] buf, int off, int type) { argument 114 out.curveTo(buf[off+0], buf[off+1], 115 buf[off+2], buf[off+3], 116 buf[off+4], buf[off+5]); 119 out.quadTo(buf[off+0], buf[off+1], 120 buf[off 143 goTo(float[] pts, int off, final int type) argument [all...] |
/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...] |
/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 | 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/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/com/sun/media/sound/ |
H A D | Toolkit.java | 49 static void getUnsigned8(byte[] b, int off, int len) { argument 50 for (int i = off; i < (off+len); i++) { 60 static void getByteSwapped(byte[] b, int off, int len) { argument 63 for (int i = off; i < (off+len); i+=2) {
|
H A D | SoftMixingSourceDataLine.java | 103 public int read(float[] b, int off, int len) throws IOException { argument 106 int ret = ais.read(b, off, avail); 107 Arrays.fill(b, off + ret, off + len, 0); 110 return ais.read(b, off, len); 127 public int write(byte[] b, int off, int len) { argument 133 if (off < 0) { 134 throw new ArrayIndexOutOfBoundsException(off); 136 if ((long)off + (long)len > (long)b.length) { 152 buff[pos++] = b[off [all...] |
/openjdk7/jdk/test/java/io/InputStream/ |
H A D | ReadParams.java | 28 * XXXXInputStream.read(b, off, len). 39 /* check for correct handling of different values of off and len */ 42 int off[] = {-1, -1, 0, 0, 33, 33, 0, 32, 32, 4, 1, 0, -1, 51 int numCases = off.length; 57 in.read(b , off[i] , len[i]); 61 " for read(b, " + off[i] + " " + len[i] + 65 /* System.err.println("PassE: " + off[i] + " " + len[i]); */ 70 off[i] + " " + len[i] + " ) on " + in + 77 " for read(b, " + off[i] + " " + len[i] + 81 /* System.err.println("Pass: " + off[ [all...] |
/openjdk7/jdk/src/share/classes/sun/net/www/http/ |
H A D | ChunkedOutputStream.java | 200 public synchronized void write(byte b[], int off, int len) { argument 202 if ((off < 0) || (off > b.length) || (len < 0) || 203 ((off + len) > b.length) || ((off + len) < 0)) { 216 int inputIndex = off; /* the index of the byte[] currently being written */
|
/openjdk7/jdk/src/share/classes/javax/sound/midi/ |
H A D | MetaMessage.java | 232 private void writeVarInt(byte[] data, int off, long value) { argument 238 data[off++]=(byte) (((value & (mask << shift)) >> shift) | 0x80); 241 data[off] = (byte) (value & mask);
|
/openjdk7/jdk/src/share/classes/javax/swing/text/rtf/ |
H A D | AbstractFilter.java | 160 public void write(byte[] buf, int off, int len) argument 165 short b = (short)buf[off]; 187 off ++;
|
/openjdk7/jdk/src/share/classes/java/math/ |
H A D | MathContext.java | 190 int off = 10; // where value starts 195 off = fence + 1 + 13; 196 String str = val.substring(off, val.length());
|
/openjdk7/jdk/src/share/classes/java/util/zip/ |
H A D | GZIPOutputStream.java | 139 * @param off the start offset of the data 143 public synchronized void write(byte[] buf, int off, int len) argument 146 super.write(buf, off, len); 147 crc.update(buf, off, len);
|
/openjdk7/jdk/src/solaris/native/java/net/ |
H A D | SocketOutputStream.c | 65 jint off, jint len) { 104 (*env)->GetByteArrayRegion(env, data, off, chunkLen, (jbyte *)bufP); 130 off += chunkLen; 62 Java_java_net_SocketOutputStream_socketWrite0(JNIEnv *env, jobject this, jobject fdObj, jbyteArray data, jint off, jint len) argument
|
/openjdk7/jdk/src/windows/native/java/net/ |
H A D | SocketOutputStream.c | 62 jint off, jint len) { 102 (*env)->GetByteArrayRegion(env, data, off, chunkLen, (jbyte *)bufP); 162 off += chunkLen; 60 Java_java_net_SocketOutputStream_socketWrite0(JNIEnv *env, jobject this, jobject fdObj, jbyteArray data, jint off, jint len) argument
|