Searched defs:off (Results 251 - 275 of 457) sorted by relevance

<<111213141516171819

/openjdk7/jdk/src/solaris/classes/sun/tools/attach/
H A DLinuxVirtualMachine.java252 public synchronized int read(byte[] bs, int off, int len) throws IOException { argument
253 if ((off < 0) || (off > bs.length) || (len < 0) ||
254 ((off + len) > bs.length) || ((off + len) < 0)) {
259 return LinuxVirtualMachine.read(s, bs, off, len);
331 static native int read(int fd, byte buf[], int off, int bufLen) throws IOException; argument
333 static native void write(int fd, byte buf[], int off, int bufLen) throws IOException; argument
H A DSolarisVirtualMachine.java180 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/test/sun/nio/cs/
H A DTestUTF8.java74 static char[] decode(Charset cs, byte[] ba, int off, int len) { argument
84 ByteBuffer bb = ByteBuffer.wrap(ba, off, len);
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xpath/regex/
H A DParserForXMLSchema.java101 boolean checkQuestion(int off) { argument
/openjdk7/jdk/src/share/classes/sun/font/
H A DFontDesignMetrics.java489 public int charsWidth(char data[], int off, int len) { argument
496 String str = new String(data, off, len);
503 int limit = off + len;
504 for (int i=off; i < limit; i++) {
509 String str = new String(data, off, len);
H A DGlyphList.java64 * int off = 0;
69 * int alpha = bits[off++];
231 * that one of these methods is executed before handing off the
247 public boolean setFromChars(FontInfo info, char[] chars, int off, int alen, argument
261 System.arraycopy(chars, off, chData, 0, len);
H A DType1Font.java523 private int nextCapitalLetter(String s, int off) { argument
524 for (; (off >=0) && off < s.length(); off++) {
525 if (s.charAt(off) >= 'A' && s.charAt(off) <= 'Z')
526 return off;
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DMemoryImageSource.java126 * @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 DPixelGrabber.java102 * <tt>pix[(j - y) * scansize + (i - x) + off]</tt>.
114 * @param off the offset into the array of where to store the first pixel
119 int[] pix, int off, int scansize) {
120 this(img.getSource(), x, y, w, h, pix, off, scansize);
130 * <tt>pix[(j - y) * scansize + (i - x) + off]</tt>.
142 * @param off the offset into the array of where to store the first pixel
148 int[] pix, int off, int scansize) {
154 dstOff = off;
118 PixelGrabber(Image img, int x, int y, int w, int h, int[] pix, int off, int scansize) argument
147 PixelGrabber(ImageProducer ip, int x, int y, int w, int h, int[] pix, int off, int scansize) argument
/openjdk7/jdk/src/share/classes/java/io/
H A DPrintStream.java464 * offset <code>off</code> to this stream. If automatic flushing is
473 * @param off Offset from which to start taking bytes
476 public void write(byte buf[], int off, int len) { argument
480 out.write(buf, off, len);
H A DPrintWriter.java419 * @param off Offset from which to start writing characters
422 public void write(char buf[], int off, int len) { argument
426 out.write(buf, off, len);
449 * @param off Offset from which to start writing characters
452 public void write(String s, int off, int len) { argument
456 out.write(s, off, len);
/openjdk7/jdk/src/share/classes/java/util/
H A DArrays.java398 * If not, you are better off deleting ComparableTimSort to
560 * off is the offset to generate corresponding low, high in src
567 int off) {
582 low += off;
583 high += off;
585 mergeSort(dest, src, low, mid, -off);
586 mergeSort(dest, src, mid, high, -off);
746 * off is the offset into src corresponding to low in dest
751 int low, int high, int off,
766 low += off;
563 mergeSort(Object[] src, Object[] dest, int low, int high, int off) argument
749 mergeSort(Object[] src, Object[] dest, int low, int high, int off, Comparator c) argument
[all...]
H A DProperties.java532 private String loadConvert (char[] in, int off, int len, char[] convtBuf) { argument
543 int end = off + len;
545 while (off < end) {
546 aChar = in[off++];
548 aChar = in[off++];
553 aChar = in[off++];
/openjdk7/jdk/src/share/classes/java/util/jar/
H A DManifest.java345 public int read(byte[] b, int off, int len) throws IOException { argument
349 return in.read(b, off, len);
360 System.arraycopy(buf, pos, b, off, len);
369 public int readLine(byte[] b, int off, int len) throws IOException { argument
389 System.arraycopy(tbuf, pos, b, off, n);
390 off += n;
/openjdk7/jdk/src/share/classes/java/util/logging/
H A DFileHandler.java154 public void write(byte buff[], int off, int len) throws IOException { argument
155 out.write(buff,off,len);
/openjdk7/jdk/src/share/classes/java/util/zip/
H A DDeflater.java78 private int off, len; field in class:Deflater
195 * @param off the start offset of the data
199 public void setInput(byte[] b, int off, int len) { argument
203 if (off < 0 || len < 0 || off > b.length - len) {
208 this.off = off;
230 * @param off the start offset of the data
235 public void setDictionary(byte[] b, int off, int len) { argument
239 if (off <
351 deflate(byte[] b, int off, int len) argument
418 deflate(byte[] b, int off, int len, int flush) argument
550 setDictionary(long addr, byte[] b, int off, int len) argument
551 deflateBytes(long addr, byte[] b, int off, int len, int flush) argument
[all...]
H A DZipOutputStream.java293 * @param off the start offset in the data
298 public synchronized void write(byte[] b, int off, int len) argument
302 if (off < 0 || len < 0 || off > b.length - len) {
314 super.write(b, off, len);
322 out.write(b, off, len);
327 crc.update(b, off, len);
346 long off = written;
349 writeEND(off, written - off);
523 writeEND(long off, long len) argument
616 writeBytes(byte[] b, int off, int len) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/imageio/stream/
H A DImageInputStream.java130 * them into <code>b</code> starting at index <code>off</code>.
139 * @param off the starting position within <code>b</code> to write to.
147 * @exception IndexOutOfBoundsException if <code>off</code> is
148 * negative, <code>len</code> is negative, or <code>off +
152 int read(byte[] b, int off, int len) throws IOException; argument
211 * an int, masks it with <code>0xff</code> in order to strip off
255 * <code>0xffff</code> in order to strip off any sign-extension
311 * strip off any sign-extension bits, and returns the result as an
501 * into <code>b</code> starting at index <code>off</code>.
509 * @param off th
521 readFully(byte[] b, int off, int len) argument
565 readFully(short[] s, int off, int len) argument
590 readFully(char[] c, int off, int len) argument
615 readFully(int[] i, int off, int len) argument
640 readFully(long[] l, int off, int len) argument
665 readFully(float[] f, int off, int len) argument
690 readFully(double[] d, int off, int len) argument
[all...]
/openjdk7/hotspot/src/share/vm/classfile/
H A DaltHashing.cpp125 int off = 0; local
130 jchar d1 = data[off++] & 0xFFFF;
131 jchar d2 = data[off++];
148 int k1 = data[off];
173 int off = 0; local
177 while (off < end) {
178 jint k1 = data[off++];
/openjdk7/jdk/src/share/classes/com/sun/jmx/remote/util/
H A DEnvHelp.java762 public void write(byte[] b, int off, int len) {} argument
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DAudioFloatFormatConverter.java72 public int read(byte[] b, int off, int len) throws IOException { argument
80 converter.toByteArray(readfloatbuffer, 0, ret, b, off);
166 public int read(float[] b, int off, int len) throws IOException { argument
176 for (int i = 0, ix = off + c; i < len2; i++, ix += cs) {
182 for (int i = 0, ix = off; i < len2; i += cs, ix++) {
186 for (int i = c, ix = off; i < len2; i += cs, ix++) {
191 for (int i = 0, ix = off; i < len2; i += cs, ix++) {
196 int off_len = off + len;
200 for (int i = off + c, ix = c; i < off_len; i += ct, ix += cs) {
205 for (int i = off
382 read(float[] b, int off, int len) argument
[all...]
H A DModelByteBuffer.java98 public int read(byte b[], int off, int len) throws IOException { argument
103 len = raf.read(b, off, len);
H A DModelByteBufferWavetable.java55 public int read(byte[] b, int off, int len) throws IOException { argument
H A DPCMtoPCMCodec.java490 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 DRIFFWriter.java50 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);

Completed in 252 milliseconds

<<111213141516171819