/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | LinearGradientPaintContext.java | 133 protected void fillRaster(int[] pixels, int off, int adjust, argument 140 int rowLimit = off + w; 150 while (off < rowLimit) { // for every pixel in this row 152 pixels[off++] = indexIntoGradientsArrays(g); 158 // change in off from row to row 159 off += adjust; 162 rowLimit = off + w;
|
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/ |
H A D | vis_GlyphList.c | 96 mlib_s32 pix, mask0, mask1, mask_h, mask_l, off; local 122 off = (mlib_s32)src & 7; 123 ss = *(mlib_d64*)(src - off); 132 ss = *(mlib_d64*)(src - off); 138 STORE_D64(8, dst, (mask0 << off) | (mask1 >> (8 - off))); 163 mlib_s32 pix, mask0, mask1, off; local 189 off = (mlib_s32)src & 3; 190 ss = *(mlib_f32*)(src - off); 197 ss = *(mlib_f32*)(src - off); 224 mlib_s32 pix, mask0, mask1, mask, off; local 289 mlib_s32 pix, mask0, mask1, mask, off; local [all...] |
H A D | vis_GlyphListXor.c | 98 mlib_s32 pix, mask0, mask1, mask_h, mask_l, off; local 124 off = (mlib_s32)src & 7; 125 ss = *(mlib_d64*)(src - off); 134 ss = *(mlib_d64*)(src - off); 140 STORE_D64(8, dst, (mask0 << off) | (mask1 >> (8 - off))); 165 mlib_s32 pix, mask0, mask1, off; local 191 off = (mlib_s32)src & 3; 192 ss = *(mlib_f32*)(src - off); 199 ss = *(mlib_f32*)(src - off); 226 mlib_s32 pix, mask0, mask1, mask, off; local 291 mlib_s32 pix, mask0, mask1, mask, off; local [all...] |
/openjdk7/jdk/test/java/nio/charset/coders/ |
H A D | Util.java | 59 public static String toString(byte[] ba, int off, int len) { argument 61 for (int i = off; i < off + len; i++) { 81 public static String toString(char[] ca, int off, int len) { argument 83 for (int i = off; i < off + len; i++) {
|
/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | ImageConsumer.java | 144 * at index (n * scansize + m + off). The pixels delivered using 154 * @param off the offset into the <code>pixels</code> array 160 ColorModel model, byte pixels[], int off, int scansize); 169 * at index (n * scansize + m + off). The pixels delivered using 180 * @param off the offset into the <code>pixels</code> array 186 ColorModel model, int pixels[], int off, int scansize); 159 setPixels(int x, int y, int w, int h, ColorModel model, byte pixels[], int off, int scansize) argument 185 setPixels(int x, int y, int w, int h, ColorModel model, int pixels[], int off, int scansize) argument
|
H A D | MemoryImageSource.java | 126 * @param off the offset into the array of where to store the 133 byte[] pix, int off, int scan) { 134 initialize(w, h, cm, (Object) pix, off, scan, null); 144 * @param off the offset into the array of where to store the 153 byte[] pix, int off, int scan, 156 initialize(w, h, cm, (Object) pix, off, scan, props); 166 * @param off the offset into the array of where to store the 173 int[] pix, int off, int scan) { 174 initialize(w, h, cm, (Object) pix, off, scan, null); 184 * @param off th 132 MemoryImageSource(int w, int h, ColorModel cm, byte[] pix, int off, int scan) argument 152 MemoryImageSource(int w, int h, ColorModel cm, byte[] pix, int off, int scan, Hashtable<?,?> props) argument 172 MemoryImageSource(int w, int h, ColorModel cm, int[] pix, int off, int scan) argument 192 MemoryImageSource(int w, int h, ColorModel cm, int[] pix, int off, int scan, Hashtable<?,?> props) argument 199 initialize(int w, int h, ColorModel cm, Object pix, int off, int scan, Hashtable props) argument 226 MemoryImageSource(int w, int h, int pix[], int off, int scan) argument 246 MemoryImageSource(int w, int h, int pix[], int off, int scan, Hashtable<?,?> props) argument [all...] |
H A D | ImageFilter.java | 159 ColorModel model, byte pixels[], int off, 161 consumer.setPixels(x, y, w, h, model, pixels, off, scansize); 176 ColorModel model, int pixels[], int off, 178 consumer.setPixels(x, y, w, h, model, pixels, off, scansize); 158 setPixels(int x, int y, int w, int h, ColorModel model, byte pixels[], int off, int scansize) argument 175 setPixels(int x, int y, int w, int h, ColorModel model, int pixels[], int off, int scansize) argument
|
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | FilterReader.java | 73 public int read(char cbuf[], int off, int len) throws IOException { argument 74 return in.read(cbuf, off, len);
|
H A D | PushbackInputStream.java | 151 * @param off the start offset in the destination array <code>b</code> 157 * @exception IndexOutOfBoundsException If <code>off</code> is negative, 159 * <code>b.length - off</code> 165 public int read(byte[] b, int off, int len) throws IOException { argument 169 } else if (off < 0 || len < 0 || len > b.length - off) { 180 System.arraycopy(buf, pos, b, off, avail); 182 off += avail; 186 len = super.read(b, off, len); 217 * read will have the value <code>b[off]</cod 229 unread(byte[] b, int off, int len) argument [all...] |
H A D | PushbackReader.java | 98 * @param off Offset at which to start writing characters 106 public int read(char cbuf[], int off, int len) throws IOException { argument 113 } else if ((off < 0) || (off > cbuf.length)) { 122 System.arraycopy(buf, pos, cbuf, off, avail); 124 off += avail; 128 len = super.read(cbuf, off, len); 163 * character to be read will have the value <code>cbuf[off]</code>, the 164 * character after that will have the value <code>cbuf[off+1]</code>, and 168 * @param off Offse 174 unread(char cbuf[], int off, int len) argument [all...] |
H A D | ObjectOutputStream.java | 694 * @param off the start offset in the data 698 public void write(byte[] buf, int off, int len) throws IOException { argument 702 int endoff = off + len; 703 if (off < 0 || len < 0 || endoff > buf.length || endoff < 0) { 706 bout.write(buf, off, len, false); 1761 * Block data mode is turned off by default. 1769 * Sets block data mode to the given mode (true == on, false == off) 1810 public void write(byte[] b, int off, int len) throws IOException { argument 1811 write(b, off, len, false); 1830 void write(byte[] b, int off, in argument 2012 writeBooleans(boolean[] v, int off, int len) argument 2025 writeChars(char[] v, int off, int len) argument 2042 writeShorts(short[] v, int off, int len) argument 2059 writeInts(int[] v, int off, int len) argument 2076 writeFloats(float[] v, int off, int len) argument 2092 writeLongs(long[] v, int off, int len) argument 2109 writeDoubles(double[] v, int off, int len) argument [all...] |
H A D | ObjectInputStream.java | 848 * @param off the start offset of the data 855 public int read(byte[] buf, int off, int len) throws IOException { argument 859 int endoff = off + len; 860 if (off < 0 || len < 0 || endoff > buf.length || endoff < 0) { 863 return bin.read(buf, off, len, false); 1020 * @param off the start offset of the data 1025 public void readFully(byte[] buf, int off, int len) throws IOException { argument 1026 int endoff = off + len; 1027 if (off < 0 || len < 0 || endoff > buf.length || endoff < 0) { 1030 bin.readFully(buf, off, le 2305 read(byte[] b, int off, int len) argument 2319 readFully(byte[] b, int off, int len) argument 2622 read(byte[] b, int off, int len) argument 2696 read(byte[] b, int off, int len, boolean copy) argument 2733 readFully(byte[] b, int off, int len) argument 2737 readFully(byte[] b, int off, int len, boolean copy) argument 2878 readBooleans(boolean[] v, int off, int len) argument 2899 readChars(char[] v, int off, int len) argument 2921 readShorts(short[] v, int off, int len) argument 2943 readInts(int[] v, int off, int len) argument 2965 readFloats(float[] v, int off, int len) argument 2985 readLongs(long[] v, int off, int len) argument 3007 readDoubles(double[] v, int off, int len) argument [all...] |
H A D | ByteArrayInputStream.java | 157 * are copied into <code>b[off]</code> through 158 * <code>b[off+k-1]</code> in the manner performed 166 * @param off the start offset in the destination array <code>b</code> 172 * @exception IndexOutOfBoundsException If <code>off</code> is negative, 174 * <code>b.length - off</code> 176 public synchronized int read(byte b[], int off, int len) { argument 179 } else if (off < 0 || len < 0 || len > b.length - off) { 194 System.arraycopy(buf, pos, b, off, len);
|
H A D | ObjectInput.java | 76 * @param off the start offset of the data 82 public int read(byte b[], int off, int len) throws IOException; argument
|
H A D | ObjectOutput.java | 70 * @param off the start offset in the data 74 public void write(byte b[], int off, int len) throws IOException; argument
|
H A D | OutputStreamWriter.java | 201 * @param off Offset from which to start writing characters 206 public void write(char cbuf[], int off, int len) throws IOException { argument 207 se.write(cbuf, off, len); 214 * @param off Offset from which to start writing characters 219 public void write(String str, int off, int len) throws IOException { argument 220 se.write(str, off, len);
|
H A D | Writer.java | 136 * @param off 145 abstract public void write(char cbuf[], int off, int len) throws IOException; argument 166 * @param off 173 * If <tt>off</tt> is negative, or <tt>len</tt> is negative, 174 * or <tt>off+len</tt> is negative or greater than the length 180 public void write(String str, int off, int len) throws IOException { argument 191 str.getChars(off, (off + len), cbuf, 0);
|
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | SocketInputStream.java | 88 * @param off the start offset of the data 96 byte b[], int off, int len, 112 * Reads into a byte array <i>b</i> at offset <i>off</i>, 115 * @param off the start offset of the data 121 public int read(byte b[], int off, int length) throws IOException { argument 122 return read(b, off, length, impl.getTimeout()); 125 int read(byte b[], int off, int length, int timeout) throws IOException { argument 139 if (length <= 0 || off < 0 || off + length > b.length) { 152 n = socketRead0(fd, b, off, lengt 95 socketRead0(FileDescriptor fd, byte b[], int off, int len, int timeout) argument [all...] |
/openjdk7/jdk/src/share/classes/java/nio/ |
H A D | Direct-X-Buffer-bin.java.template | 85 int off = this.position(); 87 assert (off <= lim); 88 int rem = (off <= lim ? lim - off : 0); 91 if (!unaligned && ((address + off) % $BYTES_PER_VALUE$ != 0)) { 98 off)) 104 off))); 112 off)) 118 off)));
|
/openjdk7/jdk/src/share/classes/sun/reflect/ |
H A D | ClassDefiner.java | 54 static Class defineClass(String name, byte[] bytes, int off, int len, argument 63 return unsafe.defineClass(name, bytes, off, len, newLoader, null);
|
/openjdk7/jdk/src/share/classes/sun/java2d/pisces/ |
H A D | Curve.java | 104 int dxRoots(float[] roots, int off) { argument 105 return Helpers.quadraticRoots(dax, dbx, cx, roots, off); 108 int dyRoots(float[] roots, int off) { argument 109 return Helpers.quadraticRoots(day, dby, cy, roots, off); 112 int infPoints(float[] pts, int off) { argument 120 return Helpers.quadraticRoots(a, b, c, pts, off); 126 private int perpendiculardfddf(float[] pts, int off) { argument 127 assert pts.length >= off + 4; 136 return Helpers.cubicRootsInAB(a, b, c, d, pts, off, 0f, 1f); 152 int rootsOfROCMinusW(float[] roots, int off, fina argument [all...] |
/openjdk7/jdk/test/java/nio/channels/FileChannel/ |
H A D | Transfers.java | 58 int off, int len) 61 fc.position(off); 68 FileChannel fc, int off, int len) 74 writeBytes(ba, fc, off, len); 77 private static void writeZeroBytes(FileChannel fc, int off, int len) argument 81 writeBytes(ba, fc, off, len); 84 private static void checkBytes(FileChannel fc, int off, int len, argument 89 fc.position(off); 98 private static void checkRandomBytes(FileChannel fc, int off, int len, argument 105 checkBytes(fc, off, le 57 writeBytes(byte[] ba, FileChannel fc, int off, int len) argument 67 writeRandomBytes(long seed, FileChannel fc, int off, int len) argument 108 checkZeroBytes(FileChannel fc, int off, int len) argument 414 show(String dir, String channelName, int off, int len) argument 421 testTo(long seed, FileChannel fc, int off, int len, Target tgt) argument 452 testFrom(long seed, Source src, FileChannel fc, int off, int len) argument [all...] |
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/ |
H A D | mlib_v_ImageLookUpU8S32Func.c | 148 mlib_s32 off, size = xsize; local 150 off = (mlib_s32) ((4 - ((mlib_addr) sp & 3)) & 3); 152 off = (off < size) ? off : size; 154 for (i = 0; i < off; i++) { 189 mlib_s32 off, size = xsize * 2; local 193 off = (mlib_s32) ((4 - ((mlib_addr) sp & 3)) & 3); 195 off = (off < siz 245 mlib_s32 off, size = xsize * 4; local 403 mlib_s32 off, size = xsize * 3; local [all...] |
/openjdk7/jdk/src/share/classes/java/nio/channels/ |
H A D | Channels.java | 158 public synchronized void write(byte[] bs, int off, int len) 161 if ((off < 0) || (off > bs.length) || (len < 0) || 162 ((off + len) > bs.length) || ((off + len) < 0)) { 170 bb.limit(Math.min(off + len, bb.capacity())); 171 bb.position(off); 218 public synchronized int read(byte[] bs, int off, int len) 221 if ((off < 0) || (off > b [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/util/ |
H A D | UnicodeEscapeWriter.java | 73 public final void write(char[] buf, int off, int len) throws IOException { argument 75 write(buf[off+i]); 82 public final void write(String buf, int off, int len) throws IOException { argument 83 write( buf.toCharArray(), off, len );
|