/openjdk7/jdk/src/share/native/sun/awt/image/ |
H A D | awt_parseImage.c | 147 int off = rasterP->chanOffsets[i]; local 148 int size = lastPixelOffset + off; 150 if (off < 0 || !SAFE_TO_ADD(lastPixelOffset, off)) { 826 int off; local 849 off = 0; 862 bufferP[off++] = (unsigned char) dataP[dOff]; 878 off = 0; 891 bufferP[off++] = (unsigned char) dataP[i]; 920 int off; local 1008 int off; local 1094 int off; local [all...] |
/openjdk7/jdk/src/share/native/sun/awt/image/gif/ |
H A D | gifdecoder.c | 189 int off = 0; local 235 if (off > 0) { 408 rasline[off++] = outCode[outCount++]; 434 off = 0;
|
/openjdk7/jdk/src/share/native/sun/awt/medialib/ |
H A D | mlib_ImageLookUp_64.c | 211 mlib_s32 off; local 216 off = (mlib_s32) ((4 - ((mlib_addr) src & 3)) & 3); 218 for (i = 0; i < off; i++, sp++) { 262 mlib_s32 off; local 267 off = (mlib_s32) ((4 - ((mlib_addr) src & 3)) & 3); 269 for (i = 0; i < off - 1; i += 2, sp += 2) { 275 if ((off & 1) != 0) { 330 mlib_s32 off; local 335 off = (mlib_s32) ((4 - ((mlib_addr) src & 3)) & 3); 337 if (off 423 mlib_s32 off; local 594 mlib_s32 off; local 699 mlib_s32 off; local 831 mlib_s32 off; local [all...] |
/openjdk7/jdk/src/share/classes/sun/security/rsa/ |
H A D | RSASignature.java | 159 protected void engineUpdate(byte[] b, int off, int len) argument 161 md.update(b, off, len);
|
/openjdk7/jdk/src/share/classes/sun/security/ssl/ |
H A D | InputRecord.java | 42 * SSL 3.0 records, as pulled off a TCP stream. Input records are 438 private int readFully(InputStream s, byte b[], int off, int len) argument 442 int readLen = s.read(b, off + n, len - n); 450 ByteBuffer bb = ByteBuffer.wrap(b, off + n, readLen); 685 void writeBuffer(OutputStream s, byte [] buf, int off, int len) argument
|
H A D | OutputRecord.java | 374 void writeBuffer(OutputStream s, byte [] buf, int off, int len, argument 377 s.write(buf, off, len); 385 buf, off + debugOffset, len - debugOffset); 412 * Note that the translation will strip off all hello extensions as
|
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/text/ |
H A D | TextConstructionTests.java | 357 int off; field in class:TextConstructionTests.ArrayCI 361 ArrayCI(char[] chars, int off, int len) { argument 362 if (off < 0 || len < 0 || (len > 0 && (chars == null || chars.length - off < len))) { 366 this.off = off; 367 this.max = off + len; 368 this.pos = off; 378 if (max > off) { 379 return chars[pos = off]; [all...] |
/openjdk7/jdk/test/java/security/Provider/ |
H A D | GetInstance.java | 195 protected void engineUpdate(byte[] b, int off, int len) throws SignatureException { } argument 218 protected void engineUpdate(byte[] b, int off, int len) throws SignatureException { } argument
|
/openjdk7/jdk/test/java/util/jar/ |
H A D | TestExtra.java | 203 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/test/java/util/zip/ |
H A D | InflateIn_DeflateOut.java | 64 public int read(byte b[], int off, int len) { argument 66 return super.read(b, off, len);
|
/openjdk7/jdk/test/sun/net/www/httptest/ |
H A D | HttpServer.java | 232 /* read all the data off the channel without looking at it 288 int c, off=0, remain=len; 289 while (remain > 0 && ((c=is.read (buf, off, remain))>0)) { 291 off += c; 433 public synchronized int read (byte[] b, int off, int srclen) throws IOException { argument 443 markBuf.get(b, off, willreturn); 454 chanbuf.get(b, off, willreturn); 459 markBuf.put (b, off, willreturn); 550 public synchronized void write (byte[] b, int off, int len) throws IOException { argument 555 buf.put (b, off, le [all...] |
/openjdk7/jdk/src/share/classes/sun/java2d/pisces/ |
H A D | Curve.java | 104 int dxRoots(float[] roots, int off) { argument 105 return Helpers.quadraticRoots(dax, dbx, cx, roots, off); 108 int dyRoots(float[] roots, int off) { argument 109 return Helpers.quadraticRoots(day, dby, cy, roots, off); 112 int infPoints(float[] pts, int off) { argument 120 return Helpers.quadraticRoots(a, b, c, pts, off); 126 private int perpendiculardfddf(float[] pts, int off) { argument 127 assert pts.length >= off + 4; 136 return Helpers.cubicRootsInAB(a, b, c, d, pts, off, 0f, 1f); 152 int rootsOfROCMinusW(float[] roots, int off, fina argument [all...] |
H A D | Helpers.java | 52 final float c, float[] zeroes, final int off) 54 int ret = off; 81 return ret - off; 86 float[] pts, final int off, 90 int num = quadraticRoots(a, b, c, pts, off); 91 return filterOutNotInAB(pts, off, num, A, B) - off; 127 pts[ off+0 ] = (float)( t * cos(phi)); 128 pts[ off+1 ] = (float)(-t * cos(phi + PI / 3)); 129 pts[ off 51 quadraticRoots(final float a, final float b, final float c, float[] zeroes, final int off) argument 85 cubicRootsInAB(float d, float a, float b, float c, float[] pts, final int off, final float A, final float B) argument 184 filterOutNotInAB(float[] nums, final int off, final int len, final float a, final float b) argument 196 polyLineLength(float[] poly, final int off, final int nCoords) argument 226 isort(float[] a, int off, int len) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/net/httpserver/ |
H A D | Request.java | 258 public synchronized int read (byte[] b, int off, int srclen) throws IOException { argument 271 if (off < 0 || srclen < 0|| srclen > (b.length-off)) { 278 markBuf.get(b, off, willreturn); 295 chanbuf.get(b, off, willreturn); 299 markBuf.put (b, off, willreturn); 380 public synchronized void write (byte[] b, int off, int len) throws IOException { argument 391 buf.put (b, off, len);
|
/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/nio/cs/ |
H A D | StreamEncoder.java | 116 public void write(char cbuf[], int off, int len) throws IOException { argument 119 if ((off < 0) || (off > cbuf.length) || (len < 0) || 120 ((off + len) > cbuf.length) || ((off + len) < 0)) { 125 implWrite(cbuf, off, len); 129 public void write(String str, int off, int len) throws IOException { argument 134 str.getChars(off, off + len, cbuf, 0); 262 void implWrite(char cbuf[], int off, in argument [all...] |
/openjdk7/jdk/src/share/classes/sun/rmi/runtime/ |
H A D | Log.java | 59 * turned off, pre-1.4 logging behavior is used. 335 public void write(byte b[], int off, int len) { argument 340 write(b[off + i]);
|
/openjdk7/jdk/src/share/classes/sun/security/ec/ |
H A D | ECDSASignature.java | 116 protected void engineUpdate(byte[] b, int off, int len) argument 122 System.arraycopy(b, off, precomputedDigest, offset, len); 250 protected void engineUpdate(byte[] b, int off, int len) argument 252 messageDigest.update(b, off, len);
|
/openjdk7/jdk/src/solaris/classes/java/io/ |
H A D | UnixFileSystem.java | 63 private String normalize(String pathname, int len, int off) { argument 69 if (off > 0) sb.append(pathname.substring(0, off)); 71 for (int i = off; i < n; i++) {
|
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | UnixPath.java | 96 private static String normalize(String input, int len, int off) { argument 104 if (off > 0) 105 sb.append(input.substring(0, off)); 107 for (int i=off; i < n; i++) {
|
/openjdk7/langtools/test/tools/javadoc/lib/ |
H A D | Tester.java | 174 private void prPackage(int off, PackageDoc p) throws IOException { argument 175 prln(off, "package " + p); 176 prAnnotations(off + 2, p.annotations()); 179 private void prClass(int off, ClassDoc cd) throws IOException { argument 180 prln(off, 183 prln(off + 2, "name: " + cd.simpleTypeName() + " / " + 185 prAnnotations(off + 2, cd.annotations()); 186 prLabel(off + 2, "type parameters"); 188 prln(off + 4, t); 189 prParamTags(off 214 prAnnotationType(int off, AnnotationTypeDoc at) argument 228 prField(int off, FieldDoc f) argument 233 prParameter(int off, Parameter p) argument 238 prMethod(int off, MethodDoc m) argument 246 prExecutable(int off, ExecutableMemberDoc m) argument 265 prAnnotations(int off, AnnotationDesc[] as) argument 272 prParamTags(int off, ParamTag tags[]) argument 277 prParamTag(int off, ParamTag tag) argument 295 prLabel(int off, String s) argument 302 popLabels(int off) argument 311 pr(int off, Object o) argument 320 prln(int off, Object o) argument 334 int off; field in class:Tester.Line 336 Line(int off, Object o) argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serializer/ |
H A D | ToHTMLSAXHandler.java | 109 * Turns special character escaping on/off. 249 // time to fire off endElement event 296 // time to fire off processing instruction event 372 // time to fire off comment event 572 // time to fire off endElement event 595 * @param off The start position in the array. 606 public void characters(char[] ch, int off, int len) throws SAXException argument 610 m_saxHandler.characters(ch, off, len); 612 // time to fire off characters event 614 super.fireCharEvent(ch, off, le [all...] |
H A D | ToXMLSAXHandler.java | 516 public void characters(char[] ch, int off, int len) throws SAXException argument 546 m_saxHandler.characters(ch, off, len); 550 fireCharEvent(ch, off, len); 589 // we don't want to leave serializer to fire off this event,
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/ |
H A D | WrapperInputStream.java | 81 public int read(byte b[], int off, int len) throws IOException { argument 82 return stream.read(b, off, len);
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/io/ |
H A D | IIOPOutputStream.java | 312 public final void write(byte b[], int off, int len) throws IOException{ argument 316 orbStream.write_octet_array(b, off, len);
|