Searched defs:off (Results 1 - 25 of 30) sorted by relevance

12

/glassfish-3.1.2/flashlight/framework/src/main/java/org/glassfish/flashlight/impl/client/
H A DNullStream.java56 public void write(byte b[], int off, int len) { argument
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/util/
H A DRAWriterAdapter.java68 public void write(char cbuf[], int off, int len) { argument
70 logger.log(Level.INFO, new String(cbuf, off, len));
72 String s = new String(cbuf, off, len);
H A DPrintWriterAdapter.java97 public void write(char[] buf, int off, int len) { argument
99 writer.write(buf, off, len);
107 public void write(String s, int off, int len) { argument
109 writer.write(s, off, len);
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/connector/
H A DCoyoteInputStream.java233 public int read(final byte[] b, final int off, final int len) argument
250 Integer.valueOf(ib.read(b, off, len));
265 return ib.read(b, off, len);
270 public int readLine(byte[] b, int off, int len) throws IOException { argument
277 return super.readLine(b, off, len);
H A DCoyoteOutputStream.java152 public void write(byte[] b, int off, int len) argument
160 ob.write(b, off, len);
H A DCoyoteReader.java164 public int read(char[] cbuf, int off, int len) argument
171 return ib.read(cbuf, off, len);
H A DCoyoteWriter.java212 public void write(char buf[], int off, int len) { argument
224 ob.write(buf, off, len);
236 public void write(String s, int off, int len) { argument
248 ob.write(s, off, len);
261 public void write(byte[] buff, int off, int len) { argument
273 ob.write(buff, off, len);
H A DInputBuffer.java318 * @param off Offset
323 public int realReadBytes(byte cbuf[], int off, int len) argument
352 public int read(byte[] b, int off, int len) argument
357 return bb.substract(b, off, len);
370 public void realWriteChars(char c[], int off, int len) argument
384 public int realReadChars(char cbuf[], int off, int len) argument
448 public int read(char[] cbuf, int off, int len) argument
457 return cb.substract(cbuf, off, len);
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/appserv/web/cache/filter/
H A DCachingOutputStreamWrapper.java86 * @param off Zero-relative starting offset of the bytes to be written
91 public void write(byte b[], int off, int len) throws IOException { argument
92 baos.write(b, off, len);
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/logviewer/
H A DLineEndNormalizingWriter.java86 public void write(char cbuf[], int off, int len) throws IOException { argument
87 int end = off+len;
88 int writeBegin = off;
90 for( int i=off; i<end; i++ ) {
105 public void write(String str, int off, int len) throws IOException { argument
106 int end = off+len;
107 int writeBegin = off;
109 for( int i=off; i<end; i++ ) {
H A DCharSpool.java60 public void write(char cbuf[], int off, int len) { argument
63 System.arraycopy(cbuf,off,last,pos,sz);
65 off += sz;
H A DWriterOutputStream.java84 public void write(byte b[], int off, int len) throws IOException { argument
89 buf.put(b,off,sz);
90 off += sz;
/glassfish-3.1.2/common/glassfish-naming/src/main/java/com/sun/enterprise/naming/util/
H A DLogOutputStream.java94 public void write(byte b[], int off, int len) throws IOException { argument
95 int start = off;
99 len += off;
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/fileupload/
H A DLimitedInputStream.java150 * This method simply performs <code>in.read(b, off, len)</code>
154 * @param off The start offset in the destination array
161 * @exception IndexOutOfBoundsException If <code>off</code> is negative,
163 * <code>b.length - off</code>
167 public int read(byte[] b, int off, int len) throws IOException { argument
168 int res = super.read(b, off, len);
H A DByteArrayOutputStream.java182 * @param off The start offset
185 public void write(byte[] b, int off, int len) { argument
186 if ((off < 0)
187 || (off > b.length)
189 || ((off + len) > b.length)
190 || ((off + len) < 0)) {
201 System.arraycopy(b, off + len - remaining, currentBuffer, inBufferPos, part);
H A DThresholdingOutputStream.java160 * offset <code>off</code> to this output stream.
163 * @param off The start offset in the byte array.
168 public void write(byte b[], int off, int len) throws IOException argument
171 getStream().write(b, off, len);
/glassfish-3.1.2/admin/jmx-remote/common/src/main/java/com/sun/enterprise/admin/jmx/remote/streams/
H A DJMXChunkedInputStream.java137 public int read(byte[] b, int off, int len) throws IOException { argument
142 if (off < 0 || len < 0 || (off+len) > b.length)
144 "offset="+off+
146 ", (off+len)="+(off+len)+
148 ", (off+len)>b.length="+
149 ((off+len)>b.length)));
158 System.arraycopy(buffer, idx, b, off, len1);
H A DJMXChunkedOutputStream.java95 public void write(byte[] b, int off, int len) throws IOException { argument
98 if (off < 0 || len < 0 || (off+len) > b.length)
100 "offset="+off+
102 ", (off+len)="+(off+len)+
104 ", (off+len)>b.length="+
105 ((off+len)>b.length)));
112 writeObject(b, off, len);
115 writeBuffer(b, off, le
127 writeBuffer(byte[] b, int off, int len) argument
132 writeObject(byte[] b, int off, int len) argument
[all...]
/glassfish-3.1.2/web/web-ajp/src/main/java/org/apache/jk/core/
H A DMsg.java118 * @param off The offset into the array at which to start copying
121 public abstract void appendBytes( byte b[], int off, int numBytes ); argument
/glassfish-3.1.2/core/logging/src/main/java/com/sun/enterprise/server/logging/
H A DGFFileHandler.java115 // Initially the LogRotation will be off until the domain.xml value is read.
508 public void write(byte buff[], int off, int len) throws IOException { argument
509 out.write(buff, off, len);
663 // take is blocking so we take one record off the queue
/glassfish-3.1.2/web/web-ajp/src/main/java/org/apache/jk/apr/
H A DAprImpl.java195 int code, byte data[], int off, int len, int raw);
194 jkInvoke(long xEnv, long componentP, long endpointP, int code, byte data[], int off, int len, int raw) argument
/glassfish-3.1.2/web/web-ajp/src/main/java/org/apache/jk/common/
H A DMsgAjp.java293 * @param off The offset into the array at which to start copying
296 public void appendBytes( byte b[], int off, int numBytes ) { argument
298 cpBytes( b, off, numBytes );
302 private void cpBytes( byte b[], int off, int numBytes ) { argument
310 System.arraycopy( b, off, buf, pos, numBytes);
/glassfish-3.1.2/appclient/client/acc/src/main/java/org/glassfish/appclient/client/
H A DJWSAppClientContainerMain.java339 public void write(byte[] buf, int off, int len) { argument
340 super.write(buf, off, len);
341 originalPS.write(buf, off, len);
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/common/util/logging/
H A DLoggingOutputStream.java335 public void write(byte[] buf, int off, int len) { argument
337 super.write(buf, off, len);
/glassfish-3.1.2/common/common-util/src/main/java/org/glassfish/admin/payload/
H A DZipPayloadImpl.java229 public int read(byte[] b, int off, int len) throws IOException { argument
231 int result = zis.read(b, off, len);

Completed in 46 milliseconds

12