Searched refs:buf (Results 351 - 375 of 1249) sorted by relevance

<<11121314151617181920>>

/openjdk7/jdk/src/share/classes/javax/sound/sampled/
H A DDataLine.java476 StringBuffer buf = new StringBuffer();
479 buf.append(" supporting format " + formats[0]);
481 buf.append(" supporting " + getFormats().length + " audio formats");
485 buf.append(", and buffers of " + minBufferSize + " to " + maxBufferSize + " bytes");
487 buf.append(", and buffers of at least " + minBufferSize + " bytes");
489 buf.append(", and buffers of up to " + minBufferSize + " bytes");
492 return new String(super.toString() + buf);
/openjdk7/jdk/src/share/classes/com/sun/script/javascript/
H A DRhinoScriptEngineFactory.java100 StringBuffer buf = new StringBuffer();
102 buf.append("print(\"");
107 buf.append("\\\"");
110 buf.append("\\\\");
113 buf.append(ch);
117 buf.append("\")");
118 return buf.toString();
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/sax/
H A DSystemIdResolver.java117 StringBuffer buf = new StringBuffer(str);
118 int length = buf.length();
120 char currentChar = buf.charAt(i);
123 buf.setCharAt(i, '%');
124 buf.insert(i+1, "20");
130 buf.setCharAt(i, '/');
134 return buf.toString();
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/Blowfish/
H A DBlowfishTestVector.java121 static private void byte2hex(byte b, StringBuffer buf) { argument
126 buf.append(hexChars[high]);
127 buf.append(hexChars[low]);
134 StringBuffer buf = new StringBuffer();
139 byte2hex(block[i], buf);
141 buf.append(":");
144 return buf.toString();
/openjdk7/jdk/test/sun/security/x509/X500Name/
H A DDerValueConstructor.java107 private static void byte2hex(byte b, StringBuffer buf) { argument
112 buf.append(hexChars[high]);
113 buf.append(hexChars[low]);
120 StringBuffer buf = new StringBuffer();
125 byte2hex(block[i], buf);
127 buf.append(":");
130 return buf.toString();
/openjdk7/jdk/test/java/rmi/reliability/benchmark/bench/
H A DTextReporter.java119 StringBuffer buf = new StringBuffer(s);
120 buf.setLength(len);
122 buf.setCharAt(i, ' ');
123 return buf.toString();
130 char[] buf = new char[len];
131 Arrays.fill(buf, c);
132 return new String(buf);
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/logging/
H A DHttpLogFormatter.java59 StringBuilder buf = new StringBuilder("HTTP: ");
75 buf.append("\t").append(s).append("\n");
80 buf.append("Cookies from handler:\n");
100 buf.append("\t").append(cookie).append("\n");
119 buf.append("\t").append(cookie).append("\n");
126 buf.append(src).append("\n");
128 return buf.toString();
/openjdk7/jdk/test/java/lang/instrument/
H A DATransformerManagementTestCase.java305 StringBuffer buf = new StringBuffer();
306 buf.append("byte[");
307 buf.append(b.length);
308 buf.append("] (");
311 buf.append(b[i]);
312 buf.append(",");
314 buf.deleteCharAt(buf.length()-1);
315 buf.append(")");
317 return buf
[all...]
/openjdk7/jdk/test/java/nio/channels/AsynchronousChannelGroup/
H A DIdentity.java85 final ByteBuffer buf = ByteBuffer.allocate(100);
86 ch.read(buf, ch, new CompletionHandler<Integer,AsynchronousSocketChannel>() {
91 buf.clear();
92 ch.read(buf, ch, this);
164 ByteBuffer buf;
166 buf = ByteBuffer.allocateDirect(1);
168 buf = ByteBuffer.allocate(1);
170 buf.put((byte)0);
171 buf.flip();
172 return buf;
[all...]
/openjdk7/jdk/src/share/classes/sun/security/jgss/
H A DTokenTracker.java339 StringBuffer buf = new StringBuffer("TokenTracker: ");
340 buf.append(" initNumber=").append(initNumber);
341 buf.append(" windowStart=").append(windowStart);
342 buf.append(" expectedNumber=").append(expectedNumber);
343 buf.append(" windowStartIndex=").append(windowStartIndex);
344 buf.append("\n\tIntervals are: {");
347 buf.append(", ");
348 buf.append(list.get(i).toString());
350 buf.append('}');
351 return buf
[all...]
/openjdk7/jdk/src/share/classes/sun/util/locale/
H A DAsciiUtil.java88 StringBuilder buf = new StringBuilder(s.substring(0, idx));
90 buf.append(toLower(s.charAt(idx)));
92 return buf.toString();
106 StringBuilder buf = new StringBuilder(s.substring(0, idx));
108 buf.append(toUpper(s.charAt(idx)));
110 return buf.toString();
129 StringBuilder buf = new StringBuilder(s.substring(0, idx));
131 buf.append(toUpper(s.charAt(idx)));
135 buf.append(toLower(s.charAt(idx)));
137 return buf
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/
H A DStackMap.java148 StringBuffer buf = new StringBuffer("StackMap(");
151 buf.append(map[i].toString());
154 buf.append(", ");
157 buf.append(')');
159 return buf.toString();
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/
H A DBytecodeNewArray.java127 StringBuffer buf = new StringBuffer();
128 buf.append("newarray");
129 buf.append(spaces);
130 buf.append(getTypeName());
131 return buf.toString();
H A DBytecodeLoadConstant.java214 StringBuffer buf = new StringBuffer();
215 buf.append(getJavaBytecodeName());
216 buf.append(spaces);
217 buf.append('#');
218 buf.append(Integer.toString(poolIndex()));
220 buf.append('(');
221 buf.append(Integer.toString(cacheIndex()));
222 buf.append(')');
224 buf.append(spaces);
225 buf
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/
H A DObjectHistogramElement.java93 StringBuffer buf = new StringBuffer();
95 buf.append(((TypeArrayKlass) bottom).getElementTypeName());
97 buf.append(bottom.getName().asString().replace('/', '.'));
102 buf.append("[]");
104 return buf.toString();
/openjdk7/jdk/test/java/io/BufferedReader/
H A DReadLine.java90 char[] buf = new char[9];
91 reader.read(buf, 0, 9);
92 String newStr = new String(buf);
134 public int read(char[] buf, int offset, int length) argument
139 buf[i] = (char)read();
/openjdk7/jdk/test/java/nio/channels/FileChannel/
H A DAtomicAppend.java65 ByteBuffer buf = ByteBuffer.allocate(1);
66 buf.put((byte)b);
67 buf.flip();
70 bufs[0] = buf;
73 fc.write(buf);
/openjdk7/jdk/src/solaris/classes/sun/java2d/jules/
H A DJulesShapePipe.java37 JulesPathBuf buf = new JulesPathBuf(); field in class:JulesShapePipe
74 buf.tesselateStroke(s, bs, thin, adjust, true,
79 buf.clear();
93 TrapezoidList traps = buf.tesselateFill(s, sg2d.transform,
97 buf.clear();
/openjdk7/jdk/test/java/net/Socks/
H A DSocksServer.java106 private void readBuf(InputStream is, byte[] buf) throws IOException { argument
107 int l = buf.length;
111 i = is.read(buf, count, l - count);
124 byte[] buf = new byte[ulen];
125 readBuf(in, buf);
126 String uname = new String(buf);
132 buf = new byte[ulen];
133 readBuf(in, buf);
134 password = new String(buf);
201 byte[] buf
[all...]
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DCipherBox.java233 int encrypt(byte[] buf, int offset, int len) { argument
247 System.arraycopy(buf, offset,
248 buf, offset + prefix.length, len);
252 buf, offset, prefix.length);
257 len = addPadding(buf, offset, len, blockSize);
267 new ByteArrayInputStream(buf, offset, len),
271 int newLen = cipher.update(buf, offset, len, buf, offset);
312 byte[] buf = null;
316 buf
396 decrypt(byte[] buf, int offset, int len, int tagLen) argument
533 addPadding(byte[] buf, int offset, int len, int blockSize) argument
604 checkPadding( byte[] buf, int offset, int len, byte pad) argument
667 removePadding(byte[] buf, int offset, int len, int tagLen, int blockSize, ProtocolVersion protocolVersion) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/datatype/
H A DDurationImpl.java1003 StringBuffer buf = new StringBuffer();
1005 buf.append('-');
1007 buf.append('P');
1010 buf.append(years + "Y");
1013 buf.append(months + "M");
1016 buf.append(days + "D");
1020 buf.append('T');
1022 buf.append(hours + "H");
1025 buf.append(minutes + "M");
1028 buf
1726 alignSigns(BigDecimal[] buf, int start, int end) argument
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A DptrQueue.hpp97 void locking_enqueue_completed_buffer(void** buf);
171 static BufferNode* new_from_buffer(void** buf) { argument
172 return new (make_block_from_buffer(buf)) BufferNode;
176 static BufferNode* make_node_from_buffer(void** buf) { argument
177 return (BufferNode*)make_block_from_buffer(buf);
236 virtual bool mut_process_buffer(void** buf) { argument
263 // Return an empty buffer to the free list. The "buf" argument is
265 void deallocate_buffer(void** buf);
267 // Declares that "buf" is a complete buffer.
268 void enqueue_complete_buffer(void** buf, size_
[all...]
/openjdk7/jdk/src/share/classes/com/sun/security/sasl/
H A DCramMD5Server.java123 StringBuffer buf = new StringBuffer();
124 buf.append('<');
125 buf.append(rand);
126 buf.append('.');
127 buf.append(timestamp);
128 buf.append('@');
129 buf.append(fqdn);
130 buf.append('>');
131 String challengeStr = buf.toString();
/openjdk7/hotspot/src/share/vm/services/
H A DdiagnosticArgument.hpp113 virtual void value_as_str(char* buf, size_t len) = 0;
121 void to_string(jlong l, char* buf, size_t len);
122 void to_string(bool b, char* buf, size_t len);
123 void to_string(char* c, char* buf, size_t len);
124 void to_string(NanoTimeArgument n, char* buf, size_t len);
125 void to_string(MemorySizeArgument f, char* buf, size_t len);
126 void to_string(StringArrayArgument* s, char* buf, size_t len);
154 void value_as_str(char *buf, size_t len) { return to_string(_value, buf, len);} argument
/openjdk7/hotspot/agent/src/os/linux/
H A Dps_proc.c57 static bool process_read_data(struct ps_prochandle* ph, uintptr_t addr, char *buf, size_t size) { argument
74 *(buf++) = *(ptr++);
87 *(long *)buf = rslt;
88 buf += sizeof(long);
101 *(buf++) = *(ptr++);
108 uintptr_t addr, const char *buf , size_t size) {
247 static char * fgets_no_cr(char * buf, int n, FILE *fp) argument
249 char * rslt = fgets(buf, n, fp);
250 if (rslt && buf && *buf){
264 char buf[256]; local
[all...]

Completed in 118 milliseconds

<<11121314151617181920>>