/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/memory/ |
H A D | SymbolTable.java | 116 byte[] buf = baos.toByteArray(); 117 byte[] res = new byte[buf.length - 2]; 119 System.arraycopy(buf, 2, res, 0, res.length);
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/ |
H A D | OopUtilities.java | 108 StringBuffer buf = new StringBuffer(length); 110 buf.append(charArray.getCharAt(i)); 112 return buf.toString();
|
H A D | Symbol.java | 137 private static String readModifiedUTF8(byte[] buf) throws IOException { argument 138 final int len = buf.length; 144 System.arraycopy(buf, 0, tmp, 2, len);
|
/openjdk7/jdk/src/share/classes/javax/management/loading/ |
H A D | MLetParser.java | 98 StringBuilder buf = new StringBuilder(); 103 buf.append((char)c); 106 return buf.toString(); 131 StringBuilder buf = new StringBuilder(); 136 buf.append((char)c); 143 val = buf.toString();
|
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/model/ |
H A D | JavaLazyReadObject.java | 83 ReadBuffer buf = getClazz().getReadBuffer(); 86 return ((long)buf.getInt(offset)) & Snapshot.SMALL_ID_MASK; 88 return buf.getLong(offset);
|
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/common/ |
H A D | LZWStringTable.java | 151 * to buf and the return value indicates how much of the expanded code has 152 * been written to the buf. The next call to expandCode() should be with 157 * @param buf buffer to place expanded data into 162 * be skipped before data is written to buf. It is possible that skipHead is 164 * @return the length of data expanded into buf. If the expanded code is longer 165 * than space left in buf then the value returned is a negative number which when 169 public int expandCode(byte[] buf, int offset, short code, int skipHead) { argument 183 int bufSpace = buf.length - offset; // how much space left 198 buf[--idx] = strChr[code];
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/ |
H A D | JJavaName.java | 208 StringBuffer buf = new StringBuffer(); 209 m.appendReplacement(buf,replacement); 210 return buf.toString();
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/internalizer/ |
H A D | ContentHandlerNamespacePrefixAdapter.java | 84 String[] buf = new String[nsBinding.length*2]; 85 System.arraycopy(nsBinding,0,buf,0,nsBinding.length); 86 nsBinding = buf;
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/marshaller/ |
H A D | DataWriter.java | 167 StringBuilder buf = new StringBuilder(); 169 buf.append(' '); 170 setIndentStep(buf.toString());
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/bytecode/ |
H A D | ClassTailor.java | 174 byte[] buf = new byte[512]; 176 while((len=in.read(buf))>0) 177 out.write(buf,0,len);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/output/ |
H A D | IndentingUTF8XmlOutput.java | 81 System.arraycopy(e.buf, 0, indent8.buf, unitLen*i, unitLen); 131 write( indent8.buf, 0, i*unitLen );
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/ |
H A D | ASCIIUtility.java | 142 byte[] buf = new byte[size]; 145 while ((len = is.read(buf, 0, size)) != -1) 146 out.write(buf, 0, len);
|
/openjdk7/jdk/src/windows/native/java/io/ |
H A D | io_util_md.h | 42 JNIEXPORT size_t handleRead(jlong fd, void *buf, jint len); 43 JNIEXPORT size_t handleWrite(jlong fd, const void *buf, jint len); 44 JNIEXPORT size_t handleAppend(jlong fd, const void *buf, jint len);
|
/openjdk7/jdk/test/com/sun/net/httpserver/bugs/ |
H A D | B6529200.java | 87 byte [] buf = new byte [8*1024]; 90 buf[i++] = (byte)c; 98 String ss = new String (buf, "ISO-8859-1");
|
/openjdk7/jdk/test/java/io/charStreams/ |
H A D | BufferedReaderMark.java | 58 char buf[] = new char[bufferSize]; 59 if (in.read(buf) != bufferSize) 74 char buf[] = new char[bufferSize];
|
/openjdk7/jdk/test/java/lang/management/MemoryMXBean/ |
H A D | ResetPeakMemoryUsage.java | 150 StringBuffer buf = new StringBuffer(name + " = " + value); 152 buf.append(" (" + (value >> 10) + "K)"); 154 return buf.toString();
|
/openjdk7/jdk/test/java/net/URLClassLoader/closetest/ |
H A D | Common.java | 46 byte[] buf = new byte [1024]; 48 while ((count=i.read(buf)) >= 0) { 49 o.write (buf, 0, count);
|
/openjdk7/jdk/test/java/nio/channels/FileChannel/ |
H A D | ExpandingMap.java | 117 static void fillBuffer(ByteBuffer buf, int from) { argument 118 int limit = buf.limit(); 120 buf.put(i, (byte)i);
|
/openjdk7/jdk/test/java/nio/file/Files/ |
H A D | InterruptCopy.java | 65 byte[] buf = new byte[32*1024]; 69 out.write(buf); 70 total += buf.length;
|
/openjdk7/jdk/test/tools/jar/index/ |
H A D | MetaInf.java | 53 byte[] buf = new byte[8192]; 55 while ((n = in.read(buf)) != -1) 56 out.write(buf, 0, n);
|
/openjdk7/jdk/test/java/util/zip/ZipFile/ |
H A D | DeleteTempJar.java | 72 byte[] buf = new byte[1024]; 74 while ((count = fis.read(buf)) != -1) { 75 os.write(buf, 0, count);
|
/openjdk7/jdk/src/share/classes/sun/net/www/http/ |
H A D | KeepAliveStream.java | 141 byte[] buf = new byte[size]; 143 dis.readFully(buf); 144 in = new ByteArrayInputStream(buf);
|
/openjdk7/langtools/test/tools/javadoc/6942366/ |
H A D | T6942366.java | 121 byte[] buf = new byte[(int) f.length()]; 123 in.readFully(buf); 125 return new String(buf).contains(s);
|
/openjdk7/hotspot/src/os/posix/launcher/ |
H A D | java_md.c | 780 char buf[257]; /* recommended buffer size from sysinfo man 785 length = sysinfo(SI_ISALIST, buf, 257); 787 location = strstr(buf, "sparcv8plus "); 821 * "/foo" into buf. 824 GetApplicationHome(char *buf, jint bufsize) argument 829 strncpy(buf, execname, bufsize-1); 830 buf[bufsize-1] = '\0'; 838 if (realpath(dlinfo.dli_fname, buf) == NULL) { 852 snprintf(buf, bufsize, "%s", java_home_var); 855 if (strrchr(buf, '/') 927 char buf[PATH_MAX+2]; local [all...] |
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | os.hpp | 184 static char* local_time_string(char *buf, size_t buflen); 488 static size_t read(int fd, void *buf, unsigned int nBytes); 489 static size_t restartable_read(int fd, void *buf, unsigned int nBytes); 490 static size_t write(int fd, const void *buf, unsigned int nBytes); 502 static const char* get_current_directory(char *buf, int buflen); 510 // to buf. Distance from its base address is returned as offset. 511 // If function name is not found, buf[0] is set to '\0' and offset is 513 static bool dll_address_to_function_name(address addr, char* buf, 517 // buf, and offset is set to be the distance between addr and the 518 // library's base address. On failure, buf[ [all...] |