/openjdk7/jaxp/src/com/sun/xml/internal/stream/writers/ |
H A D | UTF8OutputStreamWriter.java | 118 public void write(char cbuf[], int off, int len) throws IOException { argument 120 write(cbuf[off + i]); 131 public void write(String str, int off, int len) throws IOException { argument 133 write(str.charAt(off + i));
|
/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | CropImageFilter.java | 116 ColorModel model, byte pixels[], int off, 140 off + (y1 - y) * scansize + (x1 - x), scansize); 156 ColorModel model, int pixels[], int off, 180 off + (y1 - y) * scansize + (x1 - x), scansize); 115 setPixels(int x, int y, int w, int h, ColorModel model, byte pixels[], int off, int scansize) argument 155 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 | DataOutput.java | 82 * is thrown. If <code>off</code> is negative, 83 * or <code>len</code> is negative, or <code>off+len</code> 88 * byte <code>b[off]</code> is written first, 89 * then <code>b[off+1]</code>, and so on; the 90 * last byte written is <code>b[off+len-1]</code>. 93 * @param off the start offset in the data. 97 void write(byte b[], int off, int len) throws IOException; argument
|
/openjdk7/jdk/src/share/classes/java/nio/ |
H A D | Buffer.java | 557 static void checkBounds(int off, int len, int size) { // package-private argument 558 if ((off | len | (off + len) | (size - (off + len))) < 0)
|
/openjdk7/jdk/src/share/classes/java/util/zip/ |
H A D | InflaterInputStream.java | 130 * @param off the start offset in the destination array <code>b</code> 135 * @exception IndexOutOfBoundsException If <code>off</code> is negative, 137 * <code>b.length - off</code> 141 public int read(byte[] b, int off, int len) throws IOException { argument 145 } else if (off < 0 || len < 0 || len > b.length - off) { 152 while ((n = inf.inflate(b, off, len)) == 0) {
|
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | MultipleGradientPaint.java | 199 int off = 0; 205 off++; 214 System.arraycopy(fractions, 0, this.fractions, off, fractions.length); 216 System.arraycopy(colors, 0, this.colors, off, colors.length);
|
/openjdk7/jdk/make/tools/src/build/tools/charsetmapping/ |
H A D | SBCS.java | 63 private static void toString(char[] sb, int off, int end, argument 66 while (off < end) { 69 if (off == end) 71 char c = sb[off++]; 94 if (off == end) 96 closure, off-8, off-1); 99 off-8, off-1); 101 if (off [all...] |
/openjdk7/jdk/test/java/rmi/reliability/benchmark/bench/serial/ |
H A D | StreamBuffer.java | 66 public void write(byte[] b, int off, int len) throws IOException { argument 71 System.arraycopy(b, off, buf, pos, len); 96 public int read(byte[] b, int off, int len) throws IOException { argument 102 System.arraycopy(buf, pos, b, off, rlen);
|
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/ |
H A D | TextRenderer.java | 71 int off = 0; 73 off = cx1 - gx1; 77 off += (cy1 - gy1) * w; 86 outpipe.renderPathTile(ctx, alpha, off, w,
|
/openjdk7/jdk/src/share/classes/sun/net/www/http/ |
H A D | ChunkedInputStream.java | 235 private int fastRead(byte[] b, int off, int len) throws IOException { argument 244 nread = in.read(b, off, cnt); 664 * @param off offset at which to start storing bytes. 670 public synchronized int read(byte b[], int off, int len) argument 674 if ((off < 0) || (off > b.length) || (len < 0) || 675 ((off + len) > b.length) || ((off + len) < 0)) { 689 return fastRead( b, off, len ); 702 System.arraycopy(chunkData, chunkPos, b, off, cn [all...] |
/openjdk7/jdk/src/share/classes/sun/rmi/rmic/ |
H A D | IndentingWriter.java | 110 public void write(char[] cbuf, int off, int len) throws IOException { argument 114 super.write(cbuf, off, len); 120 public void write(String s, int off, int len) throws IOException { argument 124 super.write(s, off, len);
|
/openjdk7/jdk/src/share/classes/sun/rmi/rmic/newrmic/ |
H A D | IndentingWriter.java | 102 public void write(char[] cbuf, int off, int len) throws IOException { argument 106 super.write(cbuf, off, len); 112 public void write(String s, int off, int len) throws IOException { argument 116 super.write(s, off, len);
|
/openjdk7/jdk/test/sun/nio/cs/ |
H A D | ReadZero.java | 41 public int read(byte [] b, int off, int len) {
|
H A D | TestStringCodingUTF8.java | 63 // randomed "off" and "len" on shuffled data 68 int off = rnd.nextInt(bmpsupp.length - maxlen); 70 test(cs, bmpsupp, off, len); 89 static void test(Charset cs, char[] ca, int off, int len) throws Throwable { argument 90 String str = new String(ca, off, len); 91 byte[] ba = encode(cs, ca, off, len); 113 static char[] decode(Charset cs, byte[] ba, int off, int len) { argument 123 ByteBuffer bb = ByteBuffer.wrap(ba, off, len); 139 static byte[] encode(Charset cs, char[] ca, int off, int len) { argument 149 CharBuffer cb = CharBuffer.wrap(ca, off, le [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | ByteComponentRaster.java | 275 int off = (y-minY)*scanlineStride + 279 outData[band] = data[dataOffsets[band] + off]; 327 int off = 0; 335 outData[off++] = data[dataOffsets[c] + xoff]; 376 int off = 0; 386 System.arraycopy(data, yoff, outData, off, w); 387 off += w; 395 outData[off++] = data[xoff]; 436 int off = 0; 445 outData[off [all...] |
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | PCMtoPCMCodec.java | 490 public int read(byte[] b, int off, int len) throws IOException { argument 504 int readCount = super.read(b, off, len); 516 switchSigned8bit(b,off,len,readCount); 520 switchEndian(b,off,len,readCount); 524 switchSignedLE(b,off,len,readCount); 528 switchSignedBE(b,off,len,readCount); 533 switchSignedLE(b,off,len,readCount); 534 switchEndian(b,off,len,readCount); 539 switchSignedBE(b,off,len,readCount); 540 switchEndian(b,off,le 552 switchSigned8bit(byte[] b, int off, int len, int readCount) argument 559 switchSignedBE(byte[] b, int off, int len, int readCount) argument 566 switchSignedLE(byte[] b, int off, int len, int readCount) argument 573 switchEndian(byte[] b, int off, int len, int readCount) argument [all...] |
H A D | RIFFWriter.java | 50 public void write(byte[] b, int off, int len) throws IOException; argument 87 public void write(byte[] b, int off, int len) throws IOException { argument 88 raf.write(b, off, len); 136 public void write(byte[] b, int off, int len) throws IOException { argument 140 int end = off + len; 141 for (int i = off; i < end; i++) { 262 public void write(byte b[], int off, int len) throws IOException { argument 273 raf.write(b, off, len);
|
/openjdk7/jdk/src/share/classes/com/sun/security/ntlm/ |
H A D | NTLM.java | 263 * input starts at offset off 265 byte[] makeDesKey (byte[] input, int off) { argument 271 out[0] = (byte)in[off+0]; 272 out[1] = (byte)(((in[off+0] << 7) & 0xFF) | (in[off+1] >> 1)); 273 out[2] = (byte)(((in[off+1] << 6) & 0xFF) | (in[off+2] >> 2)); 274 out[3] = (byte)(((in[off+2] << 5) & 0xFF) | (in[off+3] >> 3)); 275 out[4] = (byte)(((in[off [all...] |
/openjdk7/jdk/src/share/classes/javax/crypto/ |
H A D | CipherOutputStream.java | 146 * starting at offset <code>off</code> to this output stream. 149 * @param off the start offset in the data. 154 public void write(byte b[], int off, int len) throws IOException { argument 155 obuffer = cipher.update(b, off, len);
|
/openjdk7/jdk/src/share/classes/javax/imageio/stream/ |
H A D | FileImageInputStream.java | 114 public int read(byte[] b, int off, int len) throws IOException { argument 117 int nbytes = raf.read(b, off, len);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/util/ |
H A D | QPDecoderStream.java | 146 * @param off the start offset of the data. 153 public int read(byte[] buf, int off, int len) throws IOException { argument 161 buf[off+i] = (byte)c;
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/ |
H A D | ChunkInputStream.java | 54 public int read(byte b[], int off, int sz) throws IOException { argument 58 System.arraycopy(buf,offset,b,off,sz);
|
/openjdk7/jdk/src/solaris/native/java/io/ |
H A D | FileOutputStream_md.c | 69 jobject this, jbyteArray bytes, jint off, jint len, jboolean append) { 70 writeBytes(env, this, bytes, off, len, append, fos_fd); 68 Java_java_io_FileOutputStream_writeBytes(JNIEnv *env, jobject this, jbyteArray bytes, jint off, jint len, jboolean append) argument
|
/openjdk7/jdk/src/solaris/native/sun/tools/attach/ |
H A D | BsdVirtualMachine.c | 190 (JNIEnv *env, jclass cls, jint fd, jbyteArray ba, jint off, jint baLen) 196 size_t remaining = (size_t)(baLen - off); 201 RESTARTABLE(read(fd, buf+off, len), n); 208 (*env)->SetByteArrayRegion(env, ba, off, (jint)n, (jbyte *)(buf+off)); 220 (JNIEnv *env, jclass cls, jint fd, jbyteArray ba, jint off, jint bufLen) 231 (*env)->GetByteArrayRegion(env, ba, off, len, (jbyte *)buf); 235 off += n; 189 Java_sun_tools_attach_BsdVirtualMachine_read(JNIEnv *env, jclass cls, jint fd, jbyteArray ba, jint off, jint baLen) argument 219 Java_sun_tools_attach_BsdVirtualMachine_write(JNIEnv *env, jclass cls, jint fd, jbyteArray ba, jint off, jint bufLen) argument
|
/openjdk7/jdk/src/windows/native/java/io/ |
H A D | FileOutputStream_md.c | 70 jobject this, jbyteArray bytes, jint off, jint len, jboolean append) 72 writeBytes(env, this, bytes, off, len, append, fos_fd); 69 Java_java_io_FileOutputStream_writeBytes(JNIEnv *env, jobject this, jbyteArray bytes, jint off, jint len, jboolean append) argument
|