Searched refs:buf (Results 151 - 175 of 1249) sorted by relevance

1234567891011>>

/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/
H A DChunk.java45 * @param buf MIME part partial data
48 public Chunk createNext(DataHead dataHead, ByteBuffer buf) { argument
49 return next = new Chunk(data.createNext(dataHead, buf));
/openjdk7/jdk/src/share/classes/sun/tools/java/
H A DMethodType.java94 StringBuffer buf = new StringBuffer();
95 buf.append(id);
96 buf.append('(');
99 buf.append(", ");
101 buf.append(argTypes[i].typeString("", abbrev, ret));
103 buf.append(')');
105 return ret ? getReturnType().typeString(buf.toString(), abbrev, ret) : buf.toString();
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/
H A DFindByQueryPanel.java64 final StringBuffer buf = new StringBuffer();
65 buf.append("<html><body>");
72 buf.append("<a href='");
73 buf.append(oopAddr);
74 buf.append("'>");
75 buf.append(oopAddr);
76 buf.append("</a>");
78 buf.append((o == null)? "null" : o.toString());
80 buf.append("<br>");
86 buf
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/opengl/
H A DOGLContext.java80 RenderBuffer buf = rq.getBuffer();
82 buf.putInt(SET_SCRATCH_SURFACE);
83 buf.putLong(pConfigInfo);
136 buf.putInt(SAVE_STATE);
152 buf.putInt(RESTORE_STATE);
195 StringBuffer buf = new StringBuffer(super.toString());
197 buf.append("CAPS_EXT_FBOBJECT|");
200 buf.append("CAPS_STORED_ALPHA|");
203 buf.append("CAPS_DOUBLEBUFFERED|");
206 buf
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/asm/sparc/
H A DSPARCBranchInstruction.java44 StringBuffer buf = new StringBuffer();
45 buf.append(getName());
46 buf.append(spaces);
47 buf.append(symFinder.getSymbolFor(address));
48 return buf.toString();
H A DSPARCRettInstruction.java45 StringBuffer buf = new StringBuffer();
46 buf.append(getName());
47 buf.append(spaces);
48 buf.append(addr.toString());
49 return buf.toString();
H A DSPARCV9RegisterBranchInstruction.java50 StringBuffer buf = new StringBuffer();
51 buf.append(getName());
52 buf.append(spaces);
53 buf.append(symFinder.getSymbolFor(address));
54 return buf.toString();
/openjdk7/jdk/src/share/classes/javax/sound/sampled/
H A DCompoundControl.java97 StringBuffer buf = new StringBuffer();
100 buf.append(", ");
102 buf.append("and ");
105 buf.append(controls[i].getType());
108 return new String(getType() + " Control containing " + buf + " Controls.");
/openjdk7/hotspot/src/os/windows/vm/
H A DvmError_windows.cpp32 void VMError::show_message_box(char *buf, int buflen) { argument
35 error_string(buf, buflen);
36 int len = (int)strlen(buf);
37 char *p = &buf[len];
47 yes = os::message_box("Unexpected Error", buf) != 0;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/
H A DDatatypeConverterImpl.java567 char[] buf = new char[((len + 2) / 3) * 4];
568 int ptr = _printBase64Binary(input, offset, len, buf, 0);
569 assert ptr == buf.length;
570 return new String(buf);
582 public static int _printBase64Binary(byte[] input, int offset, int len, char[] buf, int ptr) { argument
587 buf[ptr++] = encode(input[i] >> 2);
588 buf[ptr++] = encode(
591 buf[ptr++] = encode(
594 buf[ptr++] = encode(input[i + 2] & 0x3F);
598 buf[pt
785 formatYear(Calendar cal, StringBuilder buf) argument
807 formatMonth(Calendar cal, StringBuilder buf) argument
811 formatDays(Calendar cal, StringBuilder buf) argument
815 formatHours(Calendar cal, StringBuilder buf) argument
819 formatMinutes(Calendar cal, StringBuilder buf) argument
823 formatSeconds(Calendar cal, StringBuilder buf) argument
839 formatTimeZone(Calendar cal, StringBuilder buf) argument
869 formatTwoDigits(int n, StringBuilder buf) argument
[all...]
/openjdk7/jdk/test/java/io/RandomAccessFile/
H A DWriteBytesChars.java36 char[] buf = new char[80];
43 buf[i] = 'a';
45 towrite = new String(buf);
63 buf[i] = raf.readChar();
67 if (towrite.equals(new String(buf))) {
/openjdk7/jdk/test/java/io/Serializable/misplacedArrayClassDesc/
H A DMisplacedArrayClassDesc.java58 byte[] buf = bos.toByteArray();
59 for (int i = 0; i < buf.length; i++) {
60 if (buf[i] == ObjectOutputStream.TC_ARRAY) {
61 buf[i] = ObjectOutputStream.TC_OBJECT;
67 ByteArrayInputStream bais = new ByteArrayInputStream(buf);
/openjdk7/jdk/test/java/net/DatagramSocket/
H A DSendDatagramToBadAddress.java71 byte[] buf = new byte [128]; field in class:SendDatagramToBadAddress.Server
72 DatagramPacket pack = new DatagramPacket (buf, buf.length);
88 print ("Expected: " + new String (buf));
93 byte[] buf = s1.getBytes();
97 print ("Expected: " + new String (buf));
122 byte[] buf;
133 buf = ("Hello, server"+i).getBytes();
135 p = new DatagramPacket(buf, buf
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DBufferedRenderPipe.java65 protected RenderBuffer buf; field in class:BufferedRenderPipe
70 this.buf = rq.getBuffer();
95 buf.putInt(DRAW_LINE);
96 buf.putInt(x1 + transx);
97 buf.putInt(y1 + transy);
98 buf.putInt(x2 + transx);
99 buf.putInt(y2 + transy);
112 buf.putInt(DRAW_RECT);
113 buf.putInt(x + sg2d.transX);
114 buf
388 fillSpans(RenderQueue rq, long buf, int pos, int limit, SpanIterator si, long iterator, int transx, int transy) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/asm/x86/
H A DX86ArithmeticInstruction.java56 StringBuffer buf = new StringBuffer();
57 buf.append(getPrefixString());
58 buf.append(getName());
59 buf.append(spaces);
61 buf.append(getOperandAsString(operand1));
64 buf.append(comma);
65 buf.append(getOperandAsString(operand2));
68 buf.append(comma);
69 buf.append(getOperandAsString(operand3));
71 return buf
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/rtf/
H A DAbstractFilter.java96 byte buf[];
99 buf = new byte[16384];
102 count = in.read(buf);
106 this.write(buf, 0, count);
113 char buf[];
116 buf = new char[2048];
119 count = in.read(buf);
123 this.write(buf[i]);
160 public void write(byte[] buf, int off, int len) argument
165 short b = (short)buf[of
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/reflect/
H A DPrimitiveArrayListerBoolean.java77 boolean[] buf = new boolean[16]; field in class:PrimitiveArrayListerBoolean.BooleanArrayPack
81 if(buf.length==size) {
83 boolean[] nb = new boolean[buf.length*2];
84 System.arraycopy(buf,0,nb,0,buf.length);
85 buf = nb;
88 buf[size++] = b;
92 if(buf.length==size)
94 return buf;
97 System.arraycopy(buf,
[all...]
H A DPrimitiveArrayListerByte.java77 byte[] buf = new byte[16]; field in class:PrimitiveArrayListerByte.ByteArrayPack
81 if(buf.length==size) {
83 byte[] nb = new byte[buf.length*2];
84 System.arraycopy(buf,0,nb,0,buf.length);
85 buf = nb;
88 buf[size++] = b;
92 if(buf.length==size)
94 return buf;
97 System.arraycopy(buf,
[all...]
H A DPrimitiveArrayListerCharacter.java77 char[] buf = new char[16]; field in class:PrimitiveArrayListerCharacter.CharacterArrayPack
81 if(buf.length==size) {
83 char[] nb = new char[buf.length*2];
84 System.arraycopy(buf,0,nb,0,buf.length);
85 buf = nb;
88 buf[size++] = b;
92 if(buf.length==size)
94 return buf;
97 System.arraycopy(buf,
[all...]
H A DPrimitiveArrayListerDouble.java77 double[] buf = new double[16]; field in class:PrimitiveArrayListerDouble.DoubleArrayPack
81 if(buf.length==size) {
83 double[] nb = new double[buf.length*2];
84 System.arraycopy(buf,0,nb,0,buf.length);
85 buf = nb;
88 buf[size++] = b;
92 if(buf.length==size)
94 return buf;
97 System.arraycopy(buf,
[all...]
H A DPrimitiveArrayListerFloat.java77 float[] buf = new float[16]; field in class:PrimitiveArrayListerFloat.FloatArrayPack
81 if(buf.length==size) {
83 float[] nb = new float[buf.length*2];
84 System.arraycopy(buf,0,nb,0,buf.length);
85 buf = nb;
88 buf[size++] = b;
92 if(buf.length==size)
94 return buf;
97 System.arraycopy(buf,
[all...]
H A DPrimitiveArrayListerInteger.java77 int[] buf = new int[16]; field in class:PrimitiveArrayListerInteger.IntegerArrayPack
81 if(buf.length==size) {
83 int[] nb = new int[buf.length*2];
84 System.arraycopy(buf,0,nb,0,buf.length);
85 buf = nb;
88 buf[size++] = b;
92 if(buf.length==size)
94 return buf;
97 System.arraycopy(buf,
[all...]
H A DPrimitiveArrayListerLong.java77 long[] buf = new long[16]; field in class:PrimitiveArrayListerLong.LongArrayPack
81 if(buf.length==size) {
83 long[] nb = new long[buf.length*2];
84 System.arraycopy(buf,0,nb,0,buf.length);
85 buf = nb;
88 buf[size++] = b;
92 if(buf.length==size)
94 return buf;
97 System.arraycopy(buf,
[all...]
H A DPrimitiveArrayListerShort.java77 short[] buf = new short[16]; field in class:PrimitiveArrayListerShort.ShortArrayPack
81 if(buf.length==size) {
83 short[] nb = new short[buf.length*2];
84 System.arraycopy(buf,0,nb,0,buf.length);
85 buf = nb;
88 buf[size++] = b;
92 if(buf.length==size)
94 return buf;
97 System.arraycopy(buf,
[all...]
/openjdk7/jdk/src/share/classes/java/io/
H A DPushbackReader.java40 private char[] buf; field in class:PushbackReader
57 this.buf = new char[size];
72 if (buf == null)
87 if (pos < buf.length)
88 return buf[pos++];
118 int avail = buf.length - pos;
122 System.arraycopy(buf, pos, cbuf, off, avail);
156 buf[--pos] = (char) c;
180 System.arraycopy(cbuf, off, buf, pos, len);
207 return (pos < buf
[all...]

Completed in 89 milliseconds

1234567891011>>