/openjdk7/hotspot/src/share/vm/libadt/ |
H A D | set.cpp | 74 char *buf = NEW_C_HEAP_ARRAY(char,len, mtCompiler);// Some initial string space local 76 register char *s = buf; // Current working string pointer 86 if( buf+len-s < 25 ) { // Generous trailing space for upcoming numbers 87 int offset = (int)(s-buf);// Not enuf space; compute offset into buffer 89 buf = REALLOC_C_HEAP_ARRAY(char,buf,len, mtCompiler); // Reallocate doubled size 90 s = buf+offset; // Get working pointer into new bigger buffer 101 if( buf+len-s < 25 ) { // Generous trailing space for upcoming numbers 102 int offset = (int)(s-buf);// Not enuf space; compute offset into buffer 104 buf [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/asm/sparc/ |
H A D | SPARCAtomicLoadStoreInstruction.java | 45 StringBuffer buf = new StringBuffer(); 46 buf.append(getName()); 47 buf.append(spaces); 48 buf.append(addr.toString()); 49 buf.append(comma); 50 buf.append(rd.toString()); 51 return buf.toString();
|
H A D | SPARCLoadInstruction.java | 50 StringBuffer buf = new StringBuffer(); 51 buf.append(getName()); 52 buf.append(spaces); 53 buf.append(address.toString()); 54 buf.append(comma); 55 buf.append(register.toString()); 56 return buf.toString();
|
H A D | SPARCSpecialStoreInstruction.java | 65 StringBuffer buf = new StringBuffer(getName()); 66 buf.append(spaces); 68 buf.append("creg" + cregNum); 70 buf.append(getSpecialRegisterName(specialReg)); 72 buf.append(comma); 73 buf.append(addr.toString()); 74 return buf.toString();
|
H A D | SPARCV9MembarInstruction.java | 44 StringBuffer buf = new StringBuffer(); 45 buf.append(getName()); 46 buf.append(spaces); 68 buf.append((String)tempMasks[i]); 69 buf.append("| "); 71 buf.append((String)tempMasks[tempMasks.length - 1]); 73 return buf.toString();
|
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/util/ |
H A D | Misc.java | 49 char[] buf = new char[8]; 52 buf[i++] = digits[(addr >> s) & 0xf]; 54 return "0x" + new String(buf); 86 StringBuffer buf = new StringBuffer(); 90 buf.append("<"); 92 buf.append(">"); 94 buf.append("""); 96 buf.append("'"); 98 buf.append("&"); 100 buf [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/model/nav/ |
H A D | NParameterizedType.java | 67 StringBuilder buf = new StringBuilder(); 68 buf.append(rawType.fullName()); 69 buf.append('<'); 72 buf.append(','); 73 buf.append(args[i].fullName()); 75 buf.append('>'); 76 return buf.toString();
|
/openjdk7/jdk/test/java/io/BufferedInputStream/ |
H A D | Fill.java | 55 public int read(byte[] buf, int off, int len) throws IOException { argument 58 buf[i] = next++; 78 byte[] buf = new byte[8]; 80 int n1 = r.read(buf); 81 int n2 = r.read(buf); 84 if (n1 != buf.length) 86 if (n2 != buf.length)
|
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable/ |
H A D | CompressInputStream.java | 38 int buf[] = new int[5]; field in class:CompressInputStream 101 buf[0] = (pack >>> 24) & 0x3F; 102 buf[1] = (pack >>> 18) & 0x3F; 103 buf[2] = (pack >>> 12) & 0x3F; 104 buf[3] = (pack >>> 6) & 0x3F; 105 buf[4] = (pack >>> 0) & 0x3F; 108 return buf[bufPos++];
|
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/unicast/ |
H A D | CompressInputStream.java | 38 int buf[] = new int[5]; field in class:CompressInputStream 101 buf[0] = (pack >>> 24) & 0x3F; 102 buf[1] = (pack >>> 18) & 0x3F; 103 buf[2] = (pack >>> 12) & 0x3F; 104 buf[3] = (pack >>> 6) & 0x3F; 105 buf[4] = (pack >>> 0) & 0x3F; 108 return buf[bufPos++];
|
/openjdk7/jdk/test/javax/script/ |
H A D | DummyScriptEngineFactory.java | 55 StringBuffer buf = new StringBuffer(); 56 buf.append("call " + m + " "); 57 buf.append(" on " + obj + " with "); 59 buf.append(args[i] + ", "); 61 buf.append(";"); 62 return buf.toString(); 94 StringBuffer buf = new StringBuffer(); 96 buf.append(statements[i]); 98 return buf.toString();
|
/openjdk7/jdk/src/share/classes/java/util/zip/ |
H A D | DeflaterOutputStream.java | 51 protected byte[] buf; field in class:DeflaterOutputStream 89 this.buf = new byte[size]; 186 byte[] buf = new byte[1]; 187 buf[0] = (byte)(b & 0xff); 188 write(buf, 0, 1); 251 int len = def.deflate(buf, 0, buf.length); 253 out.write(buf, 0, len); 275 while ((len = def.deflate(buf, 0, buf [all...] |
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/ |
H A D | JPEGBuffer.java | 50 byte [] buf; field in class:JPEGBuffer 71 buf = new byte[BUFFER_SIZE]; 103 System.arraycopy(buf, bufPtr, buf, 0, bufAvail); 106 int ret = iis.read(buf, bufAvail, buf.length - bufAvail); 132 System.arraycopy(buf, bufPtr, data, 0, count); 139 System.arraycopy(buf, bufPtr, data, 0, bufAvail); 206 if ((buf[bufPtr++] & 0xff) == 0xff) { 217 while ((bufAvail > 0) && (buf[bufPt [all...] |
/openjdk7/jdk/test/java/io/charStreams/ |
H A D | BCat.java | 39 char[] buf = new char[119]; 42 while ((n = in.read(buf)) != -1) { 43 out.write(buf, 0, n);
|
H A D | UTF8.java | 47 char buf[] = new char[1000]; 49 while ((n = in.read(buf, 0, buf.length)) >= 0) { 50 sb.append(buf, 0, n);
|
/openjdk7/jdk/test/java/rmi/reliability/benchmark/bench/serial/ |
H A D | StreamBuffer.java | 61 while (pos >= buf.length) 63 buf[pos++] = (byte) b; 69 while (pos + len > buf.length) 71 System.arraycopy(b, off, buf, pos, len); 93 return (pos < out.pos) ? (buf[pos++] & 0xFF) : -1; 102 System.arraycopy(buf, pos, b, off, rlen); 137 private byte[] buf; field in class:StreamBuffer 147 buf = new byte[size]; 164 byte[] newbuf = new byte[buf.length * GROW_FACTOR]; 165 System.arraycopy(buf, [all...] |
/openjdk7/jdk/make/sun/osxapp/ |
H A D | ToBin.java | 42 byte[] buf = baos.toByteArray(); 43 for (int i = 0; i < buf.length; i++) { 44 System.out.print(String.format("0x%1$02X", buf[i]) + ", ");
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/ |
H A D | MIMEParser.java | 83 private byte[] buf; field in class:MIMEParser 144 ByteBuffer buf = readBody(); 146 return new MIMEEvent.Content(buf); 186 * At the end of this method, buf should have the remaining data 196 int start = match(buf, 0, len); // matches boundary 215 } else if (start > 0 && (buf[start-1] == '\n' || buf[start-1] =='\r')) { 217 if (buf[start-1] == '\n' && start >1 && buf[start-2] == '\r') { 224 if (start+bl+1 < len && buf[star [all...] |
/openjdk7/jdk/src/share/classes/java/awt/event/ |
H A D | InputEvent.java | 492 StringBuilder buf = new StringBuilder(); 494 buf.append(Toolkit.getProperty("AWT.meta", "Meta")); 495 buf.append("+"); 498 buf.append(Toolkit.getProperty("AWT.control", "Ctrl")); 499 buf.append("+"); 502 buf.append(Toolkit.getProperty("AWT.alt", "Alt")); 503 buf.append("+"); 506 buf.append(Toolkit.getProperty("AWT.shift", "Shift")); 507 buf.append("+"); 510 buf [all...] |
/openjdk7/jdk/test/java/nio/channels/AsynchronousFileChannel/ |
H A D | LotsOfWrites.java | 59 ByteBuffer buf = ByteBuffer.allocate(n); 61 buf.put(nextByte++); 63 buf.flip(); 64 return buf; 92 ByteBuffer buf = genNextBuffer(); 93 channel.write(buf, 0L, buf, this); 97 public void completed(Integer nwrote, ByteBuffer buf) { argument 99 if (!buf.hasRemaining()) { 106 buf 112 failed(Throwable exc, ByteBuffer buf) argument [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/soql/ |
H A D | JSJavaObjArrayKlass.java | 46 StringBuffer buf = new StringBuffer(); 50 buf.append(factory.newJSJavaKlass(botKls).getName()); 52 buf.append("[]"); 54 return buf.toString();
|
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | StandardTextSource.java | 213 StringBuffer buf = new StringBuffer(super.toString()); 214 buf.append("[start:"); 215 buf.append(start); 216 buf.append(", len:" ); 217 buf.append(len); 218 buf.append(", cstart:"); 219 buf.append(cstart); 220 buf.append(", clen:" ); 221 buf.append(clen); 222 buf [all...] |
/openjdk7/jdk/src/macosx/native/com/apple/resources/ |
H A D | MacOSXResourceBundle.m | 35 GetPathFromCurrentBinary(char *buf, jint bufsize) 39 if (realpath(dlinfo.dli_fname, buf) == NULL) { 47 strLen = strlen(buf); 51 strcmp(buf + strLen - libawtLen, libawt) != 0) { 55 buf[strLen - libawtLen] = '\0'; 63 GetJREPath(char *buf, jint bufsize) 66 if (GetPathFromCurrentBinary(buf, bufsize) == JNI_TRUE) { 69 snprintf(libjava, MAXPATHLEN, "%s/lib/" JAVA_DLL, buf);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/ |
H A D | Util.java | 37 StringBuilder buf = new StringBuilder(len); 44 buf.append(args[ch2-'0']); 49 buf.append(ch); 51 return buf.toString();
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/util/ |
H A D | CharWriter.java | 42 return buf;
|