/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/ref/dom2dtm/ |
H A D | DOM2DTM.java | 823 FastStringBuffer buf = StringBufferPool.get(); 828 getNodeData(node, buf); 830 s = (buf.length() > 0) ? buf.toString() : ""; 834 StringBufferPool.free(buf); 848 FastStringBuffer buf = StringBufferPool.get(); 851 buf.append(node.getNodeValue()); 854 String s=(buf.length() > 0) ? buf.toString() : ""; 855 StringBufferPool.free(buf); 917 getNodeData(Node node, FastStringBuffer buf) argument [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/util/ |
H A D | IdentityHashtable.java | 367 StringBuffer buf = new StringBuffer(); 370 buf.append("{"); 375 buf.append(s1 + "=" + s2); 377 buf.append(", "); 380 buf.append("}"); 381 return buf.toString();
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | TimerQueue.java | 220 StringBuilder buf = new StringBuilder(); 221 buf.append("TimerQueue ("); 225 buf.append(", "); 227 buf.append(delayedTimer.getTimer().toString()); 230 buf.append(")"); 231 return buf.toString();
|
/openjdk7/jdk/src/share/classes/java/security/ |
H A D | MessageDigest.java | 362 * @param buf output buffer for the computed digest 366 * @param len number of bytes within buf allotted for the digest 368 * @return the number of bytes placed into <code>buf</code> 372 public int digest(byte[] buf, int offset, int len) throws DigestException { argument 373 if (buf == null) { 376 if (buf.length - offset < len) { 380 int numBytes = engineDigest(buf, offset, len); 579 protected int engineDigest(byte[] buf, int offset, int len) argument 581 return digestSpi.engineDigest(buf, offset, len);
|
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/ |
H A D | SnmpMsg.java | 184 StringBuffer buf = new StringBuffer(len << 1) ; 190 buf.append(Character.forDigit((j >>> 4) , 16)) ; 191 buf.append(Character.forDigit((j & 0x0F), 16)) ; 194 buf.append('\n') ; 197 buf.append(' ') ; 199 return buf.toString() ;
|
/openjdk7/jdk/src/share/classes/com/sun/security/sasl/digest/ |
H A D | DigestMD5Base.java | 331 byte[] buf) { 333 int len = buf.length; 336 ch = buf[i]; 369 char[] buf = new char[len+len]; 375 buf[j++] = '\\'; 377 buf[j++] = ch; 379 return new String(buf, 0, j); 620 * @param buf A non-null digest-challenge string. 623 * @throws SaslException if the buf cannot be parsed according to RFC 2831 625 protected static byte[][] parseDirectives(byte[] buf, argument 330 writeQuotedStringValue(ByteArrayOutputStream out, byte[] buf) argument 760 skipLws(byte[] buf, int start) argument [all...] |
/openjdk7/hotspot/src/cpu/sparc/vm/ |
H A D | vm_version_sparc.cpp | 229 char buf[512]; local 230 jio_snprintf(buf, sizeof(buf), "%s%s%s%s%s%s%s%s%s%s%s%s%s%s", 246 // buf is started with ", " or is empty 247 _features_str = strdup(strlen(buf) > 2 ? buf + 2 : buf);
|
/openjdk7/jdk/make/tools/src/build/tools/generatenimbus/ |
H A D | Utils.java | 40 StringBuilder buf = new StringBuilder(); 53 parts.add(buf.toString()); 54 buf.delete(0, buf.length()); 58 buf.append(capitalize ? Character.toUpperCase(src[i]) : src[i]); 63 parts.add(buf.toString());
|
/openjdk7/hotspot/src/share/vm/services/ |
H A D | memReporter.cpp | 378 char buf[128]; local 383 if (os::dll_address_to_function_name(pc, buf, sizeof(buf), &offset)) { 384 _output->print_cr("\t\tfrom [%s+0x%x]", buf, offset); 390 char buf[128]; local 393 if (os::dll_address_to_function_name(pc, buf, sizeof(buf), &offset)) { 394 _output->print_cr(" from [%s+0x%x]", buf, offset); 417 char buf[128]; local 421 } else if (os::dll_address_to_function_name(pc, buf, sizeo 437 char buf[128]; local 582 char buf[128]; local 613 char buf[64]; local [all...] |
/openjdk7/jdk/src/solaris/native/com/sun/management/ |
H A D | LinuxOperatingSystem.c | 120 char buf[2048]; local 126 if ((n = fread(buf, 1, sizeof(buf), f)) != -1) { 129 buf[n-1] = '\0'; 133 if ((tmp = strrchr(buf, ')')) != NULL) { 136 if (tmp < buf + n) {
|
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | awt_LoadLibrary.c | 80 char buf[MAXPATHLEN]; local 100 realpath((char *)dlinfo.dli_fname, buf); 101 len = strlen(buf); 102 p = strrchr(buf, '/'); 149 JNU_NewStringPlatform(env, buf)); 150 awtHandle = dlopen(buf, RTLD_LAZY | RTLD_GLOBAL);
|
/openjdk7/jdk/test/com/sun/nio/sctp/SctpChannel/ |
H A D | Shutdown.java | 208 ByteBuffer buf = ByteBuffer.allocateDirect(Util.SMALL_BUFFER); 209 buf.put(Util.SMALL_MESSAGE.getBytes("ISO-8859-1")); 210 buf.flip(); 211 sc.send(buf, info); 219 buf.clear(); 224 sc.receive(buf, bool, handler);
|
/openjdk7/jdk/test/java/net/MulticastSocket/ |
H A D | SetOutgoingIf.java | 136 byte[] buf = new byte[1024]; 142 DatagramPacket packet = new DatagramPacket(buf, 0, buf.length); 199 byte[] buf = "hello world".getBytes(); 201 packets.add(new DatagramPacket(buf, buf.length, new InetSocketAddress(group, port)));
|
/openjdk7/jdk/src/share/classes/sun/security/pkcs/ |
H A D | PKCS9Attributes.java | 326 StringBuffer buf = new StringBuffer(200); 327 buf.append("PKCS9 Attributes: [\n\t"); 342 buf.append(";\n\t"); 344 buf.append(value.toString()); 347 buf.append("\n\t] (end PKCS9 Attributes)"); 349 return buf.toString();
|
/openjdk7/jdk/src/share/classes/sun/tools/java/ |
H A D | Type.java | 277 StringBuffer buf = new StringBuffer(); 278 buf.append(SIG_METHOD); 280 buf.append(argTypes[i].getTypeSignature()); 282 buf.append(SIG_ENDMETHOD); 283 buf.append(returnType.getTypeSignature()); 285 String sig = buf.toString();
|
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/ |
H A D | Formatter.java | 235 StringBuffer buf = new StringBuffer(); 236 buf.append("<TT>"); 239 buf.append(" "); 241 buf.append(str); 242 buf.append("</TT>"); 243 return buf.toString();
|
/openjdk7/jdk/src/share/transport/shmem/ |
H A D | shmemBack.c | 76 char buf[255]; local 81 if (shmemBase_getlasterror(buf, sizeof(buf)) != SYS_OK) { 82 buf[0] = '\0'; 100 (int)strlen(buf) + 3; 105 strcat(msg, buf);
|
/openjdk7/jdk/src/solaris/native/java/net/ |
H A D | Inet4AddressImpl.c | 351 char *buf[HENT_BUF_SIZE/(sizeof (char *))]; local 359 gethostbyname_r(hostname, &res, (char*)buf, sizeof(buf), &hp, &h_error); 361 hp = gethostbyname_r(hostname, &res, (char*)buf, sizeof(buf), &h_error); 412 char *buf[HENT_BUF_SIZE/(sizeof (char *))]; local 449 gethostbyname_r(hostname, &res, (char*)buf, sizeof(buf), &hp, &h_error); 451 hp = gethostbyname_r(hostname, &res, (char*)buf, sizeof(buf), 525 char *buf[HENT_BUF_SIZE/(sizeof (char *))]; local [all...] |
/openjdk7/jdk/test/java/nio/channels/AsynchronousFileChannel/ |
H A D | Basic.java | 220 ByteBuffer buf = ByteBuffer.allocateDirect(100); 223 ch.read(buf, 0L, (Void)null, new CompletionHandler<Integer,Void>() { 248 ByteBuffer buf = ByteBuffer.allocateDirect(100); 252 ch.read(buf, 0L).get(); 262 ch.write(buf, 0L).get(); 386 ByteBuffer buf = genBuffer(); 387 int n = buf.remaining(); 388 writeFully(ch, buf, size); 399 ByteBuffer[] buf = new ByteBuffer[nwriters]; 402 buf[ [all...] |
/openjdk7/jdk/src/share/classes/sun/invoke/anon/ |
H A D | ConstantPoolPatch.java | 456 StringBuilder buf = new StringBuilder(name.length() * 5); 457 buf.append(name); 459 buf.append(';').append(name2); 461 String res = buf.toString(); 483 StringBuilder buf = new StringBuilder(this.getClass().getName()); 484 buf.append("{"); 489 buf.append(", "); 498 buf.append(orig).append("=").append(patchArray[i]); 500 buf.append("}"); 501 return buf [all...] |
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | AWTKeyStroke.java | 741 StringBuilder buf = new StringBuilder(); 744 buf.append("shift "); 747 buf.append("ctrl "); 750 buf.append("meta "); 753 buf.append("alt "); 756 buf.append("altGraph "); 759 buf.append("button1 "); 762 buf.append("button2 "); 765 buf.append("button3 "); 768 return buf [all...] |
/openjdk7/jdk/src/windows/native/java/io/ |
H A D | Win32FileSystem_md.c | 125 char buf[BUFSIZE]; local 129 buf, 132 buf[0] == '\\' && buf[1] == '\\' && 133 buf[2] == '.' && buf[3] == '\\') { 134 char* dname = _strupr(buf + 4); 470 char buf[_MAX_PATH]; local 471 char *p = _getdcwd(drive, buf, sizeof(buf)); [all...] |
/openjdk7/jdk/src/share/classes/java/lang/invoke/ |
H A D | MemberName.java | 706 StringBuilder buf = new StringBuilder(); 708 buf.append(getName(clazz)); 709 buf.append('.'); 712 buf.append(name == null ? "*" : name); 715 buf.append('/'); 716 buf.append(type == null ? "*" : getName(type)); 718 buf.append(type == null ? "(*)*" : getName(type)); 722 buf.append('/'); 723 buf.append(MethodHandleNatives.refKindName(refKind)); 725 //buf [all...] |
/openjdk7/hotspot/src/share/vm/asm/ |
H A D | codeBuffer.cpp | 368 void CodeSection::initialize_shared_locs(relocInfo* buf, int length) { argument 370 // Internal invariant: locs buf must be fully aligned. 372 while ((uintptr_t)buf % HeapWordSize != 0 && length > 0) { 373 ++buf; --length; 376 _locs_start = buf; 377 _locs_end = buf; 378 _locs_limit = buf + length; 434 address buf = dest->_total_start; local 468 address dest_start = buf+buf_offset; 479 dest_cs->initialize(buf 516 address buf = NULL; local [all...] |
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | ostream.cpp | 170 char buf[] = { ch, '\0' }; local 171 write(buf, 1); 204 char buf[40]; local 205 jio_snprintf(buf, sizeof(buf), "%.3f", _stamp.seconds()); 206 print_raw(buf); 571 char *buf = NEW_C_HEAP_ARRAY(char, buffer_length, mtInternal); local 573 strcpy(buf, ""); 575 strcat(buf, force_directory); 576 strcat(buf, o 703 finish_log_on_error(char *buf, int buflen) argument 933 static char buf[4096]; local 1062 read(char *buf, size_t len) argument [all...] |