Searched refs:off (Results 251 - 275 of 571) sorted by relevance

<<11121314151617181920>>

/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Data/src/com/sun/hotspot/igv/data/serialization/
H A DXMLWriter.java52 public void write(char[] cbuf, int off, int len) throws IOException { argument
53 for (int i = off; i < off + len; i++) {
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/
H A Dmlib_v_ImageLookUpU8U8Func.c761 mlib_s32 off, size = xsize; local
763 off = (8 - ((mlib_addr) dp & 7)) & 7;
765 off = (off < size) ? off : size;
767 for (i = 0; i < off; i++) {
774 off = (mlib_addr) sp & 3;
776 if (off == 0) {
780 else if (off == 1) {
784 else if (off
820 mlib_s32 off, size = xsize * 2; local
894 mlib_s32 off, size = xsize * 4; local
1572 mlib_s32 off, size = xsize * 3; local
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWDropTargetContextPeer.java210 public int read(byte[] b, int off, int len) throws IOException { argument
212 return ReadBytes(istream, b, off, len);
215 private native int ReadBytes(long istream, byte[] b, int off, int len) throws IOException; argument
/openjdk7/jdk/test/java/lang/String/
H A DSplit.java109 int off = r.nextInt(source.length());
119 source.substring(0, off) + regex + source.substring(off)
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DRSASignature.java143 protected void engineUpdate(byte[] b, int off, int len) { argument
146 md5.update(b, off, len);
147 sha.update(b, off, len);
/openjdk7/jdk/src/share/classes/sun/rmi/transport/tcp/
H A DMultiplexInputStream.java111 * @param off offset of beginning of bytes to read into
114 public synchronized int read(byte b[], int off, int len) throws IOException argument
146 System.arraycopy(buffer, pos, b, off, len);
151 System.arraycopy(buffer, pos, b, off, available);
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DImageDecoder.java121 byte pix[], int off, int scansize) {
126 cq.consumer.setPixels(x, y, w, h, model, pix, off, scansize);
133 int pix[], int off, int scansize) {
138 cq.consumer.setPixels(x, y, w, h, model, pix, off, scansize);
120 setPixels(int x, int y, int w, int h, ColorModel model, byte pix[], int off, int scansize) argument
132 setPixels(int x, int y, int w, int h, ColorModel model, int pix[], int off, int scansize) argument
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DReplicateScaleFilter.java187 ColorModel model, byte pixels[], int off,
203 int srcoff = off + scansize * (sy - y);
228 ColorModel model, int pixels[], int off,
244 int srcoff = off + scansize * (sy - y);
186 setPixels(int x, int y, int w, int h, ColorModel model, byte pixels[], int off, int scansize) argument
227 setPixels(int x, int y, int w, int h, ColorModel model, int pixels[], int off, int scansize) argument
/openjdk7/jdk/src/share/classes/java/util/zip/
H A DGZIPInputStream.java98 * @param off the start offset in the destination array <code>b</code>
104 * @exception IndexOutOfBoundsException If <code>off</code> is negative,
106 * <code>buf.length - off</code>
111 public int read(byte[] buf, int off, int len) throws IOException { argument
116 int n = super.read(buf, off, len);
121 return this.read(buf, off, len);
123 crc.update(buf, off, n);
/openjdk7/jdk/src/share/classes/java/awt/
H A DFontMetrics.java372 * @param off the start offset of the characters in the array
378 * @throws IndexOutOfBoundsException if the <code>off</code>
386 public int charsWidth(char data[], int off, int len) { argument
387 return stringWidth(new String(data, off, len));
399 * @param off the start offset of the bytes in the array
406 * @throws IndexOutOfBoundsException if the <code>off</code>
412 public int bytesWidth(byte data[], int off, int len) { argument
413 return stringWidth(new String(data, 0, off, len));
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsPath.java320 int off = path.lastIndexOf('\\');
321 if (off < root.length())
322 off = root.length();
324 off++;
325 return new WindowsPath(getFileSystem(), WindowsPathType.RELATIVE, "", path.substring(off));
333 int off = path.lastIndexOf('\\');
334 if (off < root.length())
340 path.substring(0, off));
584 int off = root.length();
585 while (off < pat
[all...]
/openjdk7/jdk/src/windows/native/sun/nio/ch/
H A DFileChannelImpl.c59 jint prot, jlong off, jlong len)
62 jint lowOffset = (jint)off;
63 jint highOffset = (jint)(off >> 32);
64 jlong maxSize = off + len;
58 Java_sun_nio_ch_FileChannelImpl_map0(JNIEnv *env, jobject this, jint prot, jlong off, jlong len) argument
/openjdk7/jdk/src/share/native/java/io/
H A DRandomAccessFile.c73 jobject this, jbyteArray bytes, jint off, jint len) {
74 return readBytes(env, this, bytes, off, len, raf_fd);
84 jobject this, jbyteArray bytes, jint off, jint len) {
85 writeBytes(env, this, bytes, off, len, JNI_FALSE, raf_fd);
72 Java_java_io_RandomAccessFile_readBytes0(JNIEnv *env, jobject this, jbyteArray bytes, jint off, jint len) argument
83 Java_java_io_RandomAccessFile_writeBytes0(JNIEnv *env, jobject this, jbyteArray bytes, jint off, jint len) argument
/openjdk7/jdk/src/share/classes/sun/tools/native2ascii/
H A DN2AFilter.java49 public void write(char[] buf, int off, int len) throws IOException { argument
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable/
H A DMultiSocketFactory.java177 public void write(byte b[], int off, int len) throws IOException { argument
179 write(b[off + i]);
197 public int read(byte b[], int off, int len) throws IOException { argument
206 b[off] = (byte)c;
217 b[off + i] = (byte)c;
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/registry/
H A DCompress.java129 public int read(byte b[], int off, int len) throws IOException { argument
138 b[off] = (byte)c;
149 b[off + i] = (byte)c;
205 public void write(byte b[], int off, int len) throws IOException { argument
213 write(b[off + i]);
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/unicast/
H A DMultiSocketFactory.java177 public void write(byte b[], int off, int len) throws IOException { argument
179 write(b[off + i]);
197 public int read(byte b[], int off, int len) throws IOException { argument
206 b[off] = (byte)c;
217 b[off + i] = (byte)c;
/openjdk7/jdk/src/share/classes/sun/java2d/loops/
H A DDrawGlyphList.java115 int off = 0;
117 off = cx1 - gx1;
121 off += (cy1 - gy1) * w;
130 alpha, off, w);
H A DDrawGlyphListAA.java113 int off = 0;
115 off = cx1 - gx1;
119 off += (cy1 - gy1) * w;
128 alpha, off, w);
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/runtime/
H A DStringValueHandler.java43 public void characters(char[] ch, int off, int len) argument
53 _buffer.append(ch, off, len);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DProgressMonitorInputStream.java144 int off,
146 int nr = in.read(b, off, len);
143 read(byte b[], int off, int len) argument
/openjdk7/jdk/src/share/classes/java/security/
H A DSecureClassLoader.java120 * positions <code>off</code> through <code>off+len-1</code>
123 * @param off the start offset in <code>b</code> of the class data
129 * @exception IndexOutOfBoundsException if either <code>off</code> or
131 * <code>off+len</code> is greater than <code>b.length</code>.
139 byte[] b, int off, int len,
142 return defineClass(name, b, off, len, getProtectionDomain(cs));
138 defineClass(String name, byte[] b, int off, int len, CodeSource cs) argument
/openjdk7/jdk/src/share/classes/javax/crypto/
H A DCipherInputStream.java210 * @param off the start offset in the destination array
220 public int read(byte b[], int off, int len) throws IOException { argument
233 System.arraycopy(obuffer, ostart, b, off, available);
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DAlawCodec.java358 public int read(byte[] b, int off, int len) throws IOException { argument
378 int currentPos = off;
421 if( currentPos==off && readCount<0 ) { // EOF or error
425 return (currentPos - off); /* Number of bytes written to new buffer */
431 int readOffset = off + len/2;
434 for (i = off; i < (off + (readCount*2)); i+=2) {
444 return (i - off);
H A DUlawCodec.java342 public int read(byte[] b, int off, int len) throws IOException { argument
357 int currentPos = off;
395 if( currentPos==off && readCount<0 ) { // EOF or error on read
398 return (currentPos - off); /* Number of bytes written to new buffer */
402 int readOffset = off + len/2;
408 for (i = off; i < (off + (readCount*2)); i+=2) {
413 return (i - off);

Completed in 90 milliseconds

<<11121314151617181920>>