/openjdk7/jdk/src/share/classes/java/io/ |
H A D | ObjectInputStream.java | 847 * @param buf the buffer into which the data is read 855 public int read(byte[] buf, int off, int len) throws IOException { argument 856 if (buf == null) { 860 if (off < 0 || len < 0 || endoff > buf.length || endoff < 0) { 863 return bin.read(buf, off, len, false); 1008 * @param buf the buffer into which the data is read 1012 public void readFully(byte[] buf) throws IOException { argument 1013 bin.readFully(buf, 0, buf.length, false); 1019 * @param buf th 1025 readFully(byte[] buf, int off, int len) argument 2373 private final byte[] buf = new byte[MAX_BLOCK_SIZE]; field in class:ObjectInputStream.BlockDataInputStream [all...] |
/openjdk7/jdk/src/share/classes/sun/swing/plaf/synth/ |
H A D | DefaultSynthStyle.java | 676 StringBuffer buf = new StringBuffer(); 678 buf.append(super.toString()).append(','); 680 buf.append("data=").append(data).append(','); 682 buf.append("font=").append(font).append(','); 684 buf.append("insets=").append(insets).append(','); 686 buf.append("synthGraphics=").append(synthGraphics).append(','); 688 buf.append("painter=").append(painter).append(','); 692 buf.append("states["); 694 buf.append(state.toString()).append(','); 696 buf [all...] |
/openjdk7/jdk/src/share/native/java/lang/ |
H A D | System.c | 125 char buf[64]; local 143 jio_snprintf(buf, sizeof(buf), "%s.display", baseKey); 144 GETPROP(props, buf, jVMVal); 147 PUTPROP(props, buf, platformDispVal); 154 jio_snprintf(buf, sizeof(buf), "%s.format", baseKey); 155 GETPROP(props, buf, jVMVal); 158 PUTPROP(props, buf, platformFmtVal); 171 char buf[12 local [all...] |
/openjdk7/jdk/src/share/classes/sun/java2d/pisces/ |
H A D | Dasher.java | 111 private void emitSeg(float[] buf, int off, int type) { argument 114 out.curveTo(buf[off+0], buf[off+1], 115 buf[off+2], buf[off+3], 116 buf[off+4], buf[off+5]); 119 out.quadTo(buf[off+0], buf[off+1], 120 buf[of [all...] |
/openjdk7/jdk/src/solaris/native/sun/nio/fs/ |
H A D | UnixNativeDispatcher.c | 243 char buf[PATH_MAX+1]; local 246 char* cwd = getcwd(buf, sizeof(buf)); 250 jsize len = (jsize)strlen(buf); 253 (*env)->SetByteArrayRegion(env, result, 0, len, (jbyte*)buf); 389 static void prepAttributes(JNIEnv* env, struct stat64* buf, jobject attrs) { argument 390 (*env)->SetIntField(env, attrs, attrs_st_mode, (jint)buf->st_mode); 391 (*env)->SetLongField(env, attrs, attrs_st_ino, (jlong)buf->st_ino); 392 (*env)->SetLongField(env, attrs, attrs_st_dev, (jlong)buf->st_dev); 393 (*env)->SetLongField(env, attrs, attrs_st_rdev, (jlong)buf 408 struct stat64 buf; local 424 struct stat64 buf; local 440 struct stat64 buf; local 455 struct stat64 buf; local 626 struct dirent64 buf; member in struct:__anon1044 831 struct statvfs64 buf; local [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/ |
H A D | Code.java | 327 StringBuffer buf; 329 buf = new StringBuffer("Code(max_stack = " + max_stack + 335 buf.append("\nException handler(s) = \n" + "From\tTo\tHandler\tType\n"); 338 buf.append(exception_table[i].toString(constant_pool, verbose) + "\n"); 342 buf.append("\nAttribute(s) = \n"); 345 buf.append(attributes[i].toString() + "\n"); 348 return buf.toString();
|
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/util/ |
H A D | Class2HTML.java | 218 StringBuffer buf = new StringBuffer(); 225 case '<': buf.append("<"); break; 226 case '>': buf.append(">"); break; 227 case '\n': buf.append("\\n"); break; 228 case '\r': buf.append("\\r"); break; 229 default: buf.append(ch); 234 return buf.toString();
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/soql/ |
H A D | JSJavaHeap.java | 214 StringBuffer buf = new StringBuffer(); 215 buf.append("Java Heap (capacity="); 216 buf.append(getCapacity()); 217 buf.append(", used="); 218 buf.append(getUsed()); 219 buf.append(")"); 220 return buf.toString();
|
/openjdk7/jdk/src/share/classes/javax/crypto/ |
H A D | CryptoPermission.java | 372 StringBuilder buf = new StringBuilder(100); 373 buf.append("(CryptoPermission " + alg + " " + maxKeySize); 376 buf.append(" , effective " + 379 buf.append(" , rounds " + 384 buf.append(" " + exemptionMechanism); 386 buf.append(")"); 387 return buf.toString();
|
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/model/ |
H A D | JavaValueArray.java | 100 ReadBuffer buf = cl.getReadBuffer(); 104 int len = buf.getInt(offset); 106 byte type = buf.getByte(offset + 4); 112 ReadBuffer buf = cl.getReadBuffer(); 116 int length = buf.getInt(offset); 118 byte type = buf.getByte(offset + 4); 124 buf.get(offset + 5, res);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/dtdparser/ |
H A D | MessageCatalog.java | 350 char buf [] = new char[5]; 352 buf[0] = Character.toLowerCase(lang.charAt(0)); 353 buf[1] = Character.toLowerCase(lang.charAt(1)); 354 buf[2] = '_'; 355 buf[3] = Character.toUpperCase(lang.charAt(3)); 356 buf[4] = Character.toUpperCase(lang.charAt(4)); 361 languages[i] = new String(buf);
|
/openjdk7/jdk/src/windows/native/sun/nio/ch/ |
H A D | DatagramChannelImpl.c | 72 char buf[1]; local 88 if (recvfrom(fd, buf, 1, MSG_PEEK, 97 recvfrom(fd, buf, 1, 0, (struct sockaddr *)&sa, &addrlen); 133 void *buf = (void *)jlong_to_ptr(address); local 143 (char *)buf, 216 void *buf = (void *)jlong_to_ptr(address); local 228 buf,
|
/openjdk7/jdk/src/windows/transport/shmem/ |
H A D | shmem_md.c | 337 sysGetLastError(char *buf, int len) argument 343 0, buf, len, NULL); 346 if (buf[n - 1] == '\n') n--; 347 if (buf[n - 1] == '\r') n--; 348 if (buf[n - 1] == '.') n--; 349 buf[n] = '\0'; 353 buf[0] = '\0';
|
/openjdk7/jdk/test/com/sun/crypto/provider/KeyAgreement/ |
H A D | DHKeyAgreement3.java | 166 private void byte2hex(byte b, StringBuffer buf) { argument 171 buf.append(hexChars[high]); 172 buf.append(hexChars[low]); 179 StringBuffer buf = new StringBuffer(); 184 byte2hex(block[i], buf); 186 buf.append(":"); 189 return buf.toString();
|
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ |
H A D | ZipInfo.java | 70 byte[] buf = new byte[1024]; 80 if (zfs.readFullyAt(buf, 0, len, locoff(cen, pos)) != len) 82 if (LOCEXT(buf) > CENEXT(cen, pos) + CENHDR) { 84 len = LOCHDR + LOCNAM(buf) + LOCEXT(buf); 85 if (zfs.readFullyAt(buf, 0, len, locoff(cen, pos)) != len) 88 printLOC(buf);
|
/openjdk7/jdk/src/share/classes/sun/security/util/ |
H A D | Debug.java | 183 StringBuffer buf = new StringBuffer(hexValue.length()*2); 186 buf.append(" -"); 189 buf.append(" "); // four spaces 198 buf.append(hexValue.substring(i, i+2)); 202 buf.append("\n "); // line after eight words 204 buf.append(" "); // space between words 208 return buf.toString();
|
/openjdk7/hotspot/src/os/solaris/vm/ |
H A D | os_solaris.cpp | 785 char buf[MAXPATHLEN]; local 786 os::jvm_path(buf, sizeof(buf)); 790 *(strrchr(buf, '/')) = '\0'; /* get rid of /libjvm.so */ 791 pslash = strrchr(buf, '/'); 794 dll_path = malloc(strlen(buf) + 1); 797 strcpy(dll_path, buf); 801 pslash = strrchr(buf, '/'); 804 pslash = strrchr(buf, '/'); 810 home_path = malloc(strlen(buf) 959 char *buf = (char *) malloc(strlen(Arguments::get_java_home()) + local 969 char * buf = malloc(strlen(Arguments::get_java_home()) + sizeof(ENDORSED_DIR)); local 1823 local_time_string(char *buf, size_t buflen) argument 1864 char buf[16]; local 1938 get_current_directory(char *buf, int buflen) argument 1963 dll_address_to_function_name(address addr, char *buf, int buflen, int * offset) argument 2024 dll_address_to_library_name(address addr, char* buf, int buflen, int* offset) argument 2231 char buf[32]; local 2334 char buf[buflen]; local 2400 get_signal_handler_name(address handler, char* buf, int buflen) argument 2417 print_signal_handler(outputStream* st, int sig, char* buf, size_t buflen) argument 2462 print_signal_handlers(outputStream* st, char* buf, size_t buflen) argument 2483 jvm_path(char *buf, jint buflen) argument 2575 lasterror(char *buf, size_t len) argument 3213 char buf[256]; local 3647 read(int fd, void *buf, unsigned int nBytes) argument 3651 restartable_read(int fd, void *buf, unsigned int nBytes) argument 4456 char buf[16]; local 4840 char buf[O_BUFLEN]; local 5000 exception_name(int exception_code, char* buf, size_t size) argument 5556 local_vsnprintf(char* buf, size_t count, const char* fmt, va_list argptr) argument 5584 char buf[sizeof(struct dirent) + MAX_PATH]; local 5839 struct stat buf; local 6682 char buf[MAXPATHLEN]; local 6714 write(int fd, const void *buf, unsigned int nBytes) argument 6726 recv(int fd, char* buf, size_t nBytes, uint flags) argument 6730 send(int fd, char* buf, size_t nBytes, uint flags) argument 6734 raw_send(int fd, char* buf, size_t nBytes, uint flags) argument 6804 recvfrom(int fd, char* buf, size_t nBytes, uint flags, sockaddr* from, socklen_t* fromlen) argument 6810 sendto(int fd, char* buf, size_t len, uint flags, struct sockaddr* to, socklen_t tolen) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/xmlschema/bindinfo/ |
H A D | BindInfo.java | 223 StringBuilder buf = new StringBuilder(); 226 buf.append(c.toString()); 233 char[] buf = new char[1]; 236 buf[0] = (char)c; 237 write(buf,0,1); 252 buf.append("\n<pre>\n"); 253 buf.append(w); 254 buf.append("\n</pre>\n"); 257 return buf.toString();
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/internet/ |
H A D | MimeMultipart.java | 373 ByteOutputStream buf = null; 376 buf = new ByteOutputStream(); 383 * Read and save the content bytes in buf. 425 if (buf != null && eol1 != -1) { 426 buf.write(eol1); 428 buf.write(eol2); 457 if (buf != null) 458 buf.write(b); 469 part = createMimeBodyPart(headers, buf.getBytes(), buf [all...] |
/openjdk7/jdk/src/solaris/native/java/lang/ |
H A D | java_props_md.c | 338 char buf[MAXPATHLEN]; local 345 realpath((char *)dlinfo.dli_fname, buf); 346 len = strlen(buf); 347 p = strrchr(buf, '/'); 351 if (stat(buf, &statbuf) == -1 && errno == ENOENT) { 548 char buf[MAXPATHLEN]; local 550 if (getcwd(buf, sizeof(buf)) == NULL) 554 sprops.user_dir = strdup(buf);
|
/openjdk7/jdk/src/windows/native/java/lang/ |
H A D | ProcessImpl_md.c | 69 char buf[MAX_PATH]; local 81 SearchPath(NULL, exe, ".exe", MAX_PATH, buf, &name); 86 SearchPath(exe, p, ".exe", MAX_PATH, buf, &name); 90 fd = _open(buf, _O_RDONLY); 114 char buf[256]; local 115 char errmsg[sizeof(buf) + 100]; 117 const int n = JVM_GetLastErrorString(buf, sizeof(buf)); 119 sprintf(errmsg, format, functionName, errnum, buf);
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/ |
H A D | BasicDiagnosticFormatter.java | 92 StringBuilder buf = new StringBuilder(); 100 buf.append(meta ? formatMeta(c, d, l) : String.valueOf(c)); 103 return addSourceLineIfNeeded(d, buf.toString()); 105 return buf.toString(); 110 StringBuilder buf = new StringBuilder(); 116 buf.append(indent(lines[0], currentIndentation)); //summary 121 buf.append("\n" + indent(lines[i], currentIndentation)); 127 buf.append("\n" + indent(sub, currentIndentation)); 130 return buf.toString();
|
/openjdk7/jdk/src/share/classes/sun/net/httpserver/ |
H A D | ExchangeImpl.java | 276 byte[] buf; 280 buf = bytes (key, 2); 281 buf[i++] = ':'; 282 buf[i++] = ' '; 283 os.write (buf, 0, i); 284 buf = bytes (val, 2); 286 buf[i++] = '\r'; 287 buf[i++] = '\n'; 288 os.write (buf, 0, i);
|
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/objects/ |
H A D | XNumber.java | 363 char[] buf = new char[n]; 367 buf[i] = '0'; 370 return new String(buf);
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/ |
H A D | InputLexer.java | 113 public void readBytes(byte[] buf, int off, int len) throws IOException { argument 117 buf[startIdx] = backBuf; 123 numRead += in.read(buf, startIdx + numRead, len - numRead);
|