Searched defs:buf (Results 1 - 25 of 48) sorted by relevance

12

/glassfish-3.1.2/core/logging/src/main/java/com/sun/enterprise/server/logging/
H A DFormatterDelegate.java53 public void format(StringBuilder buf, Level level); argument
/glassfish-3.1.2/core/logging/src/main/java/com/sun/enterprise/v3/logging/
H A DAgentFormatterDelegate.java67 public void format(StringBuilder buf, Level level) { argument
78 buf.append("_ApplicationName").append(NV_SEPARATOR).
86 buf.append("_RequestID").append(NV_SEPARATOR).
91 buf.append("_ApplicationName").append(NV_SEPARATOR).
97 buf.append("_ModuleName").append(NV_SEPARATOR).
102 buf.append("_ComponentName").append(NV_SEPARATOR).
107 buf.append("_ComponentType").append(NV_SEPARATOR).
112 buf.append("_MethodName").append(NV_SEPARATOR).
117 buf.append("_TransactionId").append(NV_SEPARATOR).
122 buf
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/ssi/
H A DByteArrayServletOutputStream.java77 protected ByteArrayOutputStream buf = null; field in class:ByteArrayServletOutputStream
84 buf = new ByteArrayOutputStream();
92 return buf.toByteArray();
102 buf.write(b);
H A DSSIProcessor.java356 protected boolean charCmp(String buf, int index, String command) { argument
357 return buf.regionMatches(index, command, 0, command.length());
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/util/stringifier/
H A DIteratorStringifier.java81 StringBuffer buf)
85 buf.append( "null" );
89 buf.append( mElementStringifier.stringify( elem ) );
78 stringifyElement( Object elem, String delim, StringBuffer buf) argument
H A DIteratorStringifierBase.java99 StringBuffer buf);
108 StringBuffer buf = new StringBuffer();
114 stringifyElement( elem, delim, buf );
115 buf.append( delim );
119 final int length = buf.length();
122 buf.setLength( length - delim.length() );
125 return( buf.toString() );
96 stringifyElement( Object elem, String delim, StringBuffer buf) argument
/glassfish-3.1.2/persistence/cmp/enhancer/src/main/java/com/sun/jdo/api/persistence/enhancer/util/
H A DCRC32.java50 * Compute the CRC for "len" bytes in "buf"
53 static int computeCRC(int crc, byte buf[], int len) { argument
54 if (buf == null) return 0;
59 crc = CRCTable[(crc ^ ((int) buf[bufIndex++])) & 0xff] ^ (crc >>> 8);
60 crc = CRCTable[(crc ^ ((int) buf[bufIndex++])) & 0xff] ^ (crc >>> 8);
61 crc = CRCTable[(crc ^ ((int) buf[bufIndex++])) & 0xff] ^ (crc >>> 8);
62 crc = CRCTable[(crc ^ ((int) buf[bufIndex++])) & 0xff] ^ (crc >>> 8);
63 crc = CRCTable[(crc ^ ((int) buf[bufIndex++])) & 0xff] ^ (crc >>> 8);
64 crc = CRCTable[(crc ^ ((int) buf[bufIndex++])) & 0xff] ^ (crc >>> 8);
65 crc = CRCTable[(crc ^ ((int) buf[bufInde
[all...]
/glassfish-3.1.2/common/glassfish-naming/src/main/java/com/sun/enterprise/naming/util/
H A DLogOutputStream.java56 private byte[] buf = new byte[80]; field in class:LogOutputStream
85 buf[pos++] = (byte)b;
103 System.arraycopy(b, start, buf, pos, i - start);
110 System.arraycopy(b, start, buf, pos, i - start);
120 System.arraycopy(b, start, buf, pos, len - start);
137 String msg = new String(buf, 0, pos);
147 while (pos + len > buf.length) {
148 byte[] nb = new byte[buf.length * 2];
149 System.arraycopy(buf, 0, nb, 0, pos);
150 buf
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/
H A DStrftime.java213 StringBuilder buf = new StringBuilder();
227 inside = translateCommand( buf, pattern, i, inside );
238 buf.append("'");
242 buf.append(c);
247 if ( buf.length() > 0 ) {
248 char lastChar = buf.charAt( buf.length() - 1 );
251 buf.append('\'');
254 return buf.toString();
269 * @param buf translate
275 translateCommand( StringBuilder buf, String pattern, int index, boolean oldInside ) argument
[all...]
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/logviewer/
H A DCharSpool.java54 private List<char[]> buf; field in class:CharSpool
75 if(buf==null)
76 buf = new LinkedList<char[]>();
77 buf.add(last);
99 if(buf!=null) {
100 for (char[] cb : buf) {
H A DWriterOutputStream.java64 private java.nio.ByteBuffer buf = ByteBuffer.allocate(1024); field in class:WriterOutputStream
79 if(buf.remaining()==0)
81 buf.put((byte)b);
86 if(buf.remaining()==0)
88 int sz = Math.min(buf.remaining(),len);
89 buf.put(b,off,sz);
111 buf.rewind();
115 * Decodes the contents of {@link #buf} as much as possible to {@link #out}.
119 * When this method returns, the {@link #buf} is back to the 'accumulation'
126 buf
[all...]
/glassfish-3.1.2/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/ejbc/
H A DJDOCodeGeneratorHelper.java161 * @param buf the StringBuffer with validation exceptions.
166 Exception e, StringBuffer buf) {
168 String msg = (buf == null) ?
170 buf.append(e.getMessage()).append('\n').toString();
164 createGeneratorException( String key, String beanName, EjbBundleDescriptor bundle, Exception e, StringBuffer buf) argument
/glassfish-3.1.2/persistence/cmp/enhancer/src/main/java/com/sun/jdo/api/persistence/enhancer/classfile/
H A DInsnIInc.java122 int store(byte[] buf, int index) { argument
124 buf[index++] = (byte) opc_wide;
125 buf[index++] = (byte) opcode();
127 index = storeShort(buf, index, (short) localVarIndex);
128 index = storeShort(buf, index, (short) value);
130 buf[index++] = (byte)localVarIndex;
131 buf[index++] = (byte)value;
H A DInsnIntOp.java112 int store(byte[] buf, int index) { argument
115 buf[index++] = (byte) opc_wide;
118 buf[index++] = (byte) opcode();
120 buf[index++] = (byte)(operandValue >> 8);
121 buf[index++] = (byte)(operandValue & 0xff);
H A DInsnInterfaceInvoke.java122 int store(byte[] buf, int index) { argument
123 buf[index++] = (byte) opcode();
124 index = storeShort(buf, index, (short)method().getIndex());
125 buf[index++] = (byte) nArgsOp;
126 buf[index++] = (byte) 0;
H A DInsnSingle.java96 int store(byte[] buf, int index) { argument
97 buf[index] = (byte) opcode();
H A DInsnTarget.java97 int store(byte buf[], int index) { argument
H A DInsnTargetOp.java100 int store(byte[] buf, int index) { argument
101 buf[index++] = (byte) opcode();
104 return storeInt(buf, index, off);
106 return storeShort(buf, index, (short)off);
/glassfish-3.1.2/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/codegen/
H A DCMPDeployerImpl.java397 * @param buf the buffer to use.
400 private StringBuffer addGeneratorExceptionMessage(String msg, StringBuffer buf) { argument
401 StringBuffer rc = buf;
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/util/
H A DPrintWriterAdapter.java97 public void write(char[] buf, int off, int len) { argument
99 writer.write(buf, off, len);
102 public void write(char[] buf) { argument
104 writer.write(buf);
/glassfish-3.1.2/deployment/common/src/main/java/org/glassfish/deployment/monitor/
H A DDeploymentLifecycleStatsProvider.java195 private void appendColumn(StringBuffer buf, String text, int length) { argument
196 buf.append(text);
198 buf.append(" ");
/glassfish-3.1.2/transaction/jta/src/main/java/com/sun/enterprise/transaction/monitoring/
H A DTransactionServiceStatsProvider.java220 private void appendColumn(StringBuffer buf, String text, int length) { argument
221 buf.append(text);
223 buf.append(" ");
/glassfish-3.1.2/web/web-ajp/src/main/java/org/apache/jk/core/
H A DMsg.java63 import com.sun.grizzly.util.buf.ByteChunk;
64 import com.sun.grizzly.util.buf.MessageBytes;
169 public static String hexLine( byte buf[], int start, int len ) { argument
173 sb.append( hex( buf[i] ) + " ");
179 if( ! Character.isISOControl( (char)buf[i] ))
180 sb.append( new Character((char)buf[i]) );
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/connector/
H A DCoyoteWriter.java212 public void write(char buf[], int off, int len) { argument
224 ob.write(buf, off, len);
231 public void write(char buf[]) { argument
232 write(buf, 0, buf.length);
/glassfish-3.1.2/installer/src/cpp/share/launcher/zlib-1.1.4/
H A Dminigzip.c104 local char buf[BUFLEN]; local
115 len = fread(buf, 1, sizeof(buf), in);
122 if (gzwrite(out, buf, (unsigned)len) != len) error(gzerror(out, &err));
140 caddr_t buf; /* mmap'ed buffer for the entire input file */ local
150 buf = mmap((caddr_t) 0, buf_len, PROT_READ, MAP_SHARED, ifd, (off_t)0);
151 if (buf == (caddr_t)(-1)) return Z_ERRNO;
154 len = gzwrite(out, (char *)buf, (unsigned)buf_len);
158 munmap(buf, buf_len);
172 local char buf[BUFLE local
228 local char buf[MAX_NAME_LEN]; local
[all...]

Completed in 3938 milliseconds

12