Searched defs:off (Results 151 - 175 of 457) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/javax/imageio/stream/
H A DMemoryCache.java200 * @param off the starting offset withing the data array.
205 * @exception IndexOutOfBoundsException if <code>off</code>,
207 * or if <code>off+len > b.length</code>.
209 public void write(byte[] b, int off, int len, long pos) argument
214 // Fix 4430357 - if off + len < 0, overflow occurred
215 if ((off < 0) || (len < 0) || (pos < 0) ||
216 (off + len > b.length) || (off + len < 0)) {
232 System.arraycopy(b, off, buf, offset, nbytes);
235 off
308 read(byte[] b, int off, int len, long pos) argument
[all...]
H A DMemoryCacheImageInputStream.java93 public int read(byte[] b, int off, int len) throws IOException { argument
99 if (off < 0 || len < 0 || off + len > b.length || off + len < 0) {
101 ("off < 0 || len < 0 || off+len > b.length || off+len < 0!");
115 cache.read(b, off, len, streamPos);
/openjdk7/jdk/src/share/classes/java/awt/
H A DLinearGradientPaintContext.java133 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/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/make/tools/src/build/tools/charsetmapping/
H A DSBCS.java63 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/hotspot/src/share/vm/utilities/
H A DelfFile.cpp151 int off = INT_MAX; local
154 if (symbol_table->lookup(addr, &string_table_index, &pos_in_string_table, &off)) {
167 if (offset) *offset = off;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/util/
H A DBASE64DecoderStream.java80 return buffer[index++] & 0xff; // Zero off the MSB
90 * @param off the start offset of the data.
97 public int read(byte[] buf, int off, int len) throws IOException { argument
105 buf[off+i] = (byte)c;
H A DBASE64EncoderStream.java75 * <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]);
H A DQPEncoderStream.java76 * <code>byte</code> array starting at offset <code>off</code> to
80 * @param off the start offset in the data.
84 public void write(byte[] b, int off, int len) throws IOException { argument
86 write(b[off + i]);
104 c = c & 0xff; // Turn off the MSB.
H A DUUEncoderStream.java93 public void write(byte[] b, int off, int len) throws IOException { argument
95 write(b[off + i]);
153 * Start off with the character count, followed by the encoded atoms
165 // Start off with the count of characters in the line
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/util/
H A DTeeInputStream.java71 public int read(byte[] b, int off, int len) throws IOException { argument
72 int result = source.read(b, off, len);
73 copySink.write(b, off, len);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/
H A DChunkInputStream.java54 public int read(byte b[], int off, int sz) throws IOException { argument
58 System.arraycopy(buf,offset,b,off,sz);
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsPathParser.java99 int off = 0;
110 off = nextNonSlash(input, next, len);
111 next = nextSlash(input, off, len);
112 if (off == next)
114 String host = input.substring(off, next); //host
115 off = nextNonSlash(input, next, len);
116 next = nextSlash(input, off, len);
117 if (off == next)
119 root = "\\\\" + host + "\\" + input.substring(off, next) + "\\";
120 off
163 normalize(StringBuilder sb, String path, int off) argument
203 nextNonSlash(String path, int off, int end) argument
208 nextSlash(String path, int off, int end) argument
[all...]
/openjdk7/jdk/test/java/io/Serializable/subclass/
H A DAbstractObjectOutputStream.java241 abstract public void write(byte b[], int off, int len) throws IOException; argument
/openjdk7/jdk/test/sun/text/resources/
H A DLocaleDataTest.java436 public void write(char[] cbuf, int off, int len) throws IOException { argument
437 int end = off + len;
438 while (off < end)
439 write(cbuf[off++]);
442 public void write(String str, int off, int len) throws IOException { argument
443 int end = off + len;
444 while (off < end)
445 write(str.charAt(off++));
/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
H A Dio_util.c67 outOfBounds(JNIEnv *env, jint off, jint len, jbyteArray array) { argument
68 return ((off < 0) ||
72 ((*env)->GetArrayLength(env, array) - off < len));
77 jint off, jint len, jfieldID fid)
89 if (outOfBounds(env, off, len, bytes)) {
113 (*env)->SetByteArrayRegion(env, bytes, off, nread, (jbyte *)buf);
153 jint off, jint len, jboolean append, jfieldID fid)
165 if (outOfBounds(env, off, len, bytes)) {
182 (*env)->GetByteArrayRegion(env, bytes, off, len, (jbyte *)buf);
185 off
76 readBytes(JNIEnv *env, jobject this, jbyteArray bytes, jint off, jint len, jfieldID fid) argument
152 writeBytes(JNIEnv *env, jobject this, jbyteArray bytes, jint off, jint len, jboolean append, jfieldID fid) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DEngineInputRecord.java352 void writeBuffer(OutputStream s, byte [] buf, int off, int len) argument
H A DEngineOutputRecord.java159 void writeBuffer(OutputStream s, byte [] buf, int off, int len, argument
H A DHandshakeInStream.java95 public int read(byte b [], int off, int len) throws IOException { argument
98 int n = r.read(b, off, len);
/openjdk7/jdk/src/share/classes/sun/security/util/
H A DManifestEntryVerifier.java170 public void update(byte buffer[], int off, int len) { argument
174 digests.get(i).update(buffer, off, len);
/openjdk7/jdk/src/share/classes/sun/tools/java/
H A DParserActions.java50 void packageDeclaration(long off, IdentifierToken nm); argument
55 void importClass(long off, IdentifierToken nm); argument
60 void importPackage(long off, IdentifierToken nm); argument
68 ClassDefinition beginClass(long off, String doc, argument
77 void endClass(long off, ClassDefinition c); argument
/openjdk7/jdk/src/share/classes/sun/tracing/dtrace/
H A DJVM.java59 ClassLoader loader, String name, byte[] b, int off, int len) {
60 return defineClass0(loader, name, b, off, len);
69 ClassLoader loader, String name, byte[] b, int off, int len);
58 defineClass( ClassLoader loader, String name, byte[] b, int off, int len) argument
68 defineClass0( ClassLoader loader, String name, byte[] b, int off, int len) argument
/openjdk7/jdk/test/java/rmi/reliability/benchmark/bench/serial/
H A DStreamBuffer.java66 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/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;

Completed in 66 milliseconds

1234567891011>>