/openjdk7/jdk/src/windows/classes/sun/nio/ch/ |
H A D | WindowsAsynchronousFileChannelImpl.java | 386 private volatile ByteBuffer buf; field in class:WindowsAsynchronousFileChannelImpl.ReadTask 402 if (buf != dst) 403 Util.releaseTemporaryDirectBuffer(buf); 409 if (buf == dst) { 417 buf.position(bytesTransferred).flip(); 419 dst.put(buf); 435 buf = dst; 438 buf = Util.getTemporaryDirectBuffer(rem); 439 address = ((DirectBuffer)buf).address(); 577 private volatile ByteBuffer buf; field in class:WindowsAsynchronousFileChannelImpl.WriteTask [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/ |
H A D | PackageReader.java | 109 return buf[pos++] & 0xFF; 617 char[] buf = new char[maxChars]; 655 System.arraycopy(suffixChars[i], 0, buf, prefix, suffix); 657 cpMap[i] = ConstantPool.getUtf8Entry(new String(buf, 0, prefix+suffix)); 767 byte[] buf = new byte[1<<16]; 783 int nr = buf.length; 785 nr = file_bits.getInputStream().read(buf, 0, nr); 787 file.addBytes(buf, 0, nr); 1589 ByteArrayOutputStream buf = new ByteArrayOutputStream(); 1612 buf [all...] |
/openjdk7/jdk/src/share/classes/sun/text/normalizer/ |
H A D | UnicodeSet.java | 395 private static void _appendToPat(StringBuffer buf, String s, boolean escapeUnprintable) { argument 397 _appendToPat(buf, UTF16.charAt(s, i), escapeUnprintable); 405 private static void _appendToPat(StringBuffer buf, int c, boolean escapeUnprintable) { argument 409 if (Utility.escapeUnprintable(buf, c)) { 425 buf.append('\\'); 430 buf.append('\\'); 434 UTF16.append(buf, c); 986 StringBuffer patBuf = new StringBuffer(), buf = null; 1200 if (buf == null) { 1201 buf [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/ |
H A D | ClassReader.java | 187 byte[] buf = new byte[INITIAL_BUFFER_SIZE]; field in class:ClassReader 197 /** For every constant pool entry, an index into buf where the 338 return (char)(((buf[bp++] & 0xFF) << 8) + (buf[bp++] & 0xFF)); 344 return buf[bp++]; 351 ((buf[bp++] & 0xFF) << 24) + 352 ((buf[bp++] & 0xFF) << 16) + 353 ((buf[bp++] & 0xFF) << 8) + 354 (buf[bp++] & 0xFF); 357 /** Extract a character at position bp from buf 2252 readInputStream(byte[] buf, InputStream s) argument 2280 ensureCapacity(byte[] buf, int needed) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/org/objectweb/asm/ |
H A D | ClassReader.java | 291 char[] buf = new char[maxStringLength]; 294 interfaces[i] = readClass(index, buf); 307 char[] buf = new char[maxStringLength]; 321 readClass(index, buf), 322 readUTF8(nameType, buf), 323 readUTF8(nameType + 2, buf)); 336 readUTF8(index, buf), 337 readUTF8(index + 2, buf), 357 buf); 366 item.set(tag, readUTF8(index, buf), nul 1501 readParameterAnnotations( int v, final String desc, final char[] buf, final boolean visible, final MethodVisitor mv) argument 1547 readAnnotationValues( int v, final char[] buf, final boolean named, final AnnotationVisitor av) argument 1582 readAnnotationValue( int v, final char[] buf, final String name, final AnnotationVisitor av) argument 1740 readFrameType( final Object[] frame, final int index, int v, final char[] buf, final Label[] labels) argument 1824 readAttribute( final Attribute[] attrs, final String type, final int off, final int len, final char[] buf, final int codeOff, final Label[] labels) argument 1935 readUTF8(int index, final char[] buf) argument 1954 readUTF(int index, final int utfLen, final char[] buf) argument 2002 readClass(final int index, final char[] buf) argument 2021 readConst(final int item, final char[] buf) argument [all...] |
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | ObjectOutputStream.java | 683 * @param buf the data to be written 686 public void write(byte[] buf) throws IOException { argument 687 bout.write(buf, 0, buf.length, false); 693 * @param buf the data to be written 698 public void write(byte[] buf, int off, int len) throws IOException { argument 699 if (buf == null) { 703 if (off < 0 || len < 0 || endoff > buf.length || endoff < 0) { 706 bout.write(buf, off, len, false); 1743 private final byte[] buf field in class:ObjectOutputStream.BlockDataOutputStream [all...] |
H A D | BufferedInputStream.java | 60 protected volatile byte buf[]; field in class:BufferedInputStream 63 * Atomic updater to provide compareAndSet for buf. This is 65 * of buf[] as primary indicator that this stream is closed. (The 71 (BufferedInputStream.class, byte[].class, "buf"); 77 * in the range <code>0</code> through <code>buf.length</code>; 78 * elements <code>buf[0]</code> through <code>buf[count-1] 86 * character to be read from the <code>buf</code> array. 90 * than <code>count</code>, then <code>buf[pos]</code> 97 * @see java.io.BufferedInputStream#buf [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/soql/ |
H A D | JSJavaMethod.java | 126 StringBuffer buf = new StringBuffer(); 127 buf.append("Method "); 128 buf.append(getMethod().externalNameAndSignature()); 129 return buf.toString();
|
/openjdk7/hotspot/src/share/vm/compiler/ |
H A D | compileLog.hpp | 93 static void finish_log_on_error(outputStream* out, char *buf, int buflen);
|
/openjdk7/jdk/src/share/classes/com/sun/jndi/dns/ |
H A D | DnsContextFactory.java | 201 StringBuffer buf = new StringBuffer(); 204 buf.append(' '); 206 buf.append("dns://").append(servers[i]).append(path); 208 return buf.toString();
|
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/algorithms/ |
H A D | MessageDigestAlgorithm.java | 174 * @param buf 180 public int digest(byte buf[], int offset, int len) argument 182 return this.algorithm.digest(buf, offset, len); 248 * @param buf 252 public void update(byte buf[], int offset, int len) { argument 253 this.algorithm.update(buf, offset, len);
|
/openjdk7/hotspot/src/share/vm/prims/wbtestmethods/ |
H A D | parserTests.cpp | 140 char buf[VALUE_MAXLEN]; variable 141 arg->value_as_str(buf, sizeof(buf)); 142 oop parsedValue = java_lang_String::create_oop_from_str(buf, CHECK_NULL);
|
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | defaultStream.hpp | 45 void finish_log_on_error(char *buf, int buflen);
|
H A D | utf8.hpp | 81 static char* as_utf8(jchar* base, int length, char* buf, int buflen);
|
/openjdk7/hotspot/test/compiler/6910605/ |
H A D | Test.java | 38 public static int buf=0; field in class:Test
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/ |
H A D | RuntimeBuiltinLeafInfoImpl.java | 577 StringBuilder buf = new StringBuilder(); 583 buf.append(fch); 589 printNumber(buf,value.getEonAndYear(), 4); 592 printNumber(buf,value.getMonth(),2); 595 printNumber(buf,value.getDay(),2); 598 printNumber(buf,value.getHour(),2); 601 printNumber(buf,value.getMinute(),2); 604 printNumber(buf,value.getSecond(),2); 608 buf.append(frac.substring(1, frac.length())); 614 buf [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/unmarshaller/ |
H A D | SAXConnector.java | 147 public final void characters( char[] buf, int start, int len ) { argument 149 buffer.append(buf,start,len); 152 public final void ignorableWhitespace( char[] buf, int start, int len ) { argument 153 characters(buf,start,len);
|
/openjdk7/jdk/src/solaris/native/sun/nio/ch/ |
H A D | IOUtil.c | 110 char buf[128]; local 114 int n = read(fd, buf, sizeof(buf)); 118 if (n == (int)sizeof(buf))
|
/openjdk7/jdk/src/share/native/com/sun/tools/jdi/ |
H A D | SharedMemoryTransport.c | 64 char buf[255]; local 67 sprintf(buf, "%s: %s\n", message, msg); 69 sprintf(buf, "%s, error code = %d", message, errorCode); 71 throwException(env, "java/io/IOException", buf);
|
/openjdk7/jdk/src/share/native/java/lang/ |
H A D | Class.c | 104 char buf[128]; local 115 if (len >= (jsize)sizeof(buf)) { 122 clname = buf; 142 if (clname != buf) {
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ |
H A D | NetClient.java | 146 private static int networkByteOrderToInt(byte[] buf, int start, argument 157 answer |= ((int)buf[start+i] & 0xff); 166 private static void intToNetworkByteOrder(int num, byte[] buf, argument 174 buf[start+i] = (byte)(num & 0xff);
|
/openjdk7/jdk/src/share/demo/jvmti/agent_util/ |
H A D | agent_util.c | 73 * buf Place to put results 74 * max Size of buf 78 get_token(char *str, char *seps, char *buf, int max) argument 82 buf[0] = 0; 94 (void)strncpy(buf, str, len); 95 buf[len] = 0;
|
/openjdk7/jdk/test/sun/net/www/http/ChunkedOutputStream/ |
H A D | Test.java | 259 byte buf[] = new byte [1024]; 262 while ((c=is.read(buf, off, len)) != -1) { 266 String s1 = new String(buf, 0, off, "ISO8859_1"); 421 byte[] buf = new byte [200 * 1024]; 423 buf[i] = (byte) i; 427 os.write (buf, 10, buf.length - 10); /* skip 10 bytes to test offset */ 445 byte[] buf = new byte [30 * 1024]; 447 buf[i] = (byte) i; 451 //os.write (buf, 1 [all...] |
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/file/ |
H A D | FileURLConnection.java | 194 StringBuffer buf = new StringBuffer(); 204 buf.append(fileName); 205 buf.append("\n"); 208 is = new ByteArrayInputStream(buf.toString().getBytes());
|
/openjdk7/langtools/test/tools/javac/multicatch/7030606/ |
H A D | DisjunctiveTypeWellFormednessTest.java | 56 StringBuilder buf = new StringBuilder(); 59 buf.append(sep); 60 buf.append(alternative.exceptionStr); 63 return buf.toString();
|