/openjdk7/jdk/src/windows/demo/jvmti/hprof/ |
H A D | hprof_md.c | 108 md_recv(int f, char *buf, int len, int option) argument 110 return recv(f, buf, len, option); 171 md_read(int filedes, void *buf, int nbyte) argument 173 return read(filedes, buf, nbyte); 177 md_write(int filedes, const void *buf, int nbyte) argument 179 return write(filedes, buf, nbyte); 283 md_system_error(char *buf, int len) argument 288 buf[0] = '\0'; 294 0, buf, len, NULL); 297 if (buf[ 330 get_last_error_string(char *buf, int len) argument [all...] |
/openjdk7/jdk/test/java/nio/channels/Channels/ |
H A D | Basic2.java | 92 byte[] buf = new byte[128 + rand.nextInt(128)]; 95 len = buf.length; 97 n = in.read(buf); 101 n = in.read(buf, off, len); 108 int value = buf[off + i]; 139 byte[] buf = new byte[1 + rand.nextInt(rem)]; 145 len = buf.length; 147 off = rand.nextInt(buf.length); 148 int r = buf.length - off; 153 buf[of [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/ |
H A D | PerfDataEntry.java | 355 StringBuffer buf = new StringBuffer(); 356 buf.append('['); 358 buf.append(Boolean.toString(res[i])); 359 buf.append(", "); 361 buf.append(']'); 362 str = buf.toString(); 384 StringBuffer buf = new StringBuffer(); 385 buf.append('['); 387 buf.append(Short.toString(res[i])); 388 buf [all...] |
/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | IOVecWrapper.java | 58 private final ByteBuffer[] buf; field in class:IOVecWrapper 87 this.buf = new ByteBuffer[size]; 110 void setBuffer(int i, ByteBuffer buf, int pos, int rem) { argument 111 this.buf[i] = buf; 116 void setShadow(int i, ByteBuffer buf) { argument 117 shadow[i] = buf; 121 return buf[i]; 137 buf[i] = null;
|
/openjdk7/jdk/src/share/sample/nio/multicast/ |
H A D | Reader.java | 55 static void printDatagram(SocketAddress sa, ByteBuffer buf) { argument 58 System.out.println(Charset.defaultCharset().decode(buf)); 130 ByteBuffer buf = ByteBuffer.allocateDirect(4096); 140 SocketAddress sa = ch.receive(buf); 142 buf.flip(); 143 printDatagram(sa, buf); 144 buf.rewind(); 145 buf.limit(buf.capacity());
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/bugspot/ |
H A D | PackageScanner.java | 44 BufferedReader buf = null; 47 buf = new BufferedReader(new FileReader(file)); 48 StreamTokenizer tok = new StreamTokenizer(buf); 68 if (buf != null) { 69 buf.close();
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/ |
H A D | BytecodeBipush.java | 68 StringBuffer buf = new StringBuffer(); 69 buf.append("bipush"); 70 buf.append(spaces); 71 buf.append(Byte.toString(getValue())); 72 return buf.toString();
|
H A D | BytecodeMultiANewArray.java | 72 StringBuffer buf = new StringBuffer(); 73 buf.append(super.toString()); 74 buf.append(spaces); 75 buf.append(Integer.toString(getDimension())); 76 return buf.toString();
|
H A D | BytecodeSipush.java | 68 StringBuffer buf = new StringBuffer(); 69 buf.append("sipush"); 70 buf.append(spaces); 71 buf.append(Short.toString(getValue())); 72 return buf.toString();
|
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/ |
H A D | g1GCPhaseTimes.cpp | 86 LineBuffer buf(level); 87 buf.append("[%s: ", title); 88 buf.append(_print_format, _data[0]); 89 buf.append_and_print_cr("]"); 97 LineBuffer buf(level); 98 buf.append("[%s:", title); 105 buf.append(" "); 106 buf.append(_print_format, val); 111 buf.append_and_print_cr(""); 115 buf [all...] |
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/utils/ |
H A D | UnsyncBufferedOutputStream.java | 34 final byte[] buf; field in class:UnsyncBufferedOutputStream 47 buf=(byte[])bufCahce.get(); 67 System.arraycopy(arg0,arg1,buf,pointer,len); 73 out.write(buf,0,pointer); 83 buf[pointer++]=(byte)arg0;
|
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/ |
H A D | FieldImpl.java | 98 StringBuffer buf = new StringBuffer(); 100 buf.append(declaringType().name()); 101 buf.append('.'); 102 buf.append(name()); 104 return buf.toString();
|
/openjdk7/jdk/src/macosx/bin/ |
H A D | jexec.c | 100 int getJavaPath(const char * path, char * buf, int depth); 199 * buf - a buffer of size PATH_MAX or greater that the java path is 208 int getJavaPath(const char * path, char * buf, int depth) { argument 217 if (realpath(path, buf) != NULL) { 223 *(strrchr(buf, '/')) = '\0'; 231 strcat(buf, BIN_PATH);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/ |
H A D | ChunkInputStream.java | 43 byte[] buf; field in class:ChunkInputStream 48 buf = current.data.read(); 58 System.arraycopy(buf,offset,b,off,sz); 64 return (buf[offset++] & 0xff); 85 this.buf = current.data.read();
|
H A D | MIMEEvent.java | 96 private final ByteBuffer buf; field in class:MIMEEvent.Content 98 Content(ByteBuffer buf) { argument 99 this.buf = buf; 107 return buf;
|
/openjdk7/jdk/src/solaris/native/sun/nio/ch/ |
H A D | EPollPort.c | 54 int buf[1]; local 55 buf[0] = 1; 56 RESTARTABLE(write(fd, buf, 1), res); 65 char buf[1]; local 66 RESTARTABLE(read(fd, buf, 1), res);
|
H A D | KQueuePort.c | 54 int buf[1]; local 55 buf[0] = 1; 56 RESTARTABLE(write(fd, buf, 1), res); 65 char buf[1]; local 66 RESTARTABLE(read(fd, buf, 1), res);
|
/openjdk7/jdk/test/sun/security/ssl/sun/net/www/httpstest/ |
H A D | HttpTransaction.java | 93 StringBuffer buf = new StringBuffer(); 94 buf.append ("Request from: ").append (ch.toString()).append("\r\n"); 95 buf.append ("Command: ").append (command).append("\r\n"); 96 buf.append ("Request URI: ").append (requesturi).append("\r\n"); 97 buf.append ("Headers: ").append("\r\n"); 98 buf.append (reqheaders.toString()).append("\r\n"); 99 buf.append ("Body: ").append (reqbody).append("\r\n"); 100 buf.append ("---------Response-------\r\n"); 101 buf.append ("Headers: ").append("\r\n"); 103 buf [all...] |
/openjdk7/jdk/src/share/native/java/util/zip/zlib-1.2.3/ |
H A D | zcrc32.c | 239 #define DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8) 243 uLong ZEXPORT crc32(crc, buf, len) 245 const unsigned char FAR *buf; 248 if (buf == Z_NULL) return 0UL; 261 return (uLong)crc32_little(crc, buf, len); 263 return (uLong)crc32_big(crc, buf, len); 286 local unsigned long crc32_little(crc, buf, len) 288 const unsigned char FAR *buf; 296 while (len && ((ptrdiff_t)buf & 3)) { 297 c = crc_table[0][(c ^ *buf [all...] |
/openjdk7/jdk/test/sun/net/www/httptest/ |
H A D | HttpTransaction.java | 93 StringBuffer buf = new StringBuffer(); 94 buf.append ("Request from: ").append (key.channel().toString()).append("\r\n"); 95 buf.append ("Command: ").append (command).append("\r\n"); 96 buf.append ("Request URI: ").append (requesturi).append("\r\n"); 97 buf.append ("Headers: ").append("\r\n"); 98 buf.append (reqheaders.toString()).append("\r\n"); 99 buf.append ("Body: ").append (reqbody).append("\r\n"); 100 buf.append ("---------Response-------\r\n"); 101 buf.append ("Headers: ").append("\r\n"); 103 buf [all...] |
/openjdk7/jdk/src/share/transport/socket/ |
H A D | sysSocket.h | 42 int dbgsysSendTo(int fd, char *buf, int len, int flags, struct sockaddr *to, 44 int dbgsysRecvFrom(int fd, char *buf, int nbytes, int flags, 47 int dbgsysRecv(int fd, char *buf, int nBytes, int flags); 48 int dbgsysSend(int fd, char *buf, int nBytes, int flags); 61 int dbgsysGetLastIOError(char *buf, jint size);
|
/openjdk7/langtools/test/tools/javap/classfile/deps/ |
H A D | T6907575.java | 64 char[] buf = new char[(int) f.length()]; 67 while (offset < buf.length && (n = r.read(buf, offset, buf.length - offset)) != -1) 69 return new String(buf, 0, offset);
|
/openjdk7/jaxp/src/javax/xml/datatype/ |
H A D | Duration.java | 895 StringBuffer buf = new StringBuffer(); 898 buf.append('-'); 900 buf.append('P'); 904 buf.append(years + "Y"); 909 buf.append(months + "M"); 914 buf.append(days + "D"); 921 buf.append('T'); 923 buf.append(hours + "H"); 926 buf.append(minutes + "M"); 929 buf [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/txw2/ |
H A D | Document.java | 128 void writeValue( Object obj, NamespaceResolver nsResolver, StringBuilder buf ) { 134 writeValue(o,nsResolver,buf); 139 writeValue(o,nsResolver,buf); 143 if(buf.length()>0) 144 buf.append(' '); 150 dw.print(obj,nsResolver,buf); 157 buf.append(obj); 289 * the buffer passed as the <tt>buf</tt> parameter. 291 private StringBuilder fixPrefix(StringBuilder buf) { argument 295 int len=buf [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/utils/ |
H A D | XMLCharacterRecognizer.java | 71 * @param buf StringBuffer to check as XML whitespace. 74 public static boolean isWhiteSpace(StringBuffer buf) argument 77 int n = buf.length(); 81 if (!isWhiteSpace(buf.charAt(i)))
|