Searched refs:off (Results 276 - 300 of 571) sorted by relevance

<<11121314151617181920>>

/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/util/
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.
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/org/objectweb/asm/
H A DAttribute.java130 * @param off index of the first byte of the attribute's content in {@link
151 final int off,
159 System.arraycopy(cr.b, off, attr.value, 0, len);
149 read( final ClassReader cr, final int off, final int len, final char[] buf, final int codeOff, final Label[] labels) argument
/openjdk7/jdk/src/solaris/native/java/net/
H A DSocketInputStream.c63 jint off, jint len, jint timeout)
154 (*env)->SetByteArrayRegion(env, data, off, nread, (jbyte *)bufP);
61 Java_java_net_SocketInputStream_socketRead0(JNIEnv *env, jobject this, jobject fdObj, jbyteArray data, jint off, jint len, jint timeout) argument
/openjdk7/jdk/src/solaris/native/sun/tools/attach/
H A DLinuxVirtualMachine.c408 (JNIEnv *env, jclass cls, jint fd, jbyteArray ba, jint off, jint baLen)
414 size_t remaining = (size_t)(baLen - off);
419 RESTARTABLE(read(fd, buf+off, len), n);
426 (*env)->SetByteArrayRegion(env, ba, off, (jint)n, (jbyte *)(buf+off));
438 (JNIEnv *env, jclass cls, jint fd, jbyteArray ba, jint off, jint bufLen)
449 (*env)->GetByteArrayRegion(env, ba, off, len, (jbyte *)buf);
453 off += n;
407 Java_sun_tools_attach_LinuxVirtualMachine_read(JNIEnv *env, jclass cls, jint fd, jbyteArray ba, jint off, jint baLen) argument
437 Java_sun_tools_attach_LinuxVirtualMachine_write(JNIEnv *env, jclass cls, jint fd, jbyteArray ba, jint off, jint bufLen) argument
/openjdk7/jdk/src/windows/native/java/net/
H A DSocketInputStream.c63 jint off, jint len, jint timeout)
134 (*env)->SetByteArrayRegion(env, data, off, nread, (jbyte *)bufP);
61 Java_java_net_SocketInputStream_socketRead0(JNIEnv *env, jobject this, jobject fdObj, jbyteArray data, jint off, jint len, jint timeout) argument
/openjdk7/jdk/test/java/nio/charset/coders/
H A DBashStreams.java135 private int check(byte[] ba, int off, int len) throws IOException { argument
136 String s = new String(ba, off, len, csn);
154 public void write(byte[] ba, int off, int len) throws IOException { argument
155 check(ba, off, len);
247 public int read(byte[] ba, int off, int len) throws IOException { argument
250 int end = off + len;
251 int i = off;
275 return i - off;
/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 DFileInputStream.c71 jbyteArray bytes, jint off, jint len) {
72 return readBytes(env, this, bytes, off, len, fis_fd);
70 Java_java_io_FileInputStream_readBytes(JNIEnv *env, jobject this, jbyteArray bytes, jint off, jint len) argument
/openjdk7/jdk/src/share/classes/sun/security/ssl/
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/test/javax/sound/midi/Gervill/DLSSoundbankReader/
H A DTestGetSoundbankInputStream2.java57 public int read(byte[] b, int off, int len) throws IOException { argument
59 return is.read(b, off, len);
/openjdk7/jdk/test/javax/sound/midi/Gervill/SF2SoundbankReader/
H A DTestGetSoundbankInputStream2.java57 public int read(byte[] b, int off, int len) throws IOException { argument
59 return is.read(b, off, len);
/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/make/tools/src/build/tools/charsetmapping/
H A DJIS0213.java125 int off,
131 for (int i = off; i < size; i++) {
132 writeShort(out, array[off+i]);
150 int off = 0;
153 writeShort(out, off);
154 off += 256;
122 writeShortArray(OutputStream out, int type, int[] array, int off, int size) argument
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/
H A Dmlib_v_ImageAffine_BL_S16.c231 mlib_s32 off; variable
249 off = (mlib_s32)dl & 7;
250 dp = (mlib_d64*)(dl - off);
251 off >>= 1;
253 x0 = X - off*dX; y0 = Y - off*dY;
261 if (off) {
262 mlib_s32 emask = vis_edge16((void*)(2*off), (void*)(2*(off + size - 1)));
264 off
357 mlib_s32 off; variable
[all...]
H A Dmlib_v_ImageAffine_BL_U16.c224 mlib_s32 off; variable
242 off = (mlib_s32)dl & 7;
243 dp = (mlib_d64*)(dl - off);
244 off >>= 1;
246 x0 = X - off*dX; y0 = Y - off*dY;
254 if (off) {
255 mlib_s32 emask = vis_edge16((void*)(2*off), (void*)(2*(off + size - 1)));
257 off
350 mlib_s32 off; variable
[all...]
H A Dmlib_v_ImageLookUpSIU8S16Func.c196 mlib_s32 off; local
204 off = (mlib_addr) dp - (mlib_addr) dl;
205 vis_alignaddr(dp, off);
447 mlib_s32 off, s0, size = xsize; local
449 off = ((8 - ((mlib_addr) dp & 7)) & 7);
451 if ((off >= 4) && (size > 0)) {
500 mlib_s32 off, s0, size = xsize; local
504 off = (4 - (mlib_addr) sp & 3) & 3;
506 off = (off < siz
1015 mlib_s32 off, s0, size = xsize; local
1069 mlib_s32 off, size = xsize; local
1200 mlib_s32 off; local
1552 mlib_s32 off, s0, size = xsize; local
1625 mlib_s32 off, s0, size = xsize; local
[all...]
H A Dmlib_v_ImageLookUpSIU8U16Func.c194 mlib_s32 off; local
202 off = (mlib_addr) dp - (mlib_addr) dl;
203 vis_alignaddr(dp, off);
441 mlib_s32 off, s0, size = xsize; local
443 off = ((8 - ((mlib_addr)dp & 7)) & 7);
445 if ((off >= 4) && (size > 0)) {
493 mlib_s32 off, s0, size = xsize; local
497 off = (4 - (mlib_addr)sp & 3) & 3;
499 off = (off < siz
1000 mlib_s32 off, s0, size = xsize; local
1054 mlib_s32 off, size = xsize; local
1176 mlib_s32 off; local
1527 mlib_s32 off, s0, size = xsize; local
1597 mlib_s32 off, s0, size = xsize; local
[all...]
H A Dmlib_v_ImageAffine_BL.c175 mlib_s32 off, x0, x1, x2, x3, y0, y1, y2, y3; variable
190 off = (mlib_s32)dl & 3;
191 dp = (mlib_f32*)(dl - off);
193 x0 = X - off*dX; y0 = Y - off*dY;
201 if (off) {
202 mlib_s32 emask = vis_edge16((void*)(2*off), (void*)(2*(off + size - 1)));
204 off = 4 - off;
323 mlib_s32 off, x0, x1, y0, y1; variable
[all...]
H A Dmlib_v_ImageLookUpSIU8S32Func.c368 mlib_s32 off, size = xsize; local
370 off = (mlib_s32)((4 - ((mlib_addr)sp & 3)) & 3);
372 off = (off < size) ? off : size;
374 for (i = 0; i < off; i++) {
418 mlib_s32 off, size = xsize; local
420 off = (mlib_s32)((4 - ((mlib_addr)sp & 3)) & 3);
422 off = (off < siz
786 mlib_s32 off, size = xsize; local
842 mlib_s32 off, size = xsize; local
1268 mlib_s32 off, size = xsize; local
1330 mlib_s32 off, size = xsize; local
[all...]
/openjdk7/jdk/test/java/util/jar/
H A DTestExtra.java203 private static int get16(byte[] b, int off) { argument
204 return (b[off] & 0xff) | ((b[off+1] & 0xff) << 8);
207 private static void set16(byte[] b, int off, int value) { argument
208 b[off+0] = (byte)value;
209 b[off+1] = (byte)(value >> 8);
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_c_ImageLookUp_f.c233 mlib_s32 off; local
237 off = (mlib_s32) ((4 - ((mlib_addr) dst & 3)) & 3);
239 for (i = 0; i < off; i++, sp++) {
323 mlib_s32 off; local
327 off = (mlib_s32) ((4 - ((mlib_addr) dst & 3)) & 3);
329 for (i = 0; i < off - 1; i += 2, sp += 2) {
335 if ((off & 1) != 0) {
436 mlib_s32 off; local
440 off = (mlib_s32) ((4 - ((mlib_addr) dst & 3)) & 3);
442 if (off
586 mlib_s32 off; local
808 mlib_s32 off; local
906 mlib_s32 off; local
1027 mlib_s32 off; local
1185 mlib_s32 off; local
1472 mlib_s32 off; local
1523 mlib_s32 off; local
1591 mlib_s32 off; local
1684 mlib_s32 off; local
1876 mlib_s32 s0, t0, s1, t1, t, t2, off; local
2039 mlib_s32 size = xsize, off; local
2170 mlib_s32 size = xsize, off; local
2320 mlib_s32 size = xsize, off; local
2440 mlib_s32 size = xsize, off; local
2589 mlib_s32 size = xsize, off; local
2709 mlib_s32 size = xsize, off; local
3026 mlib_s32 size = xsize, off; local
3420 mlib_s32 off; local
3525 mlib_s32 off; local
3657 mlib_s32 off; local
[all...]
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A Dcmscnvrt.c160 cmsMAT3* m, cmsVEC3* off)
165 // [m]*bpin + off = bpout
166 // [m]*D50 + off = D50
187 _cmsVEC3init(off, bx, by, bz);
315 cmsBool IsEmptyLayer(cmsMAT3* m, cmsVEC3* off) argument
321 if (m == NULL && off == NULL) return TRUE; // NULL is allowed as an empty layer
322 if (m == NULL && off != NULL) return FALSE; // This is an internal error
330 diff += fabs(((cmsFloat64Number*)off)[i]);
343 cmsMAT3* m, cmsVEC3* off)
348 // m and off ar
158 ComputeBlackPointCompensation(const cmsCIEXYZ* BlackPointIn, const cmsCIEXYZ* BlackPointOut, cmsMAT3* m, cmsVEC3* off) argument
339 ComputeConversion(int i, cmsHPROFILE hProfiles[], cmsUInt32Number Intent, cmsBool BPC, cmsFloat64Number AdaptationState, cmsMAT3* m, cmsVEC3* off) argument
406 AddConversion(cmsPipeline* Result, cmsColorSpaceSignature InPCS, cmsColorSpaceSignature OutPCS, cmsMAT3* m, cmsVEC3* off) argument
503 cmsVEC3 off; local
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jndi/dns/
H A DDnsClient.java498 private void makeQueryName(DnsName fqdn, Packet pkt, int off) { argument
505 pkt.putByte(len, off++);
507 pkt.putByte(label.charAt(j), off++);
511 pkt.putByte(0, off);
668 void putInt(int x, int off) { argument
669 buf[off + 0] = (byte)(x >> 24);
670 buf[off + 1] = (byte)(x >> 16);
671 buf[off + 2] = (byte)(x >> 8);
672 buf[off + 3] = (byte)x;
675 void putShort(int x, int off) { argument
680 putByte(int x, int off) argument
[all...]
/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 DSoftMixingMainMixer.java187 public int read(byte[] b, int off, int len) {
189 int offlen = off + len;
191 while (off < offlen)
196 while (off < offlen && bbuffer_pos < bbuffer_len)
197 b[off++] = bbuffer[bbuffer_pos++];

Completed in 78 milliseconds

<<11121314151617181920>>