/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/ |
H A D | ResponseUtil.java | 83 int len = buffer.length; 86 len = istream.read(buffer); 87 if (len == -1) 89 ostream.write(buffer, 0, len); 92 len = -1; 114 int len = buffer.length; 117 len = reader.read(buffer); 118 if (len == -1) 120 writer.write(buffer, 0, len); 123 len [all...] |
H A D | HexUtils.java | 182 int len; 186 len = DEC[hex[0]]; 187 len = len << 4; 190 len += DEC[hex[1]]; 191 len = len << 4; 194 len += DEC[hex[2]]; 195 len = len << [all...] |
/glassfish-3.1.2/admin/jmx-remote/common/src/main/java/com/sun/enterprise/admin/jmx/remote/streams/ |
H A D | JMXChunkedOutputStream.java | 95 public void write(byte[] b, int off, int len) throws IOException { argument 98 if (off < 0 || len < 0 || (off+len) > b.length) 101 ", len="+len+ 102 ", (off+len)="+(off+len)+ 104 ", (off+len)>b.length="+ 105 ((off+len)>b.length))); 106 if (len 127 writeBuffer(byte[] b, int off, int len) argument 132 writeObject(byte[] b, int off, int len) argument [all...] |
H A D | JMXChunkedInputStream.java | 82 int len = 0; 84 len = remainderInChannel; 86 remainderInChannel = len = dI.readInt(); 87 if (len <= 0) { 93 buffer = new byte[len]; 94 remainderInBuf = dI.read(buffer, 0, len); 137 public int read(byte[] b, int off, int len) throws IOException { argument 142 if (off < 0 || len < 0 || (off+len) > b.length) 145 ", len [all...] |
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/ |
H A D | ArchivistUtils.java | 72 int len = 0; 73 while (len != -1) { 75 len = is.read(buf, 0, buf.length); 80 if(len != -1) { 81 os.write(buf, 0, len);
|
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/spi/sfsb/store/ |
H A D | SFSBUUIDUtil.java | 73 public Object byteArrayToKey(byte[] array, int startIndex, int len); argument
|
/glassfish-3.1.2/flashlight/framework/src/main/java/org/glassfish/flashlight/impl/client/ |
H A D | NullStream.java | 56 public void write(byte b[], int off, int len) { argument
|
/glassfish-3.1.2/installer/src/cpp/share/launcher/zlib-1.1.4/ |
H A D | adler32.c | 20 uLong ZEXPORT adler32(adler, buf, len) 23 uInt len; 31 while (len > 0) { 32 k = len < NMAX ? len : NMAX; 33 len -= k;
|
H A D | zadler32.c | 30 uLong ZEXPORT adler32(adler, buf, len) 33 uInt len; 41 while (len > 0) { 42 k = len < NMAX ? len : NMAX; 43 len -= k;
|
H A D | minigzip.c | 105 int len; local 115 len = fread(buf, 1, sizeof(buf), in); 120 if (len == 0) break; 122 if (gzwrite(out, buf, (unsigned)len) != len) error(gzerror(out, &err)); 137 int len; local 154 len = gzwrite(out, (char *)buf, (unsigned)buf_len); 156 if (len != (int)buf_len) error(gzerror(out, &err)); 173 int len; local 177 len 232 int len = strlen(file); local [all...] |
H A D | zutil.c | 61 void zmemcpy(dest, source, len) 64 uInt len; 66 if (len == 0) return; 69 } while (--len != 0); 72 int zmemcmp(s1, s2, len) 75 uInt len; 79 for (j = 0; j < len; j++) { 85 void zmemzero(dest, len) 87 uInt len; 89 if (len [all...] |
/glassfish-3.1.2/common/glassfish-naming/src/main/java/com/sun/enterprise/naming/util/ |
H A D | LogOutputStream.java | 94 public void write(byte b[], int off, int len) throws IOException { argument 99 len += off; 100 for (int i = start; i < len ; i++) { 118 if ((len - start) > 0) { 119 expandCapacity(len - start); 120 System.arraycopy(b, start, buf, pos, len - start); 121 pos += len - start; 143 * Ensure that the buffer can hold at least len bytes 146 private void expandCapacity(int len) { argument 147 while (pos + len > bu [all...] |
/glassfish-3.1.2/persistence/cmp/internal-api/src/main/java/com/sun/jdo/api/persistence/support/ |
H A D | JDOException.java | 125 int len = failed.length; 127 failed = new Object[len + 1]; 128 for (int i = 0; i < len; i++) 131 failed[len] = o; 156 int len = 0; 158 len = failed.length; 161 StringBuffer sb = new StringBuffer (100 + 10 * len); 169 if (len > 0) { 173 for (int i=1; i<len; ++i) {
|
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/util/ |
H A D | RAWriterAdapter.java | 68 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);
|
/glassfish-3.1.2/web/web-ajp/src/main/java/org/apache/jk/common/ |
H A D | MsgAjp.java | 98 private int len; field in class:MsgAjp 131 len = 4; 141 len=pos; 142 int dLen=len-4; 155 return len; 266 int len = str.length(); 267 appendInt(len); 268 for (int i = 0; i < len; i 304 log.severe("Buffer overflow: buffer.len=" + buf.length + " pos=" + 410 len [all...] |
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/appserv/web/cache/filter/ |
H A D | CachingOutputStreamWrapper.java | 82 * Write <code>len</code> bytes from the specified byte array, starting 87 * @param len The number of 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/ejb/ejb-container/src/main/java/com/sun/ejb/spi/sfsb/util/ |
H A D | SFSBUUIDUtil.java | 72 public T byteArrayToKey(byte[] array, int startIndex, int len); argument
|
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/fileupload/ |
H A D | ThresholdingOutputStream.java | 159 * Writes <code>len</code> bytes from the specified byte array starting at 164 * @param len The number of bytes to write. 168 public void write(byte b[], int off, int len) throws IOException argument 170 checkThreshold(len); 171 getStream().write(b, off, len); 172 written += len;
|
H A D | ByteArrayOutputStream.java | 183 * @param len The number of bytes to write 185 public void write(byte[] b, int off, int len) { argument 188 || (len < 0) 189 || ((off + len) > b.length) 190 || ((off + len) < 0)) { 192 } else if (len == 0) { 196 int newcount = count + len; 197 int remaining = len; 201 System.arraycopy(b, off + len - remaining, currentBuffer, inBufferPos, part);
|
H A D | LimitedInputStream.java | 145 * Reads up to <code>len</code> bytes of data from this input stream 146 * into an array of bytes. If <code>len</code> is not zero, the method 150 * This method simply performs <code>in.read(b, off, len)</code> 156 * @param len the maximum number of bytes read. 162 * <code>len</code> is negative, or <code>len</code> is greater than 167 public int read(byte[] b, int off, int len) throws IOException { argument 168 int res = super.read(b, off, len);
|
/glassfish-3.1.2/admin/launcher/src/main/java/com/sun/enterprise/admin/launcher/ |
H A D | ArgumentManager.java | 88 int len = args.size(); 91 if(len <= 0) 94 for(int i = 0; i < len; i++) 101 if(i + 1 < len)
|
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/logviewer/ |
H A D | CharSpool.java | 60 public void write(char cbuf[], int off, int len) { argument 61 while(len>0) { 62 int sz = Math.min(last.length-pos,len); 64 len -= sz;
|
/glassfish-3.1.2/common/common-util/src/main/java/org/glassfish/security/common/ |
H A D | CipherInfo.java | 82 int len = OLD_CIPHER_MAPPING.length; 83 for(int i=0; i<len; i++) { 93 len = supportedCiphers.length; 94 for(int i=0; i<len; i++) {
|
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/uuid/ |
H A D | UuidUtil.java | 137 int len = result.length(); 138 if (len < 7) { 141 result = result.substring(len - 7, len); 183 int len = s.length(); 184 if (len < 7) { 187 result = s.substring(len - 7, len); 236 int len = s.length(); 237 while (i < len) { [all...] |
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/core/ |
H A D | ApplicationResponse.java | 161 * @param len The new content length 163 public void setContentLength(int len) { argument 166 getResponse().setContentLength(len);
|