/openjdk7/jdk/src/share/classes/com/sun/jndi/dns/ |
H A D | DnsClient.java | 657 byte buf[]; field in class:Packet 660 buf = new byte[len]; 664 buf = new byte[len]; 665 System.arraycopy(data, 0, buf, 0, len); 669 buf[off + 0] = (byte)(x >> 24); 670 buf[off + 1] = (byte)(x >> 16); 671 buf[off + 2] = (byte)(x >> 8); 672 buf[off + 3] = (byte)x; 676 buf[off + 0] = (byte)(x >> 8); 677 buf[of [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/objects/ |
H A D | XStringForFSB.java | 861 char[] buf = new char[m_length]; 882 buf[d++] = ' '; 886 char prevChar = buf[d - 1]; 907 buf[d++] = c; 912 if (trimTail && 1 <= d && ' ' == buf[d - 1]) 921 if (trimHead && 0 < d && ' ' == buf[0]) 930 return edit ? xsf.newstr(buf, start, d - start) : this;
|
/openjdk7/jdk/src/share/classes/javax/management/remote/ |
H A D | JMXServiceURL.java | 555 StringBuilder buf = new StringBuilder("service:jmx:"); 556 buf.append(getProtocol()).append("://"); 559 buf.append('[').append(getHost).append(']'); 561 buf.append(getHost); 564 buf.append(':').append(getPort); 565 buf.append(getURLPath()); 566 toString = buf.toString();
|
/openjdk7/jdk/src/windows/native/java/lang/ |
H A D | java_props_md.c | 353 char buf[100]; local 469 sprintf(buf, "%d.%d", ver.dwMajorVersion, ver.dwMinorVersion); 470 sprops.os_version = _strdup(buf); 631 WCHAR buf[MAX_PATH]; local 632 if (GetCurrentDirectoryW(sizeof(buf)/sizeof(WCHAR), buf) != 0) 633 sprops.user_dir = _wcsdup(buf);
|
/openjdk7/jdk/test/com/sun/crypto/provider/KeyAgreement/ |
H A D | DHKeyAgreement2.java | 258 private void byte2hex(byte b, StringBuffer buf) { argument 263 buf.append(hexChars[high]); 264 buf.append(hexChars[low]); 271 StringBuffer buf = new StringBuffer(); 276 byte2hex(block[i], buf); 278 buf.append(":"); 281 return buf.toString();
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/comp/ |
H A D | Annotate.java | 156 ListBuffer<Pair<MethodSymbol,Attribute>> buf = 183 buf.append(new Pair<MethodSymbol,Attribute> 187 return new Attribute.Compound(a.type, buf.toList()); 241 ListBuffer<Attribute> buf = new ListBuffer<Attribute>(); 243 buf.append(enterAttributeValue(types.elemtype(expected), 249 Array(expected, buf.toArray(new Attribute[buf.length()]));
|
/openjdk7/jdk/test/java/util/zip/ |
H A D | LargeZip.java | 124 private static byte buf[] = new byte[4096]; field in class:LargeZip 129 while ((n = is.read(buf)) >= 0) { 159 while ((len = is.read(buf)) >= 0) { 160 baos.write(buf, 0, len); 196 byte buf[] = new byte[4096]; 198 while ((len = zis.read(buf)) >= 0) { 199 baos.write(buf, 0, len);
|
/openjdk7/hotspot/src/share/vm/interpreter/ |
H A D | linkResolver.cpp | 414 char buf[200]; local 415 jio_snprintf(buf, sizeof(buf), "Found interface %s, but class was expected", Klass::cast(resolved_klass())->external_name()); 416 THROW_MSG(vmSymbols::java_lang_IncompatibleClassChangeError(), buf); local 490 char* buf = NEW_RESOURCE_ARRAY_IN_THREAD(THREAD, char, buflen); local 491 jio_snprintf(buf, buflen, msg, sig, loader1, current, loader2, 493 THROW_MSG(vmSymbols::java_lang_LinkageError(), buf); local 509 char buf[200]; local 510 jio_snprintf(buf, sizeof(buf), "Foun 511 THROW_MSG(vmSymbols::java_lang_IncompatibleClassChangeError(), buf); local 553 char* buf = NEW_RESOURCE_ARRAY_IN_THREAD(THREAD, char, buflen); local 556 THROW_MSG(vmSymbols::java_lang_LinkageError(), buf); local 674 char* buf = NEW_RESOURCE_ARRAY_IN_THREAD(THREAD, char, buflen); local 677 THROW_MSG(vmSymbols::java_lang_LinkageError(), buf); local 729 char buf[200]; local 733 THROW_MSG(vmSymbols::java_lang_IncompatibleClassChangeError(), buf); local 770 char buf[200]; local 776 THROW_MSG(vmSymbols::java_lang_IncompatibleClassChangeError(), buf); local 817 char buf[200]; local 821 THROW_MSG(vmSymbols::java_lang_IncompatibleClassChangeError(), buf); local 858 char buf[200]; local 862 THROW_MSG(vmSymbols::java_lang_IncompatibleClassChangeError(), buf); local 975 char buf[200]; local 979 THROW_MSG(vmSymbols::java_lang_IncompatibleClassChangeError(), buf); local [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/ |
H A D | IDLJavaSerializationOutputStream.java | 89 return this.buf; 694 byte[] buf = this.toByteArray(); // new copy. 695 s.write_long(buf.length); 696 s.write_octet_array(buf, 0, buf.length); 710 byte[] buf = this.toByteArray(); 714 System.out.println("Current position: " + buf.length); 715 //System.out.println("Total length : " + buf.length); 722 for (int i = 0; i < buf.length; i += 16) { 730 while (j < 16 && j + i < buf [all...] |
/openjdk7/jdk/src/windows/classes/sun/java2d/d3d/ |
H A D | D3DSurfaceData.java | 699 RenderBuffer buf = rq.getBuffer(); 701 buf.putInt(FLUSH_SURFACE); 702 buf.putLong(getNativeOps()); 721 RenderBuffer buf = rq.getBuffer(); 723 buf.putInt(DISPOSE_SURFACE); 724 buf.putLong(pData); 757 RenderBuffer buf = rq.getBuffer(); 759 buf.putInt(SWAP_BUFFERS); 760 buf.putLong(pData); 761 buf [all...] |
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | StandardGlyphVector.java | 1832 StringBuffer appendString(StringBuffer buf) { argument 1833 if (buf == null) { 1834 buf = new StringBuffer(); 1837 buf.append("SGV{font: "); 1838 buf.append(font.toString()); 1839 buf.append(", frc: "); 1840 buf.append(frc.toString()); 1841 buf.append(", glyphs: ("); 1842 buf.append(glyphs.length); 1843 buf [all...] |
/openjdk7/jdk/src/share/classes/java/text/ |
H A D | RuleBasedBreakIterator.java | 463 byte[] buf = new byte[len]; 464 if (is.read(buf) != len) { 471 if (buf[offset] != LABEL[offset]) { 478 if (buf[offset] != supportedVersion) { 479 throw new MissingResourceException("Unsupported version(" + buf[offset] + ")", 484 len = BreakIterator.getInt(buf, ++offset); 485 buf = new byte[len]; 486 if (is.read(buf) != len) { 493 return buf;
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/util/ |
H A D | QNameMap.java | 466 StringBuilder buf = new StringBuilder(); 467 buf.append('{'); 470 if(buf.length()>1) 471 buf.append(','); 472 buf.append('['); 473 buf.append(e); 474 buf.append(']'); 477 buf.append('}'); 478 return buf.toString();
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/ |
H A D | QNameMap.java | 473 StringBuilder buf = new StringBuilder(); 474 buf.append('{'); 477 if(buf.length()>1) 478 buf.append(','); 479 buf.append('['); 480 buf.append(e); 481 buf.append(']'); 484 buf.append('}'); 485 return buf.toString();
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/parser/ |
H A D | Scanner.java | 110 private char[] buf; field in class:Scanner 184 buf = input; 186 buf[buflen] = EOI; 224 bp++; ch = buf[bp]; 227 bp++; ch = buf[bp]; 234 bp++; ch = buf[bp]; 255 ch = buf[++bp]; 266 if (buf[bp+1] == '\\' && unicodeConversionBp != bp) { 289 if (buf[bp+1] == '\\' && unicodeConversionBp != bp) { 1066 System.arraycopy(buf, [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javap/ |
H A D | ConstantWriter.java | 429 StringBuilder buf = null; 436 if (buf == null) 437 buf = new StringBuilder(len * 2); 439 buf.append(name, nextk, k); 440 buf.append('\\'); 441 buf.append(rep.charAt(n)); 445 if (buf == null) 448 buf.append(name, nextk, len); 449 return buf.toString();
|
/openjdk7/jdk/src/share/classes/sun/java2d/opengl/ |
H A D | OGLSurfaceData.java | 573 RenderBuffer buf = rq.getBuffer(); 575 buf.putInt(FLUSH_SURFACE); 576 buf.putLong(getNativeOps()); 601 RenderBuffer buf = rq.getBuffer(); 603 buf.putInt(DISPOSE_SURFACE); 604 buf.putLong(pData); 617 RenderBuffer buf = rq.getBuffer(); 619 buf.putInt(SWAP_BUFFERS); 620 buf.putLong(window);
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XlibWrapper.java | 612 StringBuffer buf = new StringBuffer(); 614 buf.append("PMaxSize "); 617 buf.append("PMinSize "); 620 buf.append("USSize "); 623 buf.append("USPosition "); 626 buf.append("PPosition "); 629 buf.append("PSize "); 632 buf.append("PWinGravity "); 634 return buf.toString();
|
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/generic/ |
H A D | Type.java | 139 StringBuffer buf = new StringBuffer("("); 143 buf.append(arg_types[i].getSignature()); 145 buf.append(')'); 146 buf.append(return_type.getSignature()); 148 return buf.toString();
|
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/util/ |
H A D | ConstantHTML.java | 160 StringBuffer buf = new StringBuffer("("); 162 buf.append(Class2HTML.referenceType(args[i])); 164 buf.append(", "); 166 buf.append(")"); 168 String arg_types = buf.toString();
|
/openjdk7/hotspot/agent/src/os/bsd/ |
H A D | ps_core.c | 263 static bool read_string(struct ps_prochandle* ph, uintptr_t addr, char* buf, size_t size) { argument 271 buf[i] = c; 277 buf[i] = '\0'; 455 static bool core_read_data(struct ps_prochandle* ph, uintptr_t addr, char *buf, size_t size) { argument 473 if ((len = pread(fd, buf, len, off)) <= 0) 478 buf = (char *)buf + len; 488 // we are not assuming 'buf' to be zero initialized. 489 memset(buf, 0, len); 490 buf 537 core_handle_prstatus(struct ps_prochandle* ph, const char* buf, size_t nbytes) argument 604 char* buf = NULL; local [all...] |
/openjdk7/hotspot/agent/src/os/linux/ |
H A D | ps_core.c | 262 static bool read_string(struct ps_prochandle* ph, uintptr_t addr, char* buf, size_t size) { argument 270 buf[i] = c; 276 buf[i] = '\0'; 455 static bool core_read_data(struct ps_prochandle* ph, uintptr_t addr, char *buf, size_t size) { argument 473 if ((len = pread(fd, buf, len, off)) <= 0) 478 buf = (char *)buf + len; 488 // we are not assuming 'buf' to be zero initialized. 489 memset(buf, 0, len); 490 buf 531 core_handle_prstatus(struct ps_prochandle* ph, const char* buf, size_t nbytes) argument 598 char* buf = NULL; local [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/ |
H A D | DebuggerUtilities.java | 39 StringBuffer buf = new StringBuffer(); 40 buf.append("0x"); 49 buf.append('0'); 51 buf.append(val); 52 return buf.toString();
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/jdi/ |
H A D | FieldImpl.java | 160 StringBuffer buf = new StringBuffer(); 162 buf.append(declaringType().name()); 163 buf.append('.'); 164 buf.append(name()); 165 return buf.toString();
|
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | PrintWriter.java | 418 * @param buf Array of characters 422 public void write(char buf[], int off, int len) { argument 426 out.write(buf, off, len); 440 * @param buf Array of characters to be written 442 public void write(char buf[]) { argument 443 write(buf, 0, buf.length);
|