Searched refs:buf (Results 426 - 450 of 1249) sorted by relevance

<<11121314151617181920>>

/openjdk7/hotspot/src/share/vm/utilities/
H A DvmError.hpp86 // handle -XX:+ShowMessageBoxOnError. buf is used to format the message string
87 void show_message_box(char* buf, int buflen);
94 char* buf, int buflen, bool verbose = false);
116 char *error_string(char* buf, int buflen);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/
H A DMimeMultipartParser.java145 byte[] buf; field in class:MimeMultipartParser.PartAttachment
160 if (buf == null) {
167 buf = baf.toByteArray();
169 return buf;
173 return (buf != null)
174 ? new DataSourceStreamingDataHandler(new ByteArrayDataSource(buf,getContentType()))
179 return (buf != null)
180 ? new StreamSource(new ByteArrayInputStream(buf))
185 return (buf != null)
186 ? new ByteArrayInputStream(buf)
[all...]
/openjdk7/jdk/src/windows/native/sun/nio/ch/
H A DSocketDispatcher.c51 WSABUF buf; local
58 buf.buf = (char *)address;
59 buf.len = (u_long)len;
63 &buf, /* pointers to the buffers */
105 bufs[i].buf = (char *)iovp[i].iov_base;
147 WSABUF buf; local
156 buf.buf = (char *)address;
157 buf
[all...]
/openjdk7/jdk/test/java/io/charStreams/
H A DBufferSizes.java45 byte[] buf = new byte[sz];
46 while ((n = in.read(buf, 0, sz)) != -1)
47 out.write(buf, 0, n);
/openjdk7/jdk/test/java/lang/Runtime/exec/
H A DExecWithInput.java97 byte[] buf = new byte[8192];
99 while ((n = in.read(buf)) != -1) {
100 out.write(buf, 0, n);
H A DExitValue.java53 byte[] buf = new byte[4096];
54 int n = proc.getErrorStream().read(buf);
58 + new String(buf, 0, n, "ASCII"));
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/parser/
H A DScannerFactory.java73 CharBuffer buf = (CharBuffer) input;
75 return new DocCommentScanner(this, buf);
77 return new Scanner(this, buf);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DConvert.java220 StringBuilder buf = new StringBuilder();
222 buf.append(quote(s.charAt(i)));
224 return buf.toString();
263 StringBuffer buf = new StringBuffer();
264 buf.append(s.substring(0, i));
268 buf.append("\\u");
269 buf.append(Character.forDigit((ch >> 12) % 16, 16));
270 buf.append(Character.forDigit((ch >> 8) % 16, 16));
271 buf.append(Character.forDigit((ch >> 4) % 16, 16));
272 buf
[all...]
/openjdk7/jdk/src/share/classes/sun/text/normalizer/
H A DReplaceableUCharacterIterator.java69 * @param buf buffer of text on which the iterator will be based
71 public ReplaceableUCharacterIterator(StringBuffer buf){ argument
72 if(buf==null){
75 this.replaceable = new ReplaceableString(buf);
/openjdk7/jdk/test/java/util/zip/
H A DInterruptibleZip.java60 byte[] buf = new byte[512];
61 int n = is.read(buf);
68 if (n != buf.length) {
/openjdk7/jdk/test/sun/misc/ClassLoaderUtil/
H A DTest.java39 byte buf[] = new byte [1024];
41 while ((c=fis.read(buf)) != -1) {
42 fos.write (buf, 0, c);
/openjdk7/jdk/test/sun/misc/
H A DEscapePath.java67 byte buf[] = new byte[410];
69 bytesRead = fis.read(buf);
71 fos.write(buf, 0, bytesRead);
/openjdk7/jdk/src/share/classes/sun/misc/
H A DHexDumpEncoder.java91 protected void encodeAtom(OutputStream o, byte buf[], int off, int len) throws IOException { argument
92 thisLine[currentByte] = buf[off];
93 hexDigit(pStream, buf[off]);
/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DRequest.java63 char[] buf = new char [BUF_LEN]; field in class:Request
104 lineBuf.append (buf, 0, pos);
110 lineBuf.append (buf);
113 buf[pos++] = (char)c;
356 ByteBuffer buf; field in class:Request.WriteStream
368 buf = ByteBuffer.allocate (4096);
385 int cap = buf.capacity();
388 buf = ByteBuffer.allocate (2*(cap+diff));
390 buf.clear();
391 buf
[all...]
/openjdk7/jdk/make/sun/awt/
H A DToBin.java49 int[] buf = ((DataBufferInt)srcBuf).getData();
52 for (int i = 0; i < buf.length; i++) {
53 System.out.print("0x" + Integer.toHexString(buf[i]) + ", ");
/openjdk7/jdk/test/sun/rmi/log/ReliableLog/
H A DSnapshotSize.java69 byte[] buf = bout.toByteArray();
70 out.write(buf); // leave unflushed
71 lastSnapshotSize = buf.length;
/openjdk7/jdk/test/sun/security/krb5/ccache/
H A DEmptyCC.java68 byte[] buf = new byte[8192];
70 while ((n = ins.read(buf)) > 0) {
71 System.out.write(buf, 0, n);
/openjdk7/jdk/test/sun/security/pkcs11/
H A DSecmodTest.java65 byte[] buf = new byte[2048];
67 int n = in.read(buf);
71 out.write(buf, 0, n);
/openjdk7/jdk/src/share/classes/com/sun/jndi/dns/
H A DResourceRecord.java461 StringBuffer buf = new StringBuffer(rdlen);
464 pos += decodeCharString(pos, buf);
466 buf.append(' ');
469 return buf.toString();
477 StringBuffer buf = new StringBuffer(rdlen);
478 pos += decodeCharString(pos, buf);
479 buf.append(' ');
480 pos += decodeCharString(pos, buf);
481 return buf.toString();
485 * Decodes the <character-string> at msg[pos] and adds it to buf
492 decodeCharString(int pos, StringBuffer buf) argument
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A DsatbQueue.cpp62 void** buf = _buf; local
65 if (buf == NULL) {
80 oop* p = (oop*) &buf[byte_index_to_index((int) i)];
94 oop* new_p = (oop*) &buf[byte_index_to_index((int) new_index)];
160 void** buf, size_t index, size_t sz) {
163 oop obj = (oop)buf[byte_index_to_index((int)i)];
179 void** buf, size_t index, size_t sz) {
180 gclog_or_tty->print_cr(" SATB BUFFER [%s] buf: "PTR_FORMAT" "
182 name, buf, index, sz);
337 void **buf local
159 apply_closure_to_buffer(ObjectClosure* cl, void** buf, size_t index, size_t sz) argument
178 print(const char* name, void** buf, size_t index, size_t sz) argument
352 void** buf = BufferNode::make_buffer_from_node(nd); local
383 void** buf = BufferNode::make_buffer_from_node(nd); local
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/output/
H A DUTF8XmlOutput.java165 Encoded[] buf = new Encoded[m];
166 System.arraycopy(prefixes,0,buf,0,prefixes.length);
167 for( int i=prefixes.length; i<buf.length; i++ )
168 buf[i] = new Encoded();
169 prefixes = buf;
180 e.buf = EMPTY_BYTE_ARRAY;
213 write(e.buf,0,e.len-1); // skip the trailing ':'
321 byte[] buf = textBuffer.buf;
327 buf[
[all...]
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_BitmapUtil.cpp43 char* buf = SAFE_SIZE_NEW_ARRAY2(char, (width + 15) / 16 * 2, height); local
44 if (buf == NULL) return NULL;
46 char* bufPos = buf;
72 if (((bufPos - buf) & 0x01) == 0x01) {
77 HBITMAP bmp = CreateBitmap(width, height, 1, 1, buf);
78 delete[] buf;
248 BYTE * buf = (BYTE*)safe_Malloc(bi.bmiHeader.biSizeImage); local
250 ::GetDIBits(hdc, hBitmap, 0, height, buf,
269 pRgnHdr->nCount = BitmapToYXBandedRectangles(32, width, height, buf,
278 free(buf);
311 BYTE * buf = (BYTE*)safe_Malloc(bi.bmiHeader.biSizeImage); local
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/
H A DMethod.java178 StringBuffer buf;
192 buf = new StringBuffer(signature);
198 buf.append(" [" + a.toString() + "]");
205 buf.append("\n\t\tthrows " + str);
208 return buf.toString();
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/xs/
H A DListDV.java65 StringBuffer buf = new StringBuffer();
67 buf.append(data[0].toString());
70 buf.append(' ');
71 buf.append(data[i].toString());
73 canonical = buf.toString();
/openjdk7/jdk/src/share/classes/java/util/zip/
H A DDeflaterInputStream.java49 protected final byte[] buf; field in class:DeflaterInputStream
116 buf = new byte[bufLen];
189 n = in.read(buf, 0, buf.length);
194 def.setInput(buf, 0, n);

Completed in 119 milliseconds

<<11121314151617181920>>