/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/ |
H A D | ReadOnlyBeanInfo.java | 79 StringBuffer buffer = new StringBuffer(); 80 buffer.append("Read Only Bean Info for " + primaryKey + "\n"); 81 buffer.append("Refresh needed = " + refreshNeeded + "\n"); 82 buffer.append("Bean level sequence num = " + beanLevelSequenceNum 84 buffer.append("PK level sequence num = " + pkLevelSequenceNum + "\n"); 86 buffer.append("Last refresh requested at " + 90 buffer.append("Refresh has never been requested\n"); 93 buffer.append("Last refreshed at " + 96 buffer.append("Never refreshed\n"); 99 return buffer [all...] |
H A D | RuntimeTimerState.java | 396 StringBuffer buffer = new StringBuffer(); 397 buffer.append("'" + getTimerId() + "' "); 398 buffer.append("'TimedObject = " + getTimedObjectEjbName() + "' "); 399 buffer.append("'Application = " + getTimedObjectApplicationName() 401 buffer.append("'" + stateToString() + "' "); 402 buffer.append("'" + (isPeriodic() ? "PERIODIC' " : "SINGLE-ACTION' ")); 403 buffer.append("'Container ID = " + containerId_ + "' "); 404 buffer.append("'" + getInitialExpiration() + "' "); 405 buffer.append("'" + getIntervalDuration() + "' "); 408 buffer [all...] |
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/ |
H A D | ResponseUtil.java | 82 byte buffer[] = new byte[2048]; 83 int len = buffer.length; 86 len = istream.read(buffer); 89 ostream.write(buffer, 0, len); 113 char buffer[] = new char[2048]; 114 int len = buffer.length; 117 len = reader.read(buffer); 120 writer.write(buffer, 0, len);
|
H A D | DigestEncoderBase.java | 94 char[] buffer = new char[2 * binaryData.length]; 99 buffer[i*2] = hexadecimal[high]; 100 buffer[i*2 + 1] = hexadecimal[low]; 103 return buffer;
|
H A D | XMLWriter.java | 99 protected StringBuilder buffer = new StringBuilder(); field in class:XMLWriter 135 return buffer.toString(); 150 buffer.append(value); 165 buffer.append(value); 207 buffer.append("<" + namespace + ":" + name + " xmlns:" 211 buffer.append("<" + namespace + ":" + name + ">"); 215 buffer.append("</" + namespace + ":" + name + ">\n"); 220 buffer.append("<" + namespace + ":" + name + " xmlns:" 224 buffer.append("<" + namespace + ":" + name + "/>"); 231 buffer [all...] |
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/annotation/introspection/ |
H A D | ConstantPoolInfo.java | 75 public boolean containsAnnotation(int constantPoolSize, final ByteBuffer buffer) throws IOException { argument 78 final byte type = buffer.get(); 82 final short length = buffer.getShort(); 86 buffer.get(bytes, 0, length); 106 buffer.getShort(); 113 buffer.position(buffer.position()+4); 117 buffer.position(buffer.position()+8); 122 buffer [all...] |
/glassfish-3.1.2/tests/embedded/maven-plugin/websockets/src/main/java/com/sun/grizzly/samples/websockets/ |
H A D | ChatWebSocket.java | 74 StringBuilder buffer = new StringBuilder(orig.length()); 80 buffer.append("\\b"); 83 buffer.append("\\f"); 86 buffer.append("<br />"); 92 buffer.append("\\t"); 95 buffer.append("\\'"); 98 buffer.append("\\\""); 101 buffer.append("\\\\"); 104 buffer.append("<"); 107 buffer [all...] |
/glassfish-3.1.2/jbi/serviceengine/sun-javaee-engine/src/main/java/com/sun/enterprise/jbi/serviceengine/util/soap/ |
H A D | Operation.java | 250 StringBuffer buffer = new StringBuffer(); 251 buffer.append("{ name = " + mOperationName); 252 buffer.append(", pattern = " + mPattern); 253 buffer.append(", style = " + getStyle()); 254 buffer.append(", soap action = " + mSoapAction); 255 buffer.append(", input namespace = " + mInputNamespace); 256 buffer.append(", output namespace = " + mOutputNamespace); 257 buffer.append("}"); 258 return buffer.toString();
|
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/ |
H A D | MethodPermissionDescriptor.java | 94 StringBuffer buffer = toStringBuffer; 95 buffer.append("Method Permission " + (getDescription()==null?"":getDescription()) ); 96 buffer.append("\nFor the following Permissions "); 99 mp.print(buffer); 100 buffer.append("\n"); 102 buffer.append("\nFor the following ").append(methods.size()).append(" methods\n"); 105 md.print(buffer); 106 buffer.append("\n");
|
/glassfish-3.1.2/webservices/soap-tcp/src/main/java/org/glassfish/webservices/transport/tcp/ |
H A D | WSTCPProtocolFinder.java | 78 ByteBuffer buffer = puRequest.getByteBuffer(); 79 int position = buffer.position(); 80 int limit = buffer.limit(); 82 buffer.flip(); 85 if (buffer.remaining() < PROTOCOL_SCHEMA_BYTES.length) { 90 if (buffer.get(i) != PROTOCOL_SCHEMA_BYTES[i]) { 98 buffer.limit(limit); 99 buffer.position(position);
|
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/universal/process/ |
H A D | ProcessStreamDrainerWorker.java | 71 byte[] buffer = new byte[4096]; 73 while ((count = reader.read(buffer)) != -1) 76 redirect.write(buffer, 0, count); 79 sb.append(new String(buffer, 0, count));
|
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/readers/ |
H A D | InputReader.java | 159 char[] buffer = new char[n]; 164 buffer[0] = this.lastChar; 170 while ((pos < n) && ((len = reader.read(buffer, pos, n - pos)) != -1)) { 182 this.lastChar = buffer[n - 1]; 183 return new String(buffer);
|
/glassfish-3.1.2/tests/quicklook/admin/src/test/admin/util/ |
H A D | GeneralUtils.java | 90 StringBuffer buffer = new StringBuffer(adminUrl); 92 buffer.append("/"); 93 buffer.append(cmd); 97 buffer.append("?"); 103 buffer.append(encoded); 104 buffer.append("&"); 108 buffer.append(encodePair("DEFAULT", operand)); 110 int len = buffer.length(); 111 if(buffer.charAt(len-1) == '?' || buffer [all...] |
/glassfish-3.1.2/appclient/server/core/src/main/java/org/glassfish/appclient/server/core/jws/ |
H A D | LoaderConfigContent.java | 74 final char[] buffer = new char[1024]; 75 while ( (charsRead = fr.read(buffer)) != -1) { 76 sb.append(buffer, 0, charsRead);
|
/glassfish-3.1.2/admin/jmx-remote/common/src/main/java/com/sun/enterprise/admin/jmx/remote/streams/ |
H A D | JMXChunkedOutputStream.java | 51 private byte[] buffer = null; field in class:JMXChunkedOutputStream 56 buffer = new byte[8192]; 73 writeObject(buffer, 0, bufCount); 123 buffer[bufCount] = b; 128 System.arraycopy(b, off, buffer, bufCount, len);
|
H A D | JMXChunkedInputStream.java | 49 private byte[] buffer = null; field in class:JMXChunkedInputStream 93 buffer = new byte[len]; 94 remainderInBuf = dI.read(buffer, 0, len); 113 buffer = null; 126 ret = buffer[idx++]; 158 System.arraycopy(buffer, idx, b, off, len1);
|
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/CosTransactions/ |
H A D | LogFileHandle.java | 218 // If the file is buffered, this ensures that the buffer is written out 233 * @param buffer Buffer for file read. 241 int fileRead( byte[] buffer ) 246 if( buffer.length > 0 ) 249 // If buffered, then copy the file buffer into the required array. 253 // If the current position is beyond the end of the buffer then the read fails. 258 // Otherwise if the buffer is not big enough for all the bytes, return those that 262 if( buffPos + buffer.length >= bufferData.length ) 265 bytesRead = buffer.length; 267 System.arraycopy(bufferData,buffPos,buffer, [all...] |
/glassfish-3.1.2/tests/jbi/bare_doc_literal/se_consumer_se_provider/client/ |
H A D | TestClient.java | 84 StringBuffer buffer = new StringBuffer(); 89 buffer.append(line + "\n"); 91 log(buffer.toString());
|
/glassfish-3.1.2/tests/jbi/rpc_literal/se_consumer_se_provider/bundled_wsdl/client/ |
H A D | TestClient.java | 85 StringBuffer buffer = new StringBuffer(); 90 buffer.append(line + "\n"); 92 log(buffer.toString());
|
/glassfish-3.1.2/tests/jbi/rpc_literal/se_consumer_se_provider/generated_wsdl/client/ |
H A D | TestClient.java | 84 StringBuffer buffer = new StringBuffer(); 89 buffer.append(line + "\n"); 91 log(buffer.toString());
|
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/startup/ |
H A D | PasswdUserDatabase.java | 182 StringBuilder buffer = new StringBuilder(); 187 buffer.append((char) ch); 189 String line = buffer.toString();
|
/glassfish-3.1.2/appclient/client/acc/src/main/java/org/glassfish/appclient/client/jws/boot/ |
H A D | LaunchSecurityHelper.java | 106 char [] buffer = new char [BUFFER_SIZE]; 107 while ((charsRead = reader.read(buffer)) != -1) { 108 sb.append(buffer, 0, charsRead);
|
/glassfish-3.1.2/persistence/cmp/utility/src/main/java/com/sun/jdo/spi/persistence/utility/generator/io/ |
H A D | FormattedWriter.java | 98 final StringBuffer buffer = getBuffer(); 103 buffer.append(indent); 106 buffer.append(s);
|
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/fileupload/ |
H A D | MultipartStream.java | 206 * The default length of the buffer used for processing a request. 258 * The amount of data, in bytes, that must be kept in the buffer in order 271 * The length of the buffer used for processing the request. 277 * The buffer used for processing the request. 279 private final byte[] buffer; field in class:MultipartStream 283 * The index of first valid character in the buffer. 291 * The index of last valid characer in the buffer + 1. 312 * <p> Constructs a <code>MultipartStream</code> with a custom size buffer. 314 * <p> Note that the buffer must be at least big enough to contain the 316 * least one byte of data. Too small a buffer siz [all...] |
/glassfish-3.1.2/web/web-ajp/src/main/java/org/apache/jk/common/ |
H A D | ChannelNioSocket.java | 1039 private ByteBuffer buffer = ByteBuffer.allocateDirect(BUFFER_SIZE); field in class:ChannelNioSocket.SocketInputStream 1047 buffer.limit(0); 1051 return buffer.remaining(); 1055 buffer.mark(); 1063 buffer.reset(); 1070 return buffer.get(); 1077 return buffer.remaining() >= nbyte; 1085 if(buffer.remaining() > 0) { 1087 // as much as allocating a long-lived buffer for this 1089 log.finest("Saving old buffer 1195 ByteBuffer buffer = ByteBuffer.allocateDirect(bufferSize); field in class:ChannelNioSocket.SocketOutputStream [all...] |